Hello all,
I've been doing some haskell programming lately, and I noticed that
the haskell TextMate bundle doesn't handle string and character
literal lexemes correctly. I've made some changes to improve this
support on my computer, but I'd love to see this in the official
repository. Can I supply a patch somehow?
Thanks,
Nick
Hi,
Textmate has starting to hang when closing the application. I don't
have to do anything special for it to happen, just open a project,
work on it and then try to close textmate.
Textmate 1.5.7 (1436)
Leopard 10.5.1
Plugins(Don't know how to check plugin version but they are the latest
from Ciarán Walsh blog)
ProjectTree
Svn
TMLabels
log attached
Thanks,
-Erik
Hello,
I have made a small edit to the Lua plist file.
Currently the Lua bundle does not recognize "local function foo ()" as
the beginning of a fold. In Lua, "function foo() end" is actually
syntactic sugar for "foo = function() end", thus functions can be made
local with "local function foo ()".
I have edited the plist file so that it recognizes "local function" as
a fold start, however because I am new to Textmate I don't know how to
match whitespace characters. The space should probably be matched with
that instead.
greetings,
Tom
Hi.
I just updated my bundles and Support folder from SVN and Blogging
bundle stops working... If i write `cat` and press tab to fetch
categories i get this error:
/tmp/temp_textmate.BuBXl2:8:in `require': /Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:400:
syntax error, unexpected tLSHFT, expecting kEND (SyntaxError)
<<<<<<< .mine
^
/Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:410:
syntax error, unexpected tEQQ, expecting kEND
=======
^
/Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:420:
syntax error, unexpected tRSHFT, expecting kEND
>>>>>>> .r8583
^ from /tmp/temp_textmate.BuBXl2:8
All i know about Ruby - its name. Ruby ;) Maybe someone can help?
Hi,
I have a Russian colleague. He is really hooked of TextMate's
possibilities. Unfortunately he is very poor in English. He asks me
whether there are plans to localize TextMate.
AFAIK TM's code isn't written in that style. Meaning there's no
'Localizable.string' etc. And I know that it would cost much effort
to rewrite the entire code in that way. But anyway it's only a
question ;)
Thanks,
--Hans
Folks,
I'll keep it short:
Anyone got a "newsreader" (desktop, NOT web app) that will put ALL
posts to a subject in one ever-appended document that I can just
scroll down to read? Something intelligent that will chop all
quoting, signatures, header blather? Again, that's: ONE (growing)
document per subject per email list. Thanks. From my subscribed
reading, I figure this lists' members prefer well-tuned tools and
someone may have a solution to share.
hello:)
I would like to use Quick Look with .tex , .sty , .cls files created
with TextMate but all the hacks found on the net or in the list
don't work.
Do you know a good way to make this ?
Best Regards
Alain
Hi,
I occasionally need to hard wrap text, meaning that carriage returns
are inserted to make the text wrap at a certain column. The Text
bundle has a command to do this; it's called "Reformat to Column".
Because of this unorthodox name, I always have trouble searching for
it because I expect the command to have the word "hard" or "wrap" in
it. Could it be changed? For example, I noticed that the "Statistics
for Document" command has "(Word Count)" in parentheses because few
people wanting to find a word count command would search for the word
"statistics". And I suspect few people wanting to find a hard wrap
command would search for the word "reformat". How about renaming the
command to "Reformat to Column (Hard Wrap)"?
Trevor
You can edit the tidy configuration in TextMate. Open the bundle editor and
find Tidy in the HTML section.
I altered mine to this:
> # BEWARE. Errors are suppressed.
> "${TM_TIDY:-tidy}" -f /dev/null -q --indent auto -utf8 -wrap 0
> --wrap-attributes 0 --break-before-br 1 --clean y --word-2000 y --tab-size
> $TM_TAB_SIZE --indent-spaces $TM_TAB_SIZE|\
> if [[ "$TM_SOFT_TABS" == "YES" ]]; then cat; else ruby -pe '
>
> unless $in_pre
> tab_size = ENV["TM_TAB_SIZE"].to_i
> space, text = /( *)(.*)/m.match($_)[1..2]
> $_ = "\t" * (space.length / tab_size).floor +
> " " * (space.length % tab_size) + text
> end
>
> $in_pre = true if(/<pre>/)
> $in_pre = false if(/<\/pre>/)
> '
> fi
>
You can play with your own preferences to make it like you like it. The
docu is:
http://tidy.sourceforge.net/docs/quickref.html
Tidy is handy, but I haven't been able to make it work exactly like I like
(HTML tidy or Perl tidy), but it's at least close.
I did check to see if your line would be broken up, and it was not.
tigercore wrote:
>
> The HTML Tidy function used to tidy the code in this format:
>
> <p>Paragraph Text here</p>
>
> but not for some reasons its doing it like this:
>
> <p>
> Some text here
> </p>
>
> And putting everything on a new line. It's also changing the doctype from
> XHTML Transitional to XHTML Strict.
>
> Anyone know why it's doing this? Is it a preference or somhing I have
> changed somewhere?
>
>
--
View this message in context: http://www.nabble.com/HTML-Tidy-Weirdness-tf4771947.html#a13907232
Sent from the textmate users mailing list archive at Nabble.com.
[I'm reposting for a third time, since I wasn't subscribed at first, then I
reposted as a subscriber, then deleted my *accepted* post. N00b. :confused:]
I created a bundle command to open a file from a repository directory, based
on the selected text. It was put in the Text bundle, with no particular
context.
Here's my current (working) command.
open "file:///path/to/repository/volume/$TM_SELECTED_TEXT.pdf"
This will open the PDF file with the selected filename. (I use open since I
want to see the PDF in Acrobat, not TextMate.)
However, now there's arbitrary (unknown) text attached to the filename, so I
want to use a wildcard in this command.
I got a suggestion to use an unquoted * as a wildcard. But if AAAA is
selected, this command:
open "file:///path/to/repository/$TM_SELECTED_TEXT"*
will open a file in Textmate named AAAA*, which is not what I want: I want
AAAA.pdf and AAAA-morestuff.pdf to open.
Any help is appreciated.
Thanks
Darryl
[I originally had this question attached as a comment to a TextMate blog
entry, where Allen Odegaard posted the * wildcard suggestion, but it didn't
work in this context.]
--
View this message in context: http://www.nabble.com/repost%3A-Command-to-open-arbitrary-files-in-TxMt-tf4…
Sent from the textmate users mailing list archive at Nabble.com.
Thanks all.
The easy answer (which I missed in the rel notes) is to use
TM_FULLNAME instead.
Works a treat!
Cheers,
John.
On 30 Nov 2007, at 12:00, Allan Odgaard (via digest) wrote:
> From the r1431 release notes:
>
> [NEW] TextMate sets TM_FULLNAME (unless you set it yourself)
> to the user’s full name, so no longer necessarily to fiddle
> with niutil and dscl to obtain it.
>
> So it should not be necessary for commands/snippets to try and
> obtain the full username themselves.
YES!
You heard it here first folks.
I just added a Select Balanced HTML/XML Tag macro to the Experimental
bundle!
I've been trying different ways of making this work since I first
started using TextMate back in, what like 2004 or something?
I've tried regex, I've tried Ruby, I've tried everything I could think
of...
But finally I've come up with something very simple.
The only real downside is that it's EXTREMELY slow. Like 1 second from
running the macro until it's done. But that's WAY faster than using
the mouse to manually select that same code, or trying to use the
keyboard to manually select it.
This is frankly the #1 biggest missing feature of TextMate that
directly impacts my life.
If this breaks anything, just remember that it's undoable. Command-Z
is your friend.
Please also report and and all problems to me with an example of the
code that it chokes on.
If you only want to DOWNLOAD this macro alone, just visit this link
and double-click the file.
http://macromates.com/svn/Bundles/trunk/Bundles/Experimental.tmbundle/Macro…
—Thomas Aylott – subtleGradient—
Hi,
I only have a tiny question and I didn't find anything in the archive.
E.g. I have that grammar snippet:
name = 'meta.tag.any.html';
begin = '(<)([a-zA-Z0-9:]+)(?=[^>]*></\2>)';
end = '(>(<)/)(\2)(>)';
beginCaptures = {
1 = { name = 'punctuation.definition.tag.html'; };
2 = { name = 'entity.name.tag.html'; };
Is it possible to name the beginCaptures 1 and 2 according to values
found in the regexp groups like for group 2
name = 'meta.tag.any.html';
begin = '(<)([a-zA-Z0-9:]+)(?=[^>]*></\2>)';
end = '(>(<)/)(\2)(>)';
beginCaptures = {
1 = { name = 'punctuation.definition.tag.html'; };
2 = { name = 'entity.name.tag.html.$2'; };
or
2 = { name = 'entity.name.tag.html.$self'; };
$2 or $self referring to the actual content of the found regexp group
2 to get:
<meta.tag.any.html>
<punctuation.definition.tag.html><</punctuation.definition.tag.html>
<entity.name.tag.html.title>title</entity.name.tag.html.title>
<punctuation.definition.tag.html>></punctuation.definition.tag.html>
Thanks,
--Hans
Since upgrading to OS X 10.5 the TM_USERNAME variable used in bundles
has been unset.
The following command is the problem:
TM_USERNAME=`niutil -readprop / /users/\$USER realname`
Seems that the niutil command has been dropped from 10.5 onwards and
replaced by the dscl command.
The following gets the current users real name but prepends it with
the property key:
dscl . -read /Users/$USER RealName
returns:
RealName:
John Hunter
I'm not sure how you get the value without the key.
Has anyone got a solution to this? It affects most of the templates.
Apologies if its been covered before.
Thanks
--John
With the imminent release of Rails 2.0, I've started working on a
project in earnest on edge rails.
I'm finding some things to be broken in the Ruby on Rails bundle due
to the Rails changes. For example.
* generating a migration from textmate doesn't seem to work, it
prompts for the name, and runs but nothing is generated.
* the mcol snippet(s) get confused by the use of 'sexy' migrations
in schema.rb
* Partial extraction isn't savvy to the changes in file naming
(e.g. x.rhtml is now x.html.erb)
So what are the plans for tracking the rails changes in the bundle?
And is there any hope that the bundle can deal with multiple rails
versions? I'm sure I'm not the only one who needs to work with
different rails versions on different projects.
How are others dealing with this?
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
What is the correct policy for making change to a Bundle in the code
repositories?
I want to improve the "Bold" command in the "Dokuwiki" bundle.
Currently the command is:
**${TM_SELECTED_TEXT:text}**
Which works, but is rather simplistic. I happen to also use the
"MultiMarkdown" bundle which is intelligent, if you hit the key combo
(Command-B) while selecting already bolded text, it will un-bold it.
if you hit the key combo while no text is selected, then it places
the cursor within the bold typing area, etc.
Since "Dokuwiki" and "MultiMarkdown" use the same syntax for bolding
(surround text with double '*'), that would mean I would just need to
copy the command code from "MultiMarkdown" over to replace the
Dokuwiki bundle's version.
I don't want to step on the toes of either Bundle creator (copyright,
etc).
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
Hello:)
I'm with Leopard 10.5.1 and TextMate 1.5.7 (1436).
I created a latex project : i dropped some files .sty and a folder
with subfolders in the project drawer.
my project :
file_a.sty
file_b.sty
mainfolder
file_c.tex
file_d.tex
subfolder
file_e.tex
file_f.tex
I can't remove the references to subfolders and I can't remove the
references
to a single file inside a subfolder like file_e.tex
I can't delete the reference of a file in the main folder like
file_c.tex
I can only delete the reference to the main folder
In conclusion, I can remove only the references to file_a.sty and
to mainfolder :(
When I say : I can't delete, I need to say that's when I close TM
and when I re-open , the files are always in the project drawer .
I try to save the project but the result is the same but move to trash
works well :)
Perhaps i take a wrong way to create my project
An idea ???
Regards Alain
Hi,
I use Textmate 1.5.5 on my MacBook Pro (2,33 MHZ, OS X 10.4.9) t
mamage my rails project with about 500 files in the project.
Every time I switch from the active TM to another application and then
back again, TM spins the wheel for about 5 secs. May be it is checking
files or something else.
I only installed the TmCodeBrowser additionally, nothing else.
Is there a way to make TM instantly responsive after activating it?
thanks,
Alex.
I have raised to the grade of a neophyte bundle author recently and
released my own perfect TextMate GTD bundle. It's conceptually based
on Henrik's Tasks bundle, but implemented differently to allow for
some additional features. You can find some links at beneath if you're
interested.
Now I'm interested in getting this into the official TextMate
repository. I'm quite sure that my bundle doesn't adhere to any
required style- or naming conventions and I'm keen to tackle that next.
Can you point me to some kind of guideline or other document here? I
haven't been able to find anything about the process of getting a
bundle approved and published.
Also, I'd greatly appreciate feedback, suggestions, criticism ...
regarding the bundle. I'm using it myself, but I'd love to learn what
others think about it.
Thanks a lot!
[1] about my initial motivation:
http://www.artweb-design.de/2007/11/20/taskmate-the-perfect-gtd-tool-to-be-…
[2] release announcement:
http://www.artweb-design.de/2007/11/24/taskmate-the-missing-gtd-tool-for-yo…
[3] download, install & usage notes:
http://www.artweb-design.de/projects/taskmate
[4] Henriks Tasks bundle:
http://henrik.nyh.se/2007/08/tasks-bundle
--
sven fuchs svenfuchs(a)artweb-design.de
artweb design http://www.artweb-design.de
grünberger 65 + 49 (0) 30 - 47 98 69 96 (phone)
d-10245 berlin + 49 (0) 171 - 35 20 38 4 (mobile)
Hi,
I'm having a difficulty with a keychain item (Internet password)
created by a Blogging bundle.
The Blogging bundle works fine (I can retrieve posts and upload a
post). But when I launch Keychain Access, selecting the keychain item
created by the Blogging bundle causes the Keychain Access to crash.
I selected all password items in the Keychain Access one at a time and
determined that the item created by the Blogging bundle always causes
Keychain Access to crash. Running Keychain First Aid also did not help
(it runs but does not report any problems with keychain).
I'm using TextMate 1.5.7 (1436) on Mac OS X 10.5.1 on a MacBook Pro. I
did not upgrade from Mac OS X 10.4 so I cannot confirm whether I
observed the same issue in Mac OS X 10.4.x or not (sorry).
Can anyone help on this issue? Does anyone have similar issues with
Blogging bundle?
Thank you for your help.
--
Takashi Yoshida
tyoshida [at] mac [dot] com
I think this happens sometimes, but not all the time ...
When using the diff bundle, I know there are some minor differences
between two files, but diff will mark the entire documents as the
difference, even though maybe 90%+ of the lines are the same.
FileMerge does the same thing.
However, if I copy one entire file to the clipboard and compare, diff
will correctly define only the different lines as the differences.
Is there a preference I need to set or a format change I need to make?
Thanks.
--
Dwayne
Hello,
Is there a way to control which documentstyle, etc. is used when
generating latex from a multimarkdown document? The default settings
aren't what I need but I'm not sure where to start tinkering.
Thank you.
jeff.
> De: Michael Sheets <bundles(a)textmate.org>
> Fecha: 27 de noviembre de 2007 08:56:50 GMT+01:00
> Para: TextMate users <textmate(a)lists.macromates.com>, Hans-Joerg
> Bibiko <bibiko(a)eva.mpg.de>
> Asunto: Re: [TxMt] Bug en Dup-line
> Responder a: TextMate users <textmate(a)lists.macromates.com>
>
>
> On Nov 26, 2007, at 11:04 AM, Hans-Joerg Bibiko wrote:
>
>> ;P I don't see the forrest for trees.
>>
>> OK hopefully the last one ;)
>>
>> <Duplicate Line : Selection (Tiger:Leopard).tmCommand>
>
> Looks good to me, passed all the tests I threw at it. :)
>
> Committed, thanks!
Thanks, it also did to me.
- Juan Falgueras
The other day I did an SVN commit from textmate.
In the commit message window I pasted in some text I'd copied from a
message from a client from BaseCamp.
When I tried to commit, it failed complaining about mixed line endings
(paraphrasing from memory).
It seems to me that this is something that the subversion bundle could sanitize.
I tried to figure out how to patch this, but I think that this is all
handled within the internal CommitWindow.app which I can't (or don't
know how to) look at.
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
Hi!
Recently i was pointed that i can use a "slug" keyword to tell
blogging bundle to set post slug. And it was fine with one minor
problem - Fetch Post command doesn't fetch that slug... It even
fetches tags (keywords) for WordPress 2.3 but no slug. So I decide to
try to tune blogging bundle for myself. And it was not very hard. Here
is a result (blogging.rb file, line 405 aprox.):
doc += "Title: #{self.post['title']}\n"
#added: this line will populate slug back to post
doc += "Slug: #{self.post['wp_slug']}\n" if self.post['wp_slug']
doc += "Keywords: #{self.post['mt_keywords']}\n" if self.post['mt_keywords']
I tested it only with Wordpress 2.3 (i use it) so try it with care ;)
P.S.
Why I need it? I often use post headers like "Вообще-то, я ждал
Франции..." (russian) and then set a slug like "waiting-for-france".
And sometimes i edit my post and forget to write slug again. And post
slug become something like this:
"%d0%b2%d0%be%d0%be%d0%b1%d1%89%d0%b5-%d1%82%d0%be-%d1%8f-%d0%b6%d0%b4%d0%b0%d0%bb-%d1%84%d1%80%d0%b0%d0%bd%d1%86%d0%b8%d0%b8".
Plus from this point i can't send link to my friends (that didn't so
happy to own Mac) becouse Safari shows it like
"http://nilcolor.prosound.fm/2007/11/21/вообще-то-я-ждал-франции/" -
yep, with pure russian chars in address bar :)
P.P.S
Hope this change or better one will be implemented asap in svn copy of
blogging bundle.
I think I've find a bug in the duplicate line TM proc:
If you are in _the middle of_ a line with accented chars, dup-line
(⌃⇧D) do an strange thing sending the char besides the cursor to
the dupped line:
cout << "Estadística|" << endl; (| indicates the cursor) and
press ⌃⇧D
makes
cout << "Estadística << endl;
cout << "Estadística"" << endl;
I don't know if this bug is already booked, my apologizes if so do.
.juan falgueras
On 26 Nov 2007, at 9:32 AM, Allan Odgaard wrote:
> I myself rely heavily on the Edit in TextMate input manager and a
> bunch of snippets/commands bound to the text.mail scope.
I had thought that Edit in TextMate had died with the coming of
Leopard. Certainly it is gone from my menus, and deleting and
reinstalling the link has no effect.
Is this not the case? If it isn't, how might I get the feature back?
— F
Hello everyone,
All of the discussion on this list about LaTeX made me curious. I've
installed LaTeX on my MacBook and everything is moving along nicely
(so far the Multimate->LaTeX seems like the best thing since sliced
pickles!). However, I've run into a problem (and I'm pretty sure
it's not a textmate problem, which is why I labelled this e-mail OT).
I've downloaded the apa.cls from http://www.ilsp.gr/homepages/
protopapas/apacls.html but I cannot figure out which folder I should
place it into for it to work properly. Can anyone help?
Thank you in advance.
--
j.
I was wondering if there's a way to turn off this feature or at least to
delay it.
Currently when a file is in scope, its file name is selected in the Project
Drawer and file listing scrolls to make the file name visible. This is
usually a good feature.
On occasion though this is more disruptive than helpful. It would be nice if
there was a way to keep the current view of the file list in the Project
Drawer stay in place and not jump back and forth right away when we open or
close files. I often scroll away from the current file location to open
files in another area but when I close the file, the view will jump back to
the and then I have to scroll again to section I'm interested in.
What I think would be nice is if there can be a short delay in auto
selecting the file name in the list once a file is closed. The way we can
still select from the view that's currently available but after a few
seconds it can jump to the file that is currently being edited.
Cheers,
Ed Wong
For better Erlang integration I want to run some stuff in the background, see:
http://www.rsaccon.com/2007/11/faster-interaction-between-erlang-and.html
Based on my still very basic understanding of TetxMate, the best way
to achieve this, I think is to to write a plugin.
Does there exist any tutorial or recommendation on how to get started
? Or do I just have to read the source code of the exsting plugins ?
I am familiar with C in general, but unfortunately no experience yet
with Objective-C.
regards
--
Roberto Saccon
http://rsaccon.com
I know there are a few of masters of the art of creating magical code
on the TextMate list. I'm wondering if TextMate, with a little,
perhaps a lot, of clever programming might be the solution to a very
common small business problem.
Many small business owners are searching for a simple way to create
and send customized boilerplate email to individuals and occasionally
to Address Book groups. Before you get the wrong idea, I'm *not*
referring to the usual 'bulk' email program, that market is already
well served.
I know small business owners would be delighted to discover a
straightforward, highly automated way to welcome new customers and
periodically communicate with them by email.
Marketcircle's Daylite, an OpenBase SQL CRM, is the best solution I've
been able to find. Objective-Decision's Contactizer Pro, Christian
Fries' Serial Mail and MacTank's Mail Template also attempt to address
this need. Bulk mail programs aren't likely to be the answer.
Overview:
- family businesses are usually frugal
- paraphrasing Occam/Ockham "All other things being equal, the
simplest solution is the best."
- leverage Apple's Address Book
- leverage Apple's Mail
- use TextMate to create email merge templates (provide an easy way to
add Address Book fields to the merge template. Joe Pagliaro does this
nicely with drop-down Address Book field selection in his program
Mailings.)
- merge data from Address Book into the TextMate merge template and
transfer the merged text to Apple Mail for editing and sending
Potential workflow:
1. Select an existing Address Book client record (Spotlight)
2. Select a merge template (right click)
3. Magic happens, an email appears in Apple's Mail, ready to send.
I'm not a coder, so, it's a given that my idea may be ridiculous. It's
possible Christian Fries was on the right track with Serial Mail.
http://www.christian-fries.de/osx/SerialMail/index.html
Cheers,
Frank
I suspect this is more like a feature request than anything else, but
does anyone have a hack/workout/methodology for color labels in the
project drawer - I know that open or unsaved files have a slightly
different toned icon - than saved file icons - is there any way /
plans to enhance this further?
I know that I for one would LOVE this feature..
regards
-s.i
I never noticed this issue before, but if I have a php file with html
in it like so:
<html>
<head></head>
<body>
<div>
<?
echo "hello world";
?>
</div>
<body>
</html>
I get code colorization to the first div tag the closing div, body
and html tags go uncolorized - is this just me? I'm thinking this is
a new issue, because I've never noticed it before?
-saul
To commands that I think would be awesome (since the last time I made
a request my project drawer got all colorful :0)
has anyone attempted to match the functionality of markupmaker
(http://www.accessify.com/tools-and-wizards/developer-tools/markup-
maker/)
as a textmate command? -- my head would explode if somebody had that
handy (seriously EXPLODE!)
- saul
I've just attempted to add folding for POD to TM's Perl language
definition - forgetting that I've already tried it previously. POD
looks like this:
=head1 A heading
=head2 A sub heading
=cut
The =cut always ends the POD. So my patterns look like ^=(?!cut) and
^=cut\s*$ respectively. That doesn't work because the folding
mechanism expects a recursive syntax - each opening 'thing' requires
its own closing 'thing'.
So I was thinking about how the problem could be solved and it
occurred to me that it'd be interesting to have an extension to
regular expression syntax that allowed an assertion to be made about
the matching scope.
Assuming the assertion was called ?^ you could match the text 'foo'
only in storage.type.sub.perl or entity.name.function.perl with
something like this:
(?^storage.type.sub.perl|entity.name.function.perl:foo)
Generally (?^ <scope re> : <re> ) would allow <re> to match only if
the current scope name matched <scope re>.
To solve my folding problem the code that scans for folds would have
to be scope aware - which may not be feasible architecturally.
And I realise that extending RE semantics to grok rich text is a bit
of a big undertaking - but I thought it was a cute idea :)
--
Andy Armstrong, Hexten
The Completion command shortcut ⎋ (the most important command to me)
was gone. Then I discovered that I can assign a new Menu command via
System Preferences. I assigned ⌘⎋ ant it becomes to work again!
- Juan Falgueras
hi :)
i've written some classes in php and would like to document my methods
so i'm typing in doc_fp, hit tab and voila:
/**
* undocumented function
*
* @return void
* @author /bin/bash: niutil: command not found
**/
8-)
i can't remember seeing this before i switched to leopard ( format +
install ) but what is that command? netinfo-something?
regards,
oktay.
Hi,
I encountered a tiny bug in the Ruby code for: "Insert Close Tag"
If one has he following HTML code:
<HTML><HEAD><TITLE>foo</TITLE></HEAD><BODY>
<HR>
and press OPT+APPLE+. it will insert </HR> not </BODY>.
The reason is here:
# remove all self-closing tags
if ENV.has_key?('TM_HTML_EMPTY_TAGS') then
empty_tags = ENV['TM_HTML_EMPTY_TAGS']
before.gsub!(/<(#{empty_tags})\b[^>]*>/, '')
end
The regexp is not case insensitive! TM_HTML_EMPTY_TAGS are written in
lower case only.
Ergo:
# remove all self-closing tags
if ENV.has_key?('TM_HTML_EMPTY_TAGS') then
empty_tags = ENV['TM_HTML_EMPTY_TAGS']
before.gsub!(/<(#{empty_tags})\b[^>]*>/i, '')
end
Cheers,
--Hans
lo there all,
i am brand new to textmate. I love it !
My only issue is that when i am editing a project on a remote
computer, i get a lot of spinning beach ball action while something is
going on. From what i have found on google, it is checking to see if
any files have changed.
Now, i saw mention of a remote project plugin, but i could not find a
way to download it.
Has someone found a good solution for this ? I am working on a ruby on
rails project on a remote server.
thanks all, and great editor / IDE you have here..
shawn
Hi,
Heureka!
I found a way to select something - calculated on run-time - by using
a normal macro (plus command) without TMTOOLS!!
The problem was if I have a script which outputs a text chunk or a
regexp how can we select that text/regexp in a TM window?
The approach is actually very simple. I copy the text/regexp into the
shared find pasteboard; place the caret to a proper location; and
execute 'findNext'. Thus I wrote a tiny C program which copies a
string into the shared find pasteboard. OK, then I wanted to write a
man page for that command on basis of the normal pbcopy man page, and
I figured out that pbcopy is already able to do this ;)
Fine. The only problem was that if I write a tmcommand à la:
echo -en "FINDTEXT" | pbcopy -pboard find
it doesn't work because "pbcopy -pboard find" is called from inside
of TM. If I execute that in a Terminal, switch back to TM it works.
The solution: I have to execute this in a new bash environment.
The basic tmcommand (example name "SELECTTEXT"):
RESULT=$(A SCRIPT WHICH RETURNS A TEXT OR REGEXP)
export RESULT
/bin/bash -c 'echo -en "$RESULT" | pbcopy -pboard find'
#place the caret to a proper location to be able to execute 'findNext'!
open "txmt://open/?line=$LINE&column=$COLUMN"
After executing that command the string $RESULT is in the shared find
pasteboard, and the caret is set.
Next step > the macro:
Before we can execute 'findNext' (= APPLE+G) we have to set the
parameters of the find panel, meaning whether we want to do a regexp
search or not; ignore case or not.
Thus record a macro à la:
1) open find panel, set the desired parameters, and do a dummy search
for something which is NOT in the document -e.g. look for \xFFF3; and
close it
2) execute the command "SELECTTEXT"
3) APPLE+G
That's it. The nice side-effect is that the macro changes nothing
within TM's find panel ;)
And the macro does not affect the undo buffer, it does not change the
text etc., and the selection is done instantly.
But attention:
The only tricky point : Be aware of correct escaping!!
On that basis I wrote the "Select XML/HTML balanced tags" script
which will come as soon as possible. I only have to fix some tiny
things.
Comments?
Regards,
--Hans
El 21/11/2007, a las 13:00, Robin Houston escribió:
> Shouldn't the search string be ¥([^¥]*)¥ instead of what you have?
> Yours is just looking for a single character between the Yen signs. I
> tried my regular expression, and it seems to work even when there are
> backslashes.
of course :]. Thanks Robin.
-Juan Falgueras
I created a bundle command to open a file from a repository directory, based
on the selected text. It was put in the Text bundle, with no particular
context.
Here's my current (working) command.
open "file:///path/to/repository/volume/$TM_SELECTED_TEXT.pdf"
This will open the PDF file with the selected filename. (I use open since I
want to see the PDF in Acrobat, not TextMate.)
However, now there's arbitrary (unknown) text attached to the filename, so I
want to use a wildcard in this command.
I got a suggestion to use an unquoted * as a wildcard. But if AAAA is
selected, this command:
open "file:///path/to/repository/$TM_SELECTED_TEXT"*
will open a file in Textmate named AAAA*, which is not what I want: I want
AAAA.pdf and AAAA-morestuff.pdf to open.
Any help is appreciated.
Thanks
Darryl
[I originally had this question attached as a comment to a TextMate blog
entry, where Allen Odegaard posted the * wildcard suggestion, but it didn't
work in this context.]
--
View this message in context: http://www.nabble.com/A-TextMate-command-to-open-an-arbitrary-PDF-file-tf48…
Sent from the textmate users mailing list archive at Nabble.com.
What is TextMate's equivalent to BBEdit's 'Add Line Breaks'
Example:
- TextMate Soft Wrap set to 66 characters
- How do I Hard Wrap my document at 66 columns?
Reformat Paragraph works, if I just want to reformat a few paragraphs,
but I'm hoping there is a TextMate command that can be applied to the
entire document and that won't reformat lines separated by a single
return.
Hi.
GTDAlt has acquired an odd behaviour. I don't know why - it may be
related to an install of the Safari 3 beta. Regardless, I haven't been
able to debug, and would really appreciate any help.
I choose 'Current Actions' and get my big list. I click 'none' for
contexts, to clear the board and ready to select only one or two
contexts. The checkboxes for the contexts ripple off, and the actions
disappear -- until we get half-way down, when the actions don't move.
Toggling the context checkboxes does nothing. I'm stuck with about half
my actions permanently visible.
Has anyone else experienced this behaviour? Even better, can anyone
help? Like the previous poster, I've grown very attached to GTDAlt, and
this is the core piece of functionality.
Bruno
I don't understand why Find (regexp) doesn't find the text when
using backslashes (it seems)
it works when no \ are in the searched text.
- Juan Falgueras
Allan?
Begin forwarded message:
> From: Apple Developer Bug Reporting <devbugs(a)apple.com>
> Date: November 15, 2007 12:41:40 PM PST
> To: steve(a)geeksrus.com
> Subject: Attention: Bug ID 5551893: Spaces needs hints for windows
>
> Hi Steve,
>
> This is a courtesy email regarding Bug ID# 5551893.
>
> <GMT15-Nov-2007 20:37:26GMT> Vanaja Pasumarthi:
> Engineering has provided the following feedback regarding this issue:
>
> There is an SPI hint that TextMate can use.
>
> NSWindowCollectionBehaviorMoveToActiveSpace
>
> Bug reports requiring your update will appear under ‘My Originated
> Problems’. Please review this bug report and provide the requested
> information via the Apple Bug Reporter. Once your report has been
> updated, Engineering will be alerted of the new information.
>
> <http://bugreport.apple.com>
>
> Thank you for your assistance in helping us discover and isolate
> bugs within our products.
>
> Best Regards,
>
> Vanaja Pasumarthi
> Apple Developer Connection
> Worldwide Developer Relations
> **************************************************************************
> THE INFORMATION CONTAINED IN THIS MESSAGE IS UNDER NON-DISCLOSURE
> **************************************************************************
> -------------------------------------------------------
> Bug ID #: 5551893
> Bug Title: Spaces needs hints for windows
> -------------------------------------------------------
> <GMT21-Oct-2007 18:17:34GMT> Steve Riggins:
> Summary:
> TextMate's find dialog opens on wrong space (and btw can you fix
> radar, this is twice now it has failed to submit a bug report and
> lost my work. Clipboard ftw).
>
> Steps to Reproduce:
> * Go to Space 1
> * Launch TextMate
> * Switch to space 3
> * Command-Space to open LaunchBar (or command-control-space if using
> default)
> * Open demo file
> * Command-F
>
> Expected Results:
> expected find dialog to open on current space
>
> Actual Results:
> Space switched to space 1 and then dialog opened.
>
> Notes:
> This seems to be due to TextMate hiding/showing the Find dialog in
> order to keep all of it's state (size of text fields, etc) There
> should be a API hint or NIB hint to tell spaces to show this window
> on the current space, vs. last space it was on.
>
>
>
Dear list members,
just want to introduce my approach to circumvent the sometimes
missing build-in FTP/SSH functionality of TextMate. I created a
bundle which provides commands to download and upload single files or
files inside of TextMate projects from and to remote hosts.
Read on if you are interested:
http://fuerstnet.de/ftp-ssh-bundle-textmate
I would be glad to get your feedback!
Regards,
Bernhard
HI,
i'm running into a little problem with leopard.
The last update finds my "time machine" backups and tries to move /
update that one.
11/18/07 10:36:08 PM [0x0-0x2dd2dd].com.macromates.textmate[5399] mv:
rename /Volumes/TimeMachine/Backups.backupdb/username/
2007-08-30-201019/Macintosh HD/Applications/TextMate.app to /Volumes/
TimeMachine/Backups.backupdb/username/2007-08-30-201019/Macintosh HD/
Applications/TextMate.old.app: Operation not permitted
Luckily it fails .. but is it an apple issue or is it textmate ?
Regards J.
I'm trying to build a complicated macro to add a footnote to text selected in
a document. There are two values that I need to maintain while the macro
runs, so that those values can be inserted into the proper places within the
links that the macro creates. The values are CURRENT_FN_NUMBER, a unique id
I create with the shell date command; and CURRENT_FN_TITLE, which is the
value of $TM_SELECTED_TEXT when the macro launches.
I'd like to us those values to insert code into the document, e.g.
At the beginning of the current paragraph:
Replace selected text with: #fn{$CURRENT_FN_NUMBER} $CURRENT_FN_TITLE
At bottom of document, just before "<!--<next footnote -->":
#{CURRENT_FN_NUMBER} $CURRENT_FN_TITLE
There's more to it than that, but you get the idea. The macro does a lot of
jumping around within the document, setting and removing bookmarks as it
goes.
I've set CURRENT_FN_NUMBER and CURRENT_FN_TITLE as project environmental
variables, but I can't figure out how to set values for those variables when
the macro executes.
I'm (obviously) new at this game; I'd appreciate help.
Thanks.
Richard
--
View this message in context: http://www.nabble.com/Set-temporary-variables-within-macro-tf4837937.html#a…
Sent from the textmate users mailing list archive at Nabble.com.
I'm trying to build a complicated macro to add a footnote to text selected in
a document. There are two values that I need to maintain while the macro
runs, so that those values can be inserted into the proper places within the
links that the macro creates. The values are CURRENT_FN_NUMBER, a unique id
I create with the shell date command; and CURRENT_FN_TITLE, which is the
value of $TM_SELECTED_TEXT when the macro launches.
I'd like to us those values to insert code into the document, e.g.
* At the beginning of the current paragraph: <a
name="{$CURRENT_FN_NUMBER}"></a>
* Replace selected text with: <a
href="#fn{$CURRENT_FN_NUMBER}">$CURRENT_FN_TITLE</a>
* At bottom of document, just before "<!--<next footnote -->": <a
name="fn{$CURRENT_FN_NUMBER}"
href="#{$CURRENT_FN_NUMBER}">$CURRENT_FN_TITLE</a>
There's more to it than that (setting div and span tags, adding class
attributes, etc.), but you get the idea. The macro does a lot of jumping
around within the document, setting and removing bookmarks as it goes.
I've created CURRENT_FN_NUMBER and CURRENT_FN_TITLE as project environmental
variables, but I can't figure out how to set values for those variables when
the macro executes.
I'm (obviously) new at this game; I'd appreciate help.
Thanks.
Richard
--
View this message in context: http://www.nabble.com/Set-temporary-variables-within-macro-tf4838075.html#a…
Sent from the textmate users mailing list archive at Nabble.com.
I updated to the latest bundle, and I noticed that the texMate.py
script has problems if included files aren't in the same directory as
the main file. Here is my quick and dirty patch, which should be
factored out into a separate function before it gets committed.
I can do this in a few weeks if there's interest.
^L
Index: texMate.py
===================================================================
--- texMate.py (revision 8473)
+++ texMate.py (working copy)
@@ -1,6 +1,8 @@
#!/usr/bin/env python
# encoding: utf-8
+# Fixes by Louis Theran to respect TEXINPUTS
+
# This is a rewrite of latexErrWarn.py
# Goals:
# 1. Modularize the processing of a latex run to better capture
and parse errors
@@ -191,11 +193,14 @@
"""Find all packages included by the master file.
or any file included from the master. We should not have to go
more than one level deep for preamble stuff.
+
+ FIXUP --- Use kpsewhich to find files
"""
try:
- texString = open(fileName).read()
+ realfn = os.popen('kpsewhich -progname=%s %s' % ('pdflatex',
fileName)).read().strip()
+ texString = open(realfn).read()
except:
- print '<p class="error">Error: Could not open %s to check for
packages</p>' % fileName
+ print '<p class="error">Error: Could not open %s to check for
packages</p>' % realfn
print '<p class="error">This is most likely a problem with
TM_LATEX_MASTER</p>'
sys.exit(1)
incFiles = [x[3] for x in re.findall(r'((^|\n)[^%]*?)(\\input|\
\include)\{([\w /\.\-]+)\}',texString)]
@@ -204,7 +209,8 @@
if ifile.find('.tex') < 0:
ifile += '.tex'
try:
- myList += [x[3] for x in re.findall(r'((^|\n)[^%]*?)\
\usepackage(\[[\w, \-]+\])?\{([\w,\-]+)\}',open(ifile).read()) ]
+ realif = os.popen('kpsewhich -progname=%s %s' %
('pdflatex', fileName)).read().strip()
+ myList += [x[3] for x in re.findall(r'((^|\n)[^%]*?)\
\usepackage(\[[\w, \-]+\])?\{([\w,\-]+)\}',open(realif).read()) ]
except:
print '<p class="warning">Warning: Could not open %s to
check for packages</p>' % ifile
newList = []
Hello all,
I use TextMate to create PDFs with LaTeX. I've configured TextMate to
use pdflatex as the compile engine (TM_LATEX_COMPILER=pdflatex and the
default engine in the LaTeX preferences is pdflatex too). That works
fine.
Today I had to use for some reason the package epsfig and TextMate ran
everytime latex instead of pdflatex. Finally I forced the use of
pdflatex with the "%!TEX TS-program = pdflatex" directive in the tex
file.
Is there an explanation for that behaviour and maybe a solution for
that? (I found 3 postings here which are somehow related to that
problem, but because I'm not an expert, I didn't get the clue, which
might be in there.)
Thanks for your attention
Juergen
--
Juergen Arndt
So I'm working on writing up my (mathematical logic) thesis and I've
been using textmate to do it. Unfortunately I've ran into some
serious usability issues with the latex bundle in textmate and
unsurprisingly have been wasting time trying to fix them. I figured
I would post the issues to this list along with some of the hacks
that seem to help for me and see if people who know more about the
textmate stuff can help make this bundle more useable for intense
mathematics.
First of all I'm attaching a simple patch for PyTeXdoc.py so it
queries kpsewhich to look for included/inputed files if it fails to
find them. Since I keep some general purpose includes in my tex
directory this makes a difference.
Note that this is patched from the tree updated earlier today.
Now for some harder issues that I can only gesture at solving.
Useability Issues:
1) Typing commands inside $$ causes wacky highlighting flip-flops.
Often I will be editing an existing tex file and need to add
something like $\Gamma_{\alpha+1}(\sigma)\concat\tau$. This causes
issues since you have to pass through $$ $\$, $\Gamma_{\}$ and $
\Gamma_{\alpha+1}(\sigma)\concat\$ on the way each of which flips the
syntax highlighting for the ENTIRE rest of the document. Not only is
this annoying it causes unacceptable slowdowns as the rest of the doc
is rehighlighted.
My personal collection of hacks to deal with this problem is as
follows (some of these are old so i apologize if it was fixed in the
bundle and I missed it):
a) Elimate the $$ $$ notation for display math. It is considered
bad form to use the old $$ $$ approach rather than the new \[ \]
notation. I realize doing something like this would be controversial
in the default language grammar but I'd rather have the right way of
doing things be useable rather than correctly hightlighting the wrong
way. But maybe there is another way to deal with the issue.
b) Require $ to be escaped as {\$}. Once again not a good general
solution but for me this works since I rarely use a real dolsign.
Perhaps a better trick would be to require this weird special
escaping only when in math mode. Once again I'm puzzled about how to
do this correctly but as it stands it causes serious problems.
c) I used to have problems with $\Gamma_{\}$ letting the braces spill
over but it is either fixed now I or I changed something locally I
don't remember.
2) Typing { when the caret is before a slash causes smart typing
pairs to insert {\} instead of {} because it thinks we are trying to
escape the {. This can be fixed by changing the match for
constant.character.escape.tex to start with a positive backref of (?<=
\\) instead of just (\\). It seems weird to me that having a caret
in front of the string causes it to be grabbed but go figure.
3) Often I need to insert math inside an already written paragraph.
So I start with a line like
If $x$ is a blah then blah2
and need to fix it to
If $x$ is a blah and $math stuff$ then blah2
which one naturally does by simply putting the caret in front of the
t in then and starting to type. Unfortunately the smart typing pairs
for $ fail to activate when you are in front of a character. I have
no idea why this is (seems to work for {) but the best fix I could
come up with was a hack to define meta.in-front-of-char.latex and
create a snippet for this situation assigning it to $. If I knew how
to insert true smart typing pairs from a snippet (or command) a
general purpose solution that works could be found.
On the other hand probably anyone who knows textmate well enough will
see how to do this in an elegant fashion.
4) SPEED
This is a big one. Frequently I will type a long paragraph filled
with many many math commands and my powerbook G4 1Ghz will slow
enough to make typing difficult if I am inserting anything inside the
paragraph. If I actually hard wrap the lines this stops happening
but since textmate doesn't support hard wrapping well this isn't
really an option.
I noticed in the language definition there are many syntax elements
(like meta.function.embedded.java.latex) whose matches begin with
something like: (?:\s*)((\\)begin) ..... I can't figure out what
sense this makes at all. Why match the spaces if they can just
happen anywhere in the line? Maybe I am just missing something
obvious and I'm deluding myself but when I changed these all to (?:^
\s*)((\\)begin) .... everything seemed to keep working and things
seemed to speed up considerably. Then again maybe it was an
unrelated bundle update.
Still before I keep screwing with this I figured I would toss this
out there and see if it was a well known problem.
------------------
Sorry to describe the changes I made rather than giving a bunch of
patches but the normal bundle development model just won't work for
me. I change a bunch of stuff for my personal use (like some of the
hacks above) so I need to keep the ~/Library/Application Support/
Textmate directory for my own personal modifications. If someone
could tell me an easy way to produce a diff of the changes I've made
here with the actual bundle maybe I could be more helpful.
Anyway thanks to the author(s) of the latex bundle for all the work
they've put in so far. Hopefully this was helpful an not just
useless bitching.
Peter
When was creating a new file from template I got a dialog where I
could set the filename.
Then strange things happened ... and now I just get automatically
created a new file called untitled each time I want to create a new
file.
How can I enforce the dialog ?
(changing [Preferences >> General >> Untitled Documents] doesn't seem
to affect this.)
regards
--
Roberto Saccon
http://rsaccon.com
I just wrote my first TextMate custom command, for compiling erlang
source code and showing hyperlinked errors (if there are any) in a
HTML popup.
More information, download and screencast at:
http://www.rsaccon.com/2007/11/easy-erlang-compiling-with-textmate.html
As scripting language for the command I am using Erlang escript.
regards
--
Roberto Saccon
http://rsaccon.com
I am having trouble using the subversion bundle in textmate after my
upgrade to leopard. I did a clean install of leopard and TM, and
haven't added any bundles, just using the default configuration.
Here are the troubles I am seeing, is anyone else having this issue /
know how to fix it?
when I try to commit a file i get this error:
ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory
Permission denied (publickey,password,keyboard-interactive).
svn: Commit failed (details follow):
svn: Connection closed unexpectedly
I have seen some stuff on ssh-askpass, but it looked like this was
supposed to pop up a window for me to type my password in? that didn't
happen...
when i try to "blame":
NoMethodError
reason: undefined method `+' for nil:NilClass
trace:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/format_blame.rb:49
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/format_blame.rb:43:in `each_line'
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/format_blame.rb:43
when i try to "log":
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/rexml/source.rb:226:in `pos': Illegal seek (Errno::ESPIPE) from /
System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/
rexml/source.rb:226:in `current_line' from /System/Library/Frameworks/
Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parseexception.rb:
44:in `line' from /System/Library/Frameworks/Ruby.framework/Versions/
1.8/usr/lib/ruby/1.8/rexml/parseexception.rb:28:in `to_s' from /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/escape.rb:
30:in `htmlize' from /Applications/TextMate.app/Contents/SharedSupport/
Bundles/Subversion.tmbundle/Support/svn_helper.rb:90:in
`handle_default_exceptions' from /Applications/TextMate.app/Contents/
SharedSupport/Bundles/Subversion.tmbundle/Support/format_log_xml.rb:171
REXML::ParseException
There are some things that work, like "status", "info", but it's
pretty much unusable if I can't get it to commit... Anyone have any
ideas?
-Josh
I have a very simple command
names=( $TM_SELECTED_TEXT )
for name in ${names[@]}
do
touch $TM_DIRECTORY/$name.php
done
basically you select a list of text
about
policies
hours
contact_us
and it generates a php page for each item in the current directory -
it does that well enough, what would be truly excellent (and I think
this is easy) is to gather all those pages into a scratch project - I
actually have a laundry list of things I'd like it to do (all likely
pretty easy IMHO) but I really don't want to seem greedy - I
appreciate the effort everyone on this list puts out on a daily basis..
saul - visualchutzpah.com
hi there
I am a TextMate user in a primarily Vim development shop writing php
and html. Vim does this thing where it adds a new line to the end of
any files it saves. Here is an example, foo.txt was made with Vim,
foo2.txt was made the TextMate.
Desktop jachin$ vi foo.txt
Desktop jachin$ mate foo2.txt
Desktop jachin$ hexdump foo.txt
0000000 66 6f 6f 0a
0000004
Desktop jachin$ hexdump foo2.txt
0000000 66 6f 6f
0000003
Where this cases a problem is with subversion. We are starting to see
a lot of svn diffs with:
No newline at end of file
Files are showing up as modified that, for all practical purposes, are not.
One solution would be to just have all the Vim developers to :set
noeol, but Vim is the standard text editor here and all other text
editors must conform.
I was hoping TextMate would have a preference setting under "Text
Editing" or "Advanced"->"Saving".
Also one more wrinkle, sometimes, even the "Vimers", do not want that
final line break (in the case of some html files), so a perfect
solution would allow us to set this behavior on a file type basis.
Is there a way to hook into the save command through a bundle?
Are there any other ideas any one has for a solution?
Thanks
-jachin
Hello all,
I use TextMate to create PDFs with LaTeX. I've configured TextMate to
use pdflatex as the compile engine (TM_LATEX_COMPILER=pdflatex and the
default engine in the LaTeX preferences is pdflatex too). That works
fine.
Today I had to use for some reason the package epsfig and TextMate ran
everytime latex instead of pdflatex. Finally I forced the use of
pdflatex with the "%!TEX TS-program = pdflatex" directive in the tex
file.
Is there an explanation for that behaviour and maybe a solution for
that? (I found 3 postings here which are somehow related to that
problem, but because I'm not an expert, I didn't get the clue, which
might be in there.)
Thanks for your attention
Juergen
--
Juergen Arndt
Hi all
I was recently working on a LaTeX project, when suddenly I got this
message at the start of the log window:
"There was a problem reading the preferences file, continuing with
defaults"
After it, I get one run with zero errors. I don't think the problem
lies in my tex-file, since it used to work fine before. I tried
repairing permissions and tried updating my bundles which was to no
avail. Anybody out there experiencing the same. I'm using the newest
build (1436) of Textmate and check out the whole trunk including all
bundles and support folders via svn to /Library/Application\ Support/
TextMate. I'm currently at the newest checkout 8446. I can change the
settings in my LaTeX preferences and they stick, so why can't the
typeset engine read my preferences?
Thanks for any help
Oliver
The comments defined via TM_COMMENT_START I use with 'command' /
but how do I comment/uncomment using the pattern defined in
TM_COMMENT_START_2 ? I tried all key combinations I could imagine and
googled, no luck.
regards
--
Roberto Saccon
http://rsaccon.com
I am having a strange problem with Typeset & View that makes no sense
to me. It works fine in simple documents with the same preamble, but
not on a longer one. The document typesets as it should, but the
focus does not change to Skim. I get the following error:
sh: -c: line 0: syntax error near unexpected token `(' sh: -c: line 0:
`dvips QuantumCalculus.dvi -o QuantumCalculus.ps' sh: -c: line 0:
syntax error near unexpected token `(' sh: -c: line 0: `ps2pdf
QuantumCalculus.ps' sh: -c: line 0: syntax error near unexpected token
`(' sh: -c: line 0: `/Applications/Skim.app/Contents/Resources/
displayline 177 "QuantumCalculus.pdf" /Users/jenny/Desktop/Pending/
QuantumCalculus.tex'
A fatal error occured, log file is in QuantumCalculus.log
I have tried changing the viewer, but the error message is essentially
the same. The focus remains in TextMate, the typeset document is
correct, and there are no errors in the log file.
I created a new version of the same document by pasting in small
section after section to find the problem. It typeset perfectly each
time, all the way through to the end. The two files are identical and
one works, the other doesn't. Naturally, I began using the second,
but after a dozen or so uses of Typeset & View, it gave me the same
error message as above.
Thanks for the help,
Jenny
I cant work out the regex in the c bundle
but basically i need to be able to get function definitions that look
like this into the symbol list.
void test(int *a,
int b)
{
}
can anyone help ?
It seems like the mootools bundle wrongly scopes variables named the
same as methods in mootools' classes as methods.
Example:
http://pastie.textmate.org/private/nsry0oftvpsfftyul6lslw
(make sure you use a theme like Blackboard which highlights js)
As you can see the map variable is highlighted, and wrongly scoped
like support.class.array.js.mootools.
Unfortunately I'm still very new to TextMate language grammars and
not very confident with mootols, so I'm not sure I'm in a position to
file a patch. The way to fix this thought, I presume would be to look
for a leading '.'(dot) instead of word boundary for all class
methods. Something like:
match = '(?<=\.)(map|forEach|...)\b';
The mootools bundle is Joe Maller, is he still around here available
to fix?
Regards,
Peter Haza
Hi,
I just uploaded the new version 0.906
Download:
http://email.eva.mpg.de/~bibiko/downloads/textmate/TMTools.tmplugin.zip
Help:
http://email.eva.mpg.de/~bibiko/downloads/textmate/tmtoolshelp.html
or
"$TMTOOLS" help me
Changes:
added: show bundleMenu
#####
Regarding to the Ctrl+Esc issue:
For all those of you who don't want to edit a keybindings.dict or to
abandon to some 'global' Ctrl+Esc events,
now you can easily create a normal TM command with
"$TMTOOLS" show bundleMenu
bound to any key-combo;
input = none;
output = show tool tip
to invoke the gear menu. Of course, Ctrl+Esc doesn't work if this
combo is used by other applications.
If there is someone who really need the Ctrl+Esc combo to open the
gear menu regardless of other applications, I believe this should
work (if you have installed QuickSilver and TMTOOLS 0.906):
1)
write a bash script with the following content:
_____________________________
#!/bin/bash
~/Library/Application\ Support/TextMate/PlugIns/TMTools.tmplugin/
Contents/Resources/tm_tools show bundleMenu
_____________________________
Note: please verify the path to tm_tools!
2)
save it as - let's say -
~/TM_show_bundleMenu.sh
Note: be sure you set the "execute bit"!
3)
open QuickSilver Trigger pane
4)
go to 'Custom Triggers'
and add a new trigger by looking for the just created bash script
name "TM_show_bundleMenu" for an item; action = "Run [...]"; and set
the target to "dummy"
5)
assign to the just created trigger the hot-key Ctrl+Esc and for
activation 'On Press'; scope to "TextMate"
6)
close the QuickSilver window
7)
try the hot-key Ctrl+Esc in TM
I tried it out, and it works, even if I have Apple Remote running.
Cheers,
--Hans
Hi,
I don't know whether this was reported before.
The following Ruby Script has a misbehaviour (please consider [1] and
[2] as markers :):
puts "Here's 1 +[1] 1: #{ 1 +[2] 1}"
If the Caret is at position [1], Apple-R runs the program inside the
ruby interpreter. If the Caret is at position [2], the default Run-
command (Build in X-Code is used).
This is because #{...} is scoped as embedded Ruby source, which is
explicitely filtered for the Run-Command. I didn't patch it, as I
don't know which way to go (changing the scope or changing the scope
selector for the command). But I hope the bundle maintainer can sort
that out in a second :).
Greetings
Skade
I'm trying to define a scope for LaTeX subscript/superscript.
The language I have defined is as follows:
{ scopeName = 'text.tex.latex.guido';
fileTypes = ( 'tex' );
patterns = (
{ name = 'sscript.math.tex';
match = '(?<!\\)(?:_|\^)\{.*\}';
},
{ include = 'text.tex.latex'; },
{ include = 'text.tex.math'; },
);
}
The above language seems to work properly in LaTeX math and LaTeX
math environnments. However, the scope is not recognised in plain TeX
math, that is in cases like $X_{as}$ shift-ctrl-P does not show the
newly defined scope in the tooltip.
I have tried different includes to no avail.
All the best
Guido
--
Dr Guido Governatori
School of Information Technology and Electrical Engineering
The University of Queensland
Brisbane, Queensland, 4072, Australia
Phone: +61-(0)7-336 52907
Fax: +61-(0)7-336 54999
http://www.governatori.net/TextMatehttp://www.defeasible.org
Hi everyone,
This seems to be an ever-returning-problem and it finally happens to me…
I installed Leopard on my MBP and the Ctrl-Esc shortcut does not work. Is
there any voodoo which would solve this issue ?
Thanks in advance.
--
View this message in context: http://www.nabble.com/Ctrl-Esc-on-Leopard-tf4784439.html#a13687499
Sent from the textmate users mailing list archive at Nabble.com.
I've decided to stop fighting against the current, and move form cvs
to svn ;-) , so I'm trying to set up an svn server.
Leopard ships with svnserve and apache2 - which option should I take?
Has anyone managed to get a svn server running on Leopard yet?
R
When I invoke "Run Script (PyMate)" from the Python bundle, I get:
/Applications/TextMate/TextMate.app/Contents/SharedSupport/Support/lib/scriptmate.rb:128:in
`initialize': Permission denied -
/Users/darylspitzer/Programming/Altera/Perforce/miscellany/infrastructure/integration/integration_status.py
(Errno::EACCES) from
/Applications/TextMate/TextMate.app/Contents/SharedSupport/Support/lib/scriptmate.rb:128:in
`open' from /Applications/TextMate/TextMate.app/Contents/SharedSupport/Support/lib/scriptmate.rb:128:in
`initialize' from
/Applications/TextMate/TextMate.app/Contents/SharedSupport/Bundles/Python.tmbundle/Support/PyMate/pymate.rb:24:in
`new' from /Applications/TextMate/TextMate.app/Contents/SharedSupport/Bundles/Python.tmbundle/Support/PyMate/pymate.rb:24
This started happening yesterday, and then went away. Now it's back.
How do I make it go away for good?
I'm running 1.5.6 (1405).
hi there :)
if i do "mate project-dir" i can use mercurial pretty fine. but if i
do "mate framework project-dir" it says this:
abort: There is no Mercurial repository here (.hg not found)!
i've tried it having a file open and marking a directory or a file in
the tree but it doesn't matter.
does anybody know why this happens or how i can fix this?
regards,
oktay.
On 11/11/2007, at 11:00 PM, textmate-request(a)lists.macromates.com wrote:
>
> Granted svn can be a pain to set up, but is Mercurial generally
> accepted by the Open Source community? Right now, if someone wants to
> pass around a new Textmate bundle or Rails plugin, they point to an
> svn repo and the deal is done. I haven't looked into Mercurial too
> carefully, but if it's better and can be accessed by svn users
> transparently (riiiigggt :) then it could be a godsend.
>
> Any thoughts on that?
Heh,
There are a bunch of different version control systems out there
vying to the be the distributed version control system of choice. I
like DARCS and Monotone myself - there is more theory behind their
handling of the distribution/merging. Having said that, Mercurial has
a lot of momentum behind it at the moment - it is known as being fast
and easy to use.
The point above is correct though, if you want to make something
available to the unwashed masses, svn is the way to go. You have to
ask yourself if it is worth your time to set up svn, or if you're
happier using one of the other systems and telling the unwashed masses
they'll have to use it if they want your latest source...
Be well,
Will :-}
Hello,
I am working a lot with source code written using Emacs on Linux. The
prevailing convention is that tabs are presented as 8 spaces, but
indents are only 4 spaces. Indenting will insert spaces, and Emacs
seems to swap groups of 8 spaces for a tab.
If I use a tab size of 8 in Textmate, the source files display
correctly. Sadly, there is no way to tell Textmate to use an indent
size of 4.
It would be very useful is it was possible to tell TextMate to:
1. Draw tabs as 8 spaces
2. Use spaces when indenting
3. Intend with 4 spaces, not the 8 spaces from a tab
Is there any way to do this with TextMate at the moment?
I'm using TextMate 1.5.3 (1215)
--
Kind regards,
James Milne
I have the default main template "template_in.txt" and additionally
several License.txt templates. Based on a environment variable, I want
to concatenate the license with the main template, but I don't know
how
this is the default command to insert a template:
if [[ ! -f "$TM_NEW_FILE" ]]; then
TM_YEAR=`date +%Y` \
TM_DATE=`date +%Y-%m-%d` \
TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
< template_in.txt > "$TM_NEW_FILE"
fi
I tried to to turn it into somethng like this:
if [[ ! -f "$TM_NEW_FILE" ]]; then
TM_YEAR=`date +%Y` \
TM_DATE=`date +%Y-%m-%d` \
TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
< template_in.txt << License.txt > "$TM_NEW_FILE"
fi
unfortunately this doesn't work.
Anybody an idea how I can make this work ?
regards
--
Roberto Saccon
http://rsaccon.com
Hello,
Today I always receive the error message
Running bibtex on mt.tex
Traceback (most recent call last): File "/Applications/TextMate.app/
Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/texMate.py",
line 443, in texStatus, isFatal, numErrs, numWarns =
run_bibtex(texfile=fileName) File "/Applications/TextMate.app/Contents/
SharedSupport/Bundles/Latex.tmbundle/Support/bin/texMate.py", line 67,
in run_bibtex return stat,fatal,err,warn UnboundLocalError: local
variable 'stat' referenced before assignment
I did some "experiments" with the Bibtex setup and Command Editing in
the bundle editor, but I never edited any of those python files
manually.
The bibtex command is:
# just to remind you of some useful environment variables
# see Help / Shell Variables for the full list
. "${TM_SUPPORT_PATH}/lib/html.sh"
. "${TM_SUPPORT_PATH}/lib/webpreview.sh"
# Prepare output window.
html_header 'Run BibTeX'
texMate.py bibtex 1
The typeset & view command looks like this:
# Source some support functions we need.
. "${TM_SUPPORT_PATH}/lib/html.sh"
. "${TM_SUPPORT_PATH}/lib/webpreview.sh"
# Prepare output window.
html_header 'Typeset & View' "$FILE"
# Compile.
texMate.py latex 1
RC=$?
html_footer
# Cleanup
# find . -name "*.log" -exec rm -rf {} \;
# find . -name "*.aux" -exec rm -rf {} \;
# find . -name "*.aux.bak" -exec rm -rf {} \;
# find . -name "*.toc" -exec rm -rf {} \;
exit $RC
I am using Version 1.5.7 (1436).
What should I do to fix this?
Thanks!
Ok, I'm trying to convert my existing CVS repository to a Mercurial
repository.
I've installed cvsps, and Mercurial version is the latest (form
the .dmg) and includes the convert extension.
I've tried
hg convert /Volumes/Macintosh\ HD/usr/local/cvsrep/pcs /
Repositories/pcs
with and without a sudo (wave that dead chicken!)... result - nada.
Has anyone managed to do this in the past? Is there an easier way? Any
ideas?
Aaaarrrgggh.
R
I'm sure why these should override user-specified engines but the
following packages are checked for when using texMate.py,
latexIndicators = ['pstricks' , 'xyling' , 'pst-asr' , 'OTtablx' ,
'epsfig' ]
xelatexIndicators = ['xunicode', 'fontspec']
Unfortunately, the regular expression that detects packages is
'([^%]|^)\\usepackage(\[[\w, \-]+\])?\{([\w\-]+)\}'
which detects commented packages including anything (eg, spaces) after
the '%'. Seems like the following may make more sense
'(^[^%]*)\\usepackage(\[[\w, \-]+\])?\{([\w\-]+)\}'
---------------------
Fernando Diaz
Department of Computer Science
University of Massachusetts
Amherst, MA 01003
---------------------
tel: (413) 545-3059
fax: (413) 545-1789
---------------------
email: fdiaz(a)cs.umass.edu
home: http://ciir.cs.umass.edu/~fdiaz
I just tried using the TODO bundle for the first time in a project
with folders. It appears to only search the files in the first folder
in the project. Is this a bug or user error?
--
Daryl Spitzer
Hey, I recently noticed a strange UI bug when launching TextMate, the
screenshot will explain it I think:
http://www.yiqiang.org/tm_drawer_bug.png
If you move the window around, the drawer will snap itself back to the main
window. It's not a very evil bug, but I thought I'd report it anyways :)
Cheers,
Yi
--
http://www.yiqiang.org
Hi all
please bear with me, I am just trying to get my head round the GTDAlt
bundle but it is not loving me back.
1) It is working ok, but although I duly created the two shell
variables TM_GTD_DIRECTORY and TM_GTD_INBOX and also a inbox.txt file
inside said directory I am still getting the error message "Some files
need to get created first" upon calling the "Process inbox" script. I
must have overlooked something but I am stuck.
2) I have been unable to find out what actually causes ticking the
checkbox in the HTML output back to the actual textfile to mark a task
as completed. It sometimes does, sometimes it just doesn't.
3) Are recurring actions aka "remind" an option?
4) When sorting tasks by using the Textmate "Line up/line down"
command, the focus does not stay with the line that I just shifted,
thus shifting it two or more lines up or down inconvenient. Is there a
way around this other than moving the caret?
Many thanks in advance, Textmate is a great tool that I appreciate more and more
Prion
Up until recently, Ive had great luck with the blogging bundle for
TextMate. However, now in both Tiger and Leopard I get this error
whenever I try to do anything (like Fetch Posts or Publish a Post).
Received exception:#<NoMethodError: undefined method `[]' for
nil:NilClass>
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/rexml/parsers/baseparser.rb:320:in `pull'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/rexml/parsers/streamparser.rb:16:in `parse'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/rexml/document.rb:185:in `parse_stream'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/xmlrpc/parser.rb:717:in `parse'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/xmlrpc/parser.rb:460:in `parseMethodResponse'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/xmlrpc/client.rb:421:in `call2'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/xmlrpc/client.rb:410:in `call'
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Blogging.tmbundle/Support/lib/metaweblog.rb:34:in `newPost'
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Blogging.tmbundle/Support/lib/blogging.rb:531:in `post_or_update'
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
progress.rb:36:in `call'
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
progress.rb:36:in `call_with_progress'
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
progress.rb:43:in `call'
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
progress.rb:43:in `call_with_progress'
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:
17:in `dialog'
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
progress.rb:40:in `call_with_progress'
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Blogging.tmbundle/Support/lib/blogging.rb:526:in `post_or_update'
/tmp/temp_textmate.GftXwA:3
...
Exception parsing
Line: 0
Position: 0
Last 80 unconsumed characters:
</methodResponse
I've scoured the web looking for info about this but cannot find
anything. Any suggestions would be greatly appreciated.
Thanks!
--
Matt Berther
http://www.mattberther.com
Greetings,
I use the GTDAlt bundle with TextMate to "get things done". Recently I
upgraded to Leopard and some of the functionality of the bundle broke
and it seems to be linked to an issue with Ruby. I'm not a Ruby
programmer (I'm barely an HTML guy) so I cannot really diagnose what's
going on with the bundle.
For example, I attempt to type the due date of a project by typing
'#' (shift + 4 on US keyboards) which brings up a date selection
window. Entering a date, or number of days from the current date does
not yield the desired output but instead prints the following to the
active file:
--code--
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/date/format.rb:230:in /bin/bash: -c: line 0: unexpected EOF while
looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filestrftime'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/date/format.rb:201:in /bin/bash: -c: line 0: unexpected EOF
while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filestrftime'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/date.rb:1343:in
--code--
This bundle worked wonderfully prior to installing OS X 10.5. Any
ideas what's going on here?
Thanks,
Mark
Hi there, I've been having some troubles including images in my LaTeX
projects lately. I think it was after some update of textmate, but I'm not
100% sure.
What annoys me, is that by using pdflatex in the terminal everything works
the way it should, but when using textmate, I get some strange errors. I
keep the imagefiles (png) in a folder images/imagename, and so the include
looks like this: \includegraphics{images/foo}. As said, using pdflatex in
terminal works like a charm, but textmate gives me this error: Latex Error:
./Introduction.tex:4 LaTeX Error: File `images/sensornetworks' not found.
adding the .png gives me another error: Latex Error: ./Introduction.tex:4
LaTeX Error: Cannot determine size of graphic in images/sensornetworks.png
(no BoundingBox).
but this ending shouldn't bee needed afaik.
So, I'm hoping for some help here, because I'm pretty much stuck.
regards
VeX
--
View this message in context: http://www.nabble.com/LaTeX-troubles-including-images-tf4764135.html#a13625…
Sent from the textmate users mailing list archive at Nabble.com.
I recently upgraded the OS on my server that holds my SVN repository,
and I had to re-check out my code.
So now, in TextMate, I get "permission denied" whenever I try to make
a commit. I can run the commit from Terminal (with a password
prompt), but not from within Textmate.
After the server upgrade, I believe I originally connected from
Terminal using svn+ssh. I assume that's the protocol it's still
using? I have the ssh-rsa key in my ~/.ssh/known_hosts file. I'm
using the same user name locally as on my server.
I also followed the instructions to create key pairs at ...
http://blog.macromates.com/2005/subversion-support-and-ssh-key-pairs/
... but it's still prompting me when I ssh through Terminal.
Can anyone point me to how to get TextMate to commit?
Thanks.
--
Dwayne Purper
Futura : Durham, NC USA
www.futuracreative.com
Not urgent an query, just looking for some insight...
I've put together a little bash script (that creates an AppleScript)
to stick an entry into Journler based on a parsed version of the
current line or selection:
input=${TM_SELECTED_TEXT:-$TM_CURRENT_LINE}
title=${input%\|*\|*}
tags=${input#*\|}
tags=${tags%\|*}
tags=${tags//, /\", \"}
tags=${tags%\", \"}
note=${input#*\|*\|*}
aplscr="tell application \"Journler\" to set en1 to make new entry
with properties {name:\"$title\", tags:{\"$tags\"}, rich text:\"$note
\"}"
osascript -e "$aplscr" &>/dev/null &
echo "Added entry\ntitle: $title; tags: {\"$tags\"}; note:$note"
echo "$aplscr"
Whilst it does work, I realised that there are more cunning minds at
work on this list than mine, and perhaps they might have some way to
clean-up those substitutions for the $tags variable in the middle. I
know I can do it using a sed script, but I was wondering if there was
some elegant bash trick I was missing....
Any ideas?
I put together a quick and moderately dirty hack to modify TextMate's Info.plist so that I get Quick Look support for text types that it claims on Leopard. Source code only, use at your own risk (see comments at the top for usage). As far as I understand, using UTImportedTypeDeclarations should not override the more correct UTIs supplied by the system or other apps, but I won't guarantee that.
http://homepage.mac.com/amaxwell/.cv/amaxwell/Sites/.Public/utconvert.m-zip…
--
adam
I'm in the habit of writing my method definitions without parentheses
around the argument list, like:
def initialize name, id, *args
# ...
end
TextMate doesn't recognize the arguments, so the jump-to-method and
the symbols drop-down can get confusing... and the arguments aren't
colored correctly in the editor window. I'm not sure how to fix this,
or submit my modifications to the SVN repository. Could someone point
me in the right direction?
Thanks,
Erwin
I love the way
(I miss an automatic way of reformatting C/C++ code inside TM… but
that is another story)
I have changed the output to build directly an html window in TM:
The problem is, when I copy/paste the code to include it in Mail, for
example, empty or short lines ending in space make funny things,
leaving blanks after the numbers…
Is there any solution.
I have the PHP bundle in `/Library/Application Support/TextMate/
Bundles/PHP.tmbundle`.
I have my personal bundle in `~/Library/Application Support/TextMate/
Bundles/McBroom.tmbundle`.
Both bundles contain preferences for comments that are scoped for
"source.php". My understanding is that the preferences in my personal
bundle should be taking precedence because that bundle is in my home
directory and thus "more local". This is what seems to happen on my
work machine (still running Tiger) with a similar configuration and
this is how things appeared to work on my laptop pre-Leopard. But now,
TextMate seems to be taking the preferences from the PHP bundle
instead of mine. If I remove the PHP bundle from /Library and let the
one in TextMate.app take over, it still seems to take precedence over
the preferences in my home directory.
Any ideas?
---
Rob McBroom
<http://www.skurfer.com/>
Dear mailing list members,
I'm writing my master thesis at the moment and writing it in TextMate
with the Latex bundle is awesome! But one thing is driving me crazy:
When I write "` as beginning quotation mark and hit the space key, the
finishing quotation mark is '" and not "' as it should be.
It would be very nice if someone would fix this in the next release, for
all those graduating students out there.
Cheers,
Svenja
Ahoy.
I just installed websvn up on the ole bundleforge.
http://bundleforge.com/
You can now browse, subscribe to rss changelogs & download tarballs of
any and all Bundles from 6 bundle collections.
If you know of a bundle repo that should be added to the list, please
let me know.
This is an "alpha" version because this isn't exactly what I had
intended to do with BundleForge in the longrun. However, this is
better than nothing.
Enjoy.
—Thomas Aylott – subtleGradient—
> Sorry to describe the changes I made rather than giving a bunch of
> patches but the normal bundle development model just won't work for
> me. I change a bunch of stuff for my personal use (like some of the
> hacks above) so I need to keep the ~/Library/Application Support/
> Textmate directory for my own personal modifications. If someone
> could tell me an easy way to produce a diff of the changes I've made
> here with the actual bundle maybe I could be more helpful.
>
> Anyway thanks to the author(s) of the latex bundle for all the work
> they've put in so far. Hopefully this was helpful an not just
> useless bitching.
>
> Peter
I don't know if this has been addressed already, but I have another
two concern since I last updated my bundles:
1) Inside a non-maths scope, adding an underscore still produces "_{}"
rather than just "_". For example:
\includegraphics[width=170mm]{./figures/tf12_resonance.PNG}
adding "_" with the caret after "resonance" produces
\includegraphics[width=170mm]{./figures/tf12_resonance_{}.PNG}
which pdflatex doesn't seem to like very much. The same is true for
captions, sections, subsection, ... Would it be possible to change the
scope of the "_" command to math only?
2) A similar issue arises when I add powers in math mode using "^".
This correctly produces "^{}" and places the caret inside the
brackets. Pressing _any_ key now however adds another iteration of the
command, like so: "^{^{}}". I am using a German keyboard, so to get a
"^", I have to press the key above tab and then hit space. This might
be related to the problem I have.
Best,
Jonas
Several days (weeks?) ago an update was pushed that has given me quite a
few problems.
Essentially it breaks the Ruby library paths:
This is the error coming from Cmd-R with the ruby bundle.
/Library/Application
Support/TextMate/Bundles/Ruby.tmbundle/Support/RubyMate/stdin_dialog.rb:1:in
`require': no such file to load -- dialog (LoadError)
from /Library/Application
Support/TextMate/Bundles/Ruby.tmbundle/Support/RubyMate/stdin_dialog.rb:1
The Textmate build is 1436.
What do I need to set to get my functionality back?
Cheers,
V.-
--
http://www.braveworld.net/riva
Hi --
I'm trying to develop a new language syntax for project management, note
taking and task management around GTD. I've been using Markdown but
would like to integrate some of the task features of the GTD2 bundle as
well as some project reporting scripts. Rather than develop this as a
completely distinct language, I'd like to simply extend the Markdown
bundle, based on special casing more specific syntactic matches of
existing Markdown syntax. For example, where Markdown recognizes:
- my colleague
as an unordered list, I'd like to extend it to recognize:
- @call my colleague
as a todo item, with a phone call context. This allows specialized todo
items to be spread throughout a project document, then extracted, rolled
up, etc using reporting scripts.
This is my first attempt at bundle development, so I'm trying to figure
the cleanest way to do this type of language extension. I've read the
various docs and blog entries on language syntax and contexts, as well
as http://wiki.macromates.com/Main/Howtos#bundleExtension, which is on
target but lacks some detail. In particular:
1. How do you override or specialize certain syntactic patterns from a
base language? The language docs show how to use "include" to reference
a whole separate grammar, but I think what I'm looking for is to
override only a single grammar rule. In the above example, should I copy
the "unordered list" pattern from the Markdown plist file and use a
modified version in the new language file? Or is there a way to
"subclass" the syntax w/out this copy-paste model by including only the
one rule?
2. Are there restrictions on the file suffixes for this new language?
Should the new language share the same file suffix as the original, or
come up with a different one?
Any pointers to sample code or even bundles that already do this type of
extension would be greatly appreciated.
Thanks!
Ramon
Also here is a short patch to latexutils so it doesn't choke if it
can't find a file (say when doing label completion and can't find an
inputted file).
Really I should also fix the find_file code but not now.
Peter
I just ran into a problem where after the recent update (version
1436), all of TM's shortcuts involving the ctrl key broke.
All of the emacs-like keybindings seem to still work, though.
I've tried resetting all of the preferences i could think of
including a new user account.
Thanks,
matt
Hello everyone!
The next release of the GetBundle will offer multi-repository support
and a faster "Show Bundles in Repository/ies".
To collect information for this command i need from everyone who wants
to see his bundle appear there some information (is that a correct
english sentence?).
1) Where can i reach your repository
2) Make sure your Bundles have a nice info.plist with description of
the Bundle, Author name and an email address in ROT13 (http://en.wikipedia.org/wiki/ROT13
)
like:
<key>contactEmailRot13</key>
<string>fronfgvna.tenrffy(a)inyvqpbqr.ng</string>
<key>contactName</key>
<string>Sebastian Gräßl</string>
<key>description</key>
<string>A bundle to <a href="http://sg.validcode.at/stuff/textmate-getbundle-bundle
">retrieve more bundles</a> from the subversion repository at
macromates.com.</string>
<key>deleted</key>
If you don't have a svn-repository send me link to your zipped bundle
to download.
This will also be the first step to a centralized bundle source (not
repository).
PLEASE, send you mail directly to me, not as a reply to this thread
and be sure the subject starts with [TM Bundle]
Thanks,
Sebastian
>> On 10/30/07, mlondon <mlondon(a)sprynet.com> wrote:
>>
>>> I would like to be able to FIND a string and move it up or down
>>> in the file.
>>>
>>
>> Pipe the document through:
>>
>> perl -ne 'BEGIN{$"=undef}push(@hold, $_) if /^NOTE/../^X-Palm/; print
>> unless @hold; if (/^X-Palm/) {pop @hold; print "$_@hold"; @hold=()}'
>>
>> j.
Hi Jay,
Sorry but I am not a programmer, and I have absolutely no idea how to
do what you are telling me above.
Will this move the entire line, even if it is wrapped onto 4-5 lines?
How far up or down will it move it?
Would really appreciate if you could provide some instruction in
plain english.
Thank you,
Matthew
I've just updated TextMate a couple of days ago to 1.5.7 from 1.5.6, and
am noticing what seems to be a bug when replacing text. Here's what
happens. If I'm in a Plain Text document, and specify to replace the
string X with the string Y, the first instance of X is first prepended
with Y, then all the Xs are replaced with Y.
This didn't happen with the previous versions of TextMate that I used,
starting with 1.5.4, I think. I'm using TextMate under X.4.10. Anyone
else seen this?
- Dushan Mitrovich
Hi Allan,
I have set most script- and text filetypes to be
opened with TextMate, and I guess it's the same
with a lot of fellow textmaters here. Is there a
simple official way to have these files recognized
as text type by quicklook, so that we can see the
content of the file instead of the purple icon?
In the preceding thread on the same issue a hack
was proposed, but maybe you (the Author) have
some interesting ideas on this and some plans for the
future. I think this would be a substantial
improvement.
Thanks,
Piero
Hello,
I am using build 1436 under Leopard. Whenever I run Typeset & View using the
LaTeX bundle, I get an error message saying "There was a problem reading the
preferences file, continuing with defaults", and the resulting pdf is
displayed in the Typeset & View window itself regardless of any settings in
my LaTeX preferences. Changing these preferences also has no effect. Now, I
tried removing my com.macromates.textmate.plist file, and was able to change
my pdf viewer setting in LaTeX preferences. This works fine, until I try to
change this setting again, at which I point get the same error as before.
Any ideas on what the cause may be?
Thanks.
--
View this message in context: http://www.nabble.com/Preferences-file-could-not-be-read%2C-might-be-relate…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
For the people who are not aware.
I took up the challenge and have now merged the Mono Bundle and the C
Sharp Bundle (from the E Editor) into the C# Bundle.
I have cleaned all the snippets and made them consistent and added a
few others as well as improving the language grammar.
I believe that the bundle is now more than usable. If you find any
problems, please let me know.
The new bundle can be found in the SVN repository under "trunk/Review/
Bundles/C#.tmbundle/".
I have a few ideas for commands and snippets to add, but would like to
give this opportunity for requests for new commands/snippets etc.
Matthew Winter
Hi Allan,
Thank you for the tip. That worked perfectly.
Cheers,
Diego
From: Allan Odgaard <throw-away-2(a)macromates.com>
Date: 2 November 2007 4:19:34 AM
To: TextMate users <textmate(a)lists.macromates.com>
Subject: Re: [TxMt] Quick Search bundle in Leopard
Reply-To: TextMate users <textmate(a)lists.macromates.com>
On 30 Oct 2007, at 23:24, Diego Barros wrote:
> Anyone that's using the Quick
> Search<http://www.datanoise.com/articles/2007/3/19/textmate-and-quick-searches
> >bundle
> under Leopard finding that it's now broken? I'm getting the following
> error as soon as I choose "Quick Search"
>
> /tmp/temp_textmate.xdnrYn:4:in `require': no such file to load --
>> /Library/Application Support/TextMate/Support/lib/dialog
>> (LoadError) [...]
It would appear the bundle does a require 'dialog' -- we changed the
name of that library to ‘ui’ some time ago. So try to change it in
the bundle command (found via Bundles → Edit Commands… and finding
the bundle in question).
Hi all,
I'm looking to add a macro that will let me do something like
comment ->
and create an inline comment structure like:
/*
+--------------------------------------------------------------------------
| Constructor
+--------------------------------------------------------------------------
*/
The only trick is, is it possible to continue pre-pending additional |
everytime I hit a newline? so if my comment consists of more than one
line I can do
comment ->
/*
+--------------------------------------------------------------------------
| Constructor
| <-- added by macro
| <-- also added... etc
+--------------------------------------------------------------------------
*/
Cheers!
- sf
Is there any way to have automatic hard wrapping?
I usually write LaTeX (or other text based files) and keep the source
under version control with subversion (and exchange files with
colleagues). So often I use diff tools to check the differences
between version (mostly with FileMerge, which highlights the
differences), but with soft wrap I end up with very long lines and
one has to scroll to see the real differences in a line (or better
paragraph).
The wrap paragraph comand (^Q) does not work well with LaTeX (it will
marge)
and the reformat commnd of the LaTeX bundle does not work for me.
All the best
Guido
--
Dr Guido Governatori
School of Information Technology and Electrical Engineering
The University of Queensland
Brisbane, Queensland, 4072, Australia
Phone: +61-(0)7-336 52907
Fax: +61-(0)7-336 54999
http://www.governatori.net/TextMatehttp://www.defeasible.org
Just a quick question... wondering if it's just me or if XMLMate 1.4.1
<http://www.ditchnet.org/xmlmate/> is broken as of TextMate 1.5.7
(1436)?
Instead of the XMLMate window appearing, the following is reported on
the Console when clicking Windows => Show XMLMate Palette...
TextMate[430] initializeLibxml
TextMate[430] *** +[OakTextView defaultEnvironmentVariables]:
selector not recognized
TextMate[430] *** +[OakTextView defaultEnvironmentVariables]:
selector not recognized
Behavior started with the cutting edge release that preceded 1.5.7,
before that, everything was fine.
Thanks!
On Nov 2, 2007, at 7:00 AM, textmate-request(a)lists.macromates.com wrote:
> Thomas Aylott - subtleGradient wrote:
>> On Nov 1, 2007, at 1:50 PM, Allan Odgaard wrote:
>>> Heh… yeah, overall it was great, and the nut-reactions just added
>>> to the fun :)
>>>
>>> I was surprised by the many who expected a halloween theme as a
>>> recurring thing, someone even wrote me a week ago to tell that he
>>> had set his clock forward in anticipation of the theme, so it
>>> seems we definitely should make it a recurring thing, I guess we
>>> really need a seasons folder with themes for all the seasons :)
>> Sounds lovely. Can we just make it optional?
>
> No. Allan will force us all to become members of his pagan/
> satanist pumpkin-worshiping (or in winter, snowflake-worshiping,
> etc.) death cult. Muaahaahahahaha
I'd like to add to the chorus of sadness; the Halloween theme made my
day and it's a shame that some people have no sense of fun and humor.
When the stars are right and dred Cthulhu comes to claim us from the
unknown depths beyond nightmares, I know he will treat them in a
manner befitting their overly-serious views.
But I have to say I think part of what made the Halloween theme fun
would be taken away if it was up to me to apply it. I'd rather see
the fun continue, and I'd love a few more each year to be sure. I
suppose an option to turn it off once it appears, or maybe just
before, would suffice to quell the nay sayers (until Cthulhu eats
them, of course). :-)
Thanks Brad,
I found the info.
I tried for about 10 minutes but couldn't find them anywhere on my
harddrive.
So I actually had to pull the bundles from the editor to my desktop
to access the package contents.
Thanks again.
Torsten Walter
__________________________________________________
website: http://legacy.3d-m.de
tech-lab: http://playground.3d-m.de/
__________________________________________________
email: tw(a)3d-m.de
On Oct 31, 2007, at 4:32 PM, Brad Miller wrote:
> Torsten,
>
> If you look in the info.plist file for the bundle you will find
> contact information for the Bundle maintainer.
>
> Brad
>
> On Oct 31, 2007, at 10:06 AM, Torsten Walter wrote:
>
>> Hi,
>>
>> this is my first active participation in the TextMate list. I've
>> been using the program for about 4 months now and it is absolutely
>> worth ecery cent.
>>
>> I did some modifications and improvements to the php, html and
>> javascript bundles, mainly in terms of code snippets.
>>
>> I've added a bunch of form related snippets to html, dom and event
>> handling methods to Javascript and added php doc snippets.
>>
>> I thought these might be good for others as well.
>>
>> How do I contact the bundle maintainers about this or do I need to
>> go straight the SVN route?
>> I tried searching the wiki and google, but didn't actually find a
>> precise answer.
>> I've never used SVN so far, so I am not quite sure how to go about
>> this.
>>
>> Any help is greatly appreciated.
>>
>> Torsten Walter
>>
Hi all,
it seems that the "documentation for current word" command in the
Python-bundle is broken on Leopard as it explicitly requests
python2.3, which is not available on 10.5.
Is there any particular reason why this doesn't just default to
"python"?
Thanks,
Daniel.
> Hi all,
>
> I'm trying to run rspec bundle command but am getting errors.
>
> /Users/alastair/Library/Application Support/TextMate/Bundles/
> RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in `run':
> undefined method `parse' for Spec::Runner::OptionParser:Class
> (NoMethodError) from /Users/alastair/Library/Application Support/
> TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
> runner.rb:33:in `chdir' from /Users/alastair/Library/Application
> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
> runner.rb:33:in `run' from /Users/alastair/Library/Application
> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
> runner.rb:12:in `run_file' from /tmp/temp_textmate.U7M7Xe:4
>
>
> Does anyonene have any ideas what might be causing this?
Hi Alastair.
Same problem here (RSpec-1.0.8 and RSpec.tmbundle from trunk @ 2796)
Resolved by changing one line in runner.rb see patch :
But I'm very new to Rspec, so I don't have any idea of why we have to
do that and I don't know if it breaks something.
Arthur
Hello,
I'm working on a new Ant bundle (It's in the reviews section of the
TM repository) and one of the commands invokes ant via ruby.
Currently I'm warning users that ant is missing/not found using:
ant_version = `ant -version`
if ant_version.nil? | ant_version.empty?
puts "<h1>Error</h1>Ant was not found, please ensure that it has
been installed and your $PATH is set correctly."
exit
end
but this isn't quite as elegant as the TM shell script require_cmd
(ruby prints the cmd not found error, and it takes a fraction longer
for ant to start up). Is there an equivalent I should be using with
ruby? If not is there a better way this could be achieved.
Thanks,
Simon
In textmate, I want to print a sntax-highlighted version of some source code.
(Print to pdf to be specific)
Printing and print preview only outputs in black and white.
Is there any way around this?
Hi,
I'm using Safari 3.0.3 on Tiger.
I use Safari's upper right search text field to google something.
Fine. After doing that I return to TM and the search string appears
in TM's Find Dialog?
This could be under some circumstances quite useful but is there a
way to suppress such behaviour?
Thanks,
Hans
HI,
I wrote a drag command which calls "$DIALOG" to show a nib. Fine.
If I drag a file from Finder to a new empty TM window, the nib
popups, but unfortunately TM don't get the focus.
If I drag and drop e.g. an image from Finder to an HTML document the
current document gets the focus.
Is this behaviour changeable?
Many thanks,
--Hans
For reasons I've yet to determine, pageUp: and pageDown: seem to be
misbehaving in TextMate (and only TextMate). I've tried removing all my
local changes (except to bind pageUp to pageUp: and pageDown to pageDown:
and including ~/Library/KeyBindings/DefaultKeyBindings.dict), all
non-standard bundles, scanning the list of bundle keybindings, and even
re-installing TextMate.
The behavior I'm seeing is downright bizarre: It seems as if pageUp/Down are
executing multiple commands and ending badly confused. Surprisingly,
option-pageUp/Down, which are bound to pageUp:/pageDown: at the system
level, work fine.
These same bindings work fine in TextEdit and XCode.
Any suggestions about where I might look? Is there some TextMate default I
can set to see more of what's happening?
Thanks!
Brendan
brendandixon(a)mac.com
Hi all,
Anyone that's using the Quick
Search<http://www.datanoise.com/articles/2007/3/19/textmate-and-quick-searches>bundle
under Leopard finding that it's now broken? I'm getting the following
error as soon as I choose "Quick Search"
/tmp/temp_textmate.xdnrYn:4:in `require': no such file to load --
> /Library/Application Support/TextMate/Support/lib/dialog (LoadError) from
> /tmp/temp_textmate.xdnrYn:4 from /tmp/temp_textmate.xdnrYn:4:in `each' from
> /tmp/temp_textmate.xdnrYn:4
I've updated the bundles directory to the latest, but alas still no joy. Any
help would be appreciated.
Cheers,
Diego
Hi Jasper,
> When I do a quick look on a TextMate text document, I just see a big
> TextMate icon and not the content. Does anyone have an idea how that could
> be fixed? Is it a Mac OS problem for not showing the content of a text file
> or is the OS simply asking the app (TextMate) how the document should be
> shown somehow?
I was able to hack together something that works on my machine, based
on the comments here and some docs at Apple:
http://developer.apple.com/macosx/uniformtypeidentifiers.html. Note
that there are probably *WAY* more intelligent ways to do this, and if
you implement what I suggest here you are doing so AT YOUR OWN RISK.
:-)
Now, with that out of the way, I just created an empty application
(from the shell) with a hacked Info.plist, as follows:
/Applications/TypeMapper.app/
Contents/
Info.plist
In Info.plist I put the following:
===========================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>TypeMapper</string>
<key>CFBundleVersion</key>
<string>1436</string>
<key>LSMinimumSystemVersion</key>
<string>10.3.9</string>
<key>NSAppleScriptEnabled</key>
<string>NO</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>OakApplication</string>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeIdentifier</key>
<string>org.blah.LaTex</string>
<key>UTTypeDescription</key>
<string>LaTex</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.plain-text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>tex</string>
</array>
</dict>
</dict>
</array>
</dict>
</plist>
==================================================
The important stuff in there is the UTType stuff. Just adjust/copy
that "dict" section with fake data about the file type you want to use
with QuickLook. As long as UTTypeConformsTo is public.plain-text,
QuickLook will display it as text.
And if someone else knows how to do this properly, please let me know. :-)
Regards,
Chris.
I think I have discovered a bug in the LaTeX bundle:
When I insert a tabular/array snippet when I go to the second tab
stop (specification of the column) Iget
\begin{tabular}{rl}
& &
\end{tabular}
the spec rl tells that there are two columns, but inside the
environment I have 3 columns (resulting in a LaTeX error).
The same behaviour does not occur for example with r|l as column spec.
All the best
Guido
--
Dr Guido Governatori
School of Information Technology and Electrical Engineering
The University of Queensland
Brisbane, Queensland, 4072, Australia
Phone: +61-(0)7-336 52907
Fax: +61-(0)7-336 54999
http://www.governatori.net/TextMatehttp://www.defeasible.org
Hi, I'm a brand new TextMate user (as of yesterday), and have enjoyed
very much my experience so far. I do a lot of writing in LaTeX, and
have been very impressed with the design of the LaTeX-related
features. Virtually everything has worked as advertised, and I'm
busy integrating those new features I haven't had in the past into
both my memory and my workflow.
One question: The command "Typeset & View (PDF)" works fine, as does
syncing from my viewer (Skim) back to TextMate. However, I currently
am unable to go the other way. When I try "Show in PDF Viewer
(pdfsync)", nothing happens; if I change the output setting for the
command (in the bundle editor) to "Show as HTML", then executing the
command via the menu gives the following message:
Running sync on sensory-function.tex
pdfsync.sty must be included to use this command
I've looked through the list archives, but don't see any mention of
this symptom. I don't mind getting my hands dirty (and do have some
skill in Python, so I've started looking at texMate.py), but was
hoping someone could point me in the right direction to finish
diagnosing and/or fixing this particular issue.
(TeX Live 2007 distribution, Skim and TextMate both up-to-date)
Thanks very much,
-- Phil
Hi all,
Rudimentary editing inquiry here. I need to be able to append
alt="foo" to about 30 <img> tags on my HTML document which resembles
the following:
<img width="30" height="30" src="<?= base_url()
?>/media/img/patientedit.png">
Is there a quick way to do this in TextMate?
Cheers,
- sf
There are so many wonderful shortcuts and key assignments within
TextMate that it can sometimes get a bit confusing. I know that you
can hit `<apple><ctrl>t` and TextMate will happily bring up a master
list of all the bundle items and their associated key triggers or key
shortcuts, but that takes a while to search through if you are trying
to find out what '<apple><alt><shift>G' will do.
I would like to know if there is a bundle or hidden action, that will
allow you to go into a mode where you can then hit a key combo and it
will show you the action(s) associated with that combo. This would
also be very useful while you are in the Bundle editor mode to see if
a key-combo has already been assigned to something else when you are
creating your own commands or snippets.
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
Hi,
When I do a quick look on a TextMate text document, I just see a big
TextMate icon and not the content. Does anyone have an idea how that could
be fixed? Is it a Mac OS problem for not showing the content of a text file
or is the OS simply asking the app (TextMate) how the document should be
shown somehow?
The content of Text Clipping are not shown, but the content of RTF files and
OpenDocumentText (odt) files created by TextEdit are.
Thanks Jasper
--
View this message in context: http://www.nabble.com/leopard-quick-look-on-TextMate-text-documents-tf47281…
Sent from the textmate users mailing list archive at Nabble.com.
I'm sure Allan is all over it, but I noticed an issue with TextMate (v1.5.7)
running on Leopard. Clicking the "gear" popup at the bottom of the window
and selecting various bundles to see the commands, the text in the menus are
different sizes! Some small, some large. I remember seeing this before and
it was corrected.
I'll play around more tonight to see if there's some correlation between
menu items and text size.
--john
Hi,
this is my first active participation in the TextMate list. I've been
using the program for about 4 months now and it is absolutely worth
ecery cent.
I did some modifications and improvements to the php, html and
javascript bundles, mainly in terms of code snippets.
I've added a bunch of form related snippets to html, dom and event
handling methods to Javascript and added php doc snippets.
I thought these might be good for others as well.
How do I contact the bundle maintainers about this or do I need to go
straight the SVN route?
I tried searching the wiki and google, but didn't actually find a
precise answer.
I've never used SVN so far, so I am not quite sure how to go about this.
Any help is greatly appreciated.
Torsten Walter
__________________________________________________
3d-M | Professional Solutions for Online and Offline Media
Zum Piepenkerl 2 | 49090 Osnabrück | Germany
__________________________________________________
website: http://legacy.3d-m.de
tech-lab: http://playground.3d-m.de/
__________________________________________________
phone: +49 541 69 16 645
mobile: +49 179 12 13 561
__________________________________________________
email: tw(a)3d-m.de
On Oct 31, 2007, at 1:00 PM, textmate-request(a)lists.macromates.com
wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/mailman/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
> Today's Topics:
>
> 1. Re: Drag&Drop Operation with NIB - TM don't get the focus
> automatically (Hans-Joerg Bibiko)
> 2. Re: Ruby templates disappeared; Python Company setting
> (John Tsombakos)
> 3. TextMate and Leopard (John Tsombakos)
> 4. Re: Ruby templates disappeared; Python Company setting
> (James Edward Gray II)
> 5. Re: XMLMate plug-in broken as of TextMate 1.5.7?
> (Todd Ditchendorf)
> 6. Re: Re: What about TextMate 2? (Dave Lenz)
> 7. can I intercept / overwrite "Show Web Preview" (Roberto Saccon)
> 8. Re: TextMate and Leopard (Takaaki Kato)
> 9. Re: can I intercept / overwrite "Show Web Preview"
> (Hans-Joerg Bibiko)
> 10. Minor Pasteboard question (problem) (Hans-Joerg Bibiko)
> 11. Re: RSpec Bundle errors (Arthur P?try)
> 12. Re: Slow Xcode builds? (Gerd Knops)
> 13. Spaces (Richard K Miller)
> 14. Re: Spaces (Pat Maddox)
> 15. Re: Spaces (Richard K Miller)
> 16. Re: Spaces (Thomas Aylott)
> 17. Re: Remote host mysql database connection problem (Ciar?n Walsh)
> 18. Re: Spaces (Henrik Nyh)
> 19. Re: Spaces (Steve Finkelstein)
> 20. Re: Ctrl key and shortcuts cease working (Matt Freels)
> 21. Re: can I intercept / overwrite "Show Web Preview"
> (Roberto Saccon)
> 22. Re: Remote host mysql database connection problem (Alain
> Couchot)
> 23. Quick Search bundle in Leopard (Diego Barros)
> 24. Re: can I intercept / overwrite "Show Web Preview" (Brad Miller)
> 25. Re: can I intercept / overwrite "Show Web Preview"
> (Roberto Saccon)
> 26. Need help finding and MOVING text (mlondon)
> 27. Wrap selection as link - html weirdness (Digital Rust)
> 28. Re: Need help finding and MOVING text (Jay Soffian)
> 29. Re: Wrap selection as link - html weirdness (Thomas Aylott)
> 30. Re: Minor Pasteboard question (problem) (Rob McBroom)
> 31. Re: Need help finding and MOVING text (Roger Roelofs)
> 32. Re: Need help finding and MOVING text (Paul McCann)
> 33. Re: Minor Pasteboard question (problem) (Hans-Joerg Bibiko)
> 34. Hard wrapping again (Guido Governatori)
> 35. Re: Hard wrapping again (Hans-Joerg Bibiko)
> 36. Re: Hard wrapping again (Andy Armstrong)
> 37. Re: Hard wrapping again (Guido Governatori)
> 38. Re: Hard wrapping again (Guido Governatori)
> 39. Re: AS3/Flex, how to begin? (Gaby Vanhegan)
> 40. No Halloween-TM this year? (Niels Kobsch?tzki)
> 41. Re: AS3/Flex, how to begin? (Simon Gregory)
> 42. Re: AS3/Flex, how to begin? (Gaby Vanhegan)
>
> From: Hans-Joerg Bibiko <bibiko(a)eva.mpg.de>
> Date: October 30, 2007 1:03:08 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Drag&Drop Operation with NIB - TM don't get the
> focus automatically
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On 30 Oct 2007, at 10:58, Hans-Joerg Bibiko wrote:
>> I wrote a drag command which calls "$DIALOG" to show a nib. Fine.
>> If I drag a file from Finder to a new empty TM window, the nib
>> popups, but unfortunately TM don't get the focus.
>>
>> If I drag and drop e.g. an image from Finder to an HTML document
>> the current document gets the focus.
>>
>> Is this behaviour changeable?
>
> Furthermore it turns out that sometimes it works and sometimes not
> (?) Could it be a timimg issue?
>
> Hans
>
>
>
>
> From: "John Tsombakos" <tsom467(a)gmail.com>
> Date: October 30, 2007 1:55:07 PM GMT+01:00
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Ruby templates disappeared; Python Company setting
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>
>
> On 10/29/07, James Edward Gray II <james(a)grayproductions.net> wrote:
> On Oct 29, 2007, at 10:58 AM, Alexy Khrabrov wrote:
>
> > Greetings -- I was a happy user of Ruby templates until TextMate
> > decided to upgrade itself. Suddenly the Templates are gone from
> > the Ruby bundle! And indeed, they're not there in the latest Ruby
> > bundle. What happened to them and how can I get them back and
> > never let go?
>
> Allan and I felt that the template didn't add anything significant
> over ⌘N, ⌃⌥⇧R, rb⇥ and thus we decided to remove it.
>
> Yeah, I noticed it was gone too and was going to post a message
> also. Then I saw one of the bundle updates saying they were
> removed. Good thing I had some clue where to at least start to look!
>
> And also, if I recall, I tried the Control-Option-Shift-R, but it
> didn't work. I had to use Control-Option-Shift-E, then choose Ruby
> from the list.
>
>
>
> From: "John Tsombakos" <tsom467(a)gmail.com>
> Date: October 30, 2007 1:58:51 PM GMT+01:00
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: [TxMt] TextMate and Leopard
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> I'm sure Allan is all over it, but I noticed an issue with TextMate
> (v1.5.7) running on Leopard. Clicking the "gear" popup at the
> bottom of the window and selecting various bundles to see the
> commands, the text in the menus are different sizes! Some small,
> some large. I remember seeing this before and it was corrected.
>
> I'll play around more tonight to see if there's some correlation
> between menu items and text size.
>
> --john
>
> From: James Edward Gray II <james(a)grayproductions.net>
> Date: October 30, 2007 2:02:57 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Ruby templates disappeared; Python Company setting
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On Oct 30, 2007, at 7:55 AM, John Tsombakos wrote:
>
>> And also, if I recall, I tried the Control-Option-Shift-R, but it
>> didn't work. I had to use Control-Option-Shift-E, then choose Ruby
>> from the list.
>
> The commit message had a typo in it. It said to use E, but the R
> (for Ruby) is correct.
>
> James Edward Gray II
>
>
>
>
>
> From: Todd Ditchendorf <itod(a)mac.com>
> Date: October 30, 2007 2:05:56 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] XMLMate plug-in broken as of TextMate 1.5.7?
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Thanks for the report. I'll try to get a fix out. what version of
> OS X are u using?
>
> Todd Ditchendorf
>
> On Oct 30, 2007, at 1:51 AM, Rob Foxworthington wrote:
>
>> Just a quick question... wondering if it's just me or if XMLMate
>> 1.4.1
>> <http://www.ditchnet.org/xmlmate/> is broken as of TextMate 1.5.7
>> (1436)?
>>
>> Instead of the XMLMate window appearing, the following is reported on
>> the Console when clicking Windows => Show XMLMate Palette...
>>
>> TextMate[430] initializeLibxml
>> TextMate[430] *** +[OakTextView defaultEnvironmentVariables]:
>> selector not recognized
>> TextMate[430] *** +[OakTextView defaultEnvironmentVariables]:
>> selector not recognized
>>
>> Behavior started with the cutting edge release that preceded 1.5.7,
>> before that, everything was fine.
>>
>> Thanks!
>>
>> _____________________________________________________________________
>> _
>> 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
>
>
>
>
>
> From: Dave Lenz <info(a)ypmits.nl>
> Date: October 30, 2007 2:20:39 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Re: What about TextMate 2?
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Dutch cheese
>
> Op 25 okt 2007, om 01:33 heeft Xavier Cambar het volgende geschreven:
>
>>> design the release party in California
>>> then
>>> hold it in China where the Macs and iP*s all really come from. <G>
>>
>> Err... What product does NOT come from China, nowadays??
>>
>>
>>
>> Xavier Cambar
>>
>> _____________________________________________________________________
>> _
>> 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
>
>
>
>
>
> From: "Roberto Saccon" <rsaccon(a)gmail.com>
> Date: October 30, 2007 2:32:03 PM GMT+01:00
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] can I intercept / overwrite "Show Web Preview"
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> for specific non-HTML files I would like to perform some commands and
> then show the result as HTML preview, it that possible ?
>
> --
> Roberto Saccon
> http://rsaccon.com
>
>
>
>
> From: Takaaki Kato <devlist(a)samuraicoder.net>
> Date: October 30, 2007 2:43:09 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] TextMate and Leopard
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>
> On Oct 30, 2007, at 9:58 PM, John Tsombakos wrote:
>
>> I'm sure Allan is all over it, but I noticed an issue with
>> TextMate (v1.5.7) running on Leopard. Clicking the "gear" popup at
>> the bottom of the window and selecting various bundles to see the
>> commands, the text in the menus are different sizes! Some small,
>> some large. I remember seeing this before and it was corrected.
>
> In my experience, the tab triggers are larger. Not random. Can
> anybody confirm this?
>
>
> Takaaki
> --
> Takaaki Kato
> http://samuraicoder.net
>
>
>
>
> From: Hans-Joerg Bibiko <bibiko(a)eva.mpg.de>
> Date: October 30, 2007 2:46:29 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] can I intercept / overwrite "Show Web Preview"
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>
> On 30 Oct 2007, at 14:32, Roberto Saccon wrote:
>> for specific non-HTML files I would like to perform some commands and
>> then show the result as HTML preview, it that possible ?
>
> 1)
> Open Web Preview
> Show Options
> Check 'Pipe text through' "YOUR SCRIPT"
>
> 2)
> Write a command which executes your script and set "Output" to
> "Show as HTML"
>
> --Hans
>
>
>
>
> From: Hans-Joerg Bibiko <bibiko(a)eva.mpg.de>
> Date: October 30, 2007 2:57:13 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Minor Pasteboard question (problem)
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Hi,
>
> I'm using Safari 3.0.3 on Tiger.
>
> I use Safari's upper right search text field to google something.
> Fine. After doing that I return to TM and the search string appears
> in TM's Find Dialog?
> This could be under some circumstances quite useful but is there a
> way to suppress such behaviour?
>
> Thanks,
>
> Hans
>
>
>
>
> From: Arthur Pétry <arthur.petry(a)bolloretelecom.eu>
> Date: October 30, 2007 3:09:02 PM GMT+01:00
> To: textmate(a)lists.macromates.com
> Cc: alastair(a)kozmo.co.uk
> Subject: Re: [TxMt] RSpec Bundle errors
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>
>> Hi all,
>>
>> I'm trying to run rspec bundle command but am getting errors.
>>
>> /Users/alastair/Library/Application Support/TextMate/Bundles/
>> RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in `run':
>> undefined method `parse' for Spec::Runner::OptionParser:Class
>> (NoMethodError) from /Users/alastair/Library/Application Support/
>> TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
>> runner.rb:33:in `chdir' from /Users/alastair/Library/Application
>> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/
>> mate/
>> runner.rb:33:in `run' from /Users/alastair/Library/Application
>> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/
>> mate/
>> runner.rb:12:in `run_file' from /tmp/temp_textmate.U7M7Xe:4
>>
>>
>> Does anyonene have any ideas what might be causing this?
>
> Hi Alastair.
>
> Same problem here (RSpec-1.0.8 and RSpec.tmbundle from trunk @ 2796)
>
> Resolved by changing one line in runner.rb see patch :
>
> <patch.diff>
>
>
> But I'm very new to Rspec, so I don't have any idea of why we have
> to do that and I don't know if it breaks something.
>
>
> Arthur
>
>
> From: Gerd Knops <gerti-textmate(a)bitart.com>
> Date: October 30, 2007 4:18:37 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Slow Xcode builds?
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>
> On Oct 29, 2007, at 4:43 PM, Allan Odgaard wrote:
>
>> On 27 Oct 2007, at 18:38, Gerd Knops wrote:
>>
>>> Since upgrading to Leopard Xcode builds (using xcodebuild tool
>>> from the functions in the Xcode bundle) seems a lot slower,
>>> specifically it seems the "Checking Dependencies" phase is
>>> responsible for that.
>>>
>>> Anybody else seing this? Anyone have a workaround?
>>
>> I am also seeing that, and it sucks. I have one project that is an
>> umbrella for 14 or so (sub)projects, and I think it takes >1
>> minute to check dependencies, even re-running the build (on a Mac
>> Pro with plenty of memory) does not make it faster.
>>
>> Afraid the only solution for now is file performance bugs for
>> xcodebuild at http://bugreport.apple.com/
>
> Already done, but I guess with bugreporter more is better...
>
> Gerd
>
>
>
>
>
> From: Richard K Miller <richardkmiller(a)gmail.com>
> Date: October 30, 2007 4:40:37 PM GMT+01:00
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Spaces
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> So far I like Spaces, with a couple of caveats:
>
> 1. It can be confusing to open multiple windows of the same
> application in separate spaces. For example, I'd like to have one
> Textmate window for web development and another for my GTD list, in
> separate spaces. The problem is that when I use Command-Tab to
> switch to Textmate, it switches to the most recent Textmate window
> I used instead of the Textmate window in the current space (which
> is what I would prefer.) I think Command-Tab should give priority
> to application windows in the current space. As far as I can tell
> this is a Spaces characteristic since TextEdit behaves the same.
>
> 2. When I open the Find dialog in Textmate, it switches to the last
> space where I used Find, instead of bringing the Find dialog into
> the current space. I believe this is a Textmate issue, as it does
> not occur in TextEdit. If this is scheduled to be fixed in version
> 2.0, I can wait. Should I submit this as a bug, or is this expected
> behavior?
>
> Richard
>
>
>
>
>
>
> From: "Pat Maddox" <pergesu(a)gmail.com>
> Date: October 30, 2007 4:49:55 PM GMT+01:00
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Spaces
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On Oct 30, 2007 8:40 AM, Richard K Miller
> <richardkmiller(a)gmail.com> wrote:
>> So far I like Spaces, with a couple of caveats:
>>
>> 1. It can be confusing to open multiple windows of the same
>> application in separate spaces. For example, I'd like to have one
>> Textmate window for web development and another for my GTD list, in
>> separate spaces. The problem is that when I use Command-Tab to switch
>> to Textmate, it switches to the most recent Textmate window I used
>> instead of the Textmate window in the current space (which is what I
>> would prefer.) I think Command-Tab should give priority to
>> application
>> windows in the current space. As far as I can tell this is a Spaces
>> characteristic since TextEdit behaves the same.
>>
>> 2. When I open the Find dialog in Textmate, it switches to the last
>> space where I used Find, instead of bringing the Find dialog into the
>> current space. I believe this is a Textmate issue, as it does not
>> occur in TextEdit. If this is scheduled to be fixed in version 2.0, I
>> can wait. Should I submit this as a bug, or is this expected
>> behavior?
>>
>> Richard
>>
>>
>>
>> _____________________________________________________________________
>> _
>> 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
>>
>
>
> I wouldn't be so quick to blame TM. I find a lot of funkiness with
> other apps (firefox, mail). I'm sure that since Spaces is brand new
> there will be some wrinkles to iron out. Though I'm not too sure that
> Apple will actually fix them.
>
> Also, I thought 2.0 was just a rumor that wasn't going to happen. At
> least that's what it says in the IRC chan...
>
> Pat
>
>
>
>
> From: Richard K Miller <richardkmiller(a)gmail.com>
> Date: October 30, 2007 5:00:18 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Spaces
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>
> On Oct 30, 2007, at 9:49 AM, Pat Maddox wrote:
>
>> On Oct 30, 2007 8:40 AM, Richard K Miller
>> <richardkmiller(a)gmail.com> wrote:
>>> So far I like Spaces, with a couple of caveats:
>>>
>>> 1. It can be confusing to open multiple windows of the same
>>> application in separate spaces. For example, I'd like to have one
>>> Textmate window for web development and another for my GTD list, in
>>> separate spaces. The problem is that when I use Command-Tab to
>>> switch
>>> to Textmate, it switches to the most recent Textmate window I used
>>> instead of the Textmate window in the current space (which is what I
>>> would prefer.) I think Command-Tab should give priority to
>>> application
>>> windows in the current space. As far as I can tell this is a Spaces
>>> characteristic since TextEdit behaves the same.
>>>
>>> 2. When I open the Find dialog in Textmate, it switches to the last
>>> space where I used Find, instead of bringing the Find dialog into
>>> the
>>> current space. I believe this is a Textmate issue, as it does not
>>> occur in TextEdit. If this is scheduled to be fixed in version
>>> 2.0, I
>>> can wait. Should I submit this as a bug, or is this expected
>>> behavior?
>>>
>>> Richard
>>>
>> I wouldn't be so quick to blame TM. I find a lot of funkiness with
>> other apps (firefox, mail). I'm sure that since Spaces is brand new
>> there will be some wrinkles to iron out. Though I'm not too sure
>> that
>> Apple will actually fix them.
>>
>> Also, I thought 2.0 was just a rumor that wasn't going to happen. At
>> least that's what it says in the IRC chan...
>
> I don't believe TM is to blame for #1. As for #2, I haven't tested
> other apps, but TextEdit seems to behave correctly while TM doesn't
> work. I suppose that could still be a bug in Spaces.
>
> I hadn't heard about 2.0 being a rumor.
>
>
>
>
>
> From: Thomas Aylott <textmate(a)subtlegradient.com>
> Date: October 30, 2007 5:25:23 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Spaces
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> There's a workaround for #2
>
> I just wrote an article about it on my blog: subtleGradient.com
>
> I'll be releasing an updated GUI replacement pack soon that fixes
> this issue today or tomorrow.
>
> (Never wait for mythical upgrades that have no release dates ;)
>
> Thomas Aylott [SubtleGradient] from iPhone
>
> On Oct 30, 2007, at 11:40 AM, Richard K Miller
> <richardkmiller(a)gmail.com> wrote:
>
>> So far I like Spaces, with a couple of caveats:
>>
>> 1. It can be confusing to open multiple windows of the same
>> application in separate spaces. For example, I'd like to have one
>> Textmate window for web development and another for my GTD list,
>> in separate spaces. The problem is that when I use Command-Tab to
>> switch to Textmate, it switches to the most recent Textmate window
>> I used instead of the Textmate window in the current space (which
>> is what I would prefer.) I think Command-Tab should give priority
>> to application windows in the current space. As far as I can tell
>> this is a Spaces characteristic since TextEdit behaves the same.
>>
>> 2. When I open the Find dialog in Textmate, it switches to the
>> last space where I used Find, instead of bringing the Find dialog
>> into the current space. I believe this is a Textmate issue, as it
>> does not occur in TextEdit. If this is scheduled to be fixed in
>> version 2.0, I can wait. Should I submit this as a bug, or is this
>> expected behavior?
>>
>> Richard
>>
>>
>>
>> _____________________________________________________________________
>> _
>> 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
>
>
>
>
> From: Ciarán Walsh <ciawal(a)gmail.com>
> Date: October 30, 2007 5:34:37 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Remote host mysql database connection problem
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>
> On 28 Oct 2007, at 04:03, Alain Couchot wrote:
>
>>
>> When I try to connect with TM I get a message : Unknown system
>> variable ''
>> coming from mysql server.
>
> Hi Alain,
>
> That’s odd – looks like your server doesn’t have an encoding
> set. I’ve modified the SQL bundle to handle this gracefully, so
> you have the following options:
>
> • If you are already using an SVN checkout of the bundle just
> update it
> • If you’re not then check the manual under “Getting New
> Bundles” for information on how to get it
> • You can use this patch to fix the problem:
>
> ======================
> Index: db_browser_lib.rb
> ===================================================================
> --- db_browser_lib.rb (revision 8375)
> +++ db_browser_lib.rb (working copy)
> @@ -55,11 +55,7 @@
> def get_mysql(database = nil)
> unless @@connector
> @@connector = Mysql::new(@settings.host, @settings.user,
> @settings.password, database || @settings.name, @settings.port)
> - begin
> - encoding = @@connector.query('SELECT
> @@character_set_database AS server').fetch_hash
> - rescue
> - encoding = {:server => 'utf8'}
> - end
> + encoding = @@connector.query('SELECT
> @@character_set_database AS server').fetch_hash
> @@connector.query('SET NAMES utf8;') if encoding["server"] !
> = 'latin1'
> end
> @@connector
>
>
> ======================
> Apply it in /Applications/TextMate.app/Contents/SharedSupport/
> Bundles/SQL.tmbundle/Support/bin/
>
> Or of course you can just wait for the next TextMate update, when
> you’ll get it automatically.
>
> Ciarán
>
>
>
> From: "Henrik Nyh" <henrik(a)nyh.se>
> Date: October 30, 2007 6:04:42 PM GMT+01:00
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Spaces
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On 10/30/07, Pat Maddox <pergesu(a)gmail.com> wrote:
>> Also, I thought 2.0 was just a rumor that wasn't going to happen. At
>> least that's what it says in the IRC chan...
>
> That was a perhaps poorly phrased (something like: "TM2 is only a
> rumor – don't ask") way of saying "don't bother the developer about
> TM2". The IRC channel topic has since replaced that text with a link
> to http://macromates.com/wiki/FAQ/TextMate2.
>
>
>
> From: "Steve Finkelstein" <sf(a)stevefink.net>
> Date: October 30, 2007 6:08:17 PM GMT+01:00
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Spaces
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Also keep in mind, Spaces in its current implementation is far from
> perfect. I've already experienced a bug that lost all of my windows.
> The applications were not prematurely exited, but no matter what I
> did, I could not bring them into the foreground or regain control of
> them. I have not been able to replicate this particular bug, but I
> have submitted a note about it to Apple.
>
> - sf
>
> On 10/30/07, Henrik Nyh <henrik(a)nyh.se> wrote:
>> On 10/30/07, Pat Maddox <pergesu(a)gmail.com> wrote:
>>> Also, I thought 2.0 was just a rumor that wasn't going to
>>> happen. At
>>> least that's what it says in the IRC chan...
>>
>> That was a perhaps poorly phrased (something like: "TM2 is only a
>> rumor – don't ask") way of saying "don't bother the developer about
>> TM2". The IRC channel topic has since replaced that text with a link
>> to http://macromates.com/wiki/FAQ/TextMate2.
>>
>>
>> _____________________________________________________________________
>> _
>> 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
>>
>
>
>
>
> From: Matt Freels <matt(a)furtherin.net>
> Date: October 30, 2007 3:37:26 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Ctrl key and shortcuts cease working
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>>> I just ran into a problem where after the recent update (version
>>> 1436), all of TM's shortcuts involving the ctrl key broke.
>>
>> What is an example of a shortcut which broke?
>
> Well, not helpfully at all bug-context-wise but much to my relief,
> the shortcut keys started working again.
>
> Commands that didn't work included switching language definitions,
> Insert Open/Close Tag in HTML, seemed like anything that didn't use
> the command key except some of the emacs-like shortcuts (^a, ^e,
> ^k, etc.). I'm sorry I can't tell you for sure.
>
> One thing I didn't think of trying while troubleshooting the
> problem but have done in the meantime was to switch languages in
> the international panel. I sometimes jump back and forth between
> italian and english in the same session, and maybe that broke things.
>
> Thanks,
>
> --matt
>
>
>
>
> From: "Roberto Saccon" <rsaccon(a)gmail.com>
> Date: October 30, 2007 7:58:36 PM GMT+01:00
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] can I intercept / overwrite "Show Web Preview"
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> thanks, I should have mentioned that I am aware of that, what I don't
> know is how to make those steps part of a language bundle, so I can
> distribute this functionality, without the User having to install it
> manually.
>
> On 10/30/07, Hans-Joerg Bibiko <bibiko(a)eva.mpg.de> wrote:
>>
>> On 30 Oct 2007, at 14:32, Roberto Saccon wrote:
>>> for specific non-HTML files I would like to perform some commands
>>> and
>>> then show the result as HTML preview, it that possible ?
>>
>> 1)
>> Open Web Preview
>> Show Options
>> Check 'Pipe text through' "YOUR SCRIPT"
>>
>> 2)
>> Write a command which executes your script and set "Output" to "Show
>> as HTML"
>>
>> --Hans
>>
>> _____________________________________________________________________
>> _
>> 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
>>
>
>
> --
> Roberto Saccon
> http://rsaccon.com
>
>
>
>
> From: Alain Couchot <ac(a)sdv.fr>
> Date: October 30, 2007 10:35:44 PM GMT+01:00
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Re: Remote host mysql database connection problem
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Thanks for your help and your patch
> I installed the new bundle without success
> Perhaps should I say that my dabase is configured in french
> language and the exact error message is in french :
>
> Variable syst�me '' inconnue
>
> Regards
> Alain
>
> Ciarán Walsh a écrit :
>> Hi Alain,
>> That’s odd – looks like your server doesn’t have an encoding
>> set. I’ve modified the SQL bundle to handle this gracefully, so
>> you have the following options:
>
>
>
>
>
> From: "Diego Barros" <diego(a)heyboyo.com>
> Date: October 30, 2007 11:24:53 PM GMT+01:00
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Quick Search bundle in Leopard
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Hi all,
>
> Anyone that's using the Quick Search bundle under Leopard finding
> that it's now broken? I'm getting the following error as soon as I
> choose "Quick Search"
>
> /tmp/temp_textmate.xdnrYn:4:in `require': no such file to load -- /
> Library/Application Support/TextMate/Support/lib/dialog (LoadError)
> from /tmp/temp_textmate.xdnrYn:4 from /tmp/temp_textmate.xdnrYn:
> 4:in `each' from /tmp/temp_textmate.xdnrYn:4
>
>
> I've updated the bundles directory to the latest, but alas still no
> joy. Any help would be appreciated.
>
> Cheers,
> Diego
>
>
> From: Brad Miller <bonelake(a)gmail.com>
> Date: October 30, 2007 11:29:33 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] can I intercept / overwrite "Show Web Preview"
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Roberto,
>
> Maybe I'm not really understanding what you want to do, but You
> can always write a command for your bundle (with whatever
> processing you want to the file) and then set the key equivalent
> to ⌃⌥⌘-p. If you set the scope for your command to your
> language scope then your command will take precedence over the
> general preview command.
>
> Brad
>
>
> On Oct 30, 2007, at 1:58 PM, Roberto Saccon wrote:
>
>> thanks, I should have mentioned that I am aware of that, what I don't
>> know is how to make those steps part of a language bundle, so I can
>> distribute this functionality, without the User having to install it
>> manually.
>>
>> On 10/30/07, Hans-Joerg Bibiko <bibiko(a)eva.mpg.de> wrote:
>>>
>>> On 30 Oct 2007, at 14:32, Roberto Saccon wrote:
>>>> for specific non-HTML files I would like to perform some
>>>> commands and
>>>> then show the result as HTML preview, it that possible ?
>>>
>>> 1)
>>> Open Web Preview
>>> Show Options
>>> Check 'Pipe text through' "YOUR SCRIPT"
>>>
>>> 2)
>>> Write a command which executes your script and set "Output" to "Show
>>> as HTML"
>>>
>>> --Hans
>>>
>>> ____________________________________________________________________
>>> __
>>> 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
>>>
>>
>>
>> --
>> Roberto Saccon
>> http://rsaccon.com
>>
>> _____________________________________________________________________
>> _
>> 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
>
>
>
>
>
> From: "Roberto Saccon" <rsaccon(a)gmail.com>
> Date: October 31, 2007 12:50:15 AM GMT+01:00
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] can I intercept / overwrite "Show Web Preview"
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Brad, thanks. I didn't know about that (It's just the third day I am
> using textmate)
>
> On 10/30/07, Brad Miller <bonelake(a)gmail.com> wrote:
>> Roberto,
>>
>> Maybe I'm not really understanding what you want to do, but You can
>> always write a command for your bundle (with whatever processing you
>> want to the file) and then set the key equivalent to ⌃⌥⌘-p. If
>> you set the scope for your command to your language scope then your
>> command will take precedence over the general preview command.
>>
>> Brad
>>
>>
>> On Oct 30, 2007, at 1:58 PM, Roberto Saccon wrote:
>>
>>> thanks, I should have mentioned that I am aware of that, what I
>>> don't
>>> know is how to make those steps part of a language bundle, so I can
>>> distribute this functionality, without the User having to install it
>>> manually.
>>>
>>> On 10/30/07, Hans-Joerg Bibiko <bibiko(a)eva.mpg.de> wrote:
>>>>
>>>> On 30 Oct 2007, at 14:32, Roberto Saccon wrote:
>>>>> for specific non-HTML files I would like to perform some commands
>>>>> and
>>>>> then show the result as HTML preview, it that possible ?
>>>>
>>>> 1)
>>>> Open Web Preview
>>>> Show Options
>>>> Check 'Pipe text through' "YOUR SCRIPT"
>>>>
>>>> 2)
>>>> Write a command which executes your script and set "Output" to
>>>> "Show
>>>> as HTML"
>>>>
>>>> --Hans
>>>>
>>>> ___________________________________________________________________
>>>> ___
>>>> 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
>>>>
>>>
>>>
>>> --
>>> Roberto Saccon
>>> http://rsaccon.com
>>>
>>> ____________________________________________________________________
>>> __
>>> 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
>>
>>
>> _____________________________________________________________________
>> _
>> 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
>>
>
>
> --
> Roberto Saccon
> http://rsaccon.com
>
>
>
> From: mlondon <mlondon(a)sprynet.com>
> Date: October 31, 2007 1:18:50 AM GMT+01:00
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Need help finding and MOVING text
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>
> Hi,
>
> I need to edit a giant vCard file which has been exported from Palm
> Desktop
> and contains about 1000 entried. The Palm export puts my Notes
> directly
> under the phone number and then all my custom fields below that.
> When I open
> in Address Book, the Custom fields are buried below my notes.
>
> I would like to be able to FIND a string and move it up or down in
> the file.
> Is this possible?
>
> For example:
>
>
> FN:Pam
> N:;Pam
> ADR:;;1911 North Duncan Road;Champaign;IL;61821;USA
> LABEL;QUOTED-PRINTABLE:1911 North Duncan Road=0D=0AChampaign, IL
> 61821=0D=0AUSA
> TEL;WORK:217-355-9331
> TEL;FAX:217-355-9413
> ORG:Balough Scientific Books
> NOTE;QUOTED-PRINTABLE:=0D=0A[Comments]=0D=0ADistributors of PROSEA
> books
> REV:20020222
> X-Palm-Category1:Bookstore
>
> I would like to move the line containing: "X-Palm-
> Category1:Bookstore" ABOVE
> the line which starts: NOTE;
>
> Thank you...
> --
> View this message in context: http://www.nabble.com/Need-help-
> finding-and-MOVING-text-tf4704885.html#a13448389
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
>
>
>
> From: Digital Rust <digitalrust(a)digitalrust.com>
> Date: October 31, 2007 1:36:50 AM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Wrap selection as link - html weirdness
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> I've come across some odd behavior when using the html bundle and
> converting mail addresses to links:
>
> If I copy name(a)email.com and then use the key comand, it results in
> <a
> href="mailto:dave@dave&#x
> 2E;com">name(a)email.com</a>
>
> Is there a workaround?
>
> -Dave
>
>
>
>
> From: "Jay Soffian" <jaysoffian+txmt(a)gmail.com>
> Date: October 31, 2007 2:10:47 AM GMT+01:00
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Need help finding and MOVING text
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On 10/30/07, mlondon <mlondon(a)sprynet.com> wrote:
>
>> I would like to be able to FIND a string and move it up or down in
>> the file.
>
> Pipe the document through:
>
> perl -ne 'BEGIN{$"=undef}push(@hold, $_) if /^NOTE/../^X-Palm/; print
> unless @hold; if (/^X-Palm/) {pop @hold; print "$_@hold"; @hold=()}'
>
> j.
>
>
>
>
> From: Thomas Aylott <textmate(a)subtlegradient.com>
> Date: October 31, 2007 2:11:24 AM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Wrap selection as link - html weirdness
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> is it only obfuscating the email in the link and not the actual
> text of the email?
> Or do you not want it to obfuscate at all?
>
> On Oct 30, 2007, at 8:36 PM, Digital Rust wrote:
>
>> I've come across some odd behavior when using the html bundle and
>> converting mail addresses to links:
>>
>> If I copy name(a)email.com and then use the key comand, it results
>> in <a
>> href="mailto:dave@dave&#
>> x2E;com">name(a)email.com</a>
>>
>> Is there a workaround?
>>
>> -Dave
>
> —Thomas Aylott – subtleGradient—
>
>
>
>
>
> From: Rob McBroom <textmate(a)skurfer.com>
> Date: October 31, 2007 4:56:01 AM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Minor Pasteboard question (problem)
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On 2007-Oct-30, at 9:57 AM, Hans-Joerg Bibiko wrote:
>
>> I use Safari's upper right search text field to google something.
>> Fine. After doing that I return to TM and the search string
>> appears in TM's Find Dialog?
>> This could be under some circumstances quite useful but is there a
>> way to suppress such behaviour?
>
> I imagine that they started using the shared "find buffer" for that
> field in Safari. Forgive me if this is old news, but if you select
> something and hit ⌘E, it gets put into a system wide buffer. That
> string then becomes "the thing you're searching for" in all Cocoa
> applications. I've seen it shared between OmniWeb, TextMate,
> Quicksilver, TextEdit, etc. Although it usually only applies to
> the ⌘F "search in page", I guess they decided to use it for the
> web search control in Safari as well.
>
> I don't know of a way to suppress the behavior, but you could avoid
> it by using OmniWeb. :)
>
> ---
> Rob McBroom
> <http://www.skurfer.com/>
>
>
>
>
>
>
>
> From: Roger Roelofs <roger.roelofs(a)gmail.com>
> Date: October 31, 2007 7:46:07 AM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Need help finding and MOVING text
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Jay Soffian wrote:
>> perl -ne 'BEGIN{$"=undef}push(@hold, $_) if /^NOTE/../^X-Palm/; print
>> unless @hold; if (/^X-Palm/) {pop @hold; print "$_@hold"; @hold=()}'
>>
> (not TextMate related ... sorry)
> I'm somewhat familiar with perl, but I've never seen 'if /^NOTE/../
> ^X-Palm/' before. Where can I find it in the docs?
>
>
> Roger
> --
> roger-roelofs(a)gmail.com
>
>
>
>
>
> From: Paul McCann <pmccann(a)gmail.com>
> Date: October 31, 2007 8:28:23 AM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Need help finding and MOVING text
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Roger Roelofs asked:
>
>> I'm somewhat familiar with perl, but I've never seen 'if /
>> ^NOTE/../^X-Palm/' before. Where can I find it in the docs?
>
> You can see an explanation of this "flip-flop" operator with some
> nice examples via
>
> perldoc perlop
>
> Search for "Range Operators".
>
> Cheers,
> Paul
>
> From: Hans-Joerg Bibiko <bibiko(a)eva.mpg.de>
> Date: October 31, 2007 9:34:00 AM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Minor Pasteboard question (problem)
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On 31 Oct 2007, at 04:56, Rob McBroom wrote:
>> On 2007-Oct-30, at 9:57 AM, Hans-Joerg Bibiko wrote:
>>
>>> I use Safari's upper right search text field to google something.
>>> Fine. After doing that I return to TM and the search string
>>> appears in TM's Find Dialog?
>>> This could be under some circumstances quite useful but is there
>>> a way to suppress such behaviour?
>> I imagine that they started using the shared "find buffer" for
>> that field in Safari. Forgive me if this is old news, but if you
>> select something and hit ⌘E, it gets put into a system wide
>> buffer. That string then becomes "the thing you're searching for"
>> in all Cocoa applications. I've seen it shared between OmniWeb,
>> TextMate, Quicksilver, TextEdit, etc. Although it usually only
>> applies to the ⌘F "search in page", I guess they decided to use
>> it for the web search control in Safari as well.
>>
>> I don't know of a way to suppress the behavior, but you could
>> avoid it by using OmniWeb. :)
> Thanks. I see.
>
> I only wonder whether TM could be configured in such a way to use
> either the "shared find buffer" or a "local find buffer". I
> believe, if any, that would be a question to Allan.
>
> Cheers,
>
> --Hans
>
>
>
> From: Guido Governatori <guido(a)itee.uq.edu.au>
> Date: October 31, 2007 9:46:07 AM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Hard wrapping again
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> For many reasons, I would like to have the possibility to hard wrap
> my file (mainly for LaTeX files).
>
> Reformat paragraph alone (^Q) does not work in the way I like, but
> selecting a line Shift-cmd-L and ^Q does what I want.
>
> What I would like to know is whether there is a way to automate
> this procedure for a file (all the line in the file), or whether I
> have to write my own command for this (or there is a script called
> by ^Q).
>
> All the best
>
> Guido
> --
> Dr Guido Governatori
> School of Information Technology and Electrical Engineering
> The University of Queensland
> Brisbane, Queensland, 4072, Australia
> Phone: +61-(0)7-336 52907
> Fax: +61-(0)7-336 54999
> http://www.governatori.net/TextMate
> http://www.defeasible.org
>
>
>
>
>
>
> From: Hans-Joerg Bibiko <bibiko(a)eva.mpg.de>
> Date: October 31, 2007 10:22:57 AM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Hard wrapping again
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On 31 Oct 2007, at 09:46, Guido Governatori wrote:
>> For many reasons, I would like to have the possibility to hard
>> wrap my file (mainly for LaTeX files).
>>
>> Reformat paragraph alone (^Q) does not work in the way I like, but
>> selecting a line Shift-cmd-L and ^Q does what I want.
>>
>> What I would like to know is whether there is a way to automate
>> this procedure for a file (all the line in the file), or whether I
>> have to write my own command for this (or there is a script called
>> by ^Q).
> Please forgive me, if I understood your problem wrong!
>
> Did you try to set the "wrap column" to what ever; select all (APPLE
> +A); press CTRL+Q?
> That you could record as macro.
>
> Or is there something I missed?
>
> Best,
>
> --Hans
>
>
>
>
>
> From: Andy Armstrong <andy(a)hexten.net>
> Date: October 31, 2007 10:34:13 AM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Hard wrapping again
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On 31 Oct 2007, at 08:46, Guido Governatori wrote:
>> Reformat paragraph alone (^Q) does not work in the way I like, but
>> selecting a line Shift-cmd-L and ^Q does what I want.
>>
>> What I would like to know is whether there is a way to automate
>> this procedure for a file (all the line in the file), or whether I
>> have to write my own command for this (or there is a script called
>> by ^Q).
>
>
> Just set up a command that pipes the text through fmt.
>
> --
> Andy Armstrong, Hexten
>
>
>
>
>
>
>
>
> From: Guido Governatori <guido(a)itee.uq.edu.au>
> Date: October 31, 2007 11:14:30 AM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Hard wrapping again
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>>> On 31 Oct 2007, at 09:46, Guido Governatori wrote:
>>>> For many reasons, I would like to have the possibility to hard
>>>> wrap my file (mainly for LaTeX files).
>>>>
>>>> Reformat paragraph alone (^Q) does not work in the way I like,
>>>> but selecting a line Shift-cmd-L and ^Q does what I want.
>>>>
>>>> What I would like to know is whether there is a way to automate
>>>> this procedure for a file (all the line in the file), or whether
>>>> I have to write my own command for this (or there is a script
>>>> called by ^Q).
>>> Please forgive me, if I understood your problem wrong!
>>>
>> Sorry I should have been more precise.
>>
>>> Did you try to set the "wrap column" to what ever; select all
>>> (APPLE+A); press CTRL+Q?
>>>
>> I have tried it but it does not do what I want.
>>
>> The problem with CTRL-Q is that it does not "respect" LaTeX
>> constructions.
>>
>> For example
>>
>> long line to be wrapped
>> \[
>> math
>> \]
>> long line to be wrapped
>>
>> with the proposed solution produces
>>
>> long line to be wrapped \[ math \] long line to be wrapped
>>
>> while with the one line at a time reformatting the above case is
>> handled properly.
>>
>> Thanks anyway
>>
>> Guido
>>
>> --
>> Dr Guido Governatori
>> School of Information Technology and Electrical Engineering
>> The University of Queensland
>> Brisbane, Queensland, 4072, Australia
>> Phone: +61-(0)7-336 52907
>> Fax: +61-(0)7-336 54999
>> http://www.itee.uq.edu.au/~guidohttp://www.governatori.net
>> http://www.defeasible.org
>>
>>
>
>
>
>
> From: Guido Governatori <guido(a)itee.uq.edu.au>
> Date: October 31, 2007 11:24:19 AM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Hard wrapping again
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>
> On 31/10/2007, at 7:34 PM, Andy Armstrong wrote:
>
>> On 31 Oct 2007, at 08:46, Guido Governatori wrote:
>>> Reformat paragraph alone (^Q) does not work in the way I like,
>>> but selecting a line Shift-cmd-L and ^Q does what I want.
>>>
>>> What I would like to know is whether there is a way to automate
>>> this procedure for a file (all the line in the file), or whether
>>> I have to write my own command for this (or there is a script
>>> called by ^Q).
>>
>>
>> Just set up a command that pipes the text through fmt.
>
> It merges lines.
>
> line
> \[
> math
> \]
> line
>
> is transformed into
>
> line \[
> math
> \] line
>
> But the worst part is with comments :-(
>
> Thanks anyway
>
> Guido
> --
> Dr Guido Governatori
> School of Information Technology and Electrical Engineering
> The University of Queensland
> Brisbane, Queensland, 4072, Australia
> Phone: +61-(0)7-336 52907
> Fax: +61-(0)7-336 54999
> http://www.governatori.net/TextMate
> http://www.defeasible.org
>
>
>
>
>
>
> From: Gaby Vanhegan <gaby(a)vanhegan.net>
> Date: October 31, 2007 11:29:28 AM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] AS3/Flex, how to begin?
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>
> On 24 Oct 2007, at 06:35, Boysenberry Payne wrote:
>
>> So I'm guessing the work of porting is only as hard as it was to
>> build it
>> the first time minus the part of figuring out the logic.
>
> True, it's not as fearsome as I suspected it would be.
>
> One question though; where is a sensible place to set any extra
> arguments that are passed to mxmlc at compilation time (Apple-B)?
> I need to add a -default-size argument to the compiler but can't
> see where. I don't want to edit the build script but I want to put
> it in the 'right' place. Is there a project specific variable I
> could use?
>
> Gaby
>
> --
> Junkets for bunterish lickspittles since 1998!
> http://www.playr.co.uk/
>
>
>
> From: Niels Kobschätzki <n.kobschaetzki(a)googlemail.com>
> Date: October 31, 2007 12:12:36 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] No Halloween-TM this year?
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Sad, that this year my TM didn't switch to Halloween-mode - I
> really liked it :)
>
> Niels
>
>
>
>
> From: Simon Gregory <simon(a)helvector.org>
> Date: October 31, 2007 12:32:50 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] AS3/Flex, how to begin?
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>> One question though; where is a sensible place to set any extra
>> arguments that are passed to mxmlc at compilation time (Apple-B)?
>> I need to add a -default-size argument to the compiler but can't
>> see where. I don't want to edit the build script but I want to
>> put it in the 'right' place. Is there a project specific variable
>> I could use?
>
> There are two ways to do this, firstly you could choose the Build
> (custom) command and have it execute your own script. However I'd
> recommend that you use a build-config.xml file which mxmlc reads
> when it beings the compilation process. You should see that it
> reads {flex_sdk_home}/frameworks/flex-config.xml (you can open this
> file by running the Configuration > Open flex-config.xml command)
> as the first step of compilation. By default mxmlc will also search
> for a config file in the same directory as your Main.as or
> Main.mxml file with a -config.xml suffix (so Main-config.xml).
>
> In your case the contents of the file should be:
>
> <flex-config>
> <default-size>
> <width>100</width>
> <height>200</height>
> </default-size>
> </flex-config>
>
> Hope this helps.
> Simon
>
>
>
>
> From: Gaby Vanhegan <gaby(a)vanhegan.net>
> Date: October 31, 2007 12:44:03 PM GMT+01:00
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] AS3/Flex, how to begin?
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
>
> On 31 Oct 2007, at 11:32, Simon Gregory wrote:
>
>>> One question though; where is a sensible place to set any extra
>>> arguments that are passed to mxmlc at compilation time (Apple-
>>> B)? I need to add a -default-size argument to the compiler but
>>> can't see where. I don't want to edit the build script but I
>>> want to put it in the 'right' place. Is there a project specific
>>> variable I could use?
>>
>> There are two ways to do this...
>>
>> By default mxmlc will also search for a config file in the same
>> directory as your Main.as or Main.mxml file with a -config.xml
>> suffix (so Main-config.xml).
>
> That's exactly what I was looking for, thank you! I had put the
> directives into the Flex/frameworks/flex-config.xml files
> originally as a work-around but I wasn't happy with this. This
> solution solves the problem neatly and cleanly.
>
> Many thanks!
>
> Gaby
>
> --
> Junkets for bunterish lickspittles since 1998!
> http://www.playr.co.uk/
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
For many reasons, I would like to have the possibility to hard wrap
my file (mainly for LaTeX files).
Reformat paragraph alone (^Q) does not work in the way I like, but
selecting a line Shift-cmd-L and ^Q does what I want.
What I would like to know is whether there is a way to automate this
procedure for a file (all the line in the file), or whether I have to
write my own command for this (or there is a script called by ^Q).
All the best
Guido
--
Dr Guido Governatori
School of Information Technology and Electrical Engineering
The University of Queensland
Brisbane, Queensland, 4072, Australia
Phone: +61-(0)7-336 52907
Fax: +61-(0)7-336 54999
http://www.governatori.net/TextMatehttp://www.defeasible.org
Hi all,
Three points from the last digest:
1) I can confirm that the tool-menu font size thing is only with items
that have a tab-completion shortcut.
2) Even in Apple's Numbers, the text-completion popup (it shows you
"similar" values you've already typed in other cells) gets bound to
the first Spaces screen it opens on. Trust me: that's annoying. I've
filed a bug with Apple about this. I'm hopeful that they might
actually address this general problem. :-)
3) Despite the glitches, TextMate still rocks in Leopard! :-)
Later,
Chris.
(exasperated) Hello!
I'm trying to make the leap from AS2 to AS3, but staying within the
bounds of TextMate. There are a number of interesting blogs on the
topic:
http://www.laflash.org/forum/showthread.php?t=3635http://blog.vixiom.com/2006/08/25/build-flex-on-os-x-with-textmate/http://www.flashalisious.com/2007/07/30/installing-as3-and-flex-
bundle-for-textmate/
http://www.dirtystylus.com/blog/2006/09/12/textmate-and-as3/
And I'm sure there are plenty more. I *have* managed to:
1. Install the AS3 bundle for TextMate, using svn
2. Install the Flex SDK
3. Install iTerm
4. Install fcsh
5. Install the Flex Documentation
6. Added "package {...}" to all my .as files
7. Changed 'Void' to 'void'
However, I have no idea what to do next. When I was working in AS2/
TextMate/MTASC I would compile the file using a slightly modified
script from the AS bundle which would take the .swf as an input, a
list of files and would spit out a new .swf. Is this the same
workflow for AS3 and mxmlc? I don't want to get involved with Flex
yet, I'm just trying to port my application over to AS3 from AS2.
Any help, pointers or generally beating of sense into is greatly
appreciated in this matter...
Many thanks,
Gaby
--
Junkets for bunterish lickspittles since 1998!
http://www.playr.co.uk/
Hi,
I need to edit a giant vCard file which has been exported from Palm Desktop
and contains about 1000 entried. The Palm export puts my Notes directly
under the phone number and then all my custom fields below that. When I open
in Address Book, the Custom fields are buried below my notes.
I would like to be able to FIND a string and move it up or down in the file.
Is this possible?
For example:
FN:Pam
N:;Pam
ADR:;;1911 North Duncan Road;Champaign;IL;61821;USA
LABEL;QUOTED-PRINTABLE:1911 North Duncan Road=0D=0AChampaign, IL
61821=0D=0AUSA
TEL;WORK:217-355-9331
TEL;FAX:217-355-9413
ORG:Balough Scientific Books
NOTE;QUOTED-PRINTABLE:=0D=0A[Comments]=0D=0ADistributors of PROSEA books
REV:20020222
X-Palm-Category1:Bookstore
I would like to move the line containing: "X-Palm-Category1:Bookstore" ABOVE
the line which starts: NOTE;
Thank you...
--
View this message in context: http://www.nabble.com/Need-help-finding-and-MOVING-text-tf4704885.html#a134…
Sent from the textmate users mailing list archive at Nabble.com.
I've come across some odd behavior when using the html bundle and
converting mail addresses to links:
If I copy name(a)email.com and then use the key comand, it results in
<a
href="mailto:dave@dave.
;com">name(a)email.com</a>
Is there a workaround?
-Dave
for specific non-HTML files I would like to perform some commands and
then show the result as HTML preview, it that possible ?
--
Roberto Saccon
http://rsaccon.com
I Try to use TM to connect to a mysQL database running on a PC on my network
All access authorisations are OK And I can successfully connect from my Mac to
the remote host with another mySQL gui.
When I try to connect with TM I get a message : Unknown system variable ''
coming from mysql server.
Any Idea ?
Thanks
Alain
So far I like Spaces, with a couple of caveats:
1. It can be confusing to open multiple windows of the same
application in separate spaces. For example, I'd like to have one
Textmate window for web development and another for my GTD list, in
separate spaces. The problem is that when I use Command-Tab to switch
to Textmate, it switches to the most recent Textmate window I used
instead of the Textmate window in the current space (which is what I
would prefer.) I think Command-Tab should give priority to application
windows in the current space. As far as I can tell this is a Spaces
characteristic since TextEdit behaves the same.
2. When I open the Find dialog in Textmate, it switches to the last
space where I used Find, instead of bringing the Find dialog into the
current space. I believe this is a Textmate issue, as it does not
occur in TextEdit. If this is scheduled to be fixed in version 2.0, I
can wait. Should I submit this as a bug, or is this expected behavior?
Richard
Since upgrading to Leopard Xcode builds (using xcodebuild tool from
the functions in the Xcode bundle) seems a lot slower, specifically it
seems the "Checking Dependencies" phase is responsible for that.
Anybody else seing this? Anyone have a workaround?
Thanks
Gerd
Hi all,
I may have missed the corresponding post, so forgive me if I did.
My question is the following: Now that we know the release date for
Leopard, and as TextMate 2 will be Leopard only, have you, Allan,
planned a date for the release of your almomst-as-awaited-as-Leopard-
itself TextMate2?
And, erh... what about a keynote in California, or in any hot and
sunny place, in which you will invite all your dear subscribers to
celebrate the event? Like sort of a TextMate Party, or something...
Note that it would be veeeery nice of you to do so. ;-)
Xavier Cambar
Greetings -- I was a happy user of Ruby templates until TextMate
decided to upgrade itself. Suddenly the Templates are gone from the
Ruby bundle! And indeed, they're not there in the latest Ruby
bundle. What happened to them and how can I get them back and never
let go?
Also -- what's the intended way of setting my company name in Python
templates?
Cheers,
Alexy
This doesn't seem to be documented anywhere online that I can find, so:
Allan informed me on IRC that the mate command doesn't work from
inside screen in Leopard.
All is not lost, however. I discovered that if you install screen via
MacPorts (I had to 'port sync' first, then 'port install screen'), you
can use the mate command from inside screen with no problems.
Hopefully this will save someone else a few minutes of fruitless
searching.
- Andre
I just started with Textmate:
http://www.rsaccon.com/2007/10/erlang-and-textmate.html
Searching the mail archive shows very little posts about Erlang. I
would like have better erlang support and I am interested in
contributing to get there. Anybody has done something with textmate
and Erlang and has some Experiences to share, anybody just thinking
about it and has thoughts to share ? Or just advice to put me in the
right direction to get started ? (the howtocontribute-Wiki-entry I
have read already) What I would like to have is Emacs/Distel like
Erlang integration, for example a keybinding for compiling/reloading
the current sourcefile and in case of errors keybinding to jump to the
first/next error. With Emcas I wrote some elisp hack just to integrate
things better into my workflow, I hope that can be done for
textmate/erlang as well
regards
--
Roberto Saccon
http://rsaccon.com
Hi Guys,
Please forgive me if this has been asked and answered before... But
is there any way to fold your code normally when using TM for Python?
In my experience, the arrow appears where you'd expect it to, but
stubbornly refuses to do anything at all when clicked.
Any tips from my fellow Pythonistas?
:=)
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
I am trying to find out how to insert an existing applescript into a
snippet or perhaps a more elegant solution to inserting variables into
snippets. Perhaps I need to explain:
I have many variations of boilerplate text that I use dozens of times
during the day in my work that require a variable input in certain
places. While I am not a programmer, I am all for automating repetitive
tasks and I'm not afraid of a little scripting. A little. Some of the
stuff in those bundles looked downright scary.
I was kindly directed to use the tab stops for snippets like this:
________________________________________________
Hello ${1:firstname}
Thank you for your order for a ${2:product}
________________________________________________
Perfect. Easy. The next part, though, is to give me more control over
the values I am inserting.
For example, I have been using BBedit (which does the job but I don't
particularly like) and in their "clippings" you can insert a
placeholder that can call up an applescript to run. Even this is
awkward compared to the simple way that NoteTabPro worked for me for
10+ years in windows before I switched to a mac - I could create
'clips' in it that would insert boilerplate text and at any
placeholders, I could include dialog boxes to type in a value or choose
it from a list.
I sat here for 6 hours today trying to see how I can do this or
something like it in TextMate - and I found programming languages that
I will never use, and syntax for them that I am utterly stumped by.
Can anyone help me?
Janet
I saw an old message on GMANE "Re: C syntax fixes" regarding this
issue. I guess much of the patch did not get applied?
There seem to be a very significant issues (for me anyhow) with the
current C syntax parser:
1) Multiple line function definitions are not tagged as functions, e.g.,
int test(int a,
int b)
{
...
}
This is unfortunately very common with functions with large numbers
of arguments.
2) Less importantly, simple macros such as
#define __MY_HEADER_H
are also getting listed in the function pull-down.
Does anyone have a patch for this that could get pushed into SVN? I
have yet to grok the syntax of C plist etc, but this is driving me
insane.
Thanks,
Matt
Matthew Winter wrote:
> SVN is the subversion repository.
>
> Here is the Wiki guide to how to checkout bundles:
>
> http://macromates.com/wiki/Main/SubversionCheckout
>
> You can access the Matlab bundle directly from the web at:
>
> http://macromates.com/svn/Bundles/trunk/Bundles/
>
> However it is easier to use the subversion commands as des-
> cribed in the Wiki guide.
Matt, thanks for these directions. The GetBundles bundle
worked beautifully.
- Dushan
I installed os-x 10.5 last weekend. Since then, when using TextMate
1436 and LatexWatch, I observe the following behavior: the pdf preview
window, in TeXShop, doesn't gain focus and refresh until I click on it:
it then refreshes . If I switch to Skim as previewer, no refresh even
with clicking on the Skim window to give it focus. I had been using
both for several months, without any problem whatsoever.
Here is the console line I get regarding TeXShop as previewer:
10/29/07 10:03:11 AM TextMate[177] loadPlugIn: Dialog plug-in with same
bundle identifier (com.macromates.dialog_plug-in) already loaded
With Skim, I get the following window message:
Unable to read notes for ~/Documents/Work/Writing/Journal/2007/July.pdf,
but a Skim notes file with the same name was found. Do you want Skim to
read the notes from this file?
I click OK, but Skim doesn't refresh, though I have "check for file
change" preference on (and have restarted everything). Here is the
console reading concerning Skim:
10/29/07 10:24:14 AM TextMate[888] loadPlugIn: Dialog plug-in with same
bundle identifier (com.macromates.dialog_plug-in) already loaded
10/29/07 10:24:26 AM Skim[926] .sdef error: Operation could not be
completed. (NSXMLParserErrorDomain error 1549.)
10/29/07 10:24:26 AM Skim[926] line number: 2
I have sent as detailed a description I could to Apple Software/Support
but thought I could get some help from the LateX people on TextMate.
--Gildas Hamel
My Mac Mini is configured to use Skim as the PDF viewer called from
Textmate's LaTeX bundle, however I still view compiled .PDF files inside
Textmate. I need help configuring Textmate so that it will automatically
launch Skim.
Intel Mac Mini
OS X: 10.4.10
Textmate version: 1.5.7 (1436)
I have the following Textmate environment variables set in
Preferences->Advanced->Shell Variables:
TM_LATEX_ERRLVL 1
TM_LATEX_COMPILER latexmk.pl
TM_LATEX_VIEWER Skim
Skim Version: 0.9.3 (v15)
Skim has Prefereces->Sync "Check for file changes" checked and the Preset
set to "Textmate".
I am using fink's LaTeX distribution.
Skim works. It is my default .PDF viewer in Finder. I can use it to open
and view .PDF files.
If I successfully compile a LaTeX document in Textmate using apple-R, the
compiled .PDF file appears in the "Typeset and View" window owned by
Textmate instead of a Skim process.
I have another computer, a Mac Book, that as far as I can tell is configured
identically. On this machine, Textmate launches Skim as its .PDF viewer as
expected.
I'm out of ideas on how to debug this. Any suggestions?
Thanks for any help.
--
Bill McNeill
http://staff.washington.edu/billmcn/index.shtml
I've noticed some ctrl-key snippet wierdness in the Ruby Bundle.
Until the latest update, the ctrl-{ snippet to toggle blocks between
{} and do;end forms either didn't work at all, or worked
intermittently. I believe that this broke with the previous
cutting-edge update some weeks ago. I just checked for updates, and
I'm running 1436 as well, although the latest version mentioned when I
view the release notes is 1435.
Since Matt reported the problem with version 1436, I tried the snippet
just now, and here is how this line of ruby code:
a.each { | f| f }
evolves after a sequence of pressing ctrl-{ with the cursor after
either the { or do as appropriate.
a.each do |
f| f
end
a.each { |; f| f }
a.each do |;
f| f
end
a.each { |;; f| f }
On 10/29/07, Matt Freels <matt(a)furtherin.net> wrote:
> I just ran into a problem where after the recent update (version
> 1436), all of TM's shortcuts involving the ctrl key broke.
>
> All of the emacs-like keybindings seem to still work, though.
>
> I've tried resetting all of the preferences i could think of
> including a new user account.
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
Since the last update, my HTML colors are messed up if I have some
php at the top of the page, everything else after that is treated as
"embedded source" from the "fonts & color" pref pan.
If I just put: <?php ?> on top, it's fine, but if I put something like:
<?php require_once('_php/some_file.php'); ?>
The everything under is just a big chunk of the same color... Anyone
else got that? And found a way to fix it... Any suggestion much
appreciated.
Thanks!
- Yann
.........................................
Yann Bettremieux
minimal design LLC
244 Fifth Avenue
Suite P233
New York, NY 10001-7604
USA
tel / fax: 212.931.8525
email: yann(a)minimaldesign.net
site: http://minimaldesign.net
The information in this email may be confidential and/or legally
privileged. This email is intended to be reviewed by only the
individual or organization named above. If you are not the intended
recipient or an authorized representative of the intended recipient,
you are hereby notified that any review, dissemination or copying of
this email and its attachments, if any, or the information contained
herein is prohibited. If you have received this email in error,
please immediately notify the sender by return email and delete this
email from your system.
dvlogic wrote:
> You can use the matlab bundle from the SVN repository. Octave is
> mostly compatible with the matlab syntax.
I didn't know there was such a bundle. Thanks for telling me. But
where do I find it? I did find one from a few months ago (June) by
kjosmoen, but this didn't seem to be on SVN - whereever that is located
- and I don't know if it's the most recent.
Regarding your other questions, I don't know the answers unfortunately.
- Dushan
On 26 Oct 2007, at 01:07, DushanM wrote:
>> I'm using TextMate to write some script files for the computational
>> program Octave. These are text files, but TextMate insists on ad-
>> ding formatting that I don't want. How do I turn this automatic
>> formatting off?
Ciarn Walsh wrote:
> What kind of formatting are you talking about? Perhaps you mean
> indentation? You should make sure you have the language set to Plain
> Text by using the popup menu on the bottom of the window.
Thank you, that's just what I needed. I didn't know where the switch
was :)
> Even better, of course, would be to write a grammar for Octave ;)
Yes, that sounds like a good idea, but I'm too new to TextMate, and
to Octave, to know how to do that. Maybe later as I learn more...
- Dushan
Hi Steve,
> Anyway, that's just a long way of saying that I don't think it's TM's
> fault, but rather a design flaw in Spaces that I hope Apple will
soon fix.
Thanks for the quick reply and for explaining that, I'm glad it's not
TextMate.
I've used 3rd party virtual desktops for a few years, and I've never
seen that behavior before. As you say, I hope Apple fixes it soon.
Cheers,
- d
I'm using TextMate to write some script files for the computational
program Octave. These are text files, but TextMate insists on adding
formatting that I don't want. How do I turn this automatic formatting
off?
- Dushan
PS, I had sent this same msg almost a week ago, but never saw it appear
in the digest. But in the 'From:' I had forgotten to switch it from
<not.for(a)public.display> to my real email address. Could this be the
explanation?
I'm wondering if anyone else is using TextMate with Leopard Spaces and
seeing weird behavior.
If I open up a document window in TextMate in Space 1 and leave it
there, all is well and there's no problem. If I move the window to
Space 2, when I Save the document stays on Space 2 (like it should),
but the view switches back to Space 1. The same thing happens when hit
Command-F to find: the document stays on Space 2 while the view
switches back to Space 1.
If I close TextMate, switch to Space 2, then open a document,
everything stays on Space 2 and all is well. If I then move the
document window to Space 1, I get the same problems with switching
Spaces.
Is this a quirk with my setup or is anyone else seeing this?
- d
When I try to run a rake file that's not on the top
level of my project directories it refuses with this error:
RakeMate v2.0.0 running on Ruby v1.8.6 (/usr/local/bin/ruby)
>>> /Users/boysie/habitat/as/Rakefile
Could not locate a Rakefile in /Users/boysie/habitat/as.
my rake file is actually called rakefile.rb and is in /Users/boysie/
habitat/as/sprouts/HabitatClient/project.
But I benefit from having access to the files outside of the project
subdirectory so
I made the project bigger than just the sprout project folder.
Anyway to get it to find the rake file properly?
thanks,
Boysenberry
As a recent adopter of Textmate I've had a great time improving
productivity. But, today I was asked to update and relaunch. Dutifully, I
closed my files and clicked yes. The program reopened and I opened my latex
document, updated some text and hit apple R to run latex. This is the error
I've received:
/bin/bash: line 80: latexErrWarnHtml.py: command not found Error: PDF file
not written to disk
Apologies, but I have no idea what's happened here. Can someone help me get
Latex back (okay the file, and everything else, still runs fine on Texshop,
but I don't want to go back to editing there)?
Thanks in advance
Ben
--
Dr. Ben Wooliscroft
Senior Lecturer and Marketing Department Masters of Commerce director
Marketing Department
University of Otago
PO Box 56
Dunedin
New Zealand
Ph. 64(3) 479 8445
Fax. 64(3) 479 8172
Hello. This is mostly unrelated, but I know you can all offer advice
on this matter.
I've been on this list for ten days, and since then I've received
~275 messages. The majority of them are unimportant to me, but some
of them are. I need to figure out how to filter incoming messages, soon.
What methods do you people use to sort TextMate mail?
-Jeremy S.
Hi!
I have something like this:
cur.execute("""
select svc.post.id_post,
svc.post.id_post_zone,
svc.post.post_name as post_name,
svc.post_zone.zone_name as zone_name,
svc.post.id_post_type,
svc.post_type.post_type_name,
svc.post_type.post_color
from svc.post inner join svc.post_zone on svc.post.id_post_zone =
svc.post_zone.id_post_zone
inner join svc.post_type on svc.post_type.id_post_type = svc.post.id_post_type
where svc.post.id_post = :id
""",
{'id':post}
)
And want to do something with that sql text if its sql (colorize or
Command-R it via SQLDeveloper etc.). But scope for that string is
"source.python ... string.quoted.double.block.python"
Is it possible to fine tune scope selector? Any advice?
I'm getting the message "interpreter failed: No such file or directory" when
I try to use bundle commands that are written in Ruby, including commenting,
HTML's "Convert selection to entities" and so on.
I've verified that /usr/bin/env and /usr/bin/ruby are functioning properly
outside of Textmate, and that the paths within the bundle scripts are
correct (mostly using /usr/bin/env ruby).
I've also tried adding a ~/.MacOSX/environment.plist file with my PATH
information, but that doesn't seem to have any effect either (did make sure
to log out.
I also deleted the Textmate.app package and downloaded the latest version;
no joy.
Any other ideas on how to get this working again? It just stopped sometime
yesterday morning and it's driving me nuts!
-chris
--
Chris Yates
The Island Packet/The Beaufort Gazette
Minor question/request,
When working with templates or new files to have Textmate
automatically adjust the default file name used when hitting SAVE to
something other than "untitled"?
For example, if I create a BASH template, and one of my fields is the
file/program name, I wanted to be able to either:
1) hit "apple-s" and have Textmate pull a possible default filename
from the area/field I had defined.
or
2) select text; hit "apple-s"; and have the text selection become
the default filename
#####################################################################
# Program: ${1:filename.sh} <---THIS IS WHAT IM TRYING TO AUTO-
CAPTURE TO THE SAVE DIALOG
#####################################################################
# Version: ${2:0.1}
# Date: ${3:`date`}
# Author: ${4:John Doe (jdoe(a)email.com)
#
# Notes:
# $5
#
#
#####################################################################
... <insert lots of code here> ...
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
I had TextMate set up to download "Cutting edge" and it just
downloaded a new upgrade the other day. Before the download, I had
everything working just fine with TeXniscope, but after I installed
the upgrade, whenever I compile a LaTeX file in TextMate, it doesn't
open TeXniscope. TeXniscope does update the PDF file (or open it if
it's not already open) but it doesn't bring that file into focus like
it did before. Even if I type Cmd-Opt-Ctrl-O nothing happens. In
the typesetting dialog that comes up, there's a button that says
"Preferences" and I have the "Show pdf automatically" option enabled,
but it still doesn't bring TeXniscope into focus. Any ideas?
Keith
hello:)
I would like in this snippet
${TM_SELECTED_TEXT/(\s*).*/$1/m}\begin{${1:environment}}
${TM_SELECTED_TEXT/(.+)|\n\z/(?1:\t$0)/g}
${TM_SELECTED_TEXT/(\s*).*/$1/m}\end{${1:environment}}
remove the \t and instead use white space,
How to do that?
Regards Alain
Sorry if this is well-trod ground, but I couldn't find anything in
the archives...
I'd like to see TextMate automatically detect the presence of a
project file inside a folder which is being opened and use the
project file instead of making a fresh, unsaved project from the folder.
This is especially problematic when opening items from the command
line. If I cd into a parent directory and see a directory which I'd
like to open in TM, I must type "mate <dirname>" if there is no
project file available, but if there is a project file, I must type
"open <dirname>/<projname>". That is, I must use a different command
depending on whether a project file is present or not.
Furthermore, I must either remember whether I have created a project
for a given directory, or take the time to manually check for one via
ls. I'd much rather be able to take the same action every time and
let TextMate do the right thing.
Of course, the matter gets complicated if there is more than one
project file in a particular folder. Perhaps in that case TM can
prefer the one named to match the enclosing folder, ask the user, or
just fall back to existing behavior.
Does anybody have other thoughts on this?
Thanks!
--mkb
Ahoy Allan.
I know you get bugged about this plenty, but…
Now that Leopard is going to be out on Friday, when do you think
you'll be releasing the first pre-alpha build of TextMate 2?
I think you've talked about tm2 stuff before, but I'm not sure if
there has ever been anything concrete mentioned about timing.
I made a quick wiki page where we can collect all TM2 info.
http://macromates.com/wiki/Main/TextMate2
—Thomas Aylott – subtleGradient—
Hi,
I just saw that there is a tiny bug in the JavaScript function goTo
(id) in markdown_to_help.rb.
If you click at an item in the TOC it jumps to that anker but with a
wrong offset, meaning the beginning of the anker is hidden caused by
the TextMate header image.
To solve that problem easily I would suggest to do the following if
one predicts that the first image in the html source code is
"header.png":
markdown_to_help.rb:
old:
68: function goTo (id) {
69: document.body.scrollTop = document.getElementById(id).offsetTop
+ 8;
70: }
new:
old:
68: function goTo (id) {
69: document.body.scrollTop = document.getElementById(id).offsetTop
- document.images[0].height - 1;
70: }
Cheers,
--Hans
I've been using TextMate for Rails development for several months now,
and am a big fan.
I have recently noticed one annoying bug, which is effecting my
TextMate, and my collegue's who is working on the same projects.
When I use the RoR bundle functions for Database migrations to, for
example, rename/rename column Textmate inserts this strange string into
the document.
]0; ]0; ]0; ]0; ]0; ]0; ]0;
]0; ]0; ]0; ]0; ]0; ]0; ]0;
rename_column :table_name, :column_name, :new_column_name
I've noticed this string popping up in other places (like at the top of
a printout), but the migration issue is the most annoying. Also this
problem is recent. I have done the same operations without encountering
the bug in the past.
Has anyone else encountered this problem? I can't find any reference to
it online.
Thanks
Sam
hello :)
I'm waiting for the Leopard DVD ( 2 days ) and I would like to know if
Leopard changes some characteristics of TM 1.5.6 like speed
in some actions
Regards Alain
Hi,
I just uploaded the new version 0.903
Download:
http://email.eva.mpg.de/~bibiko/downloads/textmate/TMTools.tmplugin.zip
Help:
http://email.eva.mpg.de/~bibiko/downloads/textmate/tmtoolshelp.html
"$TMTOOLS" help me
Changes:
added: get contentOfWindow
added: get/set smartTyping
added: get allBundles
added: get uuidFor
added: get defaultBundle
added: get allBundleItems
added: do checkUUID
added: get bundlePathsForUUID
Regarding to the issue of generating dynamic commands (esp. snippets)
I attached an example bundle "SCRATCH SNIPPETS" which contains one
command: "Create New Scratch Snippet".
This command takes a selection which contains the snippet (last
line := tab trigger = name of the new snippet) and installs a new
snippet into the "SCRATCH SNIPPETS" bundle (scope is set to the
current one automatically, but this can be changed easily). After
doing that the new snippet is ready for usage.
Of course, one can also create commands, macros, etc. dynamically ;)
[This bundle requires TMTOOLS release 0903!]
A demo movie is here: http://www.bibiko.de/TMscratchSnippet.mov (1.2MB)
Have fun,
Hans
Today I tried to use the nice Markdown Bundle, I
drag-and-dropped an html file on an open window
and here is what I got:
Traceback (most recent call last):
File "/Library/Application Support/TextMate/Bundles/Markdown.tmbundle
/Support/bin/html2text.py",
line 395, in <module>
html2text_file(data)
File "/Library/Application Support/TextMate/Bundles/Markdown.tmbundle
/Support/bin/html2text.py",
line 379, in html2text_file
h.feed(html)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib
/python2.5/sgmllib.py", line 99, in feed
self.goahead(0)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib
/python2.5/sgmllib.py", line 188, in
goahead
self.handle_entityref(name)
File "/Library/Application
Support/TextMate/Bundles/Markdown.tmbundle/Support/bin/html2text.py",
line 168, in handle_entityref
self.o(entityref(c))
File "/Library/Application
Support/TextMate/Bundles/Markdown.tmbundle/Support/bin/html2text.py",
line 368, in o
self.out(data)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xc0'
in position 0: ordinal not in range(128)
Regards,
Piero
I just experienced a wierdness with the textmate blogging bundle.
When I tried to fetch a post from my blog to edit, it retrieved the
post which was the one above the one in the dropdown list before the
one I selected.
I just did a little experimentation, and it looks like the problem
occurs when I select a post which was posted before a duplicated post
which I deleted. So, schematically, the list shows:
Post 10
Post 9
Post 7
...
Where there was a Post 8 with the same name as Post 9, but it's now gone.
Selecting post 7 from the list brings back the deleted post 8.
The blog is implemented with typo.
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
Hi,
TM remembers the settings like TABSIZE, SOFTWRAP, etc. for a given
TM_MODE, e.g. I set TABSIZE to 8 in a Ruby document and save that
file, TM remembers the TABSIZE if I open a new Ruby document. Fine.
I wonder if it would also be possible that TM remembers the gutter
settings for a given TM_MODE?
Or is this still possible?
Thanks,
--Hans
Hello
When I use "Wrap Selection in" Environment — \begin{}…\end{} I
have indentation with "tab" character.
Is it possible to have space instead tab, perhaps is it possible
to link the the Command Convert Tabs to spaces.
Or perhaps it is possible that the command does not indent
With Tidy, it is the same problem but for all the document,
I can use convert "Tabs" to "Spaces".
I can enabling Soft Tabs but this don't work with the commands
"wrap ...."
Perhaps there is a possibilty for all texts to use spaces
instead of tab characters ?
Regards Alain
I wrote a bunch of Objective-C logging code that includes file and
line in the output in such a way that I can click on it in the XCode
build window.
Usually that works fine, but the bundle logic that finds the full
path when given a file name seems to have a flaw: For example when
the listed line is
PLDocumentController.m:117:[updateRecentMenu:] WARNING: bla bla
the link actually ends up pointing to a file named
BPLDocumentController.m *note the extra 'B' at the beginning).
Seems to me it might be a fairly easy fix for someone how knows what
he/she is doing...
Thanks
Gerd
Hi,
some asked for further examples for the usage of TMTOOLS
Here comes one.
Install the attached bundle AUTOTEXT. Open a new document, set
'language' (CTRL+SHIFT+ALT+A) to AUTOTEXT. Write something, select
something, e.g. the vowel 'a', and press CTRL+ALT+APPLE+S. The
command will highlight all occurrences of the selection within the
document.
Demo movie: http://www.bibiko.de/TMhighlight.mov (3.5MB)
Bye,
--Hans
I just set my TextMate app up to be on the cutting edge.
Now my perl files don't indent properly.
It seems as though the perl bundle is missing it's indentation rules.
Is there an easy way to fix this?
I hope I don't have to hack a way to get it to work myself, don't
really have the time to figure it all out.
Anyone been in my situation before?
Any suggestions?
Thanks,
Boysenberry Payne
You were right, I forgot to reload the bundles after removing them. Thanks
for solving the problem for me :)
Teifion
--
If you think that I'm not completely crazy, you might find my blog
interesting
http://woarl.com/blog
Thanks for the tip, I've tried it but it's sadly not worked. What confuses
me is that the latest update is the point at which the problem occurred.
Do you have any more suggestions?
Thanks for your help
Teifiion
--
If you think that I'm not completely crazy, you might find my blog
interesting
http://woarl.com/blog
Hi,
I'm using the RSpec bundle, and when I run the "Run Behavior
Description" command, I get the following output:
/Users/nate/Library/Application Support/TextMate/Bundles/Ruby
RSpec.tmbundle/Support/lib/spec_mate.rb:2:in `require': No such file
to load -- rubygems (LoadError) from /Users/nate/Library/Application
Support/TextMate/Bundles/Ruby RSpec.tmbundle/Support/lib/spec_mate.rb:
2 from /tmp/temp_textmate.UKmbLu:3:in `require' from /tmp/
temp_textmate.UKmbLu:3
Anyone know what the problem is?
Thanks,
Nate
Hi,
in the course of writing my PhD-thesis, I've missed the possibility
to quickly open publications (PDFs) directly from LaTeX-Source. As I
use BibDesk as a reference manager, I've implemented a command
interfacing BibDesk via Applescript to solve this.
The command allows to open a publication PDF linked to a BibDesk
record directly via the cite-key used in the LaTeX source (in short:
place cursor at cite-key (or select cite-key) -> call command (via
hot-key) -> if a file is linked to the according BibDesk-Entry, it is
opened in your default PDF-viewer). Works pretty well for me ...
If anybody thinks this could be useful for his or her workflow, feel
free to use and/or adapt/improve.
Best regards,
stefan
--------------------------------------------
Stefan Oppl
University of Linz
Department of Business Information Systems
Communications Engineering
Freistaedterstr. 315, A-4040 Linz
Tel.: +43 732 2468-7103
Fax: +43 732 2468-7111
E-mail: mailto:stefan.oppl@jku.at
Web: http://www.ce.jku.at
-------------------------------------------
get my PGP public key at
http://security.oppl.info
I'm playing with some auto-indent rules, and I've come across a
scenario that gives me trouble. Consider text (in fact valid code)
that is written like this:
somescope {
/*
*} <--curly brace
*/
}
Now, if this text was properly indented, the three middle lines of
code would be tabbed once to the right. But how can TextMate tell
using its indentation rule logic that the curly brace on line 3 is
within a multi-line comment?
-Jeremy S.
Hello all:
For some reason whenever I write in php, the foldings do not show up for the
line numbers in the gutter.
Is there another setting I need to set to make this happen? When I open
someone elses work the foldings are there so, I am not sure what I am doing
to not make them show.
thanks for your help,
Paul
--
View this message in context: http://www.nabble.com/Foldings-in-php-tf4666214.html#a13329460
Sent from the textmate users mailing list archive at Nabble.com.
I've been looking for these, but everything I can find seems to be outdated.
Are there any up to date, or at least fairly up to date cheatsheets
for the Ruby and Rails bundles?
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
Hi Ciarán Walsh
It seems to be working fine here – could you go to where you would expect to
use php⇥ and then run the "Copy Scope" command from the Bundle Development
bundle, and tell me what the scope is by pasting it.
From within a basic .php file it comes up as
text.html.basic
Once I php ⇥ I get the following scope
text.html.basic
Thanks for your help, it's really appriciated
--
If you think that I'm not completely crazy, you might find my blog
interesting
http://woarl.com/blog
Hello,
I'm new to TextMate and new to the list.
I have noticed the following bug (?): I have a list of words in a
text file.
Every word in it's own line. There are 85 words, but the Statistics
of the
Document (Text-Bundle) shows 84 lines, because there is no line
change (EOL)
at the end of the last word. So the result is not correct (and, yes, it
makes the difference for me, because I had to determine the exact
number of
the words and than I told the wrong number).
Is it a bug or a feature? ;) Or maybe it isn't possible to count the
number
of lines correctly when this last "new line" character is not there?
Joanna
--
http://typoagrafka.eu
Hi
The latest version of Textmate (Version 1.5.6 (1431)) appears to have
"broken" the HTML bundle's PHP functionality.
If I have a .php file and then type "php" and hit tab then I get the <?php
and ?> tags as expected, however, if I then go into those tags and type
"for" and push tab, nothing happens. Changing the language type myself to
PHP causes this to work but then removes all tag colour coding and
HTML-based snippets and suchlike.
Was this intentional or a mistake? If it's intentional then how can I change
it back to how it was and if it was a mistake, what's the best way to file a
bug report?
Thanks for your time, it's most appriciated
Teifion Jordan
--
If you think that I'm not completely crazy, you might find my blog
interesting
http://woarl.com/blog
I noticed in todays update of TextMate, JEG II has added support in
the ruby bundle for using Mauricio Fernandez' fast-ri for ^H.
Kewl!
Just wanted to note that Mauricio recommends installing fast-ri from
the source tarball rather than as a gem for the best possible
performance:
http://eigenclass.org/hiki.rb?fastri#l1
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
Hi,
I have searched the archive and do not believe this has been
discussed in the past.
At present within the Textmate Bundle repository we have a Mono Bundle.
My gripe is that Mono is an implementation of the .NET standards, of
which the C# language is one such language supported. (A VB.NET
implementation is also part of Mono)
I believe that rather than having a Mono bundle we should have a C#
bundle.
Also I noticed that for the "E-TextEditor" which is a kind of Windows
Clone of Textmate, which supports the same Bundle formats, they
already have a C# bundle.
I am not sure who the original developer of the bundle was, but here
is a link to be able to download the bundle:
http://www.mediafire.com/?3xjlmfwvvkk
I have tried the bundle out in Textmate with no problems.
This bundle seems more complete than the Mono bundle.
So what I am suggesting is that the C# bundle and the Mono Bundle are
merged together under the banner of a C# bundle and ultimately the
Mono bundle removed from the repository.
What do people think about this option, and what is the process about
doing this?
I have a few improvements I would like to make to the bundle, but
would prefer to wait until we have the merged base in the repository
in which to work from, so creating patches.
Matthew Winter
Hi,
is it just me, or folding status of a file is
not preserved after closing and reopenng it,
when the number of lines/folding marks is too high?
e.g., I have a file with > 4000 folding markers
(don't ask) and the last ones reappear unfolded
each time I open back the file. The same happens
with a file having ~870 markers but a lot more
text in bewteen the markers, so I do not know
what is the threshold of the bad behaviour.
Regards
Piero
Hi there, I've just downloaded Textmate and am really enjoying using
it though there is one basic feature that I can't seem to find:
-how do I auto-format my code?
I program in Actionscript and am used to pressing the 'Auto Format'
button in the Flash Actions panel to tidy up my formatting.
I've looked at the manual and through the documentation but I can't
seem to figure this out!
Any help much appreciated and if anyone has any other specific tips
for AS users using Textmate please let me know :)
Thanks,
Ali
I'm currently tweaking the language plist of the ActionScript 3
bundle (this is not an ActionScript 3 question), and I'm having
trouble with it.
Like most other languages, there are hundreds of supportive classes,
functions, properties and constants in the AS3 language that deserve
a special syntax coloration. The default language definition of the
AS3 bundle currently has lists of these words, hundreds of words
long. I've added a few hundred here and there, and now only some of
them work.
The specific part of my language definition that's being troublesome
somewhat resembles this:
{ name = 'support.class.actionscript.3';
match = '([\w\.]|\b)(Class1|Class2|Class3| ... |ClassN)\b';
},
-where N is a very, very large number. About 350. And my problem is,
specifically, that some of the words in the match line will behave as
if their scope is support.class.actionscript.3, and some of them will
behave as if they have no scope.
I'd really like this to work. Are there technical limits to the
number of words to specify in a match statement? Does anyone have any
suggestions?
Thanks very much,
-Jeremy Sachs
For some reason the "Typeset & View" dialog presents garbled text when compiling
LaTeX documents:
http://trichech.us/images/TypesetViewBug-20071019-103513.jpg
This occurs repeatedly. Anyone else get this? I'm running Version 1.5.6 (1414).
cf
Does anyone have a simple example of coding and running an Objective-C unit
test in
TextMate?
It appears that you can use XCode to add OCUnit tests to your project. I
thought I saw that you could then run unit tests from TextMate (via the
XCode bundle). But can you do it without using XCode at all?
I want to write a non-gui library, so I don't need XCode/IB. How do you
write a
simple file that includes the right headers and defines an OCUnit test? Then
can that be called from TextMate?
Thanks
Hi,
I've noticed a bug in the function detection of the C language Bundle.
A function is not properly recognized when the arguments are spread
over several lines. This causes the syntax highlighting to be broken
and the function will not appear in the 'Jump to function' popup list.
I've attached a patch to the C syntax file which corrected the problem
for me. I haven't noticed any side-effects so far but I don't know if
it's really the best solution.
Allan, I would be glad if you could incorporate a fix to this issue in
an upcoming release.
Thanks,
Angelo
I've come to depend on PyCheckMate (which I run via "Validate Syntax"
in the Python bundle). But "all of a sudden" it has started doing a
"Syntax check only" (I don't know exactly when this started), which is
much less useful. (The syntax check misses a number of errors that
the previous check would catch.)
The window that opens when I do a validate shows "PyCheckMate r7337".
Did it fall back to syntax check only when I last updated TextMate?
How do I go back to the full validation?
--
Daryl Spitzer