I generally do not use the .txt extension .. presuming it to be text. This is likely a Bad Habit due to README's, shell scripts, and notes etc but seems relatively harmless.
But recently I've started using things like Dropbox and other internet facilities that really get upset about this. (BTW: I'd love a good iPad text editor .. any good ideas?) So it seems I'll have to start adding the .txt extension, sigh.
One annoyance in textmate is that this makes the tabs larger and hang off the end.
So I guess there really are two questions:
- Specifically: Is there a way to have textmate not show the extensions?
- Generally: Am I right that I'm doomed to .txt usage?
-- Owen
I am pretty sure I just pinned this down to TM. If I work in TM,
save, then command-tab to a browser, there is significant lag from the
time it will switch to the browser, or, at times, even bring up the
application tab switcher.
If I do not save, the toggle is fast, so it seems to be something to
do with leaving TM, where it is not letting me leave as fast as other
apps do.
I have tried toggling back and forth between other apps, and the
behavior is speedy. Any idea what is going on, and how to solve it?
These are simple files, single files, that have a hundred lines or so
in them, nothing complicated at all.
--
Scott * If you contact me off list replace talklists@ with scott@ *
I updated OSX to 10.6.6 and now textmate won't start at all. I start it from
the dock, it just bounces and stops. Starting from command line, like 'mate
.' it just sits there and does nothing, no error output, nothing. Nothing in
the Console app either.
It was all working fine before I did the osx 10.6.6 update last weekend.
Have anyone else had this problem, and what did you do to fix it?
cheers,
e
I'm looking at the many iPad text editors and wonder which would work best with textmate. I would prefer also to use Dropbox, so compatibility with DB would be a plus. I currently use Textmate + Dropbox across a mini and a MBP and the sync feature is really nice.
Problems with iPad that I've seen discussed is that they may force CR/LF, or do not handle UTF-8 correctly (scrambling characters), or match Windows users better than Mac.
So I thought I'd see if any of of us textmate folk have found a good match.
-- Owen
Hi,
I'm trying to get TM to work with the viewsourcewith addon for Firefox
(found here https://addons.mozilla.org/en-US/firefox/addon/394/ ) . I
have mate installed at /usr/local/bin/mate . I'd like to be able to
jump from the Firefox error console to the correct line in my open TM
document.
The viewsourcewith addon asks for the path and parameter. I've given
my path as /usr/local/bin/mate and the parameter as $f . This indeed
opens TM, but it does not take me to the line referenced in the error
console. Suggestions would be appreciated. Thanx.
Hi,
I am trying to change the "Make" Bundle's "Run" command. I create projects
in folders and I want to execute an executable (in my case, I am writing
apps with the extension .prg for a Commodore 64 to be run inside an
emulator).
Currently, I am using a line like this:
open "$TM_PROJECT_DIRECTORY/myapp.prg"
The problem is I don't want the apps to all be called myapp.prg. What I
would like is something more like:
open "$TM_PROJECT_DIRECTORY".sub( /(.*)?\/(.*)$/, "\1/\2\2.prg" )
(I don't actually know Ruby but I used an online ruby regex explorer).
Translated, this means that I want to use the last component of
TM_PROJECT_DIRECTORY as the filename, appended to the directory and then
append .prg to the end of that.
I tried the code below:
-----------
#!/usr/bin/env ruby
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/executor"
TM_RUN = "open "+ENV['TM_PROJECT_DIRECTORY'].gsub( /(.*)?\/(.*)$/,
"\1/\2/\2.prg" )
flags = ""
Dir.chdir(File.dirname(ENV["TM_PROJECT_DIRECTORY"]))
TextMate::Executor.run(TM_RUN, flags, :verb => "Running") do |line, type|
end
-----------
This didn't work. 2 Things are wrong. 1) the regex replace didn't work - I
am guessing that the return from ENV[] isn't something you can call .sub on?
-- and 2) the Executor.run says it wants the path added to the path variable
(I know that by feeding it a hard-coded line to an existing .prg file).
Can someone maybe help me figure out how to make this go?
Thank you
Stefan
--
View this message in context: http://old.nabble.com/Executing-a-file-based-on-manipulating-TM_PROJECT_DIR…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all-
Having trouble running the "new" TextMate bundle with a LaTeX file that worked via the old (or current, stable) bundle and (now) works on the command line. Here's a bit of the log:
> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=pdflatex 2009.11.7) 6 AUG 2010 11:43
> entering extended mode
> file:line:error style messages enabled.
> **"/Users/cturner/Documents/BIZ/Personal/Resume, etc./Resume-2009/resume20090628.tex"
> (/Users/cturner/Documents/BIZ/Personal/Resume, etc./Resume-2009/resume20090628.tex
> LaTeX2e <2009/09/24>
>
> [clip...]
>
> Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional
> )
> /usr/local/texlive/2009/texmf-dist/tex/xelatex/fontspec/fontspec.sty:18:
> ********************************************
> * XeTeX is required to compile this document.
> * Sorry!
> ********************************************.
> \RequireXeTeX ...********************************}
My document uses XeLaTex and has this as its first line:
> %!TEX TS-program = xelatex
So I imagine my problem is that XeLaTeX isn't getting run.
My default engine in Preferences is "xelatex" so, being a noobie, I'm not sure what else to do to tell the bundle my desires.
Any help greatly appreciated!
Best wishes,
Charles
I have the following snippet where the tab $1 is intended to match the
whole string (to be used in LaTeX)
${1:\NMsubject{\textbf{${2:Subject}}}}
However the tab $1 does not match the last two braces - I suspect this
is an issue with the LaTeX and TextMate use of braces.
The snippet below works as expected (but would be no use in LaTeX
${3:someText|someMoreText|${4:Subject}||}
Is there some way to get $1 above to match to the last brace ?
Phil
I'm a new user and I don't have a Unix background, so I am struggling with
Section 21.1. in the manual.
I am attempting to use TextMate as an external editor.
1. It works fine with my various Cocoa apps, with the shortcut showing up in
the Edit menu. No problems here.
2. I need to use TextMate with Tinderbox (a non Cocoa app). Users on the
Tinderbox forum have various ways of doing this, either using the "mate"
command in Terminal, or using a variety of ways of calling this command.
However, my problem is that I cannot get commands via terminal to import
text, or save it back. "mate -h" does bring up a menu of commands, so that
much is working. Quite likely, this is owing to my lack of experience with
the command line.
I have read and re-read section 21.1. but it assumes a familiarity with Unix
and CL operation which is new ground to me.
I would really appreciate a *simple*, assuming-nothing, explanation of what
I need to do to copy contents of a window from my non-Cocoa app (Tinderbox)
into TextMate, and then back again -- presumably using some variant of the
"mate" command via Terminal.
--
View this message in context: http://old.nabble.com/Difficulty-using-TextMate-as-external-editor-tp305546…
Sent from the textmate users mailing list archive at Nabble.com.