Hi all,
I put together a [CTags.tmbundle][1] for easy double-click
installation in recent (cutting edge) TextMate versions.
The CTags bundle allows you to quickly look up function definitions,
variables etc. It uses the Exuberant CTags program to generate a list
of definitions, and presents any match for the current word when
invoked.
Allan, if you give me access to the bundle repository I'll gladly
submit and maintain this bundle.
Gerd
[1]: http://gerd.knops.org/files/CTags.tmbundle.zip
> You could write an applescript that causes Preview to close the pdf
> and then open it again; using this script as the command called from
> Textmate.
See my "Reload Preview Document" script:
http://vocaro.com/trevor/software/applescript/
Trevor
Hi,
I'm new to TextMate, I really like it and am using it mainly for
writing with latex.
for
TM_LATEX_VIEWER
I had usually set
texniscope
until I ran into problems with texniscope in the combination with my
custom made bibliography style (which uses babel). Then I switched
TM_LATEX_VIEWER to preview, and that works ok, except, that I have to
close it before I compile latex. If I don't close it the changes made
with the new compilation won't show up.
Is there somewhere in preview the option to "refresh the view", so
that the changes in the pdf file appear?
Is it possible to use Acrobat Reader or Professional or any other
program as pdf viewer with TextMate, and what would be the correct
value for TM_LATEX_VIEWER? (side note: I looked in google, and all I
have found is TextMate in combination with preview or texniscope...
why is that?)
One could argue, I should change/make a new bibliography style file,
in order to make TextMate work with Texniscope, however I would like
to keep it for now, if I could resolve the "refresh" issue with a pdf
viewer. Or would you say texniscope is the way to go?
Thanks for your help,
Claus
I'd imagine that if the key combination was mapped to another app then I'd
see it working in that context. However I've not installed Huevos and have
tried just running the system and TextMate and the problem persists.
I've checked with a couple of other people here who use textmate - we all
have the same set-up - and it doesn't work for them either ??
Cheers,
Simon
>Did you recently install Huevos? That's the default key stroke for
>that particular app.
>Derek
On Jun 28, 2006, at Jun 28, 200610:38 AM, Simon Gregory wrote:
> I often use ctrl-esc to pop-up the bundle list from the project
> window. On
> my G5 tower it stopped working a couple of revisions (ish) ago, yet
> it's
> fine on my powerbook. I'm sure this is a simple conflict but I've
> already
> looked in all the obvious places for a solution - ie keyboard and
> mouse
> prefs pane, quicksilver triggers. Does anyone have any idea what the
> problem might be?
>
> Thanks,
> Simon
[I'm copying the list back in on this exchange, since it now includes
a full resolution.]
On Jun 28, 2006, at 9:07 PM, Allan Odgaard wrote:
> On 29/6/2006, at 2:37, Jonathan Ragan-Kelley wrote:
>
> > [...] The simple solution: copy KeyBindings.dict to
> > ~/Library/Application Support/TextMate/, and optionally merge with
> > my one existing custom TextMate binding (^space => nextCompletion:),
> > and bam -- ^q, ^r, ^u, etc., etc. all work now, where before they
> > didn't.
> That would imply that it didn't successfully read the one
> inside TextMate.app, as it simply merges the various key binding
> files found, well, with the exception that if one is found in
> ~/Library/AppSupport/TextMate, the default one is skipped.
>
> Could it be you had a dummy/empty file there?
Nope, I just misunderstood the usage until I read your "well,
exception" and double-checked to find:
> You can copy this file to ~/Library/Application Support/TextMate
> and edit it, this will then take precedence over the bundled file.
in the manual. This is at odds with the normal behavior of
~/Library/KeyBindings relative to the system bindings (it only
overrides those it sets -- its mere existence doesn't blow away all
bindings), so I somehow missed this, and just had a skeletal set of
extensions and modifications in my TextMate user keybindings. Also,
using KeyBindingsEditor's built-in "Open TextMate user keybindings" to
get an empty Application Support/TextMate/KeyBindings.dict doesn't
help matters.
So the simple answer is "RTFM -- very, very carefully."
Thanks.
-jrk
hi,
I am trying to figure out how to do an emacs-like highlighting of the match
of a paired character such as a paren. I feel sure it must be supported in
TextMate but somehow I just can't run it down in the documentation. Is
there a way to do this?
[I am aware that things can be configured so that there is a brief flash on
the opening paren when the cursor moves over the closing paren, but I am
looking for a way to indicate the match more obviously and less
transiently. Also, the flash only seems to occur when the cursor is on the
closing paren, not the opening one, and I want to be able to find the match
in both directions].
When I press ^q in all modes I've tried (C++, Plain Text, Markdown,
...), I first get nothing. Then, on the second press, my selection is
obliterated and a space inserted. If I try this with no selection, I
consistently observe that the only ^q-related binding seems to be
something like: ^q ^q --> insertSpace. (The menu command works, and
is labeled, as expected.)
However, there are no references to "q" with any modifier anywhere in
any of my keybindings files, so far as I can tell.
I've spent months unable to use ^q for Reformat Paragraph, and always
assumed it was a stray keybinding on my aging OS install. I've since
gone back and rebuilt my profile from scratch on a new machine, with a
totally fresh bundles checkout and I carefully moved a select few
keybindings. Unfortunately, I failed to do it slowly enough to notice
when ^q ceased functioning.
Has anyone else observed this? Clearly something or someone,
somewhere has jacked ^q without my knowledge, but I can't for the life
of me figure out who or what.
Many thanks.
-jrk
> > So in the svn bundles for todo I started to get the following error
>
> Is this with a stock r1103/1112? or do you have a bundles checkout?
> If the latter, you may want to update the Support folder, as a broken
> version of textmate.rb temporarily made its presence there, but was
> since reverted.
>
> Perfect! thanks, I did still have the bad textmate.rb from the repository.
I just checked a fix into svn that adds 'next week', etc to the options allowed by the date parser.
Rather than reinvent the wheel, has anyone seen or is anyone interested in doing a Ruby port of Datebox?
http://dateb
From: Benjamin Jackson <ben(a)incomumdesign.com>
X-Mailer: Quicksilver
Content-Transfer-Encoding: 7bit
Date selection with GTDAlt bundle
I just checked a fix into svn that adds 'next week', etc to the
options allowed by the date parser.
Rather than reinvent the wheel, has anyone seen or is anyone
interested in doing a Ruby port of Datebox?
http://datebox.inimit.com/
Best to all,
Ben
I have read in older threads from the list about issues with
subversion and project files lying outside of the root folder of the
subversion project, but I am having difficulty getting the "Update
Entire Project to Newest" to work. Specifically, that menu option
never shows up, regardless of where I have my tmproj file in relation
to the local svn files. Any idea what I'm doing wrong?
The Help file mentions that the folders need to be beneath
TM_PROJECT_PATH and I can't find that environment variable anywhere.
TextMate's Help mentions TM_PROJECT_DIRECTORY--is that what the SVN
help file means? And if so, do I need to manually set it, or is it
set when I have a saved tmproj open?
So in the svn bundles for todo I started to get the following error
/Users/sdevore/Library/Application
Support/TextMate/Support/lib/textmate.rb:32:in `initialize': cannot convert
Hash into String (TypeError) from /Users/sdevore/Library/Application
Support/TextMate/Support/lib/textmate.rb:32:in `new' from
/Users/sdevore/Library/Application
Support/TextMate/Support/lib/textmate.rb:32:in `load_pattern' from
/Users/sdevore/Library/Application
Support/TextMate/Support/lib/textmate.rb:7:in `initialize' from
/Users/sdevore/Library/Application
Support/TextMate/Support/lib/textmate.rb:79:in `new' from
/Users/sdevore/Library/Application
Support/TextMate/Support/lib/textmate.rb:79:in `each_text_file' from
/tmp/temp_textmate.7Uqkdz:32
what did I mess up?
In xcode their is a quite handy feature called jump to defintion when
control clicking a class or whatnot... It will then jump to view to
what ever file that class is started in..
Does anyone know of this kind of plugin for textmate ??
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I was wondering if anyone has asked, or if I missed how to do this.
Is there a way to write a preference so that themes can be tied and
auto-loaded to particular bundles? For example, using 'slate' for
writing perl, but when I switch to blogging it automatically could
switch my theme to expresso and then to Twilight for LaTeX.
Thanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFEobMY0ZwlS5OIzRcRAlnLAJ9c2tZ266x7RwiaZ61nsp1EU3LAvgCeKNGH
S49vyZ5N7dd25wd2TVPqkTU=
=HPxa
-----END PGP SIGNATURE-----
Hi,
I'm sorry if I missed this somewhere in the list or wiki, but I
couldn't find it.
If I use "Edit in textmate" to edit text field from another app, is
there any way to alter the save function (or to make another key
command) to automatically format the markdown text and send back the
formatted version. Currently, I write the markdown, preview it in
textmate's window, copy and paste it back into the original app. It's
not that much work, but I was thinking that if it could be automated,
I'd probably use it more often.
Thanks for any advice
Jeff
I get the following error when trying to fetch a post from a
serendipity v1.0 blog.
/usr/local/lib/ruby/1.8/xmlrpc/client.rb:552:in `do_rpc': Wrong
content-type: (RuntimeError)
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
[lots of xml snipped ...]
</methodResponse>
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
/Users/stephen/Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/metaweblog.rb:31:in
`getRecentPosts'
from
/Users/stephen/Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:542:in
`fetch'
from
/Users/stephen/Applications/TextMate.app/Contents/SharedSupport/Support/lib/progress.rb:11:in
`call_with_progress'
from
/Users/stephen/Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:541:in
`fetch'
from /tmp/temp_textmate.v2ZuUO:3
I'm using cutting edge textmate 1112.
I can connect to the serendipity blog using ecto using the metaWeblog
api. Here's the endpoint I am specifying in Setup Blogs:
http://username@blog.concord.org/serendipity_xmlrpc.php
Thanks for any pointers.
--
-- Stephen Bannasch
I often use ctrl-esc to pop-up the bundle list from the project window. On
my G5 tower it stopped working a couple of revisions (ish) ago, yet it's
fine on my powerbook. I'm sure this is a simple conflict but I've already
looked in all the obvious places for a solution - ie keyboard and mouse
prefs pane, quicksilver triggers. Does anyone have any idea what the
problem might be?
Thanks,
Simon
I tried and failed to get the Blogging bundle working on either of my
two computers yesterday. It's not the failures themselves, though,
that's prompting my inquiry today, it's that the failures were
different. Different behavior and different error messages. I've run
into this in the past: a month or so ago, one of my TMs wouldn't
preview Markdown documents because it couldn't find SmartyPants.pl.
Apparently, my two copies of TM are out of sync in some way, despite
being the same version (1.5.2 [1112]).
I'd like to know the best way to resolve this difference. My guess is
that the simplest way is to
1. throw away my current copies of /Applications/TextMate;
2. throw away my current copies of Library/Application Support/TextMate;
3. install new TMs from a fresh download.
I do have certain snippets, macros, and commands of my own that I'd
like to retain, so I would *not* throw away ~/Library/Application
Support/TextMate. Does this procedure make sense?
I suspect that my out-of-sync issue came about because I used to use
SVN to get new bundles whenever I happened to think of it, but now I
use an automatic Software Update to Cutting Edge. For my own
edification: When TM does a Software Update, do the new bundles go
in /Applications/TextMate/Contents/SharedSupport/Bundles? If so, and
if I'm going to use automatic Software Update instead of SVN, is
there any need for /Library/Application Support/TextMate/Bundles?
--
Dr. Drang
In the Markdown bundle, the Generate Output and Open Browser Command
is bound to control shift o. So is Open Terminal. But instead of a
menu showing both options, control shift o in a MultiMarkdown
document opens an html version of that document in an external
browser. Is there a way (other than browsing through the gear menu,
or customizing the keybindings) to access the Open Terminal in a
MultiMarkdown document? I would prefer to see a menu with both
options, if both should reasonably be bound to the same key. Is this
a scope issue?
All the best, Mark
I'm getting the error shown below when I type:
mate file.txt
The only information I can find relates to Locomotive. I'm using Ruby
on Rails, but not Locomotive. Any thoughts on how to remedy this
problem?
Thanks
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /opt/local/lib/libJPEG.dylib
Hello Allan,
I read today on the Red Sweater blog that Suite Modeler is now free.
"""
Don Briggs has announced that his highly-acclaimed Suite Modeler
application is now free. I haven’t used it but many people suggest it
greatly reduces the pain of adding scripting support to Cocoa
applications.
<http://www.red-sweater.com/blog/links/89/suite-modeler-now-free>
"""
I thought it might interest you (and maybe the rest of the list).
Suite Modeler
<http://homepage.mac.com/donbriggs/>
Cheers
-Emmanuel
--
Emmanuel Décarie / Programmation pour le Web - Programming for the Web
<http://scriptdigital.com/> - Blog: <http://blog.scriptdigital.com> - AIM: scriptdigital
The bundles are fun and all, but with so many of them, sometimes I
press the wrong key combo, and something crazy happens, and everynow
and then I'd like to know what I did.
So, is there an easy way to know what I just triggered?
If not, how about using a growl notification to display the name of
the bundle command?
Allan,
Is it possible to get some type of status indicator on the Find in
Project window? It's a bit weird, and freezes some times (or appears
to) when im searching, and i'd love a quick indication if it's done
or not, esp. if I have just tabbed to another window or something.
Regards,
Eric
Hi all,
I'm new around here, so before I ask my first question I just thought
I'd say... HI! :)
I recently built a bilingual (English/French) website using TextMate.
This was the first bilingual site I've built using TextMate (I use to
use Dreamweaver ... ack!). Everything went well, except for the
content population phase -- when it came time to put the French copy
in, any and all accents in French content (like à, è, etc.) would
render as weird characters (or sometimes question marks) when the
page was viewed in a browser. I just can't figure this out...
- I changed the "File Encoding" setting from UTF8 (TextMate default)
to Latin 1 (Dreamweaver default). No dice.
- I checked my HTTP headers on the server side and all appears to be
okay.
- I checked my XHTML meta tags and they're good too!
This seems to be happening with all files (HTML, ASP, PHP), and the
weird thing is that I can open the ~same file~ in Dreamweaver, put
the content in place, save it, and it works fine. Does anybody know
what's going on? HTML entities work, but for text-heavy French sites
it's not feasible to transform all of the accented characters into
entities (time-wise).
Thanks in advance!
Dan
Hi list,
I have a command that creates a new (untitled) document with some
content I'm temporary interested with (why I did create that
command). Then if I double-click a file from the finder or open/mate
a single file from the terminal the untitled doc's window is used for
that file so that I loose the old content!
Notice that ⌘-N 'ed documents, while unmodified, are also used that
way.
Someone else?
Sylvain
I am getting the following error when using the Add List Item command
in the Markdown bundle:
/Library/Application Support/TextMate/Bundles/Markdown.tmbundle/
Support/lib/markdownhelpers.rb:41:in /bin/bash: -c: line 1:
unexpected EOF while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of file[]' for
nil:NilClass (NoMethodError)
from /tmp/temp_textmate.ozr6CO:13
I am using TextMate 1.5.2 Version 1.5.2 (1112).
Thanks in advance. All the best, Mark
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Just added/modified the GTD bundle. Please see my post at <http://
panalaska.org/geek/?p=45> for details.
Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFEoNEB4oDM7Rgs0h0RAtESAJ9Yx+Dbvkl5DquzdF4b298e5RzGXgCeLTR1
93FBccZ8GjhYKbUe6nvRLrQ=
=Z4Sl
-----END PGP SIGNATURE-----
I think it's some old 20th Century thing, which has been replaced in the 21st Century by Subversion....
:)
----- guerom00 <romain.guerout(a)stud.unibas.ch> wrote:
> I don't even know what CVS is...
>
> Court K. <lists@...> writes:
>
> >
> >
> > love textmate, it's always lacked in CVS support...
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate(a)lists.macromates.com
> (threading gets destroyed and the universe will collapse if you
> don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
> --
> This message was sent with an unlicensed evaluation version of
> Novell NetMail. Please see http://www.netmail.com/ for details.
>
> This e-mail is intended only for the named person or entity to which
> it is addressed and contains valuable business information that is
> privileged, confidential and/or otherwise protected from disclosure.
> Dissemination, distribution or copying of this e-mail or the
> information herein by anyone other than the intended recipient, or an
> employee or agent responsible for delivering the message to the
> intended recipient, is strictly prohibited. All contents are the
> copyright property of TBWA\Chiat\Day, its agencies or a client of such
> agencies. If you are not the intended recipient, you are nevertheless
> bound to respect the worldwide legal rights of TBWA\Chiat\Day, its
> agencies and its clients. We require that unintended recipients
> delete the e-mail and destroy all electronic copies in their system,
> retaining no copies in any media. If you have received this e-mail in
> error, please immediately notify us via e-mail to
> disclaimer(a)tbwachiat.com. We appreciate your cooperation.
>
> We make no warranties as to the accuracy or completeness of this
> e-mail and accept no liability for its content or use. Any opinions
> expressed in this e-mail are those of the author and do not
> necessarily reflect the opinions of TBWA\Chiat\Day or any of its
> agencies or affiliates.
--
This message was sent with an unlicensed evaluation version of
Novell NetMail. Please see http://www.netmail.com/ for details.
This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is strictly prohibited. All contents are the copyright property of TBWA\Chiat\Day, its agencies or a client of such agencies. If you are not the intended recipient, you are nevertheless bound to respect the worldwide legal rights of TBWA\Chiat\Day, its agencies and its clients. We require that unintended recipients delete the e-mail and destroy all electronic copies in their system, retaining no copies in any media. If you have received this e-mail in error, please immediately notify us via e-mail to disclaimer(a)tbwachiat.com. We appreciate your cooperation.
We make no warranties as to the accuracy or completeness of this e-mail and accept no liability for its content or use. Any opinions expressed in this e-mail are those of the author and do not necessarily reflect the opinions of TBWA\Chiat\Day or any of its agencies or affiliates.
Sorry to all for the repost about CVS is was an accident., I switched
mailing lists tor textmate to list(a)courtkizer.com when it used to be
kizer(a)courtizer.com, since i want to check my email on the motorola q
and the textmate mailing list is rather long. Also apparently, you
don't see your own posts to the mailing list? Is this a setting I can
change? When I sent my post about CVS access in textmate, it never
shows up in my inbox that downloads all the mail threads about textmate
-Court
Hi All,
Did anything become of the soft wrapping to match current indent level? I
saw some mention of this feature back in April 2005 in the mailing lists,
but can't see a way to enable this feature currently.
Many thanks,
Anthony
-----------------------------------------
*******************************************************************
*******
The information contained in the EMail and any attachments is
confidential and intended solely and for the attention and use of
the named addressee(s). It may not be disclosed to any other person
without the express authority of the HPA, or the intended
recipient, or both. If you are not the intended recipient, you must
not disclose, copy, distribute or retain this message or any part
of it. This footnote also confirms that this EMail has been swept
for computer viruses, but please re-sweep any attachments before
opening or saving. HTTP://www.HPA.org.uk **************************
************************************************
The Comment Selection command in the Source bundle has a bug. (Tested
on the latest repo version.) If you select some markup that has an
empty line, then hit Cmd-/, the empty line will screw up the comment
markers. For example:
BEFORE
</SpeakingEvent>
<SpeakingEvent>
AFTER
<!-- </SpeakingEvent> -->
<!--
--><!-- <SpeakingEvent> -->
If you then try to uncomment by hitting Cmd-/ again, the block's
entropy grows:
<!-- <!-- </SpeakingEvent> --> -->
<!-- <!-- -->
<!-- --><!-- <SpeakingEvent> --> -->
Interestingly, the above problem seems to occur only if the selected
text contains a closing tag (as above).
I tried playing around with the comment.block.xml setting in the XML
bundle but didn't get anywhere. Anybody know how this could be fixed?
Trevor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks to Allan's blog post, I finally sat down and wrote up the
documentation for the GTD bundle. You can find it here:
<http://panalaska.org/geek/?p=43>
As always, please send me your feedback. Thanks.
Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFEn/Q44oDM7Rgs0h0RAsGYAKCjDe78fdhWvrGLHj3njl8qDnsyjQCgxmRr
nSu4huR/dlnXvnrujW3Nv2A=
=P1MZ
-----END PGP SIGNATURE-----
I just noticed a problem when I try to view a list in the GTD
bundle. Here is the error message:
/Users/mike/Library/Application Support/TextMate/Support/lib/
textmate.rb:2:in `require': No such file to load -- plist (LoadError)
from /Users/mike/Library/Application Support/TextMate/Support/lib/
textmate.rb:2 from /tmp/temp_textmate.UY49Xv:18:in `require' from /
tmp/temp_textmate.UY49Xv:18
I get the same message when I try to view a TODO list. Any idea
what's happening? Thanks.
Mike
I'm a Textpattern user and have the blogging bundle working pretty much
perfectly except that I am unable to upload images through TextMate (as seen
in Allan's excellent video). I get the following error:
/usr/lib/ruby/1.8/xmlrpc/client.rb:535:in /bin/bash: -c: line 1: unexpected
EOF while looking for matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of filecall2' from
/usr/lib/ruby/1.8/xmlrpc/client.rb:399:in /bin/bash: -c: line 1: unexpected
EOF while looking for matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of filenewMediaObject'
from /Users/dylan/Library/Application Support/TextMate/Pristine
Copy/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:708:in /bin/bash: -c:
line 1: unexpected EOF while looking for matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of filepopen' from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/progress.rb:11:in
/bin/bash: -c: line 1: unexpected EOF while looking for matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of fileupload_image'
from /tmp/temp_textmate.C7OXjI:3
Does anyone have any info on whether or not this is possible? Are there any
workarounds?
Thanks,
--Dylan
Hi,
I'm always getting Validation Errors on my Language Grammar, with the
old style plist bundles validation command:
This is what it returns, and it's always the same:
2006-06-24 08:25:56.870 plutil[2499] CFLog (0):
CFPropertyListCreateFromXMLData(): Old-style plist parser: missing
semicolon in dictionary. 2006-06-24 08:25:56.940 plutil[2499] CFLog (0):
CFPropertyListCreateFromXMLData(): The file name for this data might be
(or it might not): /tmp/TextMate_plist.L7pqfe XML parser error:
Unexpected character { at line 1 Old-style plist parser error: Expected
terminating ')' for array at line 191.
The basic error, that is of interest here, missing semicolon in
dictionary, is untrue.
The bundle Editor will happily swallow the syntax after pushing the test
button, and reformat the code.
I've since then stopped using this command, since I had the Bundle
Editor anyway.
But I've seen that it does that only on very complex Language Grammars.
Possibly a Bug of the plistBundle ?
regards, marios
I frequently find myself wanting to look for a certain pattern or
whatever for a part of a project in Textmate. It would be really
convenient to be able to rightclick that folder in the drawer and do
a "Search within" that folder and all structure below.
Or maybe this type of functionality is allready builtin somewhere,
and I just havent found it?
--
egil helland / it consultant (mcse, web technology)
web: ikon.as / egil.net mob: +47-91315555
I've had a look in the manual but not been able to find any mention
of it. Is there a keybinding for swapping from the editor window to
the project drawer and back?
Also whats the key binding for 'show bundle items menu' - I found it
in the manual but don't recognise the symbol, it looks like a 'reset'
logo?
Thanks
---
Jeremy Wilkins
Ibex Internet Ltd
Parkside Business Park
Parkside Rd.
Kendal
Cumbria
LA9 7EN
Tel: 0845 226 8342
Fax: 08718 729374
http://www.ibexinternet.co.uk/
Hi Folks,
The bundle below can be used to syntax-highlight regular expressions
in Perl and TextMate Language definitions. When viewing a Perl
program, simply change the Language from 'Perl' to 'Perl (RegExp)'.
Similar for TextMate Language Definitions.
Feedback or support for other languages welcome!
Gerd
Hi,
I had a question about the language grammar format and wasn't able to
easily find the answer in the docs or wiki. So sorry if this is a
FAQ somewhere.
I'm looking at the reStructuredText grammar and find that it is not
really working. Try opening the spec itself and you should see areas
where the highlighting is off.
My question is how I put a single-quote (') into the regex for a
match. I keep getting a syntax error (expecting a ;), even if I try
to escape the quote. If I replace the ' with a \x27 I get the error:
too short multi-byte code string
I need to match something like this: [\b'"(\[{<\-/:](`\S[^`]*\S`)['")
\]}>\-:\.,;!?\\\b]
Matt
--
Matt Long mlong(a)acm.org /
mtlong(a)csee.usf.edu
University of South Florida, CRASAR
GnuPG public key: http://www.robothor.com/key.gpgkey
"In mathematics you don't understand things, you just get used to them."
- John von Neumann
Hi users,
Is there a simple way to read the entire input stream using blocking
read(2)? I can select(2) stdin to avoid command blocking but wondered
why not having an environment variable holding the input length like
in a CGI environment ?
Sylvain
Forgive me if this has been asked previously (didn't see anything in
the archives)
Are the latest bundle changes updated as well when software update is
in "Cutting Edge" mode or are you better off periodically checking
them out straight from the svn repo?
Thanks-
Jim
Well, yesterday I discovered TextMate's new blogging attitude --thanks
to Mr. Ale Muñoz's awesome TextMate minicourse at The Cocktail,
Madrid-- and decided to give it a whirl as soon as I arrived home. I
have a weblog hosted in Blogalia.com --it supports Metaweblog API--
and I cannot get to access it, the main suspect seems to be my
username: it has a space in it.
Is anybody using TExtmate's blogging bundle with a username with an
embedded space?
--
----------------------------------------------------
http://www.sobrerailes.com
I've been just trying out RubyCocoa, and I am having problems running
some of the examples from within TextMate. The "Run Script" command
doesn't seem to work properly, for instance with the "HelloWorld.rb"
example.
Has anyone dealt with this?
Haris
Hi, altogether
I finally finished with the Textpattern Bundle.I ran into a couple of
Issues both TM related and about the subject itself.
It would have been definitely needed, that I ask for help or
suggestions on this mailing list, but on the other hand, I can not get
any serious work done, if I not completely isolate myself.
And here it is.
A detailed Article,about the main features of the Bundle
<a href="http://www.consking.com/article/">A detailed Article,about the
main features of the Bundle</a>
DOWNLOADS
TXP TextMate Bundle
TXP TextMate Theme
http://www.consking.com/file_download/19http://www.consking.com/file_download/20
Although I did some testing on a large pile of sample files, feedback is
always appreciated.
It might be a good Idea maybe at some point to put that into the repository.
Let's just see What Allan says first.
regards, marios
Hi,
I'm MAC OS newbie, and I'm giving TextMate a try to code in python.
But afther running the script from TextMate (shift+apple+R) a couple
of times, everytime I open up a new bash shell the same command
execute at startup:
Last login: Thu Jun 22 10:37:33 on ttyp1
clear; cd '/Users/macournoyer/ecole/log620/lab2/src'; 'pythonw' '/
Users/macournoyer/ecole/log620/lab2/src/stats.py'; rm -f ''
Welcome to Darwin!
mac:~ macournoyer$ clear; cd '/Users/macournoyer/ecole/log620/
lab2/src'; 'pythonw' '/Users/macournoyer/ecole/log620/lab2/src/
stats.py'; rm -f ''
I check bash startup scripts: /opt/profile and ~/.bash-profile
I don't know what I did wrong, please help!
Marc-André__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
HI,
i just wanted to try out the SQL bundle but somehow i have problems.
First i found no docs whats the best way to let Textmate find
the mysql binary. He complained that he couldnt find it any of the
mentioned paths, which was basically the PATH env. variable.
Then i created a symlink to mysql binary into ...SQL.tmbundle/Support/
bin/
With that i was able to "Execute line with query" but with "Table
Browser" i got this:
Traceback (most recent call last): File "/Users/marclogemann/
Applications/tools/TextMate.app/Contents/SharedSupport/Bundles/
SQL.tmbundle/Support/bin/tableBrowser.py", line 284, in ? sys.exit
(main()) File "/Users/marclogemann/Applications/tools/TextMate.app/
Contents/SharedSupport/Bundles/SQL.tmbundle/Support/bin/
tableBrowser.py", line 109, in main listTables
(dbName,dbHost,dbPort,serverType,passwd,dbUser) File "/Users/
marclogemann/Applications/tools/TextMate.app/Contents/SharedSupport/
Bundles/SQL.tmbundle/Support/bin/tableBrowser.py", line 130, in
listTables mycon = MySQLdb.connect(db=dbName,host=dbHost,port=int
(dbPort),user=dbUser,passwd=passwd) NameError: global name 'MySQLdb'
is not defined
To be honest, i dont know what these _mysql files in there are, nor
it is documented somehwere. So what is the best approach to get this
running?
Furthermore is there a way to display correct encodings for
international characters like german umlaute (äöü)? I get rubbish
when these chars occur.
Thanks.
Marc
Hi
I just noticed that the shortcut for "Expand to Greek Letter" (cmd-
shift-G) collides with the default shortcut for "Find Previous" in
the Edit-menu. Could we change it to ctrl-shift-g maybe?
And I'd like to suggest to add source.bibtex to the scope selector
for this command, so it works in bibtex files, too.
Cheers. Oliver
As of rev 948:
[NEW] Files without extension now open in TextMate (instead of
TextEdit)
when double-clicked in Finder.
True, this is probably what most of us want in theory, but
implementing it this way has undesirable side-effects. For example,
all of your shell scripts are identified as "Document" instead of
"Unix Executable File" and their icon becomes the default blank page
thing.
Anyway, the reason I'm writing is to share steps for getting things
back to normal, in case others are bothered by this as well.
1) Locate TextMate.app and "Show Package Contents" or "cd" into it or
whatever
2) Go into the Contents folder
3) Open Info.plist in your favorite text editor. ;) [I've done
this with
TextMate itself and had no problems.]
4) In the array of <dict> tags for document types, find the one
that has
"****" under CFBundleTypeOSTypes and comment it out (or delete
it). In the
latest version of TextMate (1112), this item is the last document
type and
can be found on lines 781-796.
5) Save the file
6) Run this command (all on one line): /System/Library/Frameworks/
ApplicationServices.framework/Frameworks/LaunchServices.framework/
Support/lsregister -kill -r -domain local -domain system -domain user
(Looks like the kind of thing you would run using "sudo", but
don't because
it won't get your "user" domain.)
7) Stop everything you're doing, make sure everything is saved,
and hope you
remember everything you were working on
8) Log out
9) Log in
Now, not that I don't *love* going through this process with every
cutting-edge update, but could there be a preference (perhaps hidden)
for disabling this behavior? Or could it just be removed? Personally,
I use Path Finder, which allows you to right-click any file and open
with the [GUI] editor of your choice. (It's always the first choice
on the context menu, so it's not as bad as it sounds.) But even if
you're using Finder, you can just drag unidentified files to
TextMate's Dock icon, right? I didn't see a request like this in the
Wiki. Am I correct in assuming I should add it there? Thanks.
Rob
I've got a question/problem about the "Select Bundle Item..." command.
I've been trying to use the dialog, but it does not seem to list all
off the commands in my active bundles. For example, if I type
"Browser" to try to get to MultiMarkdown's "Generate Output and Open
in Browser", the list is narrowed down to "Preview in Browser --
Markdown" and three selections in the [Experimental] HTML bundles.
Likewise, if I try to get to "Tidy" in the LaTeX bundle, the list
only shows "Tidy -- HTML".
I'm running the latest v1112 and have checked out the Bundles and
Support from today.
Is there something I am missing?
Thanks,
Matt
--
Matt Long mlong(a)acm.org /
mtlong(a)csee.usf.edu
University of South Florida, CRASAR
GnuPG public key: http://www.robothor.com/key.gpgkey
Software is like entropy. It is difficult to grasp, weighs nothing,
and obeys the second law of thermodynamics; i.e., it always increases.
-Norman R. Augustine
Hi, I was hoping someone could point out what I'm doing wrong.
I've customized my ActionScript lanugage definition to be "Javadoc aware."
I'm having trouble setting up the foldings regex (being an ActionScripter, I
don't regularly use regex, so maybe that's part of the problem. Can't wait
for AS3, though...).
Here's what I have:
foldingStartMarker = '(/\*|\{\s*$|\[\s*$|\(\s*$)';
foldingStopMarker = '(\*/|^\s*\]|^\s*\}|^\s*\))';
// and later...
{ name = 'comment.javadoc.actionscript';
begin = '/\*\*';
end = '\*/';
},
And here's what happens. I ype "/**". At this point the language
definition knows that I'm in comment.javadoc. I get a downward-pointing
arrow for the top of the code fold area. I've also get snippets set up to
expand /** into
/**
*
*/
and return the caret to the middle line. There is a single space at the
front of the bottom two lines. (I also have it set up to replace a return
press with a return and an asterisk, but that's beside the point) Now, I
don't get the upward-pointing arrow for the bottom of the code fold area. I
just discovered that the space seems to be throwing it off. If I go back to
the closing of the javadoc comment, and remove that initial space, I get
code folding.
So I tried modifying the foldingStopMarker, but with no success. Is there
an easy way to do this? Am I being a moron and doing this completely the
wrong way? I've tried a number of regex's:
foldingStopMarker = '(^\s*\*/|^\s*\]|^\s*\}|^\s*\))';
foldingStopMarker = '(\s*\*/|^\s*\]|^\s*\}|^\s*\))';
foldingStopMarker = '( \*/|^\s*\]|^\s*\}|^\s*\))';
foldingStopMarker = '(^[ \t]*\*/|^\s*\]|^\s*\}|^\s*\))';
And many variations thereof, but with no luck. I may be just
misunderstanding how the foldingStopMarker works in the first place, but if
anyone can point me in the right direction I'd be very appreciative. I like
my asterisk's to line up, and I like my code folding.
Thanks,
Dru
When I run a unit test the results are displayed poorly:
Loaded suite /Applications/TextMate.app/Contents/SharedSupport/
Bundles/Ruby.tmbundle/Support/tmruby Started .F Finished in 0.008257
seconds. 1) Failure: test_outOfRange(TestIntTypes) [/Users/dave/Chips/
DES/bitsteam/decoder/tests/tc_intTypes.rb:40]: exception expected but
was Class: Message: <"uint4 t_uint4 has value: -1 (out of expected
range)"> ---Backtrace--- (eval):4:in `t_uint4=' /Users/dave/Chips/DES/
bitsteam/decoder/tests/tc_intTypes.rb:40:in `test_outOfRange' /Users/
dave/Chips/DES/bitsteam/decoder/tests/tc_intTypes.rb:40:in
`test_outOfRange' --------------- 2 tests, 12 assertions, 1 failures,
0 errors
- it looks like the \n are being ignored. I run the tests by using
command R in the test file.
When I run from the terminal I get:
Loaded suite tc_intTypes
Started
.F
Finished in 0.015976 seconds.
1) Failure:
test_outOfRange(TestIntTypes) [tc_intTypes.rb:40]:
<SyntaxElementError> exception expected but was
Class: <RuntimeError>
Message: <"uint4 t_uint4 has value: -1 (out of expected range)">
---Backtrace---
(eval):4:in `t_uint4='
tc_intTypes.rb:40:in `test_outOfRange'
tc_intTypes.rb:40:in `test_outOfRange'
---------------
2 tests, 12 assertions, 1 failures, 0 errors
Do I have something configured wrong?
Thanks,
Dave.