the HTML bundle contains a tidy command that attempts to run ~/bin/
tidy (which doesn't exist)
could this be added to the `Scripts` or `Tools` directory? or if not,
which binary is recommended?
best regards,
tom
--
Tom Lazar
http://tomster.org
Allan Odgaard wrote ..
> I know this isn't optimal, but I have no idea on how I can handle this
> problem gracefully.
How about implementing:
TM_BUNDLE_USER_PATH
TM_BUNDLE_SYSTEM_PATH
TM_BUNDLE_NETWORK_PATH
to point to their obvious locations. Then, at least scripts can access each of the bundles easily and by using TextMate's search order, can allow users to override items the normal way. Obviously, TextMate should only set a variable if the relevant bundle is actually at the location.
Best, Erich
I ran into the following problem. I am running the "LaTeX and
TeXniscope" command, and one of its lines is:
"$TM_BUNDLE_PATH"/latexErrWarn.py
When I run the command, I get the following error:
/bin/bash: line 6: /Users/haris/Library/Application
Support/TextMate/Bundles/Latex.tmbundle/latexErrWarn.py: No such file
or directory
In other words, TM_BUNDLE_PATH seems to be set to point to the bundles
in my home directory, and of course does not see the Latex bundle all
the way in the root directory.
On the other hand, I ran the "Show Variables" command from the Defaults
bundle, and it shows that TM_BUNDLE_PATH is equal to:
/Library/Application Support/TextMate/Bundles/Defaults.tmbundle.
So in that case, it points to the bundles in the root directory.
So, why this difference? Is there a nice way to fix it?
Thanks,
Haris
I don't know if this is the right place to say,
but i have two suggestions.
1. Have the command output window docked to the project/document
window, an option of course?
2. Have Output option in the Command Editor, that lets me jump to a
specific file/line/col of a file.
Best Editor, Already a Convert (after 3 days)
Julian Tyler
+-----------------------------------------------------------------------
----+
+ A debugged program is one for which you have not yet found the
conditions +
+ that make it fail.
+
+ -- Jerry Ogdin
(ASK)+
+-----------------------------------------------------------------------
----+
On May 6, 2005, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
>
>
>> I already know that i can use the separate window with a regex
>> pattern
>> but
>> what i want is to jump straight to a file/linenumber/col, without
>> opening
>> a new window, which i need to click in.
>>
>
> So what you want is a way to control the caret from a command? And
> additionally open new files in the existing document window!?!
Oh nice sorta like the vim tag feature. I would say open into a new
tab thats auto selected as the active tab. would be the closest to
the tag stack like vim.
It is quite nice. It was done just like opening a file [relative
fast] but was super fast :e filename or i think :tag file tag or :e
file [line num] can work haven't tried that one in a while though so
probably rusty or pulling it outta somewhere.
After a quick search I can't seem to figure out how to do column
typing? How do I do it like in the video on macromates.com?
Sorry for the stupid question! :-)
Can someone confirm the following behavior (beta5)?
1) Open a project in Textmate
2) Open a couple of files from the project in separate windows. (Not
sure if it matters whether they are actually from the file).
3) Go back to the project window, and make a change in one of the
documents.
4) Press Shift-Command-W to close the window, and when asked to save
the changes, do so.
5) Now, pressing Command-` does not cycle through the remaining
windows, as it should.
Note: This will not happen if there are no changes to be saved.
If other people are seeing this behavior, then it looks to me like a
bug.
Thanks,
Charilaos Skiadas
Department of Mathematics
University of Chicago
Hi all,
I just erased half of my macros after editing the Snippets panel and
removing a bunch of bundles that seemed empty as they had no snippets.
Alan, can you make it clear to the user that deleting a bundle in one
panel deletes all of the macros, commands, etc for that bundle and not
just the items in the currently selected display mode? Maybe provide
some kind of confirmation dialog as well :)
Hi All,
Is there (or will there be) in TM a way to unlock locked files? For
instance, if I want to edit httpd.conf, I must either use Terminal or
use TM through Pseudo. Could it be done directly in TM?
Thanks,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
I currently have a project running, which has a master file that is the
one to be LaTeXed etc. Currently, I have just set the TM_LATEX_MASTER
variable, through the preferences menu, to point to that file, and it
all works nice and dandy. I was wondering though if there is a way to
set it so that each project has a corresponding TM_LATEX_MASTER
variable of its own, and the variable only works when the project
window is main, or will I need to disable the variable each time I have
to work with a separate single tex file?
Thanks,
Haris
Name: Bob Moisan
Email: bob(a)intelligentlighting.com
Company: Intelligent Lighting Creations
Phone: 847.982.2070
Comments: I was wondering if you can create a website using the
Sprite graphics on my Commodore 64?
I've seen on the list these last couple of days mention of problems
with Tiger. I have it now and was planning to upgrade today. I'm
using beta 5.
It TextMate functional under Tiger? What problems can I expect?
Thanks.
James Edward Gray II
Trying a checkout of the bundles raises here
A Bundles/Subversion.tmbundle/Commands/Add to Repository.plist
subversion/libsvn_subr/utf.c:363: (apr_err=22)
svn: Can't recode string
having LC_TYPE set to "en_US.UTF-8" as the wiki says. Looks like the
checkout is interrupted because XML and Perl are missing for example.
I did a search in Google and found a message from Eric Hsu with a
similar problem. Any ideas?
-- fxn
Hi Allan,
is there any chance that future betas (b8?) will include the bundles
again? I'm ›finkless‹ since the Tiger upgrade and don't like the
thought of installing unixoid command line tools (ie. the svn client
in this case) ›outside‹ of Fink. Thanks!
Christian
I've always modified the default keybindings in TextMate to change ^f
to moveForward rather than reformat paragraph. Since converting to
Tiger this hasn't worked very well.
The binding seems to work as moveForward in files that I open in
standalone windows. Not part of a project. But if a file is part of
a project the old reformat paragraph behavior comes back.
For example I have:
dijkstra.tex as part of a project
when I try navigate using ^f in the file dijkstra.tex file opened
inside the project all I get is reformat paragraph.
If I open dijkstra.tex all by itself ^f works as desired.
Is anyone else seeing anything like this?
Brad
Brad Miller, PhD
Assistant Professor
Luther College
http://www.cs.luther.edu/~bmiller
jabber: bnmnetp(a)jabber.org
Before I re-installed Tiger and installed Textmate I was able to call
'tm' from command line and it worked perfectly... now it does not
open tm unless I pass something to it... is that the way it is
suppose to work?
I don't know if TextMate supports read-only documents or not, but I
would like to be able to specify a custom view filter for a given
document in my project that produced a read-only text or html file in
place of the document's content that automatically displayed as a
normal project tab. The document in the tab view should have all of the
TextMate-specific features of a normal Commmand output window (e.g. go
to line, etc.)
Use Cases
---------
TextMate doesn't allow you to view jpegs, which is fine. But if I could
define a filter to run on selection that produced HTML output, I could
not only view the jpeg in the tab, but I could list statistics about
the file (size, dimensions, etc.) that I could either just read or
select and copy-and-past somewhere else in my project.
Viewing object files using the output from otool would also be handy,
particularly with the go-to feature and the ability to convert to (more
attractive) html output.
Man pages are another option. Define a blank file "xcodebuild.man" and
include it in your project hierarchy, setting a project-wide .man
filter to the output from Bwana (which does html man pgae output). Now
you can just click on (or tab to) the man page to read it, without
having an extra window pop-up or having to execute a command.
Custom UIs embedded in TextMate are another huge opportunity. Define a
Project.build_ui file and filter through something that generates an
HTML page that nicely renders all of your build options, along with
some handy buttons to initiate a build, view the last build results (in
an embedded HTML scroll view, whose lines have standard Command go-to
line behavior), etc. The customization possibilities for TextMate are
endless.
An embedded Subversion UI is another option.
An embedded Trac page is another. The possibilities are endless.
The key thing is that the filter is *automatic*. This makes it appear
in a tab just like any other built-in TextMate feature as far as the
user is concerned. This builds on the existing Command...
infrastructure Allan's already built.
UI Implementation
-----------------
Select file in Project browser and choose "Filter through Script...".
Up pops a dialog similar to the Command editor dialog. Extra options
include: update when source changes, update on view, and update first
time only.
Project-wide options would allow you to assign filters to extensions
automatically (e.g. .jpg).
Any comments or suggestions are welcome.
Best, Erich
On 02-05-2005, at 19:43, Erich Ocean wrote:
> Saw this over at daringfireball.net[1]:
>> NSTextView — the default text editing control in Cocoa apps — has
>> been significantly upgraded [in Tiger]. You can do discontinuous
>> selections with Command-drag, and column selections with Option-
>> drag. You can use these new selection gestures in most Cocoa apps —
>> including in textarea fields in Safari and any other app that uses
>> Web Kit. (Thanks to Quentin Carnicelli.)
> It's nice to see Cocoa's text support improving, even though it's not
> up to the level of Allan's work.
Actually, it [column mode selection] seems useless in NSTextView since
it doesn't paste back in column mode. Kinda like BBEdit did theirs I
think.
--
Sune.
On 02-05-2005 13:52, Ollivier Robert wrote:
> According to Brian Lalor:
>
>>take this time, however, to make sure everyone's aware of DarwinPorts.
>>For reasons I completely forget, now, I've preferred DarwinPorts to
>>Fink since I started using OS X.
>
>
> You have the same differences as between Debian and FreeBSD (no flame
> intended): more reactivity, more up-to-date packages and preference for
> source-to-be-compiled packages.
Also big plus for me is making *really* sure that it will not tamper with
other files than the one it installs itself.
I found this great guide [1] to install DarwinPorts under a special ports
user, which only has rights to the directory where it is supposed to
install stuff and nowhere else.
I was always doubting about Fink or DP and chose Fink for it's point and
click interface, that turned out to be horrible, but worked most of the
time. Now that I'm on Tiger, I'll switch to DP if I have time..
Jeroen.
[1] http://www.phil.uu.nl/~js/blog/2004/02/17#darwinports
--
<http://www.je-ju.net/~jeroen/blog/>
On May 2, 2005, at 11:33, Hannu Rajaniemi wrote:
> Ah. I thought I already sent this to the list, but maybe it didn't go
> through. What I seem to get is
>
> 2005-04-30 00:21:00.022 TextMate[17407] didn't find rule named
> text.html.basic
It did, and also a reply from Brad! ;)
The problem is that you do not have the (sourced) HTML syntax. At least
not an up-to-date version which has the scopeName set to
text.html.basic.
I'm on beta 7.
When I open the Get Info window on a file, and deselect the "Save as
absolute path" checkbox, then close the Get Info window and re-open it,
the checkbox is checked again. Is this a known bug/feature? I'm trying
to convert all my project references to relative so that I can move the
project between different users on my machine.
Best, Erich
Hi,
Today, I updated to Tiger and downloaded the b7: then I did a SVN
checkout of the bundles. Everything appeared to be working fine, until
I tried the Markdown bundle (I write my blog in Markdown). The bundle
seems to work, but I get an immensely annoying system bell sound with
every keystroke! The problem seems to be restricted to the Markdown
bundle, as far as I can tell.
Anyway, thanks again for TextMate: it's really becoming a brain
extension for me. Any chance of seeing any Automator/TM interplay in
the future?
- Hannu Rajaniemi
On 4/30/05, Brad Miller <bmiller(a)luther.edu> wrote:
> Also if you would take a look at your console and let us know what messages
> are coming out in the console when the beeps are happinging.
>
Good point. What I seem to get is
2005-04-30 00:21:00.022 TextMate[17407] didn't find rule named text.html.basic
with every keystroke, so it probably does have something to do with
the HTML language definition.
- Hannu
Traditionally, changing a menu item from Close <Something> to Close All
<Somethings> is done by holding down the Option key, not the Control
key. I had been wishing for a Close All Tabs command, and it finally
dawned on me that you might be using some other modifier so I began
trying them all...
Best, Erich
> I have this in my .bashrc:
> tm () { open -a TextMate.app "$*"; }
Which is a nifty trick, but it can't act as your EDITOR for things like
svn. I love not having to write my commit messages on the command line
anymore :)
I place the tm program in /Users/yourname/bin which means make a new folder named bin. You will have to then create .bashrc on /Users/yourname and add PATH="~/bin"
EXPORT PATH
to the .bachrc file. You can make the file in TextMate.
Ott over at the codingmonkey's site (Subethaedit) has a subversion binary to install.
John Kopanas <john.kopanas(a)protoseinc.com> wrote:
__________
>I just installed 10.4 from scratch and I forgot how I installed 'tm'
>the first time... can someone please remind me? :-)
>
>While I am at it anyone know where I can get Subversion from 10.4?
>
>Thanks guys and gals!!! :-)
>______________________________________________________________________
>For new threads USE THIS: textmate(a)lists.macromates.com
>(threading gets destroyed and the universe will collapse if you don't)
>http://lists.macromates.com/mailman/listinfo/textmate
yeah, I know, it's me again ;-)
I'd like to point out, that it is exactly a tribute to how great and
useful TextMate is (for me) that all I'm requesting are such tiny
little nitpicky features, so I hope I don't come across as
unappreciative!
anyway: I'd really like to have a quick, no-brains-involved method to
toggle between the textfield and the project drawer via the keyboard
- I do it a million times a day and I don't want to use the mouse for
it (RSI, anyone?)
currently i can use ctrl-tab to tab *out* of the text area (great!)
further ctrl-tabs cycle through the action widgets at the bottom
until it finally drops me off in the text area again.
while i can use shift-tab to get back immediately, this isn't very
economical IMHO to move back and forth quickly.
so, my proposition: ctrl-tab to toggle between textarea and project
drawer, shift-tab to cycle forward through textarea, projectdrawer
and widgets, and ctrl-shift-tab to cycle backwards
or any other alternative that allows me to toggle with one key-combo ;-)
best regards,
tom
--
Tom Lazar
http://tomster.org
I am running TextMate 1.1b5
I downloaded the Rails bundle from here:
http://wiki.rubyonrails.com/rails/show/TextMate
I double clicked. It installed. I restarted TextMate. When I looked
in snippet there was no category for Rails. How can I get it to
install properly?
Thanks for your help my friends.
John
hi,
I'd like to request, that the language display in the statusbar could
also act as a widget to change the current language, because often
the automatic detection can't come up with the correct language and
it would make an often-used feature more accessible without wasting
screen real-estate or otherwise cluttering things up.
any comments?
best regards,
--
Tom Lazar, http://tomster.org
ok, I just don't get it: *sometimes* when pressing the ctrl-shift-a
key I get the neato little popup with all the svn-related commands
(which is what I want) and *sometimes* I get the status popup (which
is usually *not* what I want).
I just can't seem to figure out the system behind it - or more
importantly how to make it *always* present the popup.
any ideas?
best regards,
tom
--
Tom Lazar
http://tomster.org
Ok,
I just have to say, WOW. I get it, I have drunk the cool aid and I am in
heaven. I started using TextMate for a new project, I have been a faithful
beliver in the 'it doesn't suck' BBEdit for as long as I can remember (I
have CD's back to at least 3.0), but I think that app may begin to get more
and more idle time...
The power of this app, tied into the command line and other goodies is only
hurting my productivity in that I keep streamlining my work process, and
tuning it, and tweeking it, oh who knew a text editor could be FUN! Thank
you to every one who has contributed to the commands and snipits, and the
syntax files.
One question though, is there a way to print out a pretty (enough) list of
the snipit triggers for a particular syntax?
this is one app that is so worth registering. Wicked!
Sam D
hi
I hate whitespace at the end of lines or files, so I wondered if
there's a way to automatically remove those. I could probably define a
command to do this, but I still would have to start it manually.
IMO it would be nice if TextMate allowed running commands on certain
events, especially on saving the current document. This would not only
solve my problem, but would also allow other maybe useful automatisms
like automatically re-building a project on saving or something like
that.
What do you think about this idea?
--
bye, Frank!
hello,
first: I know, I can adjust this locally myself - but then I'd have
to re-do that, everytime the XMLBundle gets updated (or - from my
understanding - my modifications would overrride any future updates
to the XML Bundle in which case I'd have to forego them...)
my request: pls include the following suffixes for the XML-Language:
.pt
.cpt
.dtml
.xsl
the first three come from Zope development and AFAIK don't conflict
with any other suffixes.
I'm sending this to the list, because I couldn't figure out, who
'duff' is, the user committing the most recent changes to the bundle
(Brad Miller?!)
best regards and thanks,
tom
Hey all,
i am new to the list and have some problem with TextMate using version
1.1b5.
Sometimes the project drawer collapses the view i.e. when i update my
local repository from a subversion module which i added to the drawer.
Is this a known bug and will this be fixed in the future? Or is there
already any hidden setting addressing this behaviour?
Thanks a lot for this great editor.
.bjoern
Seeing that b6 was out although unofficially, I've downloaded it, moved
away my ~/Library/Application Support/TextMate, put the svn checkout of the
latest bundles in /Library/Application Support/TextMate/ and...
nothing.
Lotsa beeps going on on startup and all files are showed using the language
called 'Ruby on Rails' even though it is not a Rails project at all.
Nothing is highlighted of course.
Any idea? I did re-checkout from svn as the path has changed.
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005
I'm obviously just not looking in the right place but can anyone tell me how
to type this character:
^
I've looked in the keyboard viewer and thought it was command+option+i but
that only shows the invisibles in TM. I've seen it in the Character palette
but would rather be able to type it instead of opening that palette each
time.
Feel free to answer off list.
Thanks,
Mike Stickel
Screenflicker Developments
www.screenflicker.com
p: 403-271-9118
e: mike(a)screenflicker.com
Hi,
Would it be possible to have scope show up for the current position in
the status bar, along with line, column and language? IMO it would
probably make theming etc a lot easier.
Max
hello, is it just me, or is the Python bundle broken?
- I deleted ~/Library/Application\ Support/TextMate
- I deleted the Bundles directory inside TextMate.app
- I checked out svn/Bundles/trunk at /Library/Application\ Support/ and
created a symbolic link 'TextMate' to 'trunk' (it was the only way to
get the bundles recognize)
now, python source files are uncolored, eventhough the files are
correctyl recognized as Python code.
any ideas?
tom
p.s. thanks for the ^m command for markdown, whoever that was!
--
Tom Lazar, http://tomster.org
I like the new changes to the pdflatex command. However, for it to work
on my system I had to go back to Apple's apache rather then the apache
2 WebServerXKit I installed. So I made a nominal change to the html
path and include it here if anyone is interested:
# If PDF file is non-empty and apache is running, redirect.
if [ -s ${tmp}.pdf ] && [[ $(ps -xca|grep httpd) ]]; then
cp "$tmp.pdf" /usr/local/apache2/htdocs/web_kit_workaround.pdf
chmod 666 /usr/local/apache2/htdocs/web_kit_workaround.pdf
echo
"<script>window.location='http://localhost/web_kit_workaround.pdf'</
script>"
elif [ -s ${tmp}.pdf ]; then
echo "<strong>Error: Apache not running (we can no longer redirect
to file://localhost/...)</strong>"
else
echo "<strong>Error: PDF file not written to disk</strong>"
fi
Otherwise, beta6 is working great in LaTeX
Robert
My textmate freezes on startup! No idea why... except I was using it
last night when it started behaving strangely... clicking on the buffer
tabs wouldn't do anything unless I clicked on the topmost 2 or 3 pixels
of the tabs.
Things started getting generally screwy, so I saved the project and
restarted textmate... and she hasn't launched successfully since.
Any ideas?
Cheers,
jL
Certainly, this might an odd request, but is there some way to delete
line breaks (\n) in a text document? Or, only when there are two in a
row (double spacing)? I'm trying to clean up some large files and it
would be easy if I could plunk our large sections and take out the
double returns.
Thanks, v
I posted this to the wiki, I think it was missed, and I thought it
might be good to bring up here anyway for fuller discussion.
It would be great to have the option of buying a noncommercial or
student license for TextMate. I bring this up because I would benefit
(qualifying for both myself), but also I think that this is something
you should consider because it might bring in more total revenue via
added registrations you would otherwise not get.
Hi,
I recently played around with The Remembrance Agent
(http://www.remem.org/) and Carbon Emacs. Remem (as it's commonly
called) is a pretty nifty associative memory prompter originally
designed to work with wearable computing devices, with an Emacs
frontend. The idea is that it scans the text you type continuously and
suggests related files from a database you've specified. As the core
of the system consists of two non-Emacs-related binaries, I was
wondering if it would be possible to duplicate the Emacs frontend in
TextMate? Given TextMate's HTML display capabilities, it would be nice
to have a little window at the bottom of the screen with clickable
links to files that are related to whatever I'm working on at the
moment.
This is the kind of thing you're unlikely to see in a word processor,
and would effectively duplicate a lot of the functionality of
DevonThink (http://www.devon-technologies.com/products/devonthink.php).
People have been raving about associative memory apps for years, but
they haven't really come into their own yet. TextMate might be a fun
playground to try it out.
Speaking of things which Emacs has but TextMate doesn't at the moment,
how about abbrevs? I'd like to be able to replace common misspelled
words (the for teh and so on) automatically, and under Emacs I have a
big abbrev file that does this. Could one do this e.g. with input
patterns?
Just brainstorming here, thanks for your patience...
- Hannu Rajaniemi
Working with Mark Smith an a context bundle I am trying to get the same
html output as generated with the latex bundle but I am having troubles
calling the PDF into the browser.
Here is what I have, a hack of the LaTeX bundle:
# PDF ConTeXt
# Save Current File
# Input=Entire Document
# Output=Show as HTML
# this requires pdflatex Web2C 7.5.3
# Below are the instructions for the html output of the texexec run
command
cat <<EOF
<html><head><style>
* { color: #998; }
a { color: #000; text-decoration: none; }
a:hover { color: #000; text-decoration: underline; }
</style></head><body><pre>
EOF
# below is the name for the temp file called by texexec
tmp=`mktemp /tmp/texexecpdf_XXXXXXXX`
# If TM_LATEX_MASTER not set use TM_FILEPATH
[ -z "$TM_LATEX_MASTER" ] &&
export TM_LATEX_MASTER="$TM_FILEPATH"
# Here is the actual command followed by the perl script to find the
output.
cd `dirname "$TM_LATEX_MASTER"`
texexec --pdf --nonstop /tmp\ `basename ${tmp}` `basename
"$TM_LATEX_MASTER"` \
| perl -pe '$| = 1; s/^(\/.*?):(\d+):\s*(.*)$/<a
href="txmt:\/\/open?url=file:\/\/$1&line=$2">$3<\/a>/'
# If PDF file exists and not empty, display it. This is were I loose it!
[ -s ${tmp}.pdf ] && echo '</pre><meta http-equiv="Refresh"
content="0;URL=file:///'${tmp}'.pdf">'
{ sleep 30; rm ${tmp} ${tmp}.*; } </dev/null >/dev/null 2>&1 &
The command runs fine and displays the log file as it should, but does
not load the PDF. At the end of the context log, the output that
texexec registers is:
Output written on c_position_authority.pdf (1 page, 7354 bytes).
This is the name I gave to the original file, not texexecpdf.xxxxxxxx.
Should it be?
Transcript written on c_position_authority.log.
return code : 0
run time : 2 seconds
sorting and checking : running texutil
TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
action : processing commands, lists and registers
option : sorting IJ under Y
option : converting high ASCII values
input file : c_position_authority.tui
output file : c_position_authority.tuo
I am using Web2c 7.5.4
Any suggestions?
Thanks
Robert
I believe I've found a bug with the column typing environment in TM.
Take a set of lines, e.g.
Example one.
Example two.
Example three.
Now, say you want to change that to
Text example one.
Text example two.
Text example three.
So you select the first two lines and hit option to go into column
typing for prepending to all of the lines, and you type "Text ", this
gives you:
Text Example one.
Text Example two.
Text Example three.
Now you want to change the capitalization on "Example", so you hit
forward delete[1], and type in an "e". But instead of getting what you
want, you get:
Text example one.
Text eExample two.
Text eExample three.
That is, forward delete (unlike backspace) only affects the line with
the cursor in it, and not all of the lines in the column. I assume
this is a bug, and not some logical behavior that I just don't
understand, right?
[1] Note, I'm working on an old PowerBook, so I'm using fn-delete for
forward delete.
William D. Neumann
"You've got Rita Marlowe in the palm of your hand."
"Palm of my hand? You haven't seen Rita Marlowe..."
-- Will Success Spoil Rock Hunter?
So, I'm finally getting to the point that I'm really starting to play
around a bit with the automation aspects of TextMate. I think that I
found a bug, but I want to confirm.
I created a macro, which through the course of its steps utilizes a
snippet. The snippet has default values, which I'm also using, because
it's a very repetitive task. The idea behind this, is that when I got
to a different spot in the code that I'm working on, I would change the
snippet defaults and keep using the macro.
What appears to be happening instead, is the old default values are
used instead of the new ones. When I use the snippet manually, the new
values I put in are still used. Is this a bug, or is my expectation
wrong?
(this is on b5 btw)
--
Robert M. Zigweid rzigweid(a)zigweid.net
http://rzigweid.zigweid.net
I'm new to TextMate, so please point me to the fine manual if I'm
missing something obvious. I've poked around the mailing list and
documentation but couldn't find anything related. I'm using 1.1b5
currently, but would switch back to 1.0.x if that helps.
As part of switching over to TextMate I'm trying to set up a TextMate
command to do some text processing. I have a project defined that has
multiple text files and a TextMate command that may modify some or all
of the text files in that project when it executes. The command first
saves all of the files in the project. It then runs a Python script
with no input and discarding any output.
TextMate, unfortunately, doesn't seem to check to see if the current
file was changed after the command executes. If I switch to another
file in the project and then back to the original file it will notice
that the underlying file has been changed. But if I forget to switch
back and forth it will end up causing a conflict between the file in
memory and the file on disk.
In short, is there anyway to force TextMate to check the "freshness" of
a current file after executing a command?