(Forwarded to the list after Max's permission. I've commented inline,
also added Allan's comments)
Hi Max,
On Sep 9, 2006, at 6:40 PM, Max Lein wrote:
> Dear Haris:
>
> You've asked for user feedback on the LaTeX bundle (I'm Max Lein
> who posted on the textmate mailing list).
> To be honest, I didn't know about many features until I've seen
> your webcast … :-) You're doing great work, I use your bundle
> pretty much on a daily basis (I'm a mathematical physicist). I'll
> be overly critical here to help you make your bundle even better.
Thanks for the feedback!
> I would think (i) is my most important suggestion. There are some
> commands I have a tendency to misspell -- \smallksip, I mean
> \smallskip is one of them.
>
> (i) No known command list: suggestion: type command: text stays
> grayish-blue until a command is recognized. Then the text turns
> dark blue. Basically there should be user feedback whenever a
> command is recognized.
>
> I can provide you with a list of `official' LaTeX commands if needed.
>
> Obviously, something similar should be implemented in math mode as
> well (start with dark red which changes to red once a command is
> recognized).
allan: (i) I prefer that as well — if we can get a list, that’d be
great!
me: I agree too. Max (and anyone else as well), if you provide us
with the commands, for within math and out of math, then we'll add
them in.
>
> (ii) Sometimes when beginning inline formulae, the whole screen
> blinks as if there is a syntax error.
allan: (ii) this is because $ is a smart-typing pair, and it finds
that there is a “starting” $ outside the screen — not sure how
to best address that (probably we want to keep it a smart typing pair)
me: I would say that's a good enough reason to use \( \) instead of $ $
> (iii) Footnotes and marginpars should be marked within the text;
> perhaps the footnote's/marginpar's text could even be folded (not
> sure if automatic foldmark recognition works on a bundle level).
allan: (iii) marking: yes, folding: we can’t do w/o having the
braces align
me: The text in the footnote gets a scope of meta.footnote.latex
So if you add that scope to your coloring theme and add some color to
it, you'll get highlighted footnotes. Not immediately possible for
marginpars, but we are thinking of matching those as well and giving
them some scope extending both footnotes and marginpars, so that you
could color both of them at the same time.
Update: marginpars are now matched with scope
meta.paragraph.marginpar.latex, so you can color them as you like.
> (iv) Use input instead of include when dragging a .tex document
> into another: afaik include is deprecated and input is preferred
> instead. You cannot `include' some bundles for instance (diagxy
> comes to mind), you have to use input instead.
allan: (iv) probably then we should even markup include as
invalid.deprecated
me: I don't think \include is deprecated. I use \include for
different chapter of a book etc, and it does a number of special
things like clear all the floats, start on a new page, generate
separate aux files etc.
Of course, you can easily change this in your own copy, by opening
the bundle editor and finding the appropriate drag command. All you
have to do is change the \\\\include that appears there to \\\\input.
> (v) Forget about the deprecated math environments `\[ … \]' and `\
> ( … \)', just remove them from your bundle. Guidelines by relevant
> journals suggest to use specific environments anyway (align for
> instance).
allan: (v) I’m all for removing stuff, especially when deprecated ;)
me: I would need some stronger evidence that it is deprecated. As far
as I understand, the alternative to \( \) would be $ $, and I don't
see what advantages that has except that it is much harder to parse
the file looking for math in it, and if you miss one of the $ you
might not find out until much much later.
As for \[, \], I again don't think they are deprecated, but I would
love to be proven wrong. The only alternative I see is \begin
{equation*}, which requires the amsmath package. I might possibly
agree with you that in the context of writing math papers for
submission to journals, one might want to avoid \[, \], (though still
I would need to see some strong evidence for that), but I don't see
why I shouldn't be using it in the notes for my students for
instance. Replacing them all by \begin{equation*} is a single search
and replace anyway. (Note to self: Actually, having a command that
toggles the various math environments might not be a bad idea at all.)
Do you have references to these guidelines of these journals
(including non-math/physics journals)?
> (vi) Inline formulas should have a grayish background so it's
> easier to see where formulas begin and where they end. (This one is
> also important to me.)
allan: (vi) that’d be a theme-thing, as long as the grammar marks
them up
me: Do you want the background for inline formulas to be different
than the one for multiline formulas? Because as things are already,
you can target the scope math.tex in your theme, and that would color
all math however you tell it to.
> (vii) You already have tab triggers for section, subsection and
> subsubsection, so how come chapter is missing?
allan: (vii) oversight (and we rarely need it)
me: Basically, initially we were trying to keep the number of
snippets at a bare minimum because of the way they were showing up in
the menu, as a flat list. On top of that, most of those can instead
be accomplished via the “Insert Command…” command, along with
customizing it through the LaTeX Configuration file, so the other
maintainers had a hard time even convincing me to keep the section
ones in. Now that we can create submenus, we've toyed with the idea
of adding more snippets, so any ideas on what other snippets to
include are welcome.
>
> (viii) A way to execute bibtex (and pdflatex twice to see whether
> all additional citations have been included).
allan: (viii) latexmk.pl should do that — maybe we should make this
the default, not sure if that would bother anyone (maybe some
workflows would mean much more time typesetting)
me: latexmk.pl will actually do a lot more for you. The Help file
should describe how to set it up. I'd personally prefer not to have
it as the default. It is however easy to set it in your system.
> (ix) Closing environments: when I manually type \begin{environment}
> and then close the environment, the `\end{environment}' which is
> added is indented like the text within the environment. Hence,
> TextMate's code folding does not recognize the block.
allan: (ix) http://macromates.com/ticket/show?ticket_id=B34CCC0C --
the request might be granted, but use begin⇥ or ⌘{ until then
me: just follow the workaround suggested in that ticket (and most
importantly, don't manually type \begin{environment}).
> Now concerning the Help. The help is nicely structured, although I
> miss a nice webpage with the key features of your bundle. That
> would have helped me to use more of the functions included in your
> bundle.
Hm, that was actually partly our intent with rewriting the help file
this way. To make it easy to find out how to do stuff. Looking at the
bundle is of course the best way to find out what commands are
available. How is the help lacking in showing you what the bundle can
do?
>
> (i) A glossary of TM_LATEX_BLABLA variables. That would be really
> helpful, especially for people who just want to check out what you
> can do with the LaTeX bundle.
There are basically only five such variables, most of them having to
do with more particular workflow setups:
TM_LATEX_VIEWER if you don't want to use the built in previewer
TM_LATEX_ERRLVL if you want some finer control on what errors
show up
TM_LATEX_COMPILER if you want to use latexmk.pl
TM_LATEX_OPTIONS for any options you might want to add to the
command line call to the compiler.
and finally, TM_LATEX_MASTER, the only one of more frequent use, when
setting that a master document should be used for the compiling.
There used to be a section containing all the variables, back when
there were 10 of them, but we thought that since there are not that
many of them, we'd just mention them in the corresponding section of
the help file.
Basically we are trying to keep the help at ar reasonable size, while
still making sure it maintains all the important information.
> (ii) Overview over key functions (auto completion of citations, etc.).
Isn't the explanation in section 5.2 of the manual adequate for that?
In general that's the purpose of the entire section 5. In what ways
is that failing?
>
> If you wish to post this on a mailing list, feel free to do so. As
> an avid user, I would like to participate in the discussion,
> though :-)
>
> Greetings from Germany
>
> Max
Thanks again for your feedback (and let me thank in advance everyone
else participating in this discussion). There's a lot of areas in
which the LaTeX bundle could be improved, and because of the very
diverse group of people using it it's hard to know what would help
every individual user. So your feedback is instrumental in seeing the
needs of the users of the bundle.
Haris
Hi there,
Using the Blogging bundle, when I drag
an image, I now have those errors :
/usr/lib/ruby/1.8/cgi.rb:279: warning:
already initialized constant CR
/usr/lib/ruby/1.8/cgi.rb:282: warning:
already initialized constant LF
/usr/lib/ruby/1.8/cgi.rb:285: warning:
already initialized constant EOL
/usr/lib/ruby/1.8/cgi.rb:287: warning:
already initialized constant REVISION
/usr/lib/ruby/1.8/cgi.rb:289: warning:
already initialized constant NEEDS_BINMODE
/usr/lib/ruby/1.8/cgi.rb:292: warning:
already initialized constant PATH_SEPARATOR
/usr/lib/ruby/1.8/cgi.rb:313: warning:
already initialized constant HTTP_STATUS
/usr/lib/ruby/1.8/cgi.rb:317: warning:
already initialized constant RFC822_DAYS
/usr/lib/ruby/1.8/cgi.rb:320: warning:
already initialized constant RFC822_MONTHS
It appeared after updating to TM v.1248. It was working
fine before that...
TIA :)
Hi!
Using CJK in TextMate from time to time I would be interested what
other users who need CJK-input do to circumvent the problems of
CJK-input in TextMate.
Right now I usually use Sidenote (http://www.chatelp.org/?s=Sidenote)
if I have to put in some CJK-text. Typing it in there and pasting it
then to the fitting place in TextMate. It's quite handy if you have
only to type in small pieces of CJK-text.
What are other people doing?
Niels
Hello,
I've been trying to buy TextMate and it's proven to be quite
difficult. The website says I do not need a Paypal account to do so,
but using the option of directly buying with a debit card fails (I
had someone else tried, and he had the same problem so it's not just
my card). So I did open a Paypal account, but I won't be able to use
it until they verify my card, which is taking days.
This might be a peculiarity of using Paypal from France, but I was
wondering if others had had the same bad experience, and how they
managed to get around it. TextMate is great, but I only have 3 demo
days left :(
By the way, if there is a solution, I have another potential buyer in
my office (the subversion integration is the feature that sold
him ;-) ).
Alan
--
Alan Schmitt <http://alan.petitepomme.net/>
The hacker: someone who figured things out and made something cool
happen.
.O.
..O
OOO
There doesn't seem to be a way to remove the folding markers from the gutter
once they've been set.
Is there something obvious that I'm not doing or doing incorrectly?
Thanks,
Dan J.
--
Daniel Jewett
http://www.solidether.net
dan(a)solidether.net
1-914-332-7513
The thread "Deleting files from the project drawer" reminded me that
I've been meaning to ask about duplicating files. In the finder there
is an option to duplicate a file giving it a name something like
"copy of index.php". There are plenty of times I don't want to start
from scratch and would like to duplicate a file and just change some
minor things. Is there a reason this isn't a part of the context menu
in the project drawer? If not I'd like this be a feature request for
the next version. :)
Perhaps to make it better than the Finder's "duplicate" option maybe
choosing it in TM could not only duplicate the file and name the file
"copy of index.php" but also select the "copy of index" portion of
the name for immediate renaming, leaving the extension ".php". That
would be pretty slick and useful.
Josh
Hi,
Problems with the MySQL Table Browser. I have exactly the same
experience as user Mark Lacas in this conversation: http://
comments.gmane.org/gmane.editors.textmate.general/12735
Is there any progress and/or help you can give on this issue?
Thanks
_________________
George
Hi,
I'm sure this is a simple question. In an HTML file, Commend-B wraps
the selection in <strong></strong> tags. I've just installed the
MediaWiki bundle, and want to add my own snippet to do the same, but
wrap between ''' marks. I created a snippet in the MediaWiki bundle,
set Key Equivalent to Comment-B, and scope to
"text.html.mediawiki" (which is what is reported when I do a Control-
Shift-P in the document to view the current scope. However, I still
get <strong> tags instead of '''. What have I done wrong here?
TIA
_________________
George
Instead of tying find/replace in files to a projects, it would be nice
to find all files in a directory or its descendants that contain a
regular expression.
Or am I a fool, and this is already easy, without recourse to 'find .
-type f -exec grep -Hin "<expr>" {} \;' ?
--
Chris R.
======
Not to be taken literally, internally, or seriously.
Hi all, I'm writing a ruby GUI script (run with rubyw) which I've
packaged into a mac app. I launch this from the command line using
open 'my.app', and the debug output goes to the console log, which I
can see with the Console app.
Is there any way I can tie the launching of the app & the debug
output into a Textmate command? The Run command for ruby looks very
pretty:-) And it would mean leaving textmate even less (and more
importantly having 1 less window open & 2 less apps running:-))
Cheers,
graham
When I open a project that looks like this:
app
--- views
------ catalogs
Everything else under views shows (folders and files), but not catalogs. I
checked the preferences for folder excludes, but that didn¹t seem it.
Any thoughts?
Hi there,
This a feature request : I would like to be able
to cancel a “Find in Project”.
Because while TM searches, it basically freezes
for any other actions...
TIA :)
Hi there,
I just want to know the general opinion about deleting
files from the project drawer.
Personally, I always only “delete references” and I find it
a little bit dangerous that the default action in the dialog
box is “move to Trash”... I have to be carefull each time I
press backspace in the project drawer.
Am I the only one bothered by this behaviour ? What
do you guys think ?
I would prefer the default action in the dialog box to be
“delete references” and on top of that, another dialog
box to confirm that I really want to move the file
in the Trash (OK, maybe this would be too much...)
Waiting for your comments :)
On 07/09/2006, at 6:13 PM, textmate-request(a)lists.macromates.com wrote:
> From: guerom00 <romain.guerout(a)stud.unibas.ch>
> Date: 7 September 2006 1:02:24 AM
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Deleting files from project drawer
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Hi there,
>
> I just want to know the general opinion about deleting
> files from the project drawer.
> Personally, I always only “delete references” and I find it
> a little bit dangerous that the default action in the dialog
> box is “move to Trash”... I have to be carefull each time I
> press backspace in the project drawer.
>
> Am I the only one bothered by this behaviour ? What
> do you guys think ?
>
> I would prefer the default action in the dialog box to be
> “delete references” and on top of that, another dialog
> box to confirm that I really want to move the file
> in the Trash (OK, maybe this would be too much...)
>
> Waiting for your comments :)
Definitely agree with the confirmation.
I find myself deleting all referenced files and re-adding them to the
project drawer regularly.
Why?
Because the project drawer doesn't update itself. I often start with
a template, then 'save as'. When I do this, the file that I started
with in the project gets replaced by the file I saved as. So, I then
add the old file back to the project drawer.
I also often work with other people. I copy their files into my
project folder, but the newly added files don't appear once switch
back to the project.
Consequently, during the course of a whole site, it's (for me)
quicker to simply delete all the references and start again each time
I save a file.
Maybe I'm not doing things the right way...
Cheers
Jonno
I'm spending a lot of time writing html mockups, which means i get to
work lots on "raw" html files not tied to any backend of any sorts.
So my work usually exists of switching back and forth between camino
(I use safari for normal browsing) and often navigating between files.
Now what I'd like is a way to catch the file I currently view in
camino and start to edit it in textmate, and also take the file I
edit in textmate and show it in camino (in the current tab)
The last thing there should already exist i suppose in some of the
"preview in browser" actions, but what about getting the current html
file from camino and editing in textmate?
______________________
Andreas Wahlin
Webbutvecklare
Webbhuset AB
Östra Hamngatan 45, 411 10 Göteborg
Telefon: 031-339 19 19, Direkt: 031-739 18 20, Fax: 031-711 12 20
www.webbhuset.se
Privileged/confidential information may be contained in this message.
If you are not the addressee indicated in this message (or
responsible for delivery of the message to such person), you may not
copy or deliver this message to anyone. In such case, you should
destroy this message and kindly notify the sender by a reply email.
Thank you.
Hi -
New to TextMate and this list and very impressed so far with both.
I am experimenting with extending existing Language Grammars, and
I've run into a problem. I wonder if this is my problem or not, or
simply a problem in understanding the system:
It appears that some pattern definitions override or erase others.
For instance, I've added a feature to grab a reference to a
particular email in Mail.app and create a tag called "emaillink" in
my GTDalt document. Specifically, I want to add these emaillinks to
the notes fields in my GTDalt document (I mention this as it becomes
important below). I decided to make a new Language Grammar, based on
GTDalt, and wrote the following:
{ scopeName = 'text.gtdalt.jb';
fileTypes = ( 'gtd', 'gtdlog' );
foldingStartMarker = '^\s*project';
foldingStopMarker = '^\s*end\s*$';
patterns = (
{ name = 'meta.jb';
match = '\bmy_emailllnk_tag\b';
},
{ include = 'text.gtdalt'; },
);
}
Seems like it should work, but it doesn't. This appears to be because
the definition of the notes field (in the text.gtdalt Language
Grammar) erases my scope tag.
I see this, too, when I try to extend the C Language Grammar to
include color markup of the API I am using. In many cases, wherever
the text was in Scope source.c, it works. But as soon as the term in
question appears within a function declaration or a similar parsed
structure, my scope tag is eliminated in favor of the parsed one. The
position of the "include" line doesn't appear to make a difference.
It seems like there should be a way to have persistent scope tags,
for exactly this purpose -- color-coding particular terms or
rendering particular strings a certain way, potentially regardless of
local context. But if not, could someone suggest a workaround?
Thanks very much
jb
I love the html add attribute (command+control+option+end inside a
tag) however, i'd really like it if it kept within scope.
As it is now, triggering the snippet (?) in this context will add an
attribute to the NEXT tag, not the current one
<tag stuff|>
while
<tag stuf|f>
will trigger the snippet as one would imagine
(| denotes caret position)
i have a weak recollection that this was up sometime but ... a fix
thomas?
______________________
Andreas Wahlin
Webbutvecklare
Webbhuset AB
Östra Hamngatan 45, 411 10 Göteborg
Telefon: 031-339 19 19, Direkt: 031-739 18 20, Fax: 031-711 12 20
www.webbhuset.se
Privileged/confidential information may be contained in this message.
If you are not the addressee indicated in this message (or
responsible for delivery of the message to such person), you may not
copy or deliver this message to anyone. In such case, you should
destroy this message and kindly notify the sender by a reply email.
Thank you.
Since switching to TextMate, I rarely make any syntax mistake, but
when I do, then it's because I write `\medksip' instead of `\medskip'
for instance.
All unknown LaTeX commands in regular text are grayish (with a few
notable exceptions such as \cite, \eqref and \ref for instance). I
would like to make a list of `known' LaTeX commands (including the
different skips, \noindent, etc.) and color them differently.
How would I do that?
With a little abuse, I've managed to color them red by adding them to
the constant.character.latex list, but this is not really a clean
solution …
Thanks a lot.
Max
Hi there,
could it be, that i cannot paste text from M$ Remote Desktop into
textmate? I can paste text from there to any other application such
as Stickies, BBEdit, a.s.o.
Regards Thomas
Hi all,
I've been working on a bundle for Stata and I've run into the
following problem. Occationally in Stata one might want to load a
file in another directory. For example
use ~/otherdata/bob.dta
I currently have the language definition set up so that use and
bob.dta are colored differently.
Now, if the path has a space in it, Stata would like the statement
with quotes arrount the path
use "~/other data/bob.dta"
Now TextMate treats the stuff in the quotes as a string and doesn't
color bob.dta. What I'd like to have happen is that bob.dta is
recognized inside the quotes.
Suggestions on how to achieve this would be much appreciated.
Thanks,
Tim
P.S. I should point out that in Stata mostly a quote really does
designate a string, so I don't want TextMate to completely ignore
quotes.
Since switching to TextMate, I rarely make any syntax mistake, but
when I do, then it's because I write `\medksip' instead of `\medskip'
for instance.
All unknown LaTeX commands in regular text are grayish (with a few
notable exceptions such as \cite, \eqref and \ref for instance). I
would like to make a list of `known' LaTeX commands (including the
different skips, \noindent, etc.) and color them differently.
How would I do that?
With a little abuse, I've managed to color them red by adding them to
the constant.character.latex list, but this is not really a clean
solution …
Thanks a lot.
Max
On Sep 5, 2006, at 8:55 PM, Gerd Knops wrote:
> Syntax from he**... I committed some more changes to the subversion
> repository, that should work better now.
Perl does have a weird syntax!
Thanks much for fixing that, Gerd.
- Dave
I have an "ä" (a with two dots or whatever you foreign devils call
it) in my filepath and safari chockes pretty good on this.
Or rather, the script that outputs the $activeurl seems to not
convert it into characters that safari doesen't like (oh, and if i
could have a camino and ff compatible version that'd be swell to)
______________________
Andreas Wahlin
Webbutvecklare
Webbhuset AB
Östra Hamngatan 45, 411 10 Göteborg
Telefon: 031-339 19 19, Direkt: 031-739 18 20, Fax: 031-711 12 20
www.webbhuset.se
Privileged/confidential information may be contained in this message.
If you are not the addressee indicated in this message (or
responsible for delivery of the message to such person), you may not
copy or deliver this message to anyone. In such case, you should
destroy this message and kindly notify the sender by a reply email.
Thank you.
Hi,
Is there somewhere a viewer for pages written with MediWiki syntax?
As I do not plan the full install of MediaWiki on my laptop, I'm looking
for a very simple viewer that would allow to see files edited offline in
TextMate.
I've tried pmWiki, that works fine, but does not use the same syntax
as MediaWiki.
Thanks in advance,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
I am working on a design refresh of a site in ColdFusion. As CF is
incompatible with Java SDK > 1.4.2 and there is no way to downgrade
(I am using 1.5/5.0) without reinstalling the OS, I am stuck running
the CF server on another computer. Apparently the internal CF server
is unable to have a web root folder that is hosted on a network
share, so I am also stuck editing via SMB (unless there is some other
option I'm not thinking of?). The funny thing is that when I work o
Now to the TextMate bit: Every time I switch to TextMate, there is a
multi-second pause (sometimes accompanied by the SBOD) before I can
resume editing. This happens before the window regains highlight, if
that helps. This is frustrating, as there is often a change/save/
reload type of flow to my work, particularly editing CSS etc. Has
anyone experienced this or similar behavior, or know of an
alternative solution (I'm hoping to avoid anything like FTP). The
problem does seem particular to TextMate, since I was using skEdit
set up the same way for a while without the same problem. The
problem does not occur when editing on an SMB share hosted on our
linux server.
I'm running TM on a Mac Mini 1.42 g4/1 gb on 10.4.6, and the "server"
is a P4 3.2ghz/1gb ram WinXP SP2... They are connected via 100Mbps
ethernet.
Thanks,
Eric O'Connell
IBA Webmaster
-
941-921-7443 x15
eric(a)bodytalksystem.com
www.bodytalksystem.com
A recent change to the Perl bundle had the effect of highlighting
large chunks of code as if they were match or replace statments. For
example, it parses this line as if the slash were the start of a m/
regexp/ statement:
local $/;
It does the same to pretty much any line with a slash in it, for
example when dividing two numbers.
As a workaround I've added '#/' as a comment to the end of these
lines, but I'm hoping that's a very short-lived hack ;)
Many thanks in advance,
- Dave
This worked like a charm, mreece, thanks!
On Aug 31, 2006, at 12:46 PM, Michael Reece wrote:
> looks to me like this pattern:
>
> .*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle|archive)
>
> is matching folder names that have these extensions; anything (.*)
> followed by a dot (\.) followed by one of those patterns.
>
> you should put archive outside that closing paren, or near the front:
>
> .*/(\.[^/]*|CVS|_darcs|\{arch\}|blib|.*~\.nib|.*\.(framework|app|
> pbproj|pbxproj|xcode(proj)?|bundle)|archive)$
>
> or
>
> .*/(\.[^/]*|archive|CVS|_darcs|\{arch\}|blib|.*~\.nib|.*\.
> (framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
>
>
I'm editing a Dashboard widget as a TextMate project. It took me a
while to figure out that **updates to CSS are not reflected in the
Web Preview** of the corresponding HTML page of the widget.
I can even completely delete the contents of the CSS file, and still,
the preview renders with the old version of the CSS file. I tried
Command-R, manual reloads in the preview windows etc - nothing worked
except quitting and restarting TextMate, which is obviously not a
satisfying solution.
Do I miss something here? (For me, this feature seems to be broken,
and I found some mailing list posting from 6 months ago; but I hoped
that the current version has fixed these problems).
My configuration is
TextMate 1.5.3 (1215),
Mac OS X 10.4.7 Latest update,
No HTML/CSS bundle modified by me.
Thanks for your help,
Martin.
Before the last update I could type something like:
div {
color:red;
}
And all was well and good. Now TM throws a space in automatically
which is fine. I just have to get used to that. But now I can't
overtype the semi-colon. I used to be able when I got to then end of
the statement type ";" and it would overwrite the one that was
already there and place my cursor outside the statement. Now it puts
2 semi-colons and i'm still stuck in the statement.
div {
color: red;;
}
What happened to the ability to Overtype the semi-colons in the css
context? And how do I bring it back?
Josh
I'm not sure what the TextMate terms for this are, so please bear with
me (I'd have searched the help file more thoroughly, if I knew the
right terms)
When, for example, creating a method declaration using m(tab) in the
Objective-C bundle, you get this:
-(id) method:(id)aparameter;
(or something close to it).
The caret is on the first id, which is selected. So far, so good --
type in, and the "id" is replaced, as expected, with what you typed.
However, and this is probably something I just got used to with
Eclipse, there doesn't seem to be a way to jump to, and select, the
next replaceable field, for example the word "method", which is done
by pressing 'tab' in Eclipse, navigating from field to field until all
are set, with the last caret position being a specified insert
position.
I'm not sure I'm explaining myself well, but I hope that what I
describe is fairly clear.
So, is there a way to do this? If so, how? And, what is it called,
so that I never have to ask this question again? ;)
--
Chris R.
======
Not to be taken literally, internally, or seriously.
In my language I'm using:
{ name = 'meta.blank.line';
match = '^\n';
},
which works great for identifying blank lines.
The problem comes when I get to the last line of the document.
Textmate usually uses the character to the right of the caret for
scoping, but when at the end of the document the scope switches to
the left side of the caret. And because I'm on an empty line there's
nothing to match.
So is it even possible to scope the last line of the document when
it's empty?
I thought I had an answer with \z but Textmate doesn't seem to
support \z in the language grammar - or maybe I'm using it totally
wrong.
Any help is appreciated.
--oliver
To replicate:
my ($match) =
/
\s*
(match_me)
/x;
my $syntax_coloration_broken = 'from here down';
What appears to be happening is that the \s* is interpretted as a
substitution, e.g. s*search*replace*;
Suggestions on fixing thing?
Thanks,
Joshua
To any users of the Subversion bundle: How can I add support for
providing passwords to svn when I'm using DAV_SVN with SSL and
key-based authentication?
For example, right now in the svn info output, there are six requests
for the password. If those are all ignored, I believe that I don't
get an SSL connection, which is... undesirable.
Any advice? I'm certainly willing to code the solution myself, if needs be.
--
Chris R.
======
Not to be taken literally, internally, or seriously.
Hi there,
I've got a new language for which I'd like to create a new grammar.
It's a LaTeX alike language, but environments look like this:
\startsomething
\stopsomething
The language grammar doesn't seem to accept the backslash (it does so
in the LaTeX bundle, so I must be doing something wrong). The
following works fine:
{ name = 'meta.foo.bar';
begin = 'xx';
end = 'yy';
},
and in my text between 'xx' and 'yy' the scope is also 'meta.foo.bar'.
But when I chage the grammar to
{ name = 'meta.foo.bar';
begin = '\\xx';
end = '\\yy';
},
I can't see that the scope changes to 'meta.foo.bar' within \xx and
\yy. Can somebody tell me what to do?
Patrick
The PPI module[1] on CPAN is designed to parse Perl (no small task
there). It was designed for projected /exactly/ like TextMate.
Why is PPI worth looking at? A few brief reasons:
1. It parses Perl wiithout executing it, so stuff like 'BEGIN {system
"rm -rf ~"}' won't do naughty things.
For the record, Textmate doesn't suffer from this problem.
2. It can parse 99% of the documents in CPAN [2]
Comparatively, TextMate isn't quite there yet. :-)
3. It's fast enough [3]. I watched a demo at OSCON 13 months ago with
a demo of PPI parsing the contents of a generic wx-based editor [4].
It responded in real-time.
TextMate is probably faster because it parses a smaller DOM than PPI.
The module PPI::XS, a Perl-C tokenizer hybrid, is an attempt to write
a faster tokenizer.
4. The Perl DOM class tree looks sane enough to use as the basis for
colorization. There are 62 classes, which should map neatly into the
TextMate model [5]
5. Adam Kennedy, the author, is a fantastic guy. He stayed at my place
for that OSCON. Not to put words in his mouth, but I'm sure he'd be
delighted to offer help integrating his baby into TextMate.
6. Once integrated, TextMate would benefit from future PPI
improvements for free. And PPI is under continual development since
2001. Updates are released about every two months, the most recent
being today, Sep 2.
Thanks for entertaining this idea,
Joshua
[1] http://search.cpan.org/~adamk/PPI-1.117/lib/PPI.pm
[2] http://search.cpan.org/~adamk/PPI-1.117/lib/PPI.pm#How_good_is_Good_Enough(…
"The goal for success was originally to be able to successfully parse
99% of all Perl documents contained in CPAN. [...] At time of writing
there are only 28 non-Acme Perl modules in CPAN that PPI is incapable
of parsing. Most of these are so badly broken they do not compile as
Perl code anyway."
[3] http://search.cpan.org/~adamk/PPI-1.117/lib/PPI.pm#The_Tokenizer
"The target parsing rate for PPI is about 5000 lines per gigacycle.
It is currently believed to be at about 1500, and main avenue for
making it to the target speed has now become PPI::XS, a drop-in XS
accelerator for PPI."
(At the time of this writing, PPI::XS is in the proof-of-concept stage)
[4] http://search.cpan.org/~adamk/PPI-Tester-0.06/
A wxPerl-based interactive PPI debugger/tester
[5] http://search.cpan.org/~adamk/PPI-1.117/lib/PPI.pm#The_PDOM_Class_Tree
I run a script to update bundles. At the moment it seems to hang trying to
update Rails. Anybody know what's happening and what to do about it?
Everything seems fine until near the end of the process, when I see:
Fetching external item into
'Bundles/Rails.tmbundle/Support/plugins/textmate_footnotes'
External at revision 121.
Fetching external item into 'Bundles/Rails.tmbundle/Support/plugins/engines'
... and there it sits.
The script is
#!/bin/sh
cd /Library/Application\ Support/TextMate/
/usr/local/bin/svn up
osascript -e '
and has been working for months.
I tried exiting terminal, which ended the script but left "engines" locked.
svn cleanup resolved that.
PowerBook G4 12"/Mac OS X 10.4.7
I have a strong background in .NET and Visual Studio 2003/2005. I'm
used to being able to wrap blocks of code around #Region "Fold this"
and #End Region markers and the UI would allow that block of code to
fold up.
Is there a way of doing this in Textmate with the PHP bundle or any
other bundle? I figured I'd ask before trying to reinvent the wheel.
Thanks!
Derek
Hi all,
I am having trouble with the Go to File command. It works fine from
the menu bar, but command T does not trigger it. I have double
checked and I have not assigned command T to any other command and I
have not created any ~/Library/KeyBindings/DefaultKeyBinding.dict. I
am using TextMate Version 1.5.3. Any help debugging this would be
appreciated. Thanks a lot.
All the best, Mark
Allen -
Cool, thank you.
So:
1) Yes, when I was using XCode bundle I was doing the Build & Run
command. I did NOT import, but followed directions someone had
(maybe it was on your wiki) put the textmate project file and the
xcode project file in the same path. Again, that seemed to work, but
was not getting anything "back" from ant.
2) I have been doing this on my new Macbook pro and I haven't touched
the /etc/profile or ~/bash_login or ~/bash_profile. I followed the
directions on 8.2 Search Path: my bash_init.sh and ~/.bash_profile
are identical to the ones in the manual. No luck - same problem: ant
runs, when you quit the app, everything displays.
3) I did check in the shell (using Terminal) and running ant there
works as in XCode: the targets are displayed as they are run, and my
lovely println() statements shine thru.
Sorry, I've never done anything beyond creating symbolic links and
using top in the shell. Not really my forte. But your wiki pages
are nice and helped, on this subject and everything else I've
referenced.
-Jerzy
Hi,
This used to work fine at one point, but has now been broken for a
few weeks.
From my rails app I call up Ruby->Run Rake Task. I choose "deploy"
from the list of tasks, and get the following output (apologies for
wrapping):
RakeMate r1.2.0 running Ruby v1.8.2.
>>> /Users/evansj/rails/my_app
loading configuration /usr/local/lib/ruby/gems/1.8/gems/
capistrano-1.1.0/lib/capistrano/recipes/standard.rb
loading configuration ./config/deploy.rb
loading configuration #<Proc:0x025d054c@/usr/local/lib/ruby/gems/
1.8/gems/mongrel_cluster-0.2.0/lib/mongrel_cluster/recipes.rb:1>
* executing task deploy
** transaction: start
* executing task update_code
* querying latest revision...
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:
command not found: svn log -q -rhead https://my.svn.server/repos/
my_app-portal/rails/my_app/trunk
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:
command not found: svn log -q -rhead https://my.svn.server/repos/
my_app-portal/rails/my_app
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:
command not found: svn log -q -rhead https://my.svn.server/repos/
my_app-portal/rails
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:
command not found: svn log -q -rhead https://my.svn.server/repos/
my_app-portal
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:
command not found: svn log -q -rhead https://my.svn.server/repos
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:
command not found: svn log -q -rhead https://my.svn.server
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:
command not found: svn log -q -rhead https:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:
command not found: svn log -q -rhead .
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:
command not found: svn log -q -rhead .
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:
command not found: svn log -q -rhead .
The last line repeats indefinitely until you close the window and it
prompts you to stop the task.
svn is /usr/local/bin/svn, which is in my path, and the TM svn tasks
work fine for checking in etc. I have tried setting TM_SVN to the
full path to my svn in the prefs, but it still doesn't work.
I'm using the latest TM, with /Library/Application Support/TextMate
updated from svn.
TIA
Jon
Allan,
Thanks for your reply. I read over this page; I don't see how this
could be the problem because it is running ant. Am I missing something?
-Jerzy G.
> From: Allan Odgaard <throw-away-1(a)macromates.com>
> Date: September 1, 2006 12:30:18 PM EDT
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] java ant [run]
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On 1/9/2006, at 18:12, Jerzy Gangi wrote:
>
>
>> [...] Also, tried to use XCode bundle for the same thing. This
>> will not display anything until the app closes, at which time it
>> displays the full build output and my println's.
>>
>
> This is the Build & Run command?
>
>
>> Help! I want to use TextMate!
>>
>
> This is definitely not the standard behavior. I am not sure why you
> see the behavior, but my best guess would be that you have
> something in your bash startup which enables some form of buffering
> or similar.
>
> TextMate will source your bash startup files when running commands,
> the process is described here [1]. Could this be the reason?
>
>
> [1] http://macromates.com/textmate/manual/shell_commands#search_path
>
>
Hi there -
I'm relatively new to TextMate, trying to decide if I will buy it
(99% sold right now). Previously on XCode - I'm developing a Java
application w/swing, using ant to build.
When I do ⌘ (open apple) + B to build my TextMate project, and
select "1 Ant", the build / Ant window pops up. The jar
launches, and runs, but none of my debug println() statements show up
in the ant window until I: 1) close the jar myself (aka the program
exits), or 2) I force the jar to quit in the build / Ant window. So
after the app quits, the entire Ant output shows up for my targets,
with my debug println()'s at the bottom. Is there any way to make
the Ant display in TextMate "live?" Or not? Or am I just missing
something really basic?
Also, tried to use XCode bundle for the same thing. This will not
display anything until the app closes, at which time it displays the
full build output and my println's. Which, again, is good... but a
few minutes after I need them. Just as a point of reference, XCode
does display my debugging println()'s as the app is running in it's
console window.
Help! I want to use TextMate!
Thanks,
Jerzy G.
I've put together a very basic/simple/uncomplicated/doesn't do much
bundle for Stata, available at:
http://www.landfood.ubc.ca/people/timothy.beatty/page10/page10.html
I'm new to Textmate and so I'm sure the bundle could be improved upon
(there are certainly both typos and thinkos). If anyone has helpful
suggestions, particularly Stata users, they'd be very much
appreciated.
Thanks,
Tim
Hello. I have folders throughout my project called /archive/, in
which I put old versions of things. I would like the "Show TODO
List" command to ignore everything in any folder named archive/. Any
ideas on how to do that?
I looked at the Show TODO List Ruby script, but I don't know Ruby at
all and it was not obvious to me how I would modify (a copy of) the
script to ignore specific subfolders.
Thanks!
--Andreas
p.s. I use hard folders in my projects, and would like to continue to
do so. Moving the /archive/ folders out of the actual folders on my
HD is not an option. However, if there was some way to surpress
those subfolders from appearing in the project at all (other than
actually removing them), that would be fine. Unfortunately, deleting
the references in the project is insufficient; the files in /archive/
nevertheless have their TODOs appear in the list.
Hi there,
I like very much the ability to select
a word via ⌃W, then typing a quote to
wrap this word into.
How do I add a custom quote on my own ?
I would like to be able to do this with the
french quotes «...»
Thanks in advance
I used to be able to open remote files in TextMate by mounting the
remote directory via the Apple Filing Protocol [1]. Somewhere around
TextMate 1.5.2 (I think), this stopped working for me. TextMate's
open file dialog showed the volume as empty (?), and dragging and
dropping files from the remote volume onto the TextMate icon would do
nothing. Other applications, such as TextEdit, did not have these
problems, so I figured this was a new TextMate bug.
I went back and loaded a copy of TextMate 1.5.1, and it worked fine.
I thought this proved the issue to be a regression, but when I closed
1.5.1 and opened 1.5.3 again, it suddenly started working fine, too!
So I don't know what's going on, but if anyone has problems opening
files via AFP, going back temporarily to TextMate 1.5.1 might
magically fix the problem. At least it did for me.
Trevor
[1] http://comox.textdrive.com/pipermail/textmate/2006-February/
008656.html
Hi there,
I'd like to create a lot of snippets programmatically and not via the
bundle editor. Is there anything to be aware of?
Is the uuid important? What does TextMate do with it?
Patrick
Dear all,
I wonder if this a bug or not.
If I'm open maybe three selected files in the Finder with TextMate it
opens the project folder and all three files are listed. Fine!
If I click at one file TextMate opens it and writes the name and the
folder into the title bar.
E.g. file index.html folder gnu > title bar 'index.html - gnu' OK
But if I save this file called 'index.html' into an other folder,
e.g. 'bear', then I would expect that the title bar will change into
'index.html - bear' !?
Or I'm totally wrong.
My problem is that I'm often editing some files with the same name
but in different folders at the same time. So, I need an info which
file I'm editing.
Many thanks in advance!
Cheers,
Hans
Hello,
I've done some experiments with double clicks between words and it
seems inconsistent and not very useful compared to BBEdit.
I've been trying to switch from BBEdit in all cases but am finding it
sometimes difficult and extra work and clicks.
When I double click between two words:
Series of spaces get selected - correct
One tab - selects the word before the tab instead of the tab - wrong
Series of tabs - selects the tabs - correct
Series of spaces framed by words with single quote or double quote -
selects the spaces and the quotes - wrong
Series of tabs framed by words with single quote or double quote -
selects the tabs and the quotes - wrong
Series of spaces framed by words with $ - selects the spaces and the
$ - very wrong, really messes up perl
Series of tabs framed by words with $ - selects the tabs and the $ -
very wrong, really messes up perl
Why would it try to remove the $ in front of variables when all I
wanted to do was remove the spaces or change them to tabs?
In all cases it seems the invisible space between the words should be
selected, but nothing else.
Thoughts anyone?
Thanks,
ml
After opening a new template -nothing- happens (no window, no notification).
I've tried:
1. Wiped out everything related to textmate and reinstalled (same result)
2. Made sure the /tmp/ folder is writable (suggested in #textmate, same
result)
3. Created a new OS X profile, launched textmate to have it -briefly- work..
only to stop sometime later (maybe after opening an old project).
Is there something basic I'm missing?
Any suggestions appreciated, -m
Hi to all,
I need to order file and folder in project window for filetype and not
for file/dir-name. Is it possible?
Many thanks in advance.
max
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Conquista e fatti conquistare aderendo al Club PER DUE di Blinko
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5494&d=28-8
Hi there,
What about changing the script snippet to:
<script type="text/javascript" charset="utf-8">
// <![CDATA[
$0
// ]]>
</script>
This would make it more palatable under XHTML and of course, it can be
modified to make the CDATA enclosures deleteable by tabbing, with a few
extra pieces of TextMate code. Just a thought...
--
Glenn Batuyong
Web Developer
http://www.47ronin.com/
--
--
Hi!
Does someone has the same following problem as me with the LaTeX-Bundle?
The shortcut for "Insert Environment based on current word" is cmd+
{ (which is on a German keyboard-layout: cmd+option+8) and it doesn't
work (nothing happens -- if you choose it from the menu it works).
But the shortcut of "Insert Command based on current word" (cmd+}
which is cmd+option+9) works.
If I switch to a Dvorak-layout, Korean-HNC-Romaja, Japanese or US-
American-keyboard-layout (the last three have {} all on the same
position - Dvorak-layout-{} are on the two keys next to Backspace)
both shortcuts are working.
Anyone else has the same problem (maybe on other keyboard-layouts)?
Does anyone has a solution?
Niels
--
Jack Sparrow: Me? I'm dishonest, and a dishonest man you can always
trust to be dishonest. Honestly. It's the honest ones you want to
watch out for, because you can never predict when they're going to do
something incredibly... stupid.
-- Pirates of the Carribean: The Secret of the Black Pearl
Whenever I send a post to a Movable Type blog with »Status: Draft«,
the entry gets published instantly. Is there a workaround or bugfix
for this? It works fine with Wordpress.
Thank you in advance.
regards,
Manuela
I've been playing around with the Blogging bundle the past few days,
because I recently updated my weblog app, SimpleLog[1], with full
XML-RPC API support. Most people will use MarsEdit and the like, but I
live in TextMate so I'd like to use it if possible. But I have some
weird problems.
The first, is that the blog setup suggests writing the endpoint URL as
http://username@site.com, but usernames for my weblog app are email
addresses, so this doesn't work (http://user@site.com@site.com
obviously won't work). Now, if you don't put the username and @ sign
in the setup, the Blogging bundle will ask you for your username when
connecting, but with a few problems:
1. It will say '--button1' in the field when it prompts you.
2. It won't remember your username and will keep asking you (it does,
however, remember you password).
Now, it does allow you to connect, and that's great. However, there is
an issue when posting/updating posts. While it does successfully post
and update, it also ALWAYS errors. The first line becomes:
2006-08-25 12:07:00.341 open[4844] No such file:
/Users/garrett/Library/Preferences/this_is_a_test_yep
Now, the error is different depending on the user, setup, etc. But
it's something like this. In this case, garrett is my username
(obviously), and this_is_a_test_yep is the permalink for this post.
What's causing this?
I'd like to get everything working smoothly so I can promote this
functionality in SimpleLog. Help would be appreciated.
Also, on a side note--I'm sure this has been addressed, but it's a
little annoying to have to have a file open before being able to fetch
posts...
Thanks again,
g
[1]: http://simplelog.net
Hi there,
I can't get the Obj-C documentation (⌃H) to work.
I always get “No documentation found...”. Looking
in the Bundle Editor to see how it works, I think
the doc_references.txt is not correct anymore : the
paths in this file are different than in my
/Developer/ADC Reference Library directories...
I'm using Xcode 2.4
Thanks in advance :)
Are there any plans to add something like the Subethaedit online
collaboration features to Textmate? In the light of Leopard's apparent
focus on online collaboration, such things would be double-plus good!
(and it would limit the number of editors I need on my system!)
Best,
N
Could this HTML drag command for js files be included with TextMate?
echo "<script src=\"$TM_DROPPED_FILE\" type=\"text/javascript\"
charset=\"utf-8\"></script>"
Beau
Hi,
the following code behaves a bit strange when in ruby mode:
def to_pdf
dictionary_writer({
"Type" => "Pages",
"Kids" => @kids,
"Count" => @kids.size,
"Resources" => @resources,
"MediaBox" => @mediabox,
})
end
Just select all the text and indent it. The folding markers are at
lines 1,2 and 9 (odd number) and the 'end' is indented to the right.
What can I do?
Patrick
Hi,
I experience a reproducible crash with TextMate. I open a simple ruby file, for example this foo.rb:
def foo
puts "bar"
end
Then I press ctrl-R to run the program, close the 'run' window with
cmd-w. Then, in the main window with the ruby source, the lines on the
cursor get black. When I close this window with cmd-w, TextMate
crashes.
What can I do?
Patrick
When using version control, my commits outnumber my adds by an order
of magnitude or two. That being the case, why give "Add to repository"
top billing on these menus?
I've reordered the version control menus on my system roughly in
order of usage. Huffman would be proud - they all start with "Commit"
now. :-)
e.g.
Commit
Diff with newest (HEAD)
Diff with previous revision (PREV)
Diff with working copy (BASE)
Diff with revision...
---
Log
---
Add to repository
Check out revision
---
(everything else)
-Joshua
I have posted a couple of significant improvements to the GTD
Bundle. First I created an exclusion list, which allows you to
create a list but exclude it from your active task list. The other
improvement is an overhaul of the help system - it was way out of
date. Please feel free to let me know if you're using the GTD bundle
and have a suggestion. Thanks.
Mike
Hello,
As previouslky annouced, here is My 1st question about TextMate 1.5.2
Watching at LateX video on TextMate site, I saw an interesting functionality : Bibliography completion.
I well know BibDesk, which I use daily. So, I launched BibDesk, opened a .bib file and went back to TextMate (as shown in the video) and nothing happened ?
Did I miss something ?
Thanks for help
Francois
I've had a couple (2 or 3) of occasions with TextMate crashing and
all those times, it happens doing exactly the same. However, this
isn't reproducible in the sense that I can make it happen anytime I
want to. That said, what happens is the following:
1. Cmd-F to bring up the Find dialog box.
2. Fill in the text to be searched.
3. Press <tab>.
4. Boom.
Each time, I send a crash log to Macromates and Apple, but I haven't
seen this problem on the list. I know of one other person who also
had this happen. Are we the only ones? :(
--
Regards, Charles.
There's an initiative to unify the web preview output of all
different run tools (RubyMate, PyMate etc) and this is fine and
dandy. However, I've been thinking about going a step further and
creating a generic "RunMate" that can be configured to capture output
and do the stuff the other "Mates" are capable of.
So attached is a draft version of such a tool called "RunMate.rb".
Just drop it in Library/Application Support/TextMate/Support/Bin or
where you keep your custom stuff.
It's used by specifying the following arguments:
--format=[fmt] (fmt can be "gcc", "ruby", "javac" or "haxe" at the
moment).
--ant (strips the stuff ant adds to its subtools' output)
--run=[cmd] (run the specified command and capture its output.
STDERR and STDOUT are caught automatically)
So, here's how a java ANT build could look like: RunMate.rb --
format=javac --ant --run="ant -s build.xml"
And a ruby run thing: RunMate.rb --format=ruby --run="ruby
\"$TM_FILEPATH\""
I don't know if you believe going forward with this is a worthwhile
effort so please give comments and suggestions.
--
Mikael Säker <mikael(a)sicher.org>
http://www.sicher.org
"Strangers have the best candy."

I used the reply function of my email account (yahoo) and didn't noticed that by default it uses the sender's address and not the list's address...
Have a nice week-end
F
----- Message d'origine ----
De : Charilaos Skiadas <skiadas(a)hanover.edu>
À : Francois <francois_75015(a)yahoo.fr>
Envoyé le : Samedi, 26 Août 2006, 1h21mn 08s
Objet : Re: Re : Re : [TxMt] BibDesk link
Off list,
just to make it clear, I didn't mean to imply that you shouldn't
have sent it to me off list. I just didn't know if you sent it to me
intentionally, or if you just didn't notice that you were replying
only to me. It's fine to email me directly.
On Aug 25, 2006, at 4:42 PM, Francois wrote:
> BTW, I will post to the list from now ;-)
>
> Cheers
> F
Haris
Every time I use a paste command like "look up selection from google
and link", or "check spelling" I get at the beginning of the pasted
text something like this "2006-08-25 10:48:29.205 CocoaDialog[24321]
[Amendment] Loaded". I never used to, any ideas to get rid of it?
Thanks.
Hi,
I would like to know more abour modifying a bundle's language so that it can
use the symbols functions (you know, the little pop up at the bottom, and
the go to symbol command). I work in ActionScript mainly, and the
ActionScript bundle doesn't seem to allow this. I do seem to remember way
back when I was demoing TextMate that ActionScript symbols seemed to show
up, and I thought that was cool, but at some point they just stopped
working. It just says "-- no symbols to show for current document" for .as
files. I've seen a few languages that have symbols show up...and I just
don't know what I need to do to get it working. When I was using Eclipse I
found the class browser thing very handy...would be nice to have that in my
now-preferred editor.
I checked the docs, searched at macromates.com, searched Google...can't seem
to find any good documentation on how to work with symbols. Any help would
be greatly appreciated!
Thanks,
Dru
Hello Harris and thanks for this tip. I
'll try it as soon as I get hands on my Mac...
BTW, I will post to the list from now ;-)
Cheers
F
----- Message d'origine ----
De : Charilaos Skiadas <skiadas(a)hanover.edu>
À : Francois <francois_75015(a)yahoo.fr>
Envoyé le : Vendredi, 25 Août 2006, 12h36mn 43s
Objet : Re: Re : [TxMt] BibDesk link
On Aug 24, 2006, at 6:26 PM, Francois wrote:
> Hello Haris and thanks for this detailed explanation.
>
> The method you lmentin works perfectly well, but I think we could
> improve this powerful function. For one reason: As many LaTeX
> users, I suppose, I use the \include{the_file_I_need} function.
> That's to say that all my .tex document do not contain a
> \bibliography{} command at the end.
This should already work just fine. If the \bibliography{} line is in
the current file, or any file \include'd in it, it will work.
Further, if you are using a "master file" as it seems you do, you
would want to set the TM_LATEX_MASTER variable to point to that file.
And then the completion commands, as well as the compiling, will use
that file instead of whatever the current file is. I hope this makes
sense, the help talks a bit more about it. And you might be
interested in some of the things I've written here: http://
skiadas.dcostanet.net/afterthought/list-of-my-textmate-pages/
(btw, any reason you emailed me and not the list? feel free to take
this back to the list if you like.)
Haris
I like the new preview window for markdown and the ability to select
a theme. However, I sometimes use markdown for a quick note to
distribute which I print right from the preview window so I would
like the ability to close the header and theme pics from printing
from the preview window. Maybe a print.css option?
Thanks
Robert
Hi all,
When I work on a rails app, I generally have an iTerm window open
with four tabs (sessions) in it:
1: COMMANDS Session = for basic Rails commands (script/generate...)
2: SERVER Session = for WeBrick/Lighttpd script/server sessions
3: AUTOTEST Session = for Zentest autotest functionality (see [http://
nubyonrails.com/articles/2006/04/19/autotest-rails] for more info
4: CONSOLE Session = for working with the console
Now opening up those windows/tabs each time I work on a project gets
tiring real fast, so hence this little TM Command to do it in seconds.
Hopefully it could be useful for someone else out there.

Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Hello,
TabMate 1.1 is released.
TabMate is a plugin that makes it possible to have per-file indenting
settings, so you don't have to manually change these when you switch
between files with different code styles.
New in 1.1:
* TabMate now adhers to the programming language in the modeline.
Please see http://konstochvanligasaker.se/tabmate for more information.
/Håkan
Ok, I have a non registered version. Yesterday it updated with a
newer version. I used it and it was fine. Today I launched it and it
immediatly updated. Now as soon as I try to open a document that has
some form of colorencoding it spontaneously crashes (.rb files for
example). I tried opening regular text-documents and that worked
fine. I zapped the program. Downloaded it again, reinstalled it and
the issue remains. When I open up the program and I go into
preferences and then Colors and Fonts it does the same thing. So I
think it has something to do with the displaying of colors. I even
tried creating a new user profile and use it there .. same issue.
As far as I recall I haven't installed anything since yesterday.
Perhaps Shiira but I doubt that would be the cause of all of this.
opacity should be a recogniced word in the css syntax, right?
______________________
Andreas Wahlin
Webbutvecklare
Webbhuset AB
Östra Hamngatan 45, 411 10 Göteborg
Telefon: 031-339 19 19, Direkt: 031-739 18 20, Fax: 031-711 12 20
www.webbhuset.se
Privileged/confidential information may be contained in this message.
If you are not the addressee indicated in this message (or
responsible for delivery of the message to such person), you may not
copy or deliver this message to anyone. In such case, you should
destroy this message and kindly notify the sender by a reply email.
Thank you.
I'm not much of a fan of collapsing my code within the editor... it
just confuses more more than anything most of the time. Perhaps if
there was a better indicator that there was collapsed code.
However, I work with 500+-line CSS files every day, and we do a decent
job grouping these into sections visually through commenting. It would
be great if we could collapse any one of these "sections" as to help
with general organization, etc. A typical style sheet for us would
look like this:
/*
| 3. Site Structure
|________________________________________________________ */
(structure styles)
/*_______________________________________________________ */
/*
| 4. Front Page
|________________________________________________________ */
(front-page specific styles)
/*_______________________________________________________ */
I'm pretty sure all that would be needed for this are some
standardized tokens that need to appear at the section 'bookends.'
So...
/***
| 4. Front Page
|________________________________________________________ */
...
/*______________________________________________________***/
Preferably looking like this when collapsed:
/***
| 4. Front Page
|________________________________________________________ */
And then the rule would be start collapse at first instance of *** and
end at the next instance of ***. We may want to argue for a few
hundred e-mails on what a more unique token could be, and then there's
the issue of standardizing comment markup so that we can all use
it.... i'm sure it'd be easy enough to do for one example but to
account for other peoples' styles...
Thoughts on this? Anyone feel like whipping this up? I've never done
any bundle editing before but i could give it a whril so long as we
feel this is worthwhile and i've got all the rules down.
--
eric
ericdfields.com
Hello, World of TextMate !
This first mail to say hello (the next one will ask a question ;-)
My name is Francois, I live in Paris (France) and I am new to TextMate. I just discovered TextMate this week-end and paid the shareware fee immediatly. Thanks Allan for this wonderful piece of software.
I am not a programmer or any kind of hacker, just a phd student who uses LaTeX. Before using TextMate, I used TeXshop and BBEdit, Emacs (yes I tried it) and Smultron that was my editor of choice before saturday, when I started using TextMate.
What I like most in TextMate is the overall quality of TextMate and the flexibility in LaTeX editing, more precisely, the ability to keep TeXshop apart.
Well, that's all folks for this small introduction. See you soon on the list
Cheers !
Francois
Hi,
The TODO bundle has a bug: an item like this (in perl):
# TODO: $CONNECTION_TIMEOUT
is not found. If the '$' is removed it works. Apparently some
escaping issue, but I don't do enough Ruby to figure it out.
Gerd
I see another message about which sadly hasn't been answered:
http://comox.textdrive.com/pipermail/textmate/2006-August/012468.html
I followed the instructions at:
http://sg.validcode.at/stuff/textmate-getbundle-bundle
What I did was I removed /Library/Application Support/TextMate prior
to the installation of this bundle. Was that a mistake? There's no
mention of having to checkout the bundles first.
When I choose Bundles -> GetBundle -> Install Bundle, nothing
happens. I was expecting to get a list of the Bundles as the
instructions said, but alas.
How can I solve this?
--
Regards, Charles.
Is there anyone else having a problem with the key command for the
Text > Convert > to Titlecase menu item? I've tried both ctrl+option
+shift+u and ctrl+option+u. Neither works.
Is there a conflict somewhere that is causing it not to work? Is
there a way I can change this binding or is there a fix?
Thanks
Mike Gregoire
Hello!
I am using TextMate for Latex and the umlaute of the german language.
When I have Todos that uses umlaute, I get only questionmarks for
these. Is there an easy way to convert these characters?
greetings
Helge
Hi all,
Is there a way to add some sort of keybinding to have the key
combination SHIFT + SPACE output an underscore character?
I would be happy with this in TextMate or if anyone has any ideas for
a system wide implementation.
Cheers,
LD.
Suppose I have a column of symbols like this:
StoreID
StoreKey
ApplicationID
TerminalID
ReferenceNumber
CashierNumber
TransactionAmount
SalesTaxAmount
Currency
AccountNumber
I want to produce this:
@"StoreID ",
@"StoreKey",
@"ApplicationID",
@"TerminalID",
@"ReferenceNumber",
@"CashierNumber",
@"TransactionAmount",
@"SalesTaxAmount",
@"Currency",
@"AccountNumber",
In Xcode, I'd search for the regular expression
^(\w+)
and replace it with
@"\1",
TextMate appears not to support RE substitution in the replacement
field. Is this the case? Are there thoughts on when that might become
the case?
Is there some TextMate-y way to do what I want in the mean time?
-- F
Hi everyone,
once again, I have a (from my point of view) great Idea, but since I
do not know how to
program it I am sharing my thoughts with you.
I use TextMate a lot for Fortran those days, and markdown, so in
those two "languages" I
know the shortcuts quite well.
Now I start using TextMate to write Latex and I do not know all those
shortcuts I might need.
So here is the request:
Wouldn't it be nice to have a floating window (i.e. the one you get
in iPhoto to adjust contrast...)
showing the contents of the bundle menu on the bottom of the
textwindow? (maybe one could
also click the items and the bundle item will be activated).
Of course it is much more efficient to trigger the bundle action by
the shortcut but during the learning
phase and/or for not so often used actions it would be a help.
Just some thoughts
Christoph
~~~~~
Christoph Biela
cbiela(a)gmail.com
This command overrides reformat paragraph in the comment.line.number-
sign.ruby scope. Here is the description given by rubywrap.rb:
# RubyWrap is a word wrapper utility designed for ruby scripts. It
should,
# however work for any programming language which uses an initial
prefix for
# comments (see --prefix). RubyWrap correctly handles indented
comments,
# indented text within comments, header comments, and many forms of
lists. It
# will also pass through code without change and detabify.
Any interest in adding this to the Ruby bundle?
rubywrap.rb goes in Ruby.tmbundle/Support/bin.
-- Daniel
On Mon, 21 Aug 2006 09:17:37 -0700, Charles Stuart wrote:
> Hi Will, I'm not seeing the preference file. Ran odbeditor and
> returned this:
> --> Unable to find application for bundle com.barebones.bbedit.
>
> And then no preference file
> (~/Library/Preferences/org.dyndns.wuther.ODBforwarder.plist) is
> created in ~/Library or /Library.
Weird. That preference file should be created as soon as the app
starts up. If you double-click on ODBForwarder.app, that file should
be created even though there are no apple-events to forward.
I've made a new version that outputs an error _when_ it can't create
the file. I can't figure out how to make it output _why_ it can't
create the file, so I'm not sure this is much more useful. It is on
the web at: http://www.cse.unsw.edu.au/~willu/ODBSuite/
ODBForwarder-23Aug2006.tgz
I guess it will tell you if the file is being created somewhere
strange. I'm just using the default app preferences API, so I don't
actually tell the OS where to create the file. e.g. it might be
creating a machine specific preference for some reason.
If you've got XCode, you could change the source and recompile...
The default editor bundle ID is listed on line 115 of main.c.
Let me know if that helps,
Will :-}
>>> On Aug 17, 2006, at 11:18 PM, William Uther wrote:
>>>
>>>> Hi,
>>>> Just thought I'd let everyone know that I've made a new app for
>>>> use with TextMate. It is open source and described here:
>>>>
>>>> http://www.cse.unsw.edu.au/~willu/ODBSuite/
>>>>
>>>> Is is still early days and has many rough edges, but I think it's
>>>> useful. I'm releasing early - we'll see if I have enough time to
>>>> release often. :)
>>>>
>>>> The app is a command line app, odbeditor. It acts like the 'mate'
>>>> command line program, but has a few advantages (and some
>>>> disadvantages too :)
>>>>
>>>> usage: odbedit [-h] [-e editor] [-s saveScript] [-c closeScript]
>>>> filename [filename ...]
>>>>
>>>> - It can be run from a remote shell. This means that you can ssh
>>>> into your box and start TextMate remotely. (Yes, there are uses
>>>> for this - it is the main reason I wrote the thing :)
>>>> - It can call out to other scripts when the program is saved or
>>>> closed (so you could scp the file somewhere, just to pull a random
>>>> example out of the air.)
>>>> - It will work with any ODB Suite editor (i.e. any editor that
>>>> works with those FTP programs like Cyberduck.)
>>>>
>>>> Be well,
>>>>
>>>> Will :-}
I am a new user and tried to modify my TextMate. But I am unfamiliar
with unix and clearly made a mess. For example, my TextMate cursor
has changed into a small horizontal bar and I can only modify text,
not enter new text with it. I often lose the find window, too. It
just does not show up and mysteriously comes back every once in a
while. I restarted, rebooted, installed a new copy of TextMate, even
erased the usr/local/bin/mate file. The problems persist. How can I
get restore the default?
Jenny
--
Professor Jenny Harrison
Department of Mathematics
University of California, Berkeley
www.math.berkeley.edu/~harrison
Dear All,
I need your help.
I have to work with text file where block delimiter is more than 1 empty lines.
How to make regex for foldingStopMarker
I was trying foldingStopMarker = '(^$){2,}';
but without success.
Thank you in advance.
Example
"
Block1
text
text
text
text
text
text
Block2
text
text
text
text
text
text
''
On Thu, 17 Aug 2006 23:51:07 -0700, Brad Choate <bchoate(a)gmail.com>
wrote:
>
> Looks like you'll be releasing more often than you thought...
>
> $ odbeditor -h
> ZeroLink: could not load .o file: /Users/willu/src/odbedit/build/
> odbeditor.build/Debug/odbeditor.build/Objects-normal/ppc/odbedit.ob
> Bus error
>
> OSX 10.4.7, PowerBook G4
>
DOH!
Looks like I had the wrong link options set. I've updated the binary
tarballs (the source hasn't changed - so if you wanted to build
yourself you would have been fine... which is why I didn't spot it).
In other news, the building housing the web server is losing power
some time early tomorrow morning, Sydney time. So if you can't get
to the URL, try again in 8-10 hours.
Be well,
Will :-}
> On Aug 17, 2006, at 11:18 PM, William Uther wrote:
>
>> Hi,
>> Just thought I'd let everyone know that I've made a new app for
>> use with TextMate. It is open source and described here:
>>
>> http://www.cse.unsw.edu.au/~willu/ODBSuite/
>>
>> Is is still early days and has many rough edges, but I think it's
>> useful. I'm releasing early - we'll see if I have enough time to
>> release often. :)
>>
>> The app is a command line app, odbeditor. It acts like the 'mate'
>> command line program, but has a few advantages (and some
>> disadvantages too :)
>>
>> usage: odbedit [-h] [-e editor] [-s saveScript] [-c closeScript]
>> filename [filename ...]
>>
>> - It can be run from a remote shell. This means that you can ssh
>> into your box and start TextMate remotely. (Yes, there are uses
>> for this - it is the main reason I wrote the thing :)
>> - It can call out to other scripts when the program is saved or
>> closed (so you could scp the file somewhere, just to pull a random
>> example out of the air.)
>> - It will work with any ODB Suite editor (i.e. any editor that
>> works with those FTP programs like Cyberduck.)
>>
>> Be well,
>>
>> Will :-}
Hi!
Today I noticed a failure in the status-window of the LaTeX-rendering
(I'm using the actual svn-co of the LaTeX-bundle):
/bin/bash: line 23: html_header: command not found
The command in line 23 says:
html_header "Compiling LaTeX (file $FILE)"
Does anyone has an idea what I can do to correct the error? (google
didn't help and I do not want to delete it but to get the correct
output ;) )
Niels
I am using Markdown to edit a blog entry and all of a sudden i
noticed that my right margin wrap has stopped. I'm not sure if i hit
some strange key combination that disabled the wrap, but I'd sure
like to know how to get it back.
NOTE: This is not to be confused with the 'soft wrap' requests that
malign Allan (according to the documentation).
...and...
If anyone has a quick tip on how to change the autocomplete button
from escape to shift+tab (what i use in xcode) that would be much
appreciated.
Steven
Is there any way to deactivate bundles from TextMate so that if I do
a svn update from the repository I don't pull down those items? I'd
like to stay up-to-date with bundle development but there are a bunch
of them that I'll never use.
Thanks,
Neil
---
hushBOOM design
Web design, development & hosting -- Writing & Editing
http://www.hushboom.com/
Hello there--new TextMate user, enjoying it a fair bit, save for one
major problem: it seems unable to use the Python installed from Fink.
Whenever PyMate runs, it always uses Python 2.3.5 installed in /usr/bin,
as opposed to Python 2.4.2 in /sw/bin.
"/usr/bin/env python" calls /sw/bin/python; /sw/bin is listed before
/usr/bin in my PATH.
My suspicion is that there's some preference somewhere in TextMate that
tells it the path to Python. However, I've been unable to find it by
browsing through Preferences.
Can anyone give me a hint as to how to get TextMate to call the proper
Python?
Thanks for any help you can give. :)
This is sort of a reminder about the TextMate quiz
(http://skiadas.dcostanet.net/afterthought/2006/07/14/tmq-1/).
Given that I got no answers to the problem, I am trying to
determine whether it was because of the too long timeframe
which made people forget about it, or whether it was because
of a lack of interest in the problem. So I'm hereby extending
the deadline until the Sunday a week from tomorrow, and I also
wanted to get people's opinions about the quiz and possible
ways to make it more approachable and interesting to people.
So please feel free to reply, either to the list or to me,
with your opinions/ideas.
Haris
Michael McCracken recently posted [1] some small (non-TM) hacks for
displaying text. His TextShape tool is pretty cool, and TextStructure
reminded me of Gerd's TmCodeBrowser plugin, though it adds the neat
feature of marking up the symbols list with little pointers as you
navigate through the file -- pretty cool.
Anyway, I started exploring tmcodebrowser again, and I whipped up a
couple of tiny, trivial lines to add to one's ~/.ctags.tmcodebrowser
file to add support for GTDalt. If anybody's interested, the
following will just show in the codebrowser window a list of projects
in the current .gtd file -- just one more way of displaying your
GTDalts, beyond Haris's great remind/geektool displays. It's handy if
you want to keep a snapshot of the overall set of projects in a very
long .gtd file.
--langdef=gtdalt
--langmap=gtdalt:.gtd
--regex-gtdalt=/^[\t ]*project (.*)$/\1/project/
[1] http://michael-mccracken.net/wp/
-Alan
This is a very basic question, but I am just getting started so I
could use some help.
I want to create an element that recognizes the text between asterisks
as element.comment.first.
For example if I type:
* Textmate *
This would be identified as element.comment.first.
So I wrote the following in my "language" section:
{ name = 'element.comment.first';
match = '[*]\s?([^\* ]|\.| [*] | )*[*]';
},
The problem is it can't identify the element when it comes in the
middle or end of a line, i.e.
I want to learn how to use * Textmate * tomorrow.
What's between the asterisks is not considered an element.comment.first.
Any suggestions or help would be much appreciated. Thanks.
--
Lawrence Goodman
lawrencegoodman(a)gmail.com
Check out my blog: http://goodmanorama.blogspot.com
Tinkered around with Markdown today, found it quite enjoyable to use.
Mostly. Where I found it lacking is when Markdown formatted text is
within a div block, what with Markdown not working within block-level
tags.
Lookign for a workaround, I discovered [PHP Markdown Extra][1] by
Michel Fortin, a script which expands the Markdown syntax to allow one
to use Markdown within block-level tags. Is there a way to use that
script within TextMate?
[1]:http://www.michelf.com/projects/php-markdown/extra/
For those interested in seeing the problem, I've included the samples
below. Pop them into a TextMate document composed in the Markdown
langauage. The first will convert as I would like properly, the
second, well, not so much.
**Markdown, Working**
example
=======
[markdown][1]
[1]:http://somesite.com/
**Markdown, Not Quite Working**
<div>
example
=======
[markdown][1]
[1]:http://somesite.com/
</div>
Regards,
Brooks
When editing CSS (and possibly, other things as well) I find myself
wanting to invert command+return behaviour.
At least here, command+return will hop to a new line without breaking
my current line at the caret, while return will hop to a new line
taking with it all the contents right of the caret (like always). I'd
like to invert this somehow.
Also, I totally love how typing : in css gives you the smart ;
ending, but I'd like a space after the : as well, how?
thanks
Andreas
I like it, lots :)
However, one little detail; I'd suggest changing the each snippet
from each(function(${3:this_one}${4:,i}){$0}${5:.bind(this)}); to
each(function(${3:this_one}${4:,i}) {
$0
}${5:.bind(this)});
that is, "uncompress" it so to speak. Also, I'd like to change
this_one to el or element, since I usually iterate over html
elements, but that's just my own things.
______________________
Andreas Wahlin
Webbutvecklare
Webbhuset AB
Östra Hamngatan 45, 411 10 Göteborg
Telefon: 031-339 19 19, Direkt: 031-739 18 20, Fax: 031-711 12 20
www.webbhuset.se
Privileged/confidential information may be contained in this message.
If you are not the addressee indicated in this message (or
responsible for delivery of the message to such person), you may not
copy or deliver this message to anyone. In such case, you should
destroy this message and kindly notify the sender by a reply email.
Thank you.
hi,
is it possible to split the editwindow horizontally ?
so i can edit on place while i can see an other position on this
textfile ?
and is it possible to arrange more than one file on the monitor ?
automaticaly ?
Thanks for your Help
The Maverick
Sebastian
eMail: themaverick(a)themaverick.de
Web: www.themaverick.de
Hi!
Yesterday i released a new version of the GetBundle with some small
changes.
And i posted a page on my blog where you can download it:
http://sg.validcode.net/stuff/textmate-getbundle-bundle
Also i want those of you having a Intel mac to help me out, i need a
universial binary of svn that works on both.
Thanks
Sebastian Gräßl
-------------------------------------------------
http://sg.validcode.nethttp://www.kingofthelist.com
Hi,
Just thought I'd let everyone know that I've made a new app for
use with TextMate. It is open source and described here:
http://www.cse.unsw.edu.au/~willu/ODBSuite/
Is is still early days and has many rough edges, but I think it's
useful. I'm releasing early - we'll see if I have enough time to
release often. :)
The app is a command line app, odbeditor. It acts like the 'mate'
command line program, but has a few advantages (and some
disadvantages too :)
usage: odbedit [-h] [-e editor] [-s saveScript] [-c closeScript]
filename [filename ...]
- It can be run from a remote shell. This means that you can ssh
into your box and start TextMate remotely. (Yes, there are uses for
this - it is the main reason I wrote the thing :)
- It can call out to other scripts when the program is saved or
closed (so you could scp the file somewhere, just to pull a random
example out of the air.)
- It will work with any ODB Suite editor (i.e. any editor that
works with those FTP programs like Cyberduck.)
Be well,
Will :-}
In my projects I have many 'todo.txt' and 'readme.txt' files.
I cannot from the title be sure which file I am looking at.
It would help if I could see where its located in the project
by just looking at the window title.
Thanks :-)
--
Simon Strandgaard
The root item in the project drawer, is wasting valuable screen space.
all the sub-items is indented by ~20 pixels.
20 columns * ~700 rows = 14000 pixels wasted.
The name of the root-item can be seen in the window title, so its
redundant to have it in the project drawer as well.
Well I could just hide the project drawer...
Thanks :-)
--
Simon Strandgaard
...and I'm pretty confident it doesn't get to the "view." Not much
activity to report: it brings up the html window which says
"Compiling LaTeX...." and then it thinks for a little while and then
textmate quits entirely.
Any thoughts? Thanks!
(I'm restoring my machine, so this is my restored home folder with a
reinstall of TextMate, if that might be the source of the errors
somehow.)
You can always command-click the window title. However I agree it
would be nice to see the filepath, maybe make this an option in the
preferences.
Until then, you can always set up a key command, here's what I did
(using growlnotify)
/usr/local/bin/growlnotify -n "/Applications/TextMate" -I "/
Applications/TextMate.app" -t "$TM_FILEPATH" -m "Is the current path
for $TM_FILENAME"
sorry, this is an oldie. but it didn't reach the list, and i just got
around to setting up a throwaway list address.
> I'd love to see three new items in the Automation submenus:
>
> Replay Macro > Replay [name of last macro selected]
> Insert Snippet -> Insert [name of last snippet selected]
> Run Command -> Run [name of last command selected]
+1 (or plus 20 if i have more than 1 vote)
this would be really handy (i know this, because i've used it,
heavily, in photoshop).
i'd write it myself, but i don't see a place to hook it in.
> I'm thinking the best solution might be to set up passwordless
> authentication via SSH and set the remote computer details in the
> script?
That's the way to go. You can run a command on a remote server like
this:
ssh user(a)host.com 'echo "I'm on the server!!!" '
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 2256-1022
ben(a)incomumdesign.com
http://www.incomumdesign.com
allan:
in the earlier days of textmate, i was able to send to
textmate(a)lists.macromates.com with a bogus address (trying to avoid
spam).
that doesn't work anymore.
for the sake of those who read the archives, can you document the
access restrictions to the mailing list?
either in a reply, or even better, on the community page.
would be nice to have a way to send without being subscribed, if you
can think of one. a bogus subscription address that's allowed. or a
magic text cookie of some sort in the body of the message (probably
shouldn't be 'viagra' =).
unrelated, thank you:
>> a fix for the 'path of document' that's in the dictionary would work.
>
> FYI this has been near the top of my to-do for some time now
great. and congratulations on your major award.
> You are not running this as a normal TextMate command?
no. from the shell.
this is what he wants.
http://www.macosxhints.com/article.php?story=20060719155640762
i've got some handy alias.
alias cdf='cd "$(osascript ~/bin/scripts/cdf.scpt)"' # cd to current
finder dir
alias cdb='cd "$(osascript ~/bin/scripts/cdb.scpt)"' # cd to current
textwrangler dir
...and so on.
i really want one for textmate, but i've found no way to do it. not
having one for textmate is really throwing a kink in my shell
workflow. i'm just about to write an applescript to change to
textmate, system-event some obscure key combo, and switch back to
terminal. please don't make me kludge.
a fix for the 'path of document' that's in the dictionary would work.
or, if it's easier to implement, have mate --pwd return textmate's
current directory.
the mate --run-arbitrary-bit-of-a-bundle thing that's been discussed
would do the trick, too. i suspect that's way in the future, though.
best editor ever, thanks.
-- this doesn't work:
tell application "TextMate"
set p to path of document 1 of window 1
POSIX path of p
-- nothing
end tell
When coding, I prefer to have things like this:
something( "blah" );
Rather than:
something("blah");
To accomplish this, I had created a scope called "meta.parentheses"
which only applied if the cursor was between empty matching
parentheses. I then had a snippet, with the spacebar as the key
equivalent and meta.parentheses as the scope, that would insert
[space]$0[space]. This made the spacebar behave normally inside
parentheses unless they were empty, which is what I wanted.
The problem: I noticed this morning that by adding the
"meta.parentheses" scope to a particular Language Grammar, I wasn't
getting updates for that language (my local modified copy taking
precedence).
Now, I probably set this up prior to when TextMate started storing
things as deltas. Is it possible that if I duplicate the change, I
will still see updates to the grammar in the future with my delta
applied?
Or perhaps a better question: I had added my new scope to the PHP
grammar, but I'd really like the behavior in all "text" and "source"
contexts. My searching of the archives led me to some discussions of
applying a snippet to all scopes, but how can I add a scope to all
languages (without missing out on updates)?
Thanks.
Rob
I've been doing some searching today and haven't come up with much
useful information on the subject, so I'm hoping someone here might
know how to add highlighting to just the <?php , <? & ?> tags? I
tried using source.php, but obviously that's too general.
Also, on this topic, is there any place to find good documentation on
the available scope selectors?
Thanks, -Jeff
When I have directory open (in drawer) with files I work on, I create new
document with cmd+N (I'm too lazy and forgetful to hit Cmd+Shift+N ;).
When I save this document in project's directory, it remains open in TM as
an individual file, with it's own window. Even if I open the same file by
clicking in drawer, separate window remains separate and I end up same
document in both tab and window.
Is it possible to automatically "tabify" documents when they're saved in a
directory that's visible in drawer of some open project?
"Open" command does that already.
--
regards, porneL
Hi,
Was wondering if someone could help me with this I've tried but cant
seem to get it working, what i want is to get the text in the example
that reads "THIS SHOULD BUT DOESN'T" to get colored as a comment, (this
is in the scheme bundle),
; THIS GETS COLORED AS A COMMENT
(define (np n m)
; THIS SHOULD BUT DOESN'T
(if (or (= n 1) (= m 1))
1
(+ (np n (- m 1)) (np (- n 1) m))))
Thanks.
Hi,
Is is possible to create a bundle command which would run a specified
command to a remote computer via ssh? I am running Mac OS X, and I use
Samba + ssh to work on my dev environment which is a Linux box.
I repeatedly have to run a command to refresh the environment to check
changes. I tried using quicksilver and the terminal plugin to send the
command, but I couldn't figure out how to have it point the command to
the active terminal window which was already ssh'd to dev box.
I'm thinking the best solution might be to set up passwordless
authentication via SSH and set the remote computer details in the
script?
best,
Charles
Hi everyone,
I've made myself some folding markers for Fortran which look like this :
foldingStartMarker = '(^[\t ]*((?i:real|complex|integer)(.*)\s)*\b
(?i:subroutine|program|module|function)\b(.*)$)|(^\s*\b(\w*)\s*:\s*
\b(?i:do)\b|^\s*\b(?i:do)\b)|(^\s*(\b(?i:IF)\b)(.*)(\b(?i:THEN)\b))|(^\s*
\b(\w*)\s*:\s*(\b(?i:IF)\b)(.*)(\b(?i:THEN)\b))';
foldingStopMarker = '^\s*\b(?i:end\sprogram|end\sfunction|
end\ssubroutine|end\smodule|endif|enddo|end\sif|end\sdo)\b';
They seem to work quite allright except for the old-fashioned
do-loop of Fortran 77 which reads :
do 10 i=1,10
some code here
.......
10 continue
Note that the “continue” statement which ends the loop has the
label “10” which matches the loop one.
I've no idea how to implement folding markers for this syntax and
any help is appreciated :)
TIA
Hello!
I am using the Blogging->Markdown-Template. The preview looks all
right. But when I post to my wordpress blog, the Markup code isn't
converted to html.
Any idea?
greetings
Helge
I thought it might be interesting to see what themes people find best
for their various tasks. I do a lot of writing in Markdown and
Multimarkdown an like using Sunburst for that (my past favorite for
markdown was twilight). When I am writing html code, I prefer slate.
Robert
Howdy.
Currently textmate supports Descendant selectors and Grouping.
I would like to request support for Child selectors as well.
That would be like "string>source" instead of "string source"
<img style="<%= "stuff and #{ "things" }" %>" />
the word "things" is scoped as "meta.tag string source string source
string"
The Descendant selector "meta.tag string" affects both of the tag
attribute string and all of the embedded source strings.
But if it were a Child selector of "meta.tag>string", it would only
affect the tag attribute string.
thomas Aylott—subtleGradient
I'm getting this error in GTDAlt, I don't know why:
/tmp/temp_textmate.Ti4Kga:2:in `require': No such file to load --
date (LoadError)
from /tmp/temp_textmate.Ti4Kga:2
I haven't changed my ruby setup, I haven't changed my TextMate setup.
This is annoying.
-ryan
Did that happen to anyone before?
When I switch from HTML to PHP files, TM doesn't switch the syntax
highlighting automatically anymore... If I select it from the
language menu I get my syntax coloring, but then switching back to
HTML, it doesn't revert back to HTML highlighting... I constantly
have to manually switch the language from PHP to HTML...
I tried to look into the bundle and PHP doesn't have a "filetypes"
but I don't think it's supposed to anyway right?
Plus I thought the HTML bundle included the PHP one no? Or did that
revert back to separate languages in the bundle editor?
Thanks for any suggestion
- Yann
.........................................
Yann Bettremieux
Multimedia Producer
m i n i m a l d e s i g n
244 Fifth Avenue
Suite P233
New York, NY 10001-7604
USA
tel / fax: 212.931.8525
email: yann(a)minimaldesign.net
site: http://minimaldesign.net/
Somehow that recent patch to allow to set the date in Wordpress
actually made things worse: Now every time I post the same entry that
date moves back by 5 hours... The date header is show like this:
Date: 2006-08-04 15:15:54 -0500
and if I post that entry again it changes to:
Date: 2006-08-04 10:15:54 -0500
Wordpress is set to show times as UTC -0500.
Gerd
In a html document the <style> tag seems to be included in the scope
of source.css.embedded.html whereas surely it isn't css at all, only
the contents between the tag are css.
Is there an easy way for me to fix this?
Thanks
Ed
Hello List (first time poster),
I continue to receive this error when attempting to fetch posts from a
WordPress blog at 'thenormalfamily.net'
/usr/local/lib/ruby/1.8/xmlrpc/client.rb:546:in `do_rpc': HTTP-Error: 302
Found (RuntimeError)
from /usr/local/lib/ruby/1.8/xmlrpc/client.rb:420:in `call2'
from /usr/local/lib/ruby/1.8/xmlrpc/client.rb:410:in `call'
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/
Support/lib/metaweblog.rb:31:in `getRecentPosts'
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/
Support/lib/blogging.rb:545:in `fetch'
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/progress.rb:11
:in `call_with_progress'
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/
Support/lib/blogging.rb:544:in `fetch'
from /tmp/temp_textmate.x9FaQW:3
The confusing part is that I'm having no problem retrieving posts from other
WP blogs with the exact same configuration.
I have gone to the extent of reinstalling the blog from the DB on up. I've
tried to clean my keychain of any references to this domain.
The entry in blogging.txt looks like this:
The Normal Family http://admin@thenormalfamily.net/wp/xmlrpc.php
There are other entries in the file with the same format that work fine.
Can someone help me decipher the error message?
Thanks,
Dan J.
--
Daniel Jewett
http://www.solidether.net
dan(a)solidether.net
Hey,
First congratulations to Allan on a well deserved award... :)
Now, have you guys seen the XCode 3.0 screenshot showing the new
"ribbon scope highlighter" ?
<http://www.apple.com/macosx/leopard/xcode.html>
I think it's pretty nifty, don't you think Allan ? (hint hint hint :D)
--
Luc Heinrich - luc(a)honk-honk.com - http://www.honk-honk.com
Hi,
Thanks for the previous help. I'm a little chagrined that they
seemed obvious questions. I had looked for answers... honest. :)
Anyway, I've got another use case that I could use some help with. I
often ssh into another unix box, and occasionally need to edit a file
while I'm there. With bbedit, I had a script that would ssh back
into my mac and then open the remote file on the unix box. I'm
trying to replicate that with TextMate. The closest I've found in
the mailing list is this:
http://comox.textdrive.com/pipermail/textmate/2006-February/008384.html
My version is as follows. On the remote box I have a script called
'mate':
-----
#! /bin/sh
# Make sure we have the full path to the file
if echo $1 | egrep ^/ - > /dev/null ; then
path=$1 ;
else
path=`pwd`/$1 ;
fi
HOST=`hostname`
echo Opening $path on ${SSH_CLIENT%% *}
ssh willu@${SSH_CLIENT%% *} remoteOpen ${USER} ${HOST} "$path"
-----
On my Mac I have this script called 'remoteOpen':
-----
#!/bin/sh
remUser=$1
remHost=$2
remPath=$3
remBase=`basename $remPath`
remDir=`dirname $remPath`
tempDir=`mktemp -d` || exit 1
localfile="${tempDir}/scp:${remHost}:${remBase}"
localBackup="${tempDir}/backup"
remLoc="${remUser}@${remHost}:${remPath}"
echo "${remLoc}" > ${tempDir}/remLoc
scp -Bpq "${remLoc}" "${localfile}" && cp "${localfile}" $
{localBackup} && osasc
ript -e "tell app \"Terminal\" to do shell script \"mate -w $
{localfile}\""
if ! cmp -s "${localfile}" ${localBackup} ; then
scp -Bpq "${localfile}" "${remLoc}"
fi
rm -rf ${tempDir}
-----
I then have the following command for use within TextMate (instead of
the normal 'save'):
Save the current file then:
-----
if [[ ${TM_FILEPATH} == */scp:* ]] ; then
# this is an scp file
# it has been saved by the time we get here
# now just extract its remote name and scp it back
localDir=`dirname $TM_FILEPATH`
remLoc=`cat ${localDir}/remLoc`
scp -Bpq "$TM_FILEPATH" "${remLoc}" && cp "$TM_FILEPATH" "$
{localDir}/backup"
fi
-----
This setup saves a backup of the remote version locally. If the
local copy gets saved with the special command while you're editing,
and the data is scp'd back to the other host, then the backup is
updated. Otherwise, the difference is detected and the data is scp'd
back to the remote box when the window is closed.
Current issues:
i) Most importantly, the 'mate' command doesn't work from a remote
shell. This leads to the whole osascript workaround. Unfortunately,
while Terminal is running a script it just queues up all the input to
its other windows and waits for the script to end. This makes the
current setup significantly less useful than the same setup using
bbedit (where the 'bbedit' command does work from a remote terminal).
ii) It would be nice if there was a way to tell textmate 'run this
script when you write to that file'. Basically, make the 'mate'
command have an equivalent to the ODB Editor Suite of Apple Events.
I imagine some extra options like this:
--title WindowTitle Start editing the new file with this window
title instead of the file name as window title
--onsave scriptPath When the file is saved, this script is run
with the path to the file as an argument
--onclose scriptPath When the file is closed (or Save As... is
used to detach from the original file), this script is run with the
path of the file as an argument
and perhaps a final option:
--on-reopen scriptPath Data This is a command line option that
takes two arguments. If this file re-opened from the 'Open Recent >'
menu then the script 'scriptPath' is run with 'Data' as an argument
to get the path of the file to open.
This set of options would allow third parties to implement the
much-requested 'sftp' feature, as well as any other file access
method they wanted to.
Cheers,
Will :-}
P.S. I know - just use transmit or Cyberduck. The problem is that
they require me to connect from the mac. I could modify my
'remoteOpen' script to use them instead of scp, and that would solve
the 'detecting save' problem (point ii), but it wouldn't solve the
worst problem, point i.
I'd like to be able to set the scope of triple quoted string in a
python file to be html. I'd also like to be able to do it on a per
project basis (but entirely if necessary).
I'm doing lots of TurboGears programming at the moment and the only
time I use triple quoted strings is for html fragments, so it would be
great if they formatted as html and all the html snippets worked in
them.
Does anyone have any ideas how I can do it?
Ed
After thomas aylotts update to the CSS bundle, I've tried to run the
update bundles command from the GetBundle, but nothing happens. I
tried updating the Textmate supports, and then it chewed a bit then
spat out lots of text saying what stuff got updated, but when I try
to update bundles, nothing seems to happen.
Andreas
My escape key doesn't do autocompletion anymore. If I choose the menu
option for it, that works, and it shows the escape character next to
it. I've checked that the escape key works (it closes the Find window
for example).
Does anyone have any ideas how I can make it work again?
Thanks
Ed
In TextMate 1.5.3 (1202) the shortcut to see the DB schema of a model
in Rails (that's a recent addition, see Rails -> Models -> Show DB
Schema for Current Class) coincides with the one for "Save Project
As...".
-- fxn
Hello all,
I'm starting to set up my environment to use TextMate instead of XCode's built in editor.
The one thing I miss from XCode is its Code Sense. I really like having a quick reference of the API command I want. I know I want, say, to use CFBundleCopyResourceURL(), but I don't remember what to feed it.
Since XCode doesn't provide a way to query for that information (thanks, Apple), I had to get it "another way". It seems that the easiest way to do that is to grep the framework header files myself.
My script takes the selected word, finds it in the 10.4u SDKs, then makes a txmt:// style URL out of it, so you can click the link and go right to the proper line in the proper header file.
The script is posted below. Hopefully it will be useful to you Carbon programmers out there, or maybe the kind Unix hands will see some optimization I can use to make it faster.
_______________________________
find -L /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/*/Versions/Current/* | xargs grep -I -n $TM_SELECTED_TEXT | python -c "import fileinput, re
ourRe = re.compile(r'(.+?):(.+?):(.+)')
for each in fileinput.input(['-']):
res = ourRe.match(each)
if res:
print '''<p><a href='txmt://open/?url=file://%s&line=%s'>%s</a></p>''' % ( res.group(1), res.group(2), res.group(3) )"
_______________________________
Enjoy all!,
_Ryan Wilcox
--
Wilcox Development Solutions: <http://www.wilcoxd.com>
Toolsmiths for the Internet Age PGP: 0x2F4E9C31
Hi folks:
I am new to textmate and to the list. I have spent awhile with the
manual but either I missed this or it is not in there (or maybe it
can't be done).
I keep all my zsh configuration files in /Library/init/zsh
These include various files that are sourced, as well as shell script/
function files. Since the latter have #!/bin/zsh at the top,
textmate does the right thing, but I would also like the other files,
that set up my environment, define aliases, and so forth, to use the
same syntax highlighting, even though they do not have #!/bin/zsh at
the top.
Is there a simple way to do this?
Thanks.
Bill
I thought it might be for choosing images but I have no clue, and I
can't seem to get it to do anything besides open an output window
with an error when I invoke it.
Can anyone help clue me in?
Neil
---
hushBOOM design
Web design, development & hosting -- Writing & Editing
http://www.hushboom.com/
In hopes of figuring the language-sensitive parser out, I've been
trying to make a grammar for .ini files. It appears my
incomprehension is stark, as I can't get any satisfaction out of the
grammar
{ scopeName = 'text.ini';
fileTypes = ( 'ini' );
foldingStartMarker = '^\[';
foldingStopMarker = '.(?=^\[)';
}
... which I think specifies a folding range from the opening [ of a
section, running to the character before the [ that begins the next
section. TextMate puts a fold marker next to the section line, but no
matching marker at the bottom of the section. Clicking the fold
button has no effect.
(Yes, the stop marker doesn't account for the end-of-file that closes
the last section, but one challenge at a time.)
What am I missing?
-- F
Hello there
Has anyone thought about a language definition for the Lout document
formatting system?
I may write one myself, but I'm a bit nervous about it since Lout has
an awkwardly wide range of ways of indicating the beginnings and ends
of things.
For example, a document header for a report might look like:
@SysInclude { tbl }
@SysInclude { report }
@Report
@Title { Blah blah }
@Author { Alaric Snell-Pym (alaric(a)snell-systems.co.uk) }
@Institution { Snell Systems }
@InitialLanguage { EnglishUK }
@DateLine { June, 2006 }
@PageHeaders { Titles }
@InitialSpace { tex }
@Abstract { In this specification, we describe a blah blah blah. }
//
...with the mysterious "//" ending the metadata section.
Things like chapters, appendices, sections, subsections, and so on
are delimited like so:
@Section
@Tag { documentcontrol }
@Title { Document Control }
@Begin
...content...
@End @Section
While paragraphs don't have an explicit end, they are just separated
with "@PP" markers:
@PP
This is a pargraph of text, blah blah blah
@PP
This is the next paragraph! Whodathunk?
Figures, and many other such block-level objects, have no defined
ending:
...text...
@Figure
@Caption { The prototype }
@IncludeGraphic prototype.eps
...text...
While bulleted lists have an explicit @EndList marker, but each list
item is delimited with curly braces:
@BulletList
@ListItem {
3x resistor at 4p each
}
@ListItem {
1x AVR micro-controller at @Sterling""1.92 each
}
@ListItem {
1x IrDA transceiver module at @Sterling""2.33 each
}
@ListItem {
1x 3.6v NiMH battery at @Sterling""2.62 each
}
@ListItem {
2x LED at 25p each
}
@ListItem {
1x Charging connector at 57p each
}
@ListItem {
1x socket for AVR micro-controller at 5p each
}
@ListItem {
1x PCB at 9.75 Euros each, or about @Sterling""6.67
}
@EndList
It's all rather messy! I suspect I'd be busy for days finding new
ways to delimit scopes!
TIA,
ABS
--
Alaric Snell-Pym
Work: http://www.snell-systems.co.uk/
Play: http://www.snell-pym.org.uk/alaric/
Blog: http://www.snell-pym.org.uk/categories/alaric/
Any snippet that can type all that ugly code for me? I tried
dragging the .swf into my html like you do with images but that just
wrote some *really* ugly code (binary data). Do I actually have to
fire up - gag - cough - choke - Dreamweaver to do this?
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
Hi Sean,
> Thanks Ben -- I think my situation may be different though. My app
> isn't writing any logs.
>
> Any other thoughts?
>
> Sean
I have the problem on my iBook, but not on my Mini. TextMate rescans
the entire project directory structure for changes *every* time the
window is focussed. To my knowledge, there is currently no way to
turn this behaviour off, except to create the project by dragging
individual files into the project, instead of whole directories. It's
a PITA, but my understanding is that will stop the project reloading
on focus. At the very least, trying it that way would help you figure
out if this is a new problem or not.
Regards,
Chris.
Ahh...see I *knew* I was missing something obvious. Thanks.
It's a little strange though that some HTML bundles (like control-
shift-W) work fine in Plain Text mode, but control-shift-L doesn't.
That's what was throwing me off.
------------------------------------
Todd Dominey :: Dominey Design
http://domineydesign.com/http://slideshowpro.net/http://whatdoiknow.org/
I can't figure this out...
Here's some text:
(this is a parenthesis in quotes "(")
If I put the caret before or after the final quotation and choose
Select>Enclosing Brackets, TextMate selects the second opening
parenthesis and the closing parenthesis. Also, no text is selected
with the caret anywhere else.
How can I teach TextMate that parentheses between quotation marks
shouldn't be considered for a match? I want something like "Ignore
parentheses that are in strings" but i can't see how to do that...
Thanks
--
(<http://newlisper.blogspot.com/>)
Hello,
I am contemplating to buy TextMate, it is by far the most competent
and well designed editor I've seen for OS X - and I've been looking
for a replacement for Emacs for the last couple of years* - but
before really hitting the credit card I would like to find the answer
to a few questions that I have not found in the documentation:
1. A very handy feature of Emacs is the just-one-space command; that
is, all spaces and tabs around the point is reduced into one space.
E.g. (the bar sign is the cursor); "x | x" becomes "x |x". Is there
such a command within TextMate? If not, any suggestions for how to
create one? I did an experiment, I created a new command and had it
running perl with a regexp on the line. The problem is that I want to
have it to be run around the current position, not all spaces on the
line. Is there a way of sending the current cursor position to the
command? I.e. "x x | x" shall become "x x |x", not "x x |x"
or something like it.
2. Indent region: Something that I frequently uses is the fill-
paragraph and friends of Emacs; TextMate's Reformat (^Q) isn't as
advanced and is not language/bundle aware. i was thinking of porting
the Lisp code into e.g. perl and create a new command for it, but
before I spend any time on it I would like to know if there is
something similar already implemented that I've missed? (I usully
write HTML, Shell Scripts and Perl in TextMate but will migrate my
LaTeX files and other programming languages to TextMate as time passes.)
3. When I write HTML I would like to have e.g. lists looks like this:
<ol>
<li>AAA Lorem ipsum lorem ipsum lorem ipsum lorem ipsum
BBB lorem ipsum lorem ipsum lorem ipsum lorem ipsum
CCC lorem ipsum lorem ipsum lorem ipsum</li>
</ol>
But, I do not want it to add whitespace before the BBB and CCC, I
would like it to wrap lines visually but the file should still look
like this:
<ol>
<li>AAA Lorem ipsum lorem ipsum lorem ipsum lorem ipsum BBB lorem
ipsum lorem ipsum lorem ipsum lorem ipsum CCC lorem ipsum lorem ipsum
lorem ipsum</li>
</ol>
Is this even possible? The visual presentation and the physical file
would then differ and I don't think that makes sense for a /text/
editor. (This is not available in Emacs AFAIK but it is something
that I miss.)
Thank you.
/Jonas
-----
*) I'm fed up with the lack of proper Unicode support, no native Aqua
build that isn't a hack and the reliance on X11 where cut-and-paste
between X11 and any other OS X application s*cks. Don't get me wrong,
I lived inside Emacs for over ten years, I not only read
alt.religion.emacs - I also posted in it! When I say that TextMate is
a competent editor, then it is far from an exaggeration. But I don't
say that it is *the* editor. Not quite yet. :-)
the subversion status window is never the right size.
It's either too short and causes a scrollbar, or too long and wastes
space.
I request a way to resize the window with javascript.
And a way to make the body background transparent.
That way i can set the window size myself or set a default size the
height of the window.
Transparent would let you click through, obviously.
That would allow for all kinds of crazy useful stuff.
thomas Aylott—subtleGradient
Fortran and Comments
Hi,
while it wasn't a major problem to make some additions to the very
rudimentary Fortran bundle (I added some snippets and a compiler
command) I am struggling to get the "Continue Line Comment" from the
Source Package to behave correctly.
While the scope seems to be identified correctly and the "Comment
Line" commando behaves as expected, the "Continue Line Comment"
doesn't add a proper comment symbol (in this case preferably *), it
jumps to the next line but only adds a space instead of *. I have
tried to find any differences to other bundles where the commadn
works, but I can't find the missing piece.
I have already added the line
asterisk *
to the "Continue Line Comment ". But this didn't help either.
Any ideas where I have to look for the missing piece so that I get
the proper symbol instead of a space?
Thanks,
Carsten
Hello,
When I drag the mouse to select a function so I can move it, the
blank line at the end (between functions) won't select.
If I drag further the top line of the next function and the blank
line are then highlighted.
This is very annoying.
Any words of advice?
Please don't make me go back to BBEdit.
Thanks,
ml
Hello,
I just installed 1.5.2 (unfortunately deleting 1.5 on the way) just
to notice that my favorite TAB triggers for Rails no longer work!
rea gives me Ruby's reverse_each, ra gives... nothing, etc.
Any hints (or older Textmate ;-) available
TNX in advance.
This just started happening -- I *think* since the latest update
(1203) but I'm not 100% sure about that.
Almost every time I switch from some other app to TM, the cursor goes
beach ball on me for about 10 or 20 seconds before giving TM the
focus. It really sucks for web page development since I'm constantly
flipping between the browser and TM.
One thing that may be a factor is that my site is located on an AFP
share on another box on my network as a mounted volume. However, I
can edit using skedit with no trouble and no delay.
Any ideas?
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
I'd like to submit a newLISP bundle to the central mainframe... Are
there instructions anywhere on how to do it? (I downloaded subversion
so that might be a necessary first step.)
--
(<http://newlisper.blogspot.com/>)
Hi!
This issue has been bugging for quite some builds now. When using a
newer TextMate build, the current 1202 e.g., I can't get the test
cases of my Rails project to run from inside TextMate. This is what I
get when I try Command-R:
---- snip ----
RubyMate r4532 running Ruby v1.8.4 (/opt/local/bin/ruby)
>>> content_controller_test.rb
that’s nice
this is my important stuff
<strong>bad!</strong>
I am <at> the exit!
NameError: uninitialized constant Test
method const_missing
in dependencies.rb at line 123
method const_missing
in dependencies.rb at line 133
method load_plugin
in init.rb at line 1
method load_plugin
in initializer.rb at line 348
method silence_warnings
in reporting.rb at line 11
method load_plugin
in initializer.rb at line 348
method load_plugins
in initializer.rb at line 158
method load_plugins
in initializer.rb at line 158
method process
in initializer.rb at line 102
method run
in initializer.rb at line 42
at top level
in environment.rb at line 10
at top level
in test_helper.rb at line 2
at top level
in content_controller_test.rb at line 1
Program exited.
---- snap ----
Obviously it isn't able to load the test classes correctly. My Ruby
installation is in /opt/local, installed with DarwinPorts, and all
it's libraries are installed there as well. I had a look at the
RubyMate code in the bundle, but on first look it doesn't appear to
be broken somehow. This stuff worked fine in TextMate build 1112 with
RubyMate r3391, though I realized a lot has changed in RubyMate since
then ;)
Any ideas? Or anyone else having similar issues?
Cheers, Mathias
--
http://javaddicts.net/blog
"If programmers got paid to remove code from sofware instead of
writing new code, software would be a whole lot better." -- Nicholas
Negroponte
Hi,
I'm just in the process of switching from BBedit... TextMate is a
great combination of Mac UI and Unix power :). There are a few
things I've found that could be improved:
i) Having all the commands in bundles can make it quite tricky to
find things. Not sure how to improve this. I almost want an obvious
'search all commands' command.
While browsing the list, I noticed someone else's feature
request for a 'what does this key combo do' feature. I'd like to
second that. And add a request for an 'open a window with a list of
all current key combos' feature.
ii) I'm used to having a shell open. As I move around I might
want to either open files in TextMate from the shell, or do something
in the shell to a file that is open in TextMate. This leads to two
strangenesses:
- If you use the 'mate' command in the shell to open a file,
then the file doesn't get added to the "Open Recent >" menu. I think
it should (perhaps as an option to 'mate', or a preference).
- If I already have a shell open, I want to drag the document
icon in the window title bar to the shell to get the path to the
document (as you can in the finder with folders). Now, I can open a
new shell with in the same directory, and I could make a command to
copy the path to the current file. I'd kinda like the drag-and-drop
OUT of textmate option though. (N.B. you can do this with icons in a
project. You just can't do it with an individual file's icon.)
iii) While looking for a solution to the 'drag out of textmate'
problem, I searched the list and found that I could drag out of a
project. But I already had the file I wanted to edit open. I didn't
have a shell in that dir (so I couldn't 'mate .') and I didn't have a
Finder window in that dir any more. I couldn't find a way to 'make a
new project with a currently open file'. I'm sure I could make a new
command to do this pretty quickly, but it seems like something that
should already be there, somewhere.
Anyway, thanks for a great product. :)
Will :-}
Hello,
I am working on a site in ColdFusion and I would like to mitigate
this experience by using TextMate as my editor. I found broken links
to a once-existant bundle for Textmate, but I have not been able to
track it down. If anyone still has this or any other ColdFusion
bundle for TextMate, I would be most appreciative.
Thanks,
Eric O'Connell
IBA Webmaster
-
941-921-7443 x15
eric(a)bodytalksystem.com
www.bodytalksystem.com
Hi,
at the moment I have to write some code in ancient Fortran77 (don't ask ;-) ).
I am nearly going nuts about the fixed column structure a Fortran77 source
code has to (at least in my case) obey to:
column function
1 comment sign (c,*)
1-5 statement label
6 continuation sign if line wrap in previous line
7-72 actual code
The problem is that this fixed source form makes it very hard to work with any
special tab stop size, even with "Soft tabs" turned on as I don't need to
access any column between 1-5, but instead would like to go from 1 to 6 to 7
(and vice versa!).
In emacs I would be able to specifiy a tab stop list, i.e. a list with the
actual columns a tab should bring me to, e.g.: 6, 7, 11, 15, 19...
Is there any way to simulate something in Textmate? I am tired of adding and
deleting spaces manually in order to obey to that structure.
I apologize if this has already been discussed, a search in the WiKi and the
archives didn't bring up anything.
Bye,
Carsten
BTW: Congrats for the award Allan, TextMate really deserved it!
Hey guys,
I just started working with TM and its great. Given time, its going to
make my work much faster.
In my company we've created a large number of custom JSP taglibs. I
would like to be able to add those taglibs to the HTML bundle (or more
accurately create a new bundle from the HTML bundle for this). I was
trying to get my head around the language definitions and I got
hopelessly lost. Is there a tutorial somewhere that I can use to
figure out how to do this?
Thanks
Adam
In the midst of all the "this is why I don't switch", and "I switched
and love it" stories, I thought - as a brief interruption of the real
work on this list - I'd share my 5 lines. I am registered user #81. I
bought TextMate literally six hours after BBEdit, and haven't unpacked
BB since. In fact, if you take a look at the Codingmonkeys website,
you'll find my name there, as well, mentioned in one or two places.
Nonetheless, it's TextMate I stuck with. Since that day I purchased
it, I know what I did with it -
- wrote close to 120,000 lines of code (wc -l over my local repository)
- taught myself two new programming languages
- wrote two books
- a PhD thesis
- edited another book
- and co-wrote an article for a Sociological magazine based on the PhD
thesis that got me a rather prestigious award.
- wrote close to 5,000 weblog and wiki pages and entries
- wrote all my email
- wrangled a 41,000 line dataset for the thesis using Ruby and a
specialized bundle
- coded Flexbar (an addon for World of Warcraft, just about THE addon)
- and proposed marriage (don't ask)
there you have it. Not sure many Mac editors can claim they've been
used that versatilely.
Probably an easy question here. I'm trying to use the "Wrap selection
as link" HTML bundle, which has a key command of control-shift-L. I
copy a URL to my clipboard, wrap the text, and pressing those keys
does nothing. I even tried changing the shortcut, and it still didn't
work. Is there something I'm missing?
------------------------------------
Todd Dominey :: Dominey Design
http://domineydesign.com/http://slideshowpro.net/http://whatdoiknow.org/
howdy,
a while ago someone helped me setup the ctag stuff to work with the js
syntax i use:
On 11/30/05, Charilaos Skiadas <cskiadas(a)uchicago.edu> wrote: On Nov 30,
2005, at 3:54 PM, Jamal Johnson wrote:
> i've taken a look and to be honest i'm terrible with regexp's and
> could use some help. i'm trying to define a way to see objects in a
> certain format in my JS files:
>
> var CustomObject = Class.create();
> CustomObject.prototype = Object.extend( (new ViewObject()), {
> member1 : true,
> member2 : "someString",
> member3 : "anotherString",
>
> someFunction : function(){
> //doSomething
> },
>
> someOtherFunction : function(){
>
> }
> };
>
> so then in the tmCodeBrowser i'd see something like:
> Objects
> - CustomObject
> - member1
> - member2
> - member3
> - someFunction
> - someOtherFunction etc....
>
> something along those lines anyway. can one of you point me in a
> starting direction for howto setup the .ctags.tmcodebrowser file to
> do this for javascript files?
>
Try adding this to .ctags.tmcodebrowser
--langdef=javascript
--langmap=javascript:.js
--regex-javascript=/^(.*)
>
> .prototype *= *(.*)/-\1/o,object/
> --regex-javascript=/^[ \t]*(.*) *: (([^f]*)|(f[^u]*)|(fu[^n]*))[\t]*
> $/---var: \1/o,object/
> --regex-javascript=/^[ \t]*(.*) *: *function/---fun: \1/o,object/
>
> This might do something close to what you want. Just make sure to not
> ask TmCodeBrowser to sort things. With the simple regexp additions,
> you cannot recognize things in multiple lines, so there is no way of
> grouping the variable and function definitions with a particular
> object, this way at least visually they will be close to what you want.
>
> I believe that if one really wants to, one can write a parser and add
> it to the ctags source code and recompile, that is provided that Gerd
> Knops provides you the source code, or is willing to add the parser
> ofr you. I am guessing someone out there has already written a parser
> for javascript that maybe does what you want it to better, but I
> wouldn't know anything about it.
>
> I was under the impression that tmcodebrowser supported actionscript,
> which might be close to what you want, but I couldn't find it in
> the .ctags.tmcodebrowser format.
>
> Haris
but for some reason now codebrowser doesn't work at all for me, even with
simple js files. has anyone else been having issues?
i am using the most recent 1.05 release, at least that's what it says under
config. thanx!
- jamal
> >
> > ------------------------------
> >
> > Message: 7
> > Date: Fri, 23 Jun 2006 01:03:28 +0200
> > From: Allan Odgaard <throw-away-1(a)macromates.com>
> > Subject: Re: [TxMt] A TMBundle for Textpattern beta relaease
> > To: TextMate users <textmate(a)lists.macromates.com>
> > Message-ID: <F3B8D746-E6D6-428B-A2AE-690899C83B22(a)macromates.com>
> > Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes;
> > format=flowed
> >
> > On 22/6/2006, at 23:01, marios wrote:
> >
>> >> Would it be possible to include an include statement, like the one I
>> >> included in the patched version ?
> >
> > Not sure exactly which one you are referring to.
If the HTML Bundle gets something like:
{ name = 'text.html.txp';
match = '(</txp:.*?>|<txp:.*?>|<txp:.*?\s{,8}/>|<txp:([a-z]{3})_.*?/?>)';
},
then I wouldn't have to include a whole clone of the HTML Bundle.
Wouldn't that also make it more compatible with the rest of the Bundle
Suite?
It's the HTML Bundle that interferes, I couldn't find any way to tell
the HTML Bundle not to match TXP tags.
> >
> > However, you can add ?disabled = 1;? to the rule to disable it. You
> > shouldn?t prefix it with X?es, as that?ll just give run-time errors
> > (for ?language not found?.)
I should have taken a better look at the syntax rules, thanks for
pointing that out.
> >
>> >> Just one quick question, some default assorted Grammars, have
>> >> disappeared from the Bundle Editor after the last Software update
>> >> to r1112.
> >
> > Which ones?
The HTML ones. I tried This:
1)I deleted the UUID from the cloned html Bundles(assorted ones),
since that didn't led to any change, I tried:
1) I discarded all bundles, included the TXP bundle that I had created
and left in the Bundle Editor.(I did that manually, not from the Bundle
Editor)
2)I SVN updated all bundles, reloaded Bundles from command line
Since that didn't lead to any change, I double clicked on the HTML
Bundle in /Library/Applicationsupport/Bundles , but no luck.
> >
>> >> Although they are there in their default locations, they just don't
>> >> show
>> >> up in the Bundle Editor.
> >
> > Only the languages? If it is the languages you copied to your own
> > bundle, it is because you did not give the copies a new UUID then --
> > i.e. use duplicate in the bundle editor (rather than copy on disk.)
See above, sorry, regards, marios
Still didn't check out Brad Choates new
Blogging Bundle, and watch your cast, that's really terrific.
I'd better watch that in depth ASAP,
regards, marios
Hello,
For my work I need to do quite some copy and pasting of ip-numbers.
If I have a logfile open in TextMate and doubleclick an ip it will
only select the parts between the . and not the entire ip.
Would anyone happen to know a workaround, a macro or a fix?
Thanks in advance for any advice you have :)
--
Tanja
... Be a rebel. Accept your body.
When I open an existing project the directory structure appears in
the drawer while the currently selected file contents appears within
the window (which is blank when you first open an existing project).
If I have the root project folder selected (text window still blank)
I am unable to get the status of the subversioned folder ('svn
status'). In order for me to get the status of the project I must
open at least one file and then select the root project folder again
and then I can get the status. This is true for other subversion
commands as well (you need at least one file open in order to perform
subversion commands on your project).
Is this behaviour intentional? I feel like subversion commands
should work independent of whether files are open or not .. it should
work on the files/folders in the project drawer only.
Rom
Yay, for Allan, and everyone involved. i really do believe this is
totally deserved, i LOVE this App. so glad i bought it, even though i
don't have much use for it these days, apart form adding my "<a
href="http://axman6.homeip.net/blog/"><img
src="http://axman6.homeip.net/blog/wp-content/uploads/2006/08/weblogo-al7.png"
alt="Axman6" style="border: 0px;"/></a>" signature (hope that works
:s) to things, with an 'Al.' tab-trigger. but whenever i have to do
any work on my site, I'm very thankful for the Awesome TextMate.
Thanks again Allan
Cya, Al.
On Aug 8, 2006, at 11:52 PM, Ken Anderson wrote:
>... winning the Apple Design Award for Best Developer Tool!
>
>Daring Fireball reports that there was "raucous applause when this
>[award] was announced."
>
>Kudos!
Ken
--
Al.
☠☢✯☢☠
(If ^^those^^ are boxes,
you need unicode!
or a Mac)
... winning the Apple Design Award for Best Developer Tool!
Daring Fireball reports that there was "raucous applause when this
[award] was announced."
Kudos!
Ken
--
Kenneth M. Anderson | Phone: 303-492-6003
Associate Professor | Fax : 303-492-2844
Dept. of Computer Science | <mailto:kena@cs.colorado.edu>
University of Colorado, Boulder | <http://www.cs.colorado.edu/~kena/>
I'm trying to setup TextMate to automatically wrap after 72 columns, but
not having any luck. I disabled soft wraps and set the wrap columns to
72, but TM v1.5.3 is not wrapping as I type. If I select 'Reformat
Paragraph' then the wrapping works as expected.
Am I missing something?
-Ryan
TextMate is one of the best editors I have used on the Mac, and things
like its macros, snippets, and tab triggers almost make me switch right
away. Especially column-based typing is awesome.
However, there are a couple of limitations that are important enough for
me to keep me from switching. In rough order of importance:
- Function parser is line-based
The functions popup or the symbol browser (Command-Shift-T) work
line-based, i.e. they don't recognize functions such as
void foo(
int param1,
int param2)
{
}
We have a coding style that requires this layout for most functions,
so the function popup/symbol browser is next to useless for us.
I understand that this is because the regular expression based
function parser can only work line by line, but still this is one of
the most severe limitations for me.
- Loses insertion point when document is changed by another app
If another application changes a document that is currently open in
TextMate, TextMate notices this when you bring it to the front, and
reloads the changed document. This is good; however, it loses track of
where you were editing, and scrolls all the way to the top, setting
the insertion point to the beginning of the text. I suppose this is
intentional, because an existing selection may no longer be at the
right place after the other application inserted or deleted text
before the selection; however, in the majority of cases it makes more
sense to me to keep the current selection and scroll position, even if
it may be slightly off. For example, when I use TextMate for coding
but Xcode for debugging, I often fix minor typos in the Xcode editor
while debugging, and it is very annoying to have to go back to where
you were editing in TextMate after that.
- Find has no "whole words only" option
I must be missing something here. This seems like such as basic
feature of any serious text editor.
- Option-RightArrow stops too often
When stepping word by word through a sequence such as "abc / def",
Option-RightArrow stops after 'abc' (which is fine), and then it stops
*before* 'def', which is not; it should directly jump to after 'def'.
In other words, it should jump from one end of a word to the end of
the next word, skipping all non-words. Xcode and CodeWarrior do this
right (in my opinion); in BBEdit it's even worse than in TM though.
- Bundle commands should be available without an open window
Some bundle commands are already available now when no window is open
(e.g. "Relaunch TextMate"), but they don't do anything when chosen.
For some commands this would be very useful though (e.g. Xcode/Run, or
most Help commands).
- Undo is per-character
Typing sequences should be consolidated into a single undo step.
Doesn't anybody use undo for typing? This is basically unusable in
TextMate.
- Shift Left/Right should extend the selection to whole lines
I often put the insertion point somewhere in the middle of the first
line of a paragraph, hit Shift-DownArrow until I'm in the middle of
the last line of the paragraph, and then choose Shift Right; this will
insert a tab in the middle of the first line, which makes absolutely
no sense to me. Same for "Source/Comment Line". I think these
commands should first extend the selection to the beginning of the
first and end of the last selected line; I can't think of a single
situation where you wouldn't want this. BBEdit gets this right.
- Remap keys for Shift Left/Right
If there's a multi-line selection, I'd like Tab and Shift-Tab to be
bound to Shift Right/Shift-Left. I see no reason why I should have to
hold down Option too.
- Control-RightArrow should jump by CamelCaps sub-words
Right now, Ctrl-Left/Right jump to the beginning/end of the line;
there's already Command-Left/Right for that, so I think
Ctrl-Left/Right would be free to jump over the sub-words of a
CamelCapsVariableName. See Xcode.
- Show key binding for a particular key
With all those bundles and scope-based bindings, it can be very
difficult to figure out what command a particular key is currently
bound to in the current context. There's the Bundles/TextMate/Show
Keyboard Shortcuts command, but it generates a huge list that you have
to wade through. It would be very useful to have a function that lets
you type a key and displays what it is bound to.
--
Stefan Haller
Ableton
http://www.ableton.com/
Hi everybody,
I'm working on Microsoft Windows clone of TextMate: Intype. Intype is
compatible with some types of bundle items, such as grammars. I wonder,
if licensing of these bundle items permit to use them in Intype. I just
can't find license for them. :(
Regards,
Martin
hi.
i just implemented this hint [1] for commenting out rhtml-parts.
perhaps its a good idea to put that into the official bundle.
niko.
[1] http://rails.techno-weenie.net/tip/2006/6/6/
comment_out_ruby_code_in_rhtml
--
____________________________
niko dittmann <ni-di(a)web.de>
____________________________
Howdy.
Just came across http://macromates.com/wiki/Suggestions/
StylingHTMLOutput
This is a great step in the right direction in making all this random
stuff more a part of the app.
Maybe we should implement this as a custom output option. So that you
could have both HTML Output Window BASIC and HTML Output Window
THEMED (or whatever). That way you get that whole header and footer
and theme switcher and whatever for free.
Custom Nibs?
We could implement it as a custom nib instead of having to rely on
doing all this junk in HTML and javascript.
If we're going to do that, we could start making our own custom nib
outputs.
An HTML preview output for with some mini-browser functionality could
easily replace the Live Preview window.
A commit window-esque output could be used for a bunch of stuff.
Hmm, maybe that's a bad idea.
thomas Aylott—subtleGradient
I just upgraded to 1.5.2 (v1103), and received the attached error following a
Subversion commit. Other commands like diff and info seem to work fine.
Any ideas?
Commit
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle
/Support/svn_commit.rb:49:in
`matches_to_status': undefined method `rstrip' for "M ":String (NameError) from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle
/Support/svn_commit.rb:49:in
`map' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle
/Support/svn_commit.rb:49:in
`each' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle
/Support/svn_commit.rb:49:in
`map' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle
/Support/svn_commit.rb:49:in
`matches_to_status' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle
/Support/svn_commit.rb:110
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle
/Support/svn_commit.rb:24:in
`call' from
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/Builder.rb:226:
in
`_nested_structures' from
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/Builder.rb:148:
in
`method_missing' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle
/Support/svn_commit.rb:24
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle
/Support/svn_commit.rb:18:in
`call' from
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/Builder.rb:226:
in
`_nested_structures' from
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/Builder.rb:148:
in
`method_missing' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle
/Support/svn_commit.rb:18
On Aug 7, 2006, at 8:00 AM, textmate-request(a)lists.macromates.com wrote:
> Sorry for the delay in responding, I have been away from
> internet access (I guess you could say "vacation"). This was
> caused by an update to the TextMate library dialog.rb that
> caused a method I was calling to return an array with one
> element (namely the text you entered) instead of the element
> itself. It should be fixed now if you update the global
> support directory.
Thanks Haris, that did the trick. And I figured you were on vacation,
since you're usually right on top of these things ;)
Hope you had a good one, and thanks again for fixing this.
- Dave
Sorry for the delay in responding, I have been away from
internet access (I guess you could say "vacation"). This was
caused by an update to the TextMate library dialog.rb that
caused a method I was calling to return an array with one
element (namely the text you entered) instead of the element
itself. It should be fixed now if you update the global
support directory.
On Aug 5, 2006, at 7:35 AM, Oliver Hagmann wrote:
>Yes. Same happening here. Using the latest bundles, revision
>and support folder.
>Oliver
Haris
Hi everybody,
Hope this hasn't been answered anywhere else, but I couldn't find it.
I just updated my Textmate to a newer version, and now I don't see
the "Show all modifications" link on the Subversion menu (the one
that pops up when I hit Control-Shift-A).
I have:
.....
Diff with Revision
---
Resolve conflicts with FileMerge
Resolved
---
Help
.....
I don't see Show all modifications in there at all. Any suggestions?
I really liked that functionality.
Thanks in advance!
Cameron
Another question I can't solve on my own. When I type ' - a single
quote - I don't want to see a closing one inserted automatically
(this is Lisp, after all). The newLISP language bundle has this:
smartTypingPairs = (
( '(', ')' ),
( '[', ']' ),
( '{', '}' ),
( '"', '"' ),
);
so obviously it's some sort of default behaviour. Can I switch it off
in this bundle yet leave it available in others?
thanks
--
(<http://newlisper.blogspot.com/>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I made a few changes to the GTD bundle, basically cleaning up the
list view commands. Please let me know if you have any comments.
Thanks.
Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFE1LFL4oDM7Rgs0h0RArKJAJ4xPjsWbuzhNc9vyPwIgX8sYbV9YgCfbJo+
ijqOjuINMWx+V+BJaI7xY7E=
=Kznu
-----END PGP SIGNATURE-----
Hi,
When I try saving a file, the save dialogue appears, whose name field
is, let's say, "untitled.html". In this case, all the letters
including html are highlighted.
It'd be useful if only "untitled" is highlighted so that, when user
starts to type in file name, the extension is untouched. In this way,
users can save a few letters of typing (e.g., html, js, sql, rb, m).
I understand, in some cases, extensions can be different than by
default (e.g., both html and htm are okay for HTML documents).
But, personally, in most cases, I'm OK with default extensions. Does
anybody have any thoughts on this?
Takaaki
--
Takaaki Kato
Hello,
another question regarding the LaTeX bundle:
There have been requests for making footnotes collapsable in the
past. I still find this highly desirable, but there does not seem to
be an easy solution for this at the moment. (Background: I work with
a document with a lot of footnotes, many of them being rather long.
It would be much easier to read and edit the main text if the
footnotes could be collapsed.)
I'd like to ask if another thing could be implemented more easily: It
would already help a lot if the footnotes would appear in another
color (or with another background color), so that it would be
possible to see where a footnote starts and ends immediately.
Is this possible?
Thanks in advance,
best regards
Matthias
--
Matthias Damm
mad(a)macpla.net
PGP key: http://macpla.net/MatthiasDamm.asc
PGP fingerprint: CED3 6074 7F7D 3148 C6F3 DFF2 05FF 3A0B 0D12 4D41
On Jul 25, 2006, Gerd wrote:
> On Jul 24, 2006, at 6:14 PM, Brad Choate wrote:
>
> >The second one sounds as if you have a file or files selected in
> >the project drawer that have no local changes.
> They do, svn on the command line, or using the svn bundle with one of
> the changed files selected in TM works fine. It is just the
> "Subversion Status" panel from which it doesn't work.
>
> Gerd
Has this been fixed/addressed yet? I've checked the archives but I
can't seem to find a resolution. I'm still getting the "File(s) not
modified; nothing to commit." when I try to 'Commit' from the SVN
'Status' window. I'm fully up to date with the app (cutting edge) and
the svn repository. And yes, I do have the top level folder of the
project selected when I run the 'Status' command.
Carpe viam,
Mike
Michael Larocque
Chief Cook and Bottle Washer
Prolumina Communications Inc.
http://prolumina.com/~mlarocque/
Sometime in the last few days I've had a problem using GTDAlt's
broke for me, when I use '#' to bring up the due date dialog and hit
return to accept 'today', instead of inserting the date it displays
this:
/Library/Application Support/TextMate/Bundles/GTDAlt.tmbundle/
Support/bin/GTDUtils.rb:27:in /bin/bash: -c:
line 1: unexpected EOF while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filedowncase'
for ["today"]:Array (NoMethodError)
from /tmp/temp_textmate.kKMNI2:10
Is anyone else seeing this? BTW, I just updated Bundles as well as
the Support folder, and still have the problem.
I'd like my functions to appear in the popup menu. My function
definitions look like this:
(define (func-name arg1 arg2)
(print "the arguments were " arg1 " and " arg2))
and the bundle I've been given has this:
{ name = 'declaration.function.lisp';
match = '(\b(?i:(def\-new|define(-macro)?))\b)(\s+)((\w|\-|\!|\?)*)';
captures =
{ 2 = { name = 'keyword.control.function-type.lisp'; };
4 = { name = 'entity.name.function.lisp'; };
};
},
I can understand why it also covers other types of definition ( eg
(def-new and (define-macro ) although I rarely use these, and it sort
of looks Ok at first glance (I don't know whether some of those
parentheses should be escaped...). Nothing appears in the function
pop-up menu, though. Should I expect this to work as like this or has
something else gone wrong, or does it rely on other things being set
as well?
--
(<http://newlisper.blogspot.com/>)
System is OS X 10.4.7. TM version 1.5.3 (1200). Same error occurs on
another system with unknown information (we corresponded over email...).
To reproduce:
1. Create a new command. Enter a short, non-shell script printing out
'$' at some point.
Ex:
#!/usr/bin/env python
print "test: $SIG{}"
2. Make sure the output mode is set to "Insert as Snippet".
3. Run command in a document.
Expected result: Document shows the result of the program. e.g.
"test: $SIG{}"
Actual result: Document shows result with characters removed
following and including '$'. e.g. "test: {}" Note that the removal
stopped at what is generally a "special" character.
Comments:
The expected result occurs when the output method is changed to
"Insert as Text" or "Replace selected Text" (i.e. when the text in
not further manipulated in any way, for indentation and the like).
Similarly, the expected result occurs when '$' is escaped. Entering
the line 'echo "test: $SIG{}"' at the command prompt returns "test:
{}" which seems to indicate that the text mangling is resulting from
being passed through the shell.
Andy Kish
First, I apologize if this is a duplicate. The mailing list
subscription was being incredibly slow, so I don't know if my first
message was sent.
System is OS X 10.4.7. TM version 1.5.3 (1200). Same error occurs on
another system with unknown information (we corresponded over email...).
To reproduce:
1. Create a new command. Enter a short, non-shell script printing out
'$' at some point.
Ex:
#!/usr/bin/env python
print "test: $SIG{}"
2. Make sure the output mode is set to "Insert as Snippet".
3. Run command in a document.
Expected result: Document shows the result of the program. e.g.
"test: $SIG{}"
Actual result: Document shows result with characters removed
following and including '$'. e.g. "test: {}" Note that the removal
stopped at what is generally a "special" character.
Comments:
The expected result occurs when the output method is changed to
"Insert as Text" or "Replace selected Text" (i.e. when the text in
not further manipulated in any way, for indentation and the like).
Similarly, the expected result occurs when '$' is escaped. Entering
the line 'echo "test: $SIG{}"' at the command prompt returns "test:
{}" which seems to indicate that the text mangling is resulting from
being passed through the shell.
Andy Kish
Hi there
I'm using v. 1197 and it seems that the
View > Wrap Column > Use window frame is broken.
Even with this option on, I have long comments line
which do not wrap and I have to scroll
horizontally to see them.
TIA
I actually don't believe this happened ... but really ... it just did.
I've been working on a project of mine. It was opened via:
File > Open Recent > ProjectFolderName
So some background.
There is no .proj file or whatever it is .. it's not a "TextMate
Project" .. I just drag my project folder onto TextMate.
It's been open for a while, and has many folders/files inside it ...
it's a mixed Java/Python project and I was shuffling some folders
around via the Eclipse Navigator pane (I switch between TextMate and
Eclipse, depending on wether I'm in Python or Java mode).
While I was in Eclipse, I moved my python source folder to a
different directory .. did some more coding for a while and came back
to TextMate.
Everything's kosher. The folders updated correctly in the TextMate's
project drawer. I opened some python files .. doing some housekeeping
and I decided that I'd like to add a new python file.
So I [Right Click > New File ...] on my python folder in the project
drawer and enter the name for the file "utils.py" and hit Create.
The file opens up and *bang* there's a mess load of code in it. In
fact, it was code from another utils.py file that is somewhere (very
far away) on my HD.
Weird ... now there are two utils.py files in my project drawer.
Though clicking on either one brings up the same file.
So I right-click > remove it .. quit and restart textmate and
everything's ok. No utils.py file anymore, so I right-click > create
it and now it's blank.
Everything's seemingly normal at the moment ... I'm not even sure I
can repeat that, just wanted to send it out there.
-steve
Hi all -
I did a search through the archives but I didn't find an answer on
how to accomplish what I'm looking for.
The current method that TextMate uses to escape entities is by using
the short name ('), which unfortunately doesn't work with
Windows IE. I'm trying to figure out if there's a way to convert
these instead to the numeric version (e.g. ’).
Is there any way to do this? Or a bundle that I can install that will
do this?
Thanks,
Neil
--
Slumming at the BeatnikPad: http://www.beatnikpad.com/
The person you love is 72.8% water.
I'm using the standard heading snippet to automatically add an ID to
a heading, like this:
<h3 id="${1/[[:alpha:]]+|( )/(?1:_:\L$0)/g}">${1:Some Title}</h3>
But now I want to mirror the transformed ID value in a permalink
later in the snippet like this:
<a href="http://somesite/links/#$1>permalink</a>
If I mirror $1 I get the untransformed text.
------------------------------------------------------
Is there a way to mirror transformed tab-stops?
Today while using TextMate 1.5.2 to edit a .as file in my project, I noticed
that the the file name in the file tab ended with a tilde (~).
I also noticed that the edits that I was making to my text file were no longer
"taking". That is, I could edit text, save the file, but the edits would have
no effect... as if they had never been made. Frustrating.
I closed the file, re-opened and now TextMate (and my edits) are back to
normal. The edits I had made to the file were gone, but I was able to get back
to work and re-enter my edits.
What is the significance does the tilde at the end of the filname in the file
tab have? Is this a feature? or a bug?
thanks very much,
Steven
osx 10.4.7
Power PC
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi,
The key binding for this command is 'Shift-Ctrl-Command-S', however,
whenever I try to use this sequence I get the same dialog. I wonder
if it could be changed to an alternative binding in the repository?
Cheers,
Chris
A small request for the Markdown bundle. Would it be possible to
revise the MultiMarkdown commands so that they use `mktemp`? As it
stands, when I find I need to do multiple revisions I am having to go
in and delete temporary files. Thanks very much.
All the best, Mark
Just committed an addition to my subversion repository using the
subversion bundle (which is great, btw) and I got the following
strange message:
2006-08-01 20:30:22.315 CommitWindow[25956] The plugin /Users/
markkalderon/Library/Application Support/SIMBL/Plugins/
megazoomer.bundle (org.ianhenderson.megazoomer) is using a deprecated
interface to SIMBL. Please contact the appropriate developer (not the
SIMBL author) and refer them to http://culater.net/wiki/moin.cgi/
CocoaReverseEngineering
...
Adding Research/Color/Notes/assumptions.txt
Transmitting file data .
Committed revision 103.
OK, so there is an issue about SIMBL and megazoomer, but why is this
message appearing when I commit?
All the best, Mark
I just started using GTDAlt and am really enjoying it. I have one bit
of feedback, though.
Whenever I execute a command, the entire file gets overwritten,
including all the data in the resource fork. This means when I hit
the command to "Clean current file", suddenly all of my folded
project blocks get unfolded.
I've tried to figure out a way to do this more elegantly, but I
honestly don't have any suggestions, hence the reason I'm bringing it
up here. Do any other bundles deal with this gracefully?
thanks,
ryan
Allan,
did you make any recent changes to the Bundle svn feed? For some
reason NewsFire no longer picks up entries (works fine in Safari, but
i think it's much more forgiving of formatting errors). Last one i
received was Sunday at 6.30 (CST).
Sebastian
Hi everyone,
Just a quick question - is there any way I can format an ActionScript
(.as) file in much the same way as the "Auto Format" command in the
default Adobe Flash IDE? When I try using 'Text > Reformat
Paragraph', it simply runs all the lines together.
Thanks,
Ben
I don't know if this exact thing has been up, sorry if it has. But I
thought perhaps one could have sort of a local svn of the bundles,
with only one "level" of fallback (sorry, I don't speak technical svn).
So that when you customise an item in a bundle, it will make a copy
of that specific entry, and place it first (or last) of all the items
(snippets, languages, commands etc), with a big delimiter between
"your" stuff and the bundle default stuff.
This could upen up for revert commands, and perhaps even diff
commands. Also, if you delete something from the original, it can
show up among your things with a big linethrough.
Perhaps one should also be able to see what sort of "own" things has
been forked off original things, so you can compare with the
original. Also, you can add your entirely new items into a logical
bundle, and you will see that it is yours entirely and not built off
an original.
I hope I've made myself clear on the whole idea, and I hope it's not
something that's already come up :)
Andreas
I am sure most of you already know, but google code hosting is a nice
place for hosting your bundles' svn repositories…
see http://code.google.com/hosting/faq.html for details.
Dan