(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