TextMate list,
how can I command TextMate to create a new untitled document from a
separate process? Basically, I want textmate to create a new window
(titled 'untitled n', that does not have a file path associated with
it yet.
Can you do this somehow thru the mate command line command? typing
just 'mate' seems to activate textmate.app, but it doesn't guarantee
that a new window will be opened (which is good). typing 'mate
new' (replace new with whatever title you want for your doc) creates
a new file with a path of /new. I would like to create a new file
that does not have any path info yet. any ideas?
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools
http://scan.dalo.us
Howdy folks!
Is it possible to tell TextMate not to search specific folders or files
when searching a project for a particular string? In BBEdit, I could
establish a list of file extensions or folders to skip when performing a
multi-file search. Something similar in TextMate?
Charley
I know ctl+tab right now switches focus between the text and the
sidebar, which I think is very useful and I don't think that feature
should go away, I just really would like a way to switch between the
most recently edited file and the one I'm currently working on...
I realize that I could order my tabs so that I could use apple +
option and left or right, but I would love not to have to care what
order my tabs are in to be able to switch between the 2 most recently
edited files. Visual Studio has this feature as I mentioned in the
subject through the ctl+tab feature. I use quite frequently.
Any possibility we could see this implemented?
Thanks,
-Jon
On 3/11/07, textmate-request(a)lists.macromates.com
<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: Insert File/Path names + open a file without using a GUI
> (Charilaos Skiadas)
> 2. How to create new untitled doc from another process.
> (Todd Ditchendorf)
> 3. Question about searching a project (Charley Tiggs)
> 4. Re: Textencoding problems renders scripts useless (Stefan)
> 5. Re: Textencoding problems renders scripts useless (Charley Tiggs)
> 6. Re: Textencoding problems renders scripts useless (Xavier Noria)
> 7. Re: Textencoding problems renders scripts useless (Stefan)
> 8. Re: Textencoding problems renders scripts useless (Stefan)
> 9. Re: Textencoding problems renders scripts useless (Xavier Noria)
> 10. Re: How to create new untitled doc from another process.
> (Peter Jaros)
> 11. Re: Go Murl Yourself (xolela(a)mac.com)
>
>
> ---------- Forwarded message ----------
> From: Charilaos Skiadas <skiadas(a)hanover.edu>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 15:03:03 -0400
> Subject: Re: [TxMt] Insert File/Path names + open a file without using a GUI
> On Mar 11, 2007, at 1:57 PM, Hans-Jörg Bibiko wrote:
>
> > well, in principal it is possible to implement this. The question
> > is how?
> >
> > Suggestion:
> > Supposing I use the character '='. '=' will be replaced by
> > TM_PROJECT_DIRECTORY if it is defined.
>
> Why not simply have the command also expand environment variable
> names, e.g. if I type:
>
> $TM_P
>
> and then ctrl+tab I would get
>
> $TM_PROJECT_DIRECTORY
>
> Btw, ctrl+tab is the key combo that takes you to the drawer and back,
> so it is a bit of an unfortunate choice.
>
> Haris Skiadas
> Department of Mathematics and Computer Science
> Hanover College
>
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Todd Ditchendorf <itod(a)mac.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 12:07:44 -0700
> Subject: [TxMt] How to create new untitled doc from another process.
> TextMate list,
>
> how can I command TextMate to create a new untitled document from a
> separate process? Basically, I want textmate to create a new window
> (titled 'untitled n', that does not have a file path associated with
> it yet.
>
> Can you do this somehow thru the mate command line command? typing
> just 'mate' seems to activate textmate.app, but it doesn't guarantee
> that a new window will be opened (which is good). typing 'mate
> new' (replace new with whatever title you want for your doc) creates
> a new file with a path of /new. I would like to create a new file
> that does not have any path info yet. any ideas?
>
>
> Todd Ditchendorf
>
> Scandalous Software - Mac XML Developer Tools
> http://scan.dalo.us
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Charley Tiggs <lists(a)tiggs.net>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 15:26:41 -0400
> Subject: [TxMt] Question about searching a project
> Howdy folks!
>
> Is it possible to tell TextMate not to search specific folders or files
> when searching a project for a particular string? In BBEdit, I could
> establish a list of file extensions or folders to skip when performing a
> multi-file search. Something similar in TextMate?
>
> Charley
>
>
>
> ---------- Forwarded message ----------
> From: Stefan <seaside.ki(a)mac.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 21:01:53 +0100
> Subject: Re: [TxMt] Textencoding problems renders scripts useless
> no one?
>
> Am 11.03.2007 um 18:34 schrieb Stefan:
>
> > Hi list,
> >
> > generally, I use textmate to write source code for various languages
> > and systems. Everything works nicely.
> >
> > Textmate is set to use ISO-Latin1.
> >
> > From time to time, I need to copy text fragments from Word oder PDF
> > documents
> > to PHP scripts. As soon save the file with the copied text, the
> > encoding of textmate
> > document suddenly changes. All diacritical characters get converted
> > to funny
> > chars. All in all, the resulting PHP isn't any longer useable.
> >
> > It took me some time to exactly figure out the reasons. But, I
> > failed to solve it.
> >
> > Does someone has an idea regarding this?
> >
> > BTW: If I try this using Eclipse, the IDE reports a problem saving
> > the file, since
> > the encoding changed. I have to start windows and copy the Word
> > text fragments -
> > since Eclipse on Windows works just fine.
> >
> > An ideas?
> >
> > Kind regards,
> >
> > Stefan
> >
> >
> >
> >
> > ______________________________________________________________________
> > 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
>
>
>
>
> ---------- Forwarded message ----------
> From: Charley Tiggs <lists(a)tiggs.net>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 16:23:45 -0400
> Subject: Re: [TxMt] Textencoding problems renders scripts useless
> Would the "Transliterate Word to ASCII" command in the Text bundle be
> what you're looking for? I think it takes text that comes from word and
> converts the necessary chars to the ASCII equivalents (curly quotes to
> straight, etc).
>
> Charley
>
> Stefan wrote:
> > no one?
> >
> > Am 11.03.2007 um 18:34 schrieb Stefan:
> >
> >> Hi list,
> >>
> >> generally, I use textmate to write source code for various languages
> >> and systems. Everything works nicely.
> >>
> >> Textmate is set to use ISO-Latin1.
> >>
> >> From time to time, I need to copy text fragments from Word oder PDF
> >> documents
> >> to PHP scripts. As soon save the file with the copied text, the
> >> encoding of textmate
> >> document suddenly changes. All diacritical characters get converted to
> >> funny
> >> chars. All in all, the resulting PHP isn't any longer useable.
> >>
> >> It took me some time to exactly figure out the reasons. But, I failed
> >> to solve it.
> >>
> >> Does someone has an idea regarding this?
> >>
> >> BTW: If I try this using Eclipse, the IDE reports a problem saving the
> >> file, since
> >> the encoding changed. I have to start windows and copy the Word text
> >> fragments -
> >> since Eclipse on Windows works just fine.
> >>
> >> An ideas?
> >>
> >> Kind regards,
> >>
> >> Stefan
>
>
>
>
> ---------- Forwarded message ----------
> From: Xavier Noria <fxn(a)hashref.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 21:40:58 +0100
> Subject: Re: [TxMt] Textencoding problems renders scripts useless
> On Mar 11, 2007, at 9:01 PM, Stefan wrote:
>
> > no one?
>
> Why do you think pasting from Word non-ASCII should work out of the box?
>
> -- fxn
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Stefan <seaside.ki(a)mac.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 21:45:24 +0100
> Subject: Re: [TxMt] Textencoding problems renders scripts useless
>
> Am 11.03.2007 um 21:40 schrieb Xavier Noria:
>
> > On Mar 11, 2007, at 9:01 PM, Stefan wrote:
> >
> >> no one?
> >
> > Why do you think pasting from Word non-ASCII should work out of the
> > box?
>
> Because if I type the same non-ASCII using the keyboard, everything
> works
> fine.
>
>
>
> ---------- Forwarded message ----------
> From: Stefan <seaside.ki(a)mac.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 21:45:54 +0100
> Subject: Re: [TxMt] Textencoding problems renders scripts useless
>
> Thx, Charley! I'll try it soon.
>
> Am 11.03.2007 um 21:23 schrieb Charley Tiggs:
>
> > Would the "Transliterate Word to ASCII" command in the Text bundle
> > be what you're looking for? I think it takes text that comes from
> > word and converts the necessary chars to the ASCII equivalents
> > (curly quotes to straight, etc).
> >
> > Charley
> >
> > Stefan wrote:
> >> no one?
> >> Am 11.03.2007 um 18:34 schrieb Stefan:
> >>> Hi list,
> >>>
> >>> generally, I use textmate to write source code for various languages
> >>> and systems. Everything works nicely.
> >>>
> >>> Textmate is set to use ISO-Latin1.
> >>>
> >>> From time to time, I need to copy text fragments from Word oder
> >>> PDF documents
> >>> to PHP scripts. As soon save the file with the copied text, the
> >>> encoding of textmate
> >>> document suddenly changes. All diacritical characters get
> >>> converted to funny
> >>> chars. All in all, the resulting PHP isn't any longer useable.
> >>>
> >>> It took me some time to exactly figure out the reasons. But, I
> >>> failed to solve it.
> >>>
> >>> Does someone has an idea regarding this?
> >>>
> >>> BTW: If I try this using Eclipse, the IDE reports a problem
> >>> saving the file, since
> >>> the encoding changed. I have to start windows and copy the Word
> >>> text fragments -
> >>> since Eclipse on Windows works just fine.
> >>>
> >>> An ideas?
> >>>
> >>> Kind regards,
> >>>
> >>> Stefan
> >
> >
> > ______________________________________________________________________
> > 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
>
>
>
>
> ---------- Forwarded message ----------
> From: Xavier Noria <fxn(a)hashref.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 22:03:31 +0100
> Subject: Re: [TxMt] Textencoding problems renders scripts useless
> On Mar 11, 2007, at 9:45 PM, Stefan wrote:
>
> > Am 11.03.2007 um 21:40 schrieb Xavier Noria:
> >
> >> On Mar 11, 2007, at 9:01 PM, Stefan wrote:
> >>
> >>> no one?
> >>
> >> Why do you think pasting from Word non-ASCII should work out of
> >> the box?
> >
> > Because if I type the same non-ASCII using the keyboard, everything
> > works
> > fine.
>
> Sure, but their flow is different.
>
> When you type the computer maps keystrokes to glyphs. That
> interpretation is the one you configure via the Input Menu. Then,
> when text is saved the encoding configured in the editor is used to
> map again from glyphs to bytes. So the chain is well-defined.
>
> On the other hand, the clipboard is a different story. I am not a
> Cocoa programmer but reading pages like this one:
>
> http://www.bekkoame.ne.jp/~n-iyanag/researchTools/clip_utils_osx.html
>
> looks like the flow is not so clear as to be able to robustly handle
> pastes from any source, as Word. Can anyone elaborate this point if
> it is correct?
>
> -- fxn
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: "Peter Jaros" <peter.a.jaros(a)gmail.com>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 17:14:46 -0400
> Subject: Re: [TxMt] How to create new untitled doc from another process.
> I would say
>
> $ osascript -e 'tell application "TextMate" to make new document'
>
> but that doesn't seem to work properly. However,
>
> $ osascript -e 'tell application "TextEdit" to make new document'
>
> works for TextEdit. Methinks this is a TextMate bug. Allan?
>
> Peter
>
>
> On 3/11/07, Todd Ditchendorf <itod(a)mac.com> wrote:
> > TextMate list,
> >
> > how can I command TextMate to create a new untitled document from a
> > separate process? Basically, I want textmate to create a new window
> > (titled 'untitled n', that does not have a file path associated with
> > it yet.
> >
> > Can you do this somehow thru the mate command line command? typing
> > just 'mate' seems to activate textmate.app, but it doesn't guarantee
> > that a new window will be opened (which is good). typing 'mate
> > new' (replace new with whatever title you want for your doc) creates
> > a new file with a path of /new. I would like to create a new file
> > that does not have any path info yet. any ideas?
> >
> >
> > Todd Ditchendorf
> >
> > Scandalous Software - Mac XML Developer Tools
> > http://scan.dalo.us
> >
> >
> >
> >
> > ______________________________________________________________________
> > 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
> >
>
>
>
> ---------- Forwarded message ----------
> From: xolela(a)mac.com
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 17:37:39 -0400
> Subject: Re: [TxMt] Go Murl Yourself
> Thanks Brett,
>
> I agree that for the most part, its not agreeable, but there are
> cases when it is unavoidable, in which case "your tool" becomes
> handy...
>
>
> While I would like to keep the original I for instance had to send
> the following link [1] to colleagues - some not that web/mailer
> savy for whom their mailer breaks the link in which case I spend
> most of the time addressing the failure to get to the link...
>
> If there is another way to do this a make it easier for people that
> I work with while keeping to the intended usability as suggested by
> Alan I will take that way any day - I have no intention of cheating
> anyone of their google rank etc...
>
> danstan
>
> [1] http://docstore.ingenta.com/cgi-bin/ds_deliver/1/u/d/ISIS/
> 36029671.1/cabi/pns/2000/00000059/00000001/
> art00018/39ECAA2F26C5A0E511736294004DBC666BB0601AA9.html?link=http://
> www.ingentaconnect.com/error/delivery&format=html
>
>
>
>
>
> On Mar 11, 2007, at 2:40 PM, Brett Terpstra wrote:
>
> > <XRL URL.tmCommand.zip>
>
>
>
> --===============1331305142==--
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
>
Anybody here interested in blogging to WordPress using TextMate and a
GUI (rather than the blogging bundle)?
I've got an alpha-quality TM plugin called BlogMate worked up... and
could use some testers.
The BlogMate plugin is kinda like MarsEdit -- only as a floating
palette for TextMate. (Window -> Show BlogMate Palette)
Much like MarsEdit, you can set up multiple blogs and create and edit
posts. Unlike MarsEdit, its feature set is quite limited at the
moment. But you can manage post categories and published/private
status already.
For now the plugin uses the MetaWeblog API to talk to your blog.
Theoretically, this should work with any metaweblog-capable blog, but
I've only tried it with Wordpress (cuz that's what I use). I have
absolutely no idea what other blog types use metaweblog... i didn't
even know what metaweblog was until thursday when i started this
nonsense.
Once it's solid enough for release, I'll do a public beta (hopefully
very soon... i'm very impatient). After that, the plugin will
continue to be free as in beer.
Anyhow... if you're interested, respond in one way or another.
thanks!
Todd Ditchendorf
Scandalous Software - Mac XML Tools
http://scan.dalo.us
The code is within an @implementation/@end.
^q works fine for a method signature, but it's still doing normal
paragraph fill inside the call itself.
if I put the caret inside the brackets, and check scope I get:
scope.objc
meta.implementation.objc
meta.scope.implementation.objc
The method call command seems to be bound to meta.bracketed.objc,
which I assume is part of the problem, but I'm not sure how to
resolve.
Oh, I'm running cutting edge 1368, although I'm starting to wonder if
my setup has gotten a little messed up -- I'm also having trouble with
the new opt-escape completion.
Thanks,
On 3/11/07, Allan Odgaard <throw-away-1(a)macromates.com> wrote:
> Please reply to the mailing list!
>
> Anyway, if I press ⌃Q inside the brackets, e.g. with caret on
> 'addObserver' I get:
>
> - (void)startObservingPerson:(Person *)person
> {
> [person addObserver:self
> forKeyPath:@"personName"
> options:NSKeyValueObservingOptionOld
> context:NULL];
>
> [person addObserver:self
> forKeyPath:@"expectedRaise"
> options:NSKeyValueObservingOptionOld
> context:NULL];
> }
>
> If I press it on the method signature, it will do a normal paragraph
> reflow *unless* I add @implementation/@end, because without that, TM
> will not see it as an Objective-C method implementation.
>
>
>
> On 11. Mar 2007, at 14:20, Noel Rappin wrote:
>
> > Yep. Here's the before -- it's an example from Aaron Hillegass' book:
> >
> > - (void)startObservingPerson:(Person *)person
> > {
> > [person addObserver:self forKeyPath:@"personName"
> > options:NSKeyValueObservingOptionOld context:NULL];
> >
> > [person addObserver:self forKeyPath:@"expectedRaise"
> > options:NSKeyValueObservingOptionOld context:NULL];
> > }
> >
> > And after a ^q within the second method call:
> >
> > - (void)startObservingPerson:(Person *)person { [person
> > addObserver:self
> > forKeyPath:@"personName" options:NSKeyValueObservingOptionOld
> > context:NULL];
> > -
> > - [person addObserver:self forKeyPath:@"expectedRaise"
> > options:NSKeyValueObservingOptionOld context:NULL]; }
> >
> > For what it's worth, I occasionally see the same odd behavior of
> > repeating the first character of the first line from ^q on paragraphs
> > in Markdown.
> >
> > Thanks,
> > Noel
> >
> > On 3/11/07, Allan Odgaard <throw-away-1(a)macromates.com> wrote:
> >> On 11. Mar 2007, at 04:53, Noel Rappin wrote:
> >>
> >> > This is quite possibly a very stupid question.
> >> >
> >> > I can see how to use ^q to format a method signature in the
> >> objective
> >> > C bundle, but if I try and do the same thing on a method _call_,
> >> I get
> >> > an ugly mess. I think I'm not pressing ^q in the right scope to
> >> > trigger the method call snippet, but I can't figure out what I'm
> >> doing
> >> > wrong. Help?
> >>
> >> Can you paste a before/after code example?
> >>
> >>
> >
> >
> > --
> > Noel Rappin
> > noelrappin(a)alumni.brandeis.edu
> >
>
>
--
Noel Rappin
noelrappin(a)alumni.brandeis.edu
I made a HTML snippet that takes a list such as:
Home
Info
Contact
and turns it into:
<ol id="navbar">
<li class="home"><a href="home.php" title="Go to the Home
page">Home</a></li>
<li class="info"><a href="info.php" title="Go to the Info
page">Info</a></li>
<li class="contact"><a href="contact.php" title="Go to the
Contact page">Contact</a></li>
</ol>
That's what I got so far:
<ol id="navbar">
${TM_SELECTED_TEXT/.+/ <li class="\L$0"><a href="$0\E.php"
title="Go to the $0 page">$0<\/a><\/li>/g}
</ol>
My problem is if one of the menu item is more than one word, I'd like
to replace the space in the name with an underscore in the URI.
Anyone's got the code for that?
Thanks!
Hi all,
As I mentioned in an earlier post, one of the ways I am using
TextMate is to manage FileMaker Pro development projects. TextMate
will open the external files, but does not seem to be aware of
changes made externally to those files when issuing a Commit or
Status via the Subversion Bundle. svnX and RapidSVN both notice the
changes and commit the modified files. Is there something I need to
do to enable this functionality in TextMate? I am using SVN version
1.4.3.
Thanks,
Don Levan
This is quite possibly a very stupid question.
I can see how to use ^q to format a method signature in the objective
C bundle, but if I try and do the same thing on a method _call_, I get
an ugly mess. I think I'm not pressing ^q in the right scope to
trigger the method call snippet, but I can't figure out what I'm doing
wrong. Help?
Noel
--
Noel Rappin
noelrappin(a)alumni.brandeis.edu
Hello all,
I'm not sure if this is possible in TextMate, so I thought I'd ask.
In any given project, I'm working with lots of different languages:
HTML, PHP, CSS, JavaScript, Java, etc. I find that when I have all of
these files open at the same time (in a project window), I'll set the
language for the file I'm currently working on in the bottom language
bar, and then when I switch to a different file TextMate just stays
in that language I was working in, even though the new file is
actually a different language! This happens even if I go through each
file and set its language manually before switching between them. Is
there something I'm missing? If not, I would absolutely love to see
this in 2.0!
Thanks in advance,
Michael
____________________________________
Michael Jackson
CFAC Web Development
Brigham Young University
Web: http://www.ajaxon.com/michael
Email: mjijackson(a)gmail.com
Hi
I noticed quite a weird behaviour of the blogging bundle recently. I
have increased the number of posts to be fetched from 10 to 500
(blogging.rb, line 547), because I'd like to add some tags to old
posts using the nice tagging bundle. It downloads all the posts from
the past (around 280 right now) and displays the title in the
dropdown. Now when I chose one, a new document opens up with a post -
but not with the one I'd like to have :-/ If I try to open post #3
for example (my first post), it opens #4. Somewhere in the most
recent posts, it works, but not with the oldest ones. I'm not a ruby
guy, so I don't have a clue how to fix this.
I suppose that it has to do with my Wordpress thing, but I'm not sure.
Any ideas?
Thanks a lot
André