Hi,
This is a first post so if this isn't the right place or I didn't
search well enough, please let me know.
I know you can select the contents between brackets with
command-shift-B. However, this is the same key sequence that was
select for breakpoints when coding in Ruby.
I realize I could customize any way I want, but I figured I must be
missing a fundamental way or working in TextMate if this key option
was used for two different operations. Is there an easy trick to get
the one I want?
Thanks,
Mark
>I've been playing with the flex bundles for a while now. It looks like there are lots of different ways of building Flex at this
point. I've been using rake:
>http://theblogthatnoonereads.tunasoft.com/2007/04/29/building-flex-on-rails/
Yes, there's a lot of ways to invoke mxmlc/compc. Ideally I'd like to see just one build and one run command in the
ActionScript 3 bundle but don't want to impose a particular method. Currently there is:
mxmlc
Ant
fsch (A wrapper for mxmlc which caches the build in RAM and dramatically speeds up compilation - on my current project
mxmlc takes 20+ seconds, with fsch this comes down to 4-5 seconds)
Shell - project specific custom file.
I'd imagine that we could quickly add rake and yaml to the equation too. Does anyone have any suggestions of a way to handle
this? Would it be best to add the various build methods as templates then check for custom build scrips within a TM project
before defaulting to a basic build? Are there any other bundle developers who've solved a similar problem?
Cheers,
Simon
Hi-
I really like the handy getBundle bundle... but it's been giving me some
trouble. I've upgraded my own version of svn to 1.4.3. Unfortunately,
this is backwards-incompatible with getBundle's internal version, which
is 1.3. Since I've updated some of my bundles -- and the support folder
-- by hand, it's used my newer version, but then getBundle's svn can no
longer update them.
Perhaps getBundle should probably use the local svn if that's possible?
(Indeed it only uses the local svnversion, which will also cause a
mismatch.)
Yours,
Andrew
Hello,
I started using the GTDAlt bundle and I wrote a Quicksilver action in
applescript to append text to my inbox.txt. I know I can just use
Quicksilver's append text but I wanted to write something custom. The
problem is it is adding invisible characters between every letter.
Any ideas why?
Here's my script:
using terms from application "Quicksilver"
on process text theText
set this_file to (((path to desktop folder) as text) & "GTD:" &
"inbox.txt")
my write_to_file(theText, this_file, true)
end process text
end using terms from
on write_to_file(theText, target_file, append_data)
try
set the target_file to the target_file as text
set the open_target_file to ¬
open for access file target_file with write permission
if append_data is false then ¬
set eof of the open_target_file to 0
write theText to the open_target_file starting at eof
close access the open_target_file
return true
on error
try
close access file target_file
end try
return false
end try
end write_to_file
Warmest regards,
Graham English
Hi,
My File -> Open Recent menu item has stopped working. I click on an
item and it doesn't open. The File menu stays highlighted until I do
something else, and the document just doesn't open.
Does anyone know what would cause this?
Thanks,
James Frost
Hi,
I'm every so often on another location where i work on two screen's.
The only thing i always need to adjust once is to drag the symbol
window to the screen where the main textmate window is.\
Is there a config thing i can set, or is it a feature for TM2 ?
ps: the other windows (goto file, bundle editor, etc) also come in
the wrong screen
Regards J.
Hello there!
I just wanted to tell you that the GetBundle has now it's own page
and will get some improvements like turning it into a Plugin(maybe).
The new site can be found at http://projects.validcode.net/getbundle
Sebastian
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
i have a small problem with the Latex Bundle. When using Typset & View
the popup window immediately closes after compile, if no error is
thrown. If a warning is displayed, you can only see that there are
warnings happening, but not where and why. Is there a possibility to
have the windows stay on screen in that case?
Bundle Version is... today.
Greetings
Florian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGImiC8RlGMqQ8m7oRAi2JAJwNnScqERFZMoJwpj/OZ7iwQ0azYgCgih+3
V086jilrx9abBJEFXvBevY4=
=BJt/
-----END PGP SIGNATURE-----
Hi!
I'm new to TextMate - and so there came up some questions which I've
gathered here. Thanks in advance for any tip!
Bye, Tom
How can I open the file at the cursor directly from inside the editor?
Can TM hilight the matching brackets? (I'm using "pastels on dark"
color scheme; if thats important...)
How do I make the cursor follow when I've scrolled some pages with
Ctrl-CursorUp/Down? "Standard-behaviour" is that the cursor stays
where I've started.
How do I find the next match (for the same criteria) when searching
incrementally with Ctrl+S?
Is there a simple calculator in TM?
I prefer bookmarks that I can access directly, e.g. something like ^1
for line 40, ^2 for line 88 etc - instead of F2. Can I have that with
TM?
Hi!
Skim (skim-app.sourceforge.net), a very neat and free pdf-viewer
supports now pdfsync and they set up a wiki with some instructions
how to enable Skim as viewer for pdfsync in Textmate. But I think the
instructions are more complex than they should be.
The site is: http://skim-app.sourceforge.net/wiki/index.php/
LaTeX_and_PDFSync
Isn't it even in the standard-install of TextMate only necessary to
set the Shell Variable TM_LATEX_VIEWER to Skim?
Niels
I fully expect someone to point out that this already exists :)
I typically move between tabs using Cmd-Opt-Left and Cmd-Opt-Right.
Typically I try to arrange the tabs so that the set of files I'm
actively switching between are adjacent. If Cmd-Opt-Ctrl-Left and Cmd-
Opt-Ctrl-Right moved the current tab to the left or right I could re-
order the tabs as part of navigating to a different tab just by
holding Ctrl down.
Say I have four tabs:
[*F1*] [ F2 ] [ F3 ] [ F4 ]
I'm on F1 and I want to go to F3. I'd also like F1 and F3 to be
adjacent to each other because I'm going to be switching between
them. So Cmd-Opt-Ctrl-Right does
[ F2 ] [*F1*] [ F3 ] [ F4 ]
and then Cmd-Opt-Right does
[ F2 ] [ F1 ] [*F3*] [ F4 ]
--
Andy Armstrong, hexten.net
Hi!
Firstly, Textmate is a fantastic text editor! I use it all the time,
and it constantly amazes me with something new and clever :-)
Anyway, I would like to either request a new feature, or ask if
anybody has an idea how/if it could be scripted as an automated task?
Essentially I'd like to be able to set, on a per-document basis, the
ability to have the document automatically save itself every minutes.
Today, my macbook crashed, and I lost a fairly big chunk of an essay.
It may actually be better if a way could be suggested to simply
automate a task every n minutes - that way, I could have Textmate
automatically commit a document to my svn/bzr repository! That'd be
great!
So... is this possible? Any help would be greatly appreciated.
Thank you!
James Frost
Is there a way to send a value to ${TM_BLOG_TITLE} through
applescript in the TextMate blogging bundle?
I'm thinking about creating a Quicksilver action that can use the
text from Quicksilver to fill the title of the blogging HTML template.
Thanks,
Graham English
Hi. My name is Tyler - I run Snipplr.com. (Allan blogged about us last
summer.) I'm working on an updated bundle for Snipplr, and was
wondering if anyone would be interested in helping me test it?
(BTW: For the rest of this message when I say "snippet", I'm referring
to a snippet stored on Snipplr, not a TextMate snippet.)
I ask because I'm doing some strange stuff with it. Previously, I was
sending a request to the server each time the user requested a
snippet. This new version syncs your snippets and favorites directly
into TextMate's bundle menu - giving you offline access to all your
code stored in Snipplr.
To do this, I'm generating the TextMate bundle on-the-fly using PHP on
the server - so each user's bundle is customized for their account.
I'm creating the tmSnippet's, tmBundle's, plists, etc.. It's also got
an auto-update feature to keep the bundle's snippets in sync.
So far everything is working. I need to add code to make it handle
errors gracefully and also to check the integrity of the bundle before
it installs an update of itself.
Any feedback on how I can improve the way I'm doing this would be
greatly appreciated.
More info about the new bundle (and how to get it!) is available here:
http://blog.snipplr.com/2007/05/09/new-snipplr-textmate-bundle-beta/
Thanks :)
first of all, you're doing a great job on the as3 bundle !!
*) why is the scope selector of the build and other commands
source.actionscript.3 , while in the language file the scope is
source.actionscript3.
When trying to build, the shortcut won't work. With scope selector
source.actionscript3 it does.
herewith a delta file .
*) that when you checkout the actionscript 3 bundle you get the following error
svn co http://macromates.com/svn/Bundles/trunk/Review/Bundles/ActionScript\
3.tmbundle
svn: Can't convert string from 'UTF-8' to native encoding:
svn: ActionScript 3.tmbundle/Commands/Insert Color?\226?\128?\166.tmCommand
greetz
Joachim
---------------------------------------
http://4d.ratubagus.net
Hello everyone,
I live in the latex bundle, but this feature request may be relevant
to others. I would like to be able to move blocks of text in the
latex file by simply moving corresponding headers in the "Go to
Symbol" sidebar. This would replace my need to use OminOutliner to
organize material. (There seems to be no satisfactory way to port a
Latex file from TextMate into OmniOutliner without a great deal of
hand work.)
A related feature request would be a Latex logic checker. No matter
how we move blocks around, we may wish to check that the references
maintain their logical ordering. It would be nice to have a command
to do this for us, especially for long documents. I am no
programmer, but I imagine this should be easy to do -- find each \ref
that occurs before its \label.
Cheers,
Jenny
____________________________________
Jenny Harrison
Professor of Mathematics
University of California, Berkeley
851 Evans Hall
Berkeley CA 94720-3270
Tele: 510-642-9666
Fax: 510-642-5270
Email: harrison(a)math.berkeley.edu
Web: http://math.berkeley.edu/~harrison/
This is a repeat of a comment I made on the latest TextMate blog post[1].
I remember some discussion on the list about the Subversion menu, but I can't find it.
The command that I always want for Subversion is Diff with Newest. Why is that the second option? The CVS bundle has it as the first option. Do people really use Diff Revisions that often?
The diff commands start at the eleventh position in the menu and so don't have number shortcuts. They also all start with 'Diff', so pressing 'd' only jumps to the first command.
[1] http://macromates.com/blog/archives/2007/05/06/textmates-many-key-shortcuts/
Hello.
I don't know who is responsible for the indentation of Perl buffers
(textmate author or bundle author?) but there is a problem with
structures of the kind:
###
my $teste;
$sth_comments->bind_columns(
undef,
\$journalid,
\$jtalkid
);
my $teste2;
###
This is correctly indented, according to the Text->Indent Selection
command.
But I was expecting this:
###
my $teste;
$sth_comments->bind_columns(
undef,
\$journalid,
\$jtalkid
);
my $teste2;
###
Regards,
André Cruz
Hi there,
I use Markdown format for all of my plain text files - both to
convert to HTML for export and to help organise my files. I find the
syntax highlighting of headings and lists really helps me keep large
files organised - especially with using curly braces to 'section'
material and keep it folded away.
Is it possible to change the way headings are recognised? In
particular I would like to have the following:
## Heading 1 {
Some text in here...
}
## Heading 2 {
Some text in here...
}
## Heading 3 {
Some text in here...
}
This currently only picks up the first heading, seeing the others as
meta.paragraph.markdown, whereas leaving in line breaks:
## Heading 1 {
Some text in here...
}
## Heading 2 {
Some text in here...
}
## Heading 3 {
Some text in here...
}
Means I get all the headings recognised correctly. Both versions
above are recognised and converted to HTML correctly by the
Markdown.pl script so I presume the highlighting is down to the
language grammar? I looked at it and tried to change it myself but
broke all the other formatting as well so think I need some
professional input on this one!
I know its not a life-changing query but I'd like to understand the
language grammar stuff better and this looks like a good starter
project!!
Thanks,
Nigel
Hi,
Within the time constraints, I've done what searching I can through the
docs, wiki, and mailing list archives to get a personal markup bundle
working. Thanks to the clear documentation and a lot of the archived posts
here, I have all the snippets and syntax coloring working. However, there
are a couple of things that I still haven't worked out, which I could use a
little help with. I apologize if they've been covered before and I missed
them. If I had more time, I'd keep searching around for the answers, but
with an upcoming deadline, I just have to get some guidance.
My bundle is called "jmarkup" and I've set most of the scope selectors to
"text." (BTW, I still don't competely get how to choose scope selectors,
despite reading that section many times.)
I'll probably do most of my writing in Latex or Markdown (or MMD), and
currently I have to go back and forth between syntax coloring for either
Latex or jmarkup.
1) Can I somehow set my scope so that I can see it colored while I'm in
Latex and MMD?
2) Could someone point me to a place explaining how I could process my
markup before the latex. E.g. So that when I hit the key combo to preview
the Latex, everything is preprocessed to replace my [[note syntax ]] with
Latex markup for left and right margin notes.
3) Referring to #2 above, could I have separate processing-replacements set
up for whether I was making an output for myself (e.g. working draft with
all notes and markup) or for my advisor (e.g. print draft without notes and
hiding my in-line styles, like "revise" or "check facts")?
4) What would the best bundle be to use as an example of how to gather all
"action" markups in to a separate document? For example, I might have a fact
that is suffixed with [!check this!] and I want to gather all lines that
have that [!...!] in them. I assume this might be similar to the TODO or
GTDalt bundles but haven't checked them out yet.
Thanks all for any advice and help. I know I've asked a lot here, but even
just pointers to where I can find the best examples of implementations of
each would really help me out.
Thanks,
Jeff
Hi all,
I've been a paid member of the TextMate-o-sphere for a couple months
now, but have just started dipping into its mighty goodness. One
thing that I've found that is not quite so good is how the subversion
plugin won't play nice with colordiff.
In my .subversion/config, I've set it up to use colordiff instead of
diff. I do a lot of my work from the command-line, so this is pretty
important for me. Unfortunately, the subversion plugin doesn't like
this. If you look here:
http://www.nuthole.com/img/tm_ss1.png
you'll see what I'm talking about. The upper half ("Untitled 705")
shows the result of me doing a "Diff with Newest (HEAD)" with my
preferred .subversion/config settings intact, while the lower half
("Untitled 706") shows the much prettier version that the subversion
bundle does all on its own if I remove my settings.
Now, I'd just accept that "that's just the way it is", except for the
fact that the bundles doesn't *always* do this. In particular, if I
bring up an SVN Log from within TextMate, and then click on a link to
see a diff in there, the resulting diff is displayed in a
TextMate-colorized fashion, apparently ignoring my .subversion/config
settings (hooray!). So what I wonder is, if the plugin can ignore my
settings and do its own colorization in one case, why can't it do it
all the time?
--
// jack
// http://www.nuthole.com
Hello.
I use TextMate 1.5.5. I came across a problem exibited by the perl
bundle Tidy command.
If the output of a command, in this case perltidy, contains chars in
utf8, all the output is discarded and we end up with a blank
document. For example this script:
##################
my $body = <<END;
Reparámos
END
############
If I run the tidy command on this file, I end up with a blank
document. Perltidy works fine though because I tried redirecting the
output of the command to a file and it's all there.
Any ideias?
Regards,
André Cruz
>Simon: How feasible is it to break this
>bundle into two parts? Will that put us ahead or behind of where we
>are with the current stand-alone bundles?
Very feasible, and the combined bundle is ahead of the two standalones... although there are points where they need to
merge/work out which solution is best.
>It sounds like most of us on on the same page, here. I think it'd be
>nice if we could agree on a single AS3 and a single Flex bundle to
>focus our efforts on so we have something to congregate around.
>Nominations?
Personally I don't mind. I'd be happy to see it broken up on the grounds that the bundle title is far far too long at the
moment ;) One thing I'd be concerned about is a possible duplication of build and help commands and their associated
TM_BUNDLE_SUPPORT/bin and lib files. But this is coming from a bundle developer perspective and we should focus on the
end user so can't be used as a reason not to.
Allan - any chance of getting a TextMate icon for .mxml files?
On 2007/05/10, Ciarán Walsh wrote:
> does env|sort ⌃R include it?
You mean if the env var is set? env will not include it since it is
set only for the perltidy command.
But just to check the value I ran __CF_USER_TEXT_ENCODING=$UID:
0x8000100:0x8000100 env|sort
This is the value set:
__CF_USER_TEXT_ENCODING=501:0x8000100:0x8000100
André Cruz
On 2007/05/10, Ciarán Walsh wrote:
> • Prepend “__CF_USER_TEXT_ENCODING=$UID:0x8000100:0x8000100 ” before
> “perltidy -st…”
Nope.. Didn't work.
Thanks for the help though,
André Cruz
I finally cleaned up my HTML bundle, if anyone interested, it's there:
http://tinyurl.com/2jjkt3
basic idea is to assign same key shortcut for all phrase, same
shortcut for all block, same shortcut for all inline, etc...
elements. sorta the way BBEdit used to work (well, it probably still
does, just haven't opened in in a looooong time). It also adds tab
triggers to basically all tags. Not revolutionary, just a little
update to the great built in bundle. It saves me time though, so I'm
thinking it might help a couple other people... I even made my first
screencast to show you how to use it! enjoy :)
- Yann
Xavier,
MacFUSE is awesome! Thank you so much! I switched from PC where I
loved using WedDrive, and have been looking for something like that
for a while now. I'm surprised MacFUSE is not more well know. Thanks
a million!
Brian
I believe I read the TextMate Service menu was disabled / being
replaced, however, I think having an item thats 'new window with
selection' would be great... I seem to use it very often...
- Eric
Hi,
I found a tiny bug (resp. 'evil' pitfall) in the bundle editor.
I opened the bundle editor, went to a command 'A' and pressed CTRL
+APPLE+E for "Edit in TextMate". OK.
Then I looked for a code snippet in an other command 'B' using the
bundle editor. I copy&pasted it. Fine. But then I saved my changes.
TM wrote my stuff back in that command which was active in the bundle
editor (in my case command 'B'!, not 'A' which I actually was editing).
Well, TM wrote it back to command 'B' but the bundle editor didn't
save it fortunately, and command 'A' was unchanged. The tricky thing
only is that all my changes are gone because I also closed my editing
window.
Would it be possible that TM remembers the command which I actually
editing?
Regards,
Hans
Hey everyone, I'm new to the list as of today.
I'm writing to ask if anyone out there has (and can make available),
or knows of, a WSC bundle for TextMate. WSC's are XML files that
Windows uses as a kind of COM object class definition. My employer
is pushing to move everything we have in classic ASP over to WSCs and
working without a good TextMate bundle or even a language definition
is a pain to say the least.
If nobody has an existing bundle I'm going to need to make on myself
but I'd rather not re-invent the wheel here if someone better than I
(which isn't hard to find) has already built the foundation.
Any help or pointers in the right direction is much appreciated...
- Cliff
I just notice a few new additions to the CSS bundle, such as:
CodeCompletion CSS
CodeCompletion CSS Properties
CodeCompletion CSS Property Values
Has it been there for a while? I tried using it but nothing happens
when I use the shortcuts... How are those meant to be used exactly?
Thanks!
Hi List-o-mate,
I've starting writing my own snippets and can use the whole, "${1:insert
stuff}" ok now, but I wondered if there was a way to open a File Browser
window?
eg, my current html img snippet is,
<img src="${1:assets/images/${2}}" alt="${3:$2}" />
but it'd be cool to have,
<img src="${1:FILE_BROWSER}" alt="${2:alt_text}" />
Thank you,
DanC
--
danCourse
www.dancourse.co.uk
07790 13 83 23
Flash2.0 & PHP Freelancer
Hello,
when I type an enumeration I get:
\begin{enumerate}
\item Geringe Tiefenschärfe. sdfdsfsdfdsfdsfsdfdsf erscheinen
sdfsdfsdf Bild war selten.
\item dfdfdf dsf sdfsd f sdf
\end{enumerate}
Is there a possibility to get it this way:
\begin{enumerate}
\item Geringe Tiefenschärfe. sdfdsfsdfdsfdsfsdfdsf erscheinen
sdfsdfsdf Bild war selten.
\item dfdfdf dsf sdfsd f sdf
\end{enumerate}
I believe this is more readable.
Second questions:
When I press in the eq. Ctrl+Q i get this:
\begin{enumerate} \item Geringe Tiefenschärfe. sdfdsfsdfdsfdsfsdfdsf
erscheinen sdfsdfsdf Bild
war selten. \item dfdfdf dsf sdfsd f sdf \end{enumerate}
Surely wrong. The items shouldbe aligned. Is there a way to achieve
this?
Bye
Hi,
the most common search & replace I do is "Replace in Selection". I
can do everything with the keyboard, including switching RegExp on
and off, but I need to use the Alt/option key to switch to In
Selection and the mouse to do it.
I was wondering, is there anyway to access those buttons with the
keyboard?
Best regards,
--
Pedro Melo
Blog: http://www.simplicidade.org/notes/
Jabber ID: melo(a)simplicidade.org
Use Jabber!
there is any way to get the CSS code completion function to display the IDs
or class used in the html file?
let's stay I have the following on index.html:
<div id="lorem">ipsum dolorem</div>
Now, opening style.css file (in same project) and pressing [command] +
[escape] buttons, I would like textmate showing up the suggestion "lorem" as
the ID is present on index.html file.
...any suggestion? I hope I was clear enough :P
many thanks in advance.
--
View this message in context: http://www.nabble.com/CSS-code-completion-from-html-file--tf3704144.html#a1…
Sent from the textmate users mailing list archive at Nabble.com.
Does anyone know how to get TextMate to always use tabs for multiple
files instead of new windows?
Often I open files directly from Transmit and they aren't in their own
project, after more than 2 or 3 it becomes cumbersome.
Thanks!
Brian Armstrong
If anyone's got the time, I'd love to be walked thru the process of
breaking-up several existing commands so they can be included in each
other via a support library. The commands are listed here:
HTML - http://pastie.textmate.org/59923
Prince export - http://pastie.textmate.org/59927
Prince export (numbered) - http://pastie.textmate.org/59929
Preview - http://pastie.textmate.org/59926
You'll see that they are all variations on the same thing. The steps
are as follows:
1. Begin an HTML page
2. Use the "common layout" css
3. A perl command that transforms the document
4. End the HTML page
5. Do something with the HTML file
Depending on the command, other small things are added. Mainly, the
addition of different print stylesheets for each of the prince
commands. I've tried to make it as clear as possible in the code, let
me know if you need more direction.
I know that each of these code chunks could be broken up and reused
in each command (much like php includes) but I have no idea how to do
it.
Any help is appreciated, and feel free to email me directly.
Hello,
I want a snippet that inserts $\mu$ behind a number (for example
"10$\mu$").
The tab triggers is "mü"
So I have to type "10" "blank" "mü" "tab".
My snippet is "$$\mu m$$" But this does not word. I do not get the
dollar signs. And I do not know how to go back one letter. How can I do
that?
Bye.
Hi,
I assume like many others, my "~/Library/Application Support/
TextMate/" directory is a svn repo. I install extra bundles via the
svn externals mechanism. This works well except for when the bundle
name has a space in it because of this bug: http://
subversion.tigris.org/issues/show_bug.cgi?id=2461
Most annoying. How are others managing this?
--
LD.
I came up with these the other day, and thought someone else might
find these useful. They're very small bundles that simply let you type
(while working in HTML) and have properly coded typographic
characters.
I come from a print design background, and am used to being rather
particular with my typography. One of my biggest pet peeves is seeing
a double tick mark (") where a proper quote mark (") should be.
I've been learning to hand-code my websites, but something that always
frustrated me with HTML was having to code out – when I was used
to just hitting opt - (hyphen).
So I came up with the attached snippets that let me do what I wanted
to do - I can type the character as I'm used to typing it, and
Textmate inserts the proper HTML code.
I'll be honest, I got the idea for this when I tried out SkEdit - it
was the one feature that I missed in Textmate. But it was easy enough
to add myself.
Enjoy! I hope there are some typophiles that will like this!
Sorry if it's old news for some of you guys, but I just found out
that using MacFUSE and sshfs makes it super easy to use TextMate
projects/tabs with files on remotes servers (as long as you have SSH
access). I know the question comes back once in a while on here, and
I for one was never really satisfied with the workarounds people
suggested...
This solution makes it really dead simple to get access to all
TextMate Project features... I wrote up a little blog post with the
details if someone's interested:
http://minimaldesign.net/blog/workflow/remote-textmate-projects
Hope it helps :)
Dan, thank you so much that was exactly what I was looking for!
Thanks!
Brian
On 5/6/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: Patch for LaTex Bundle (Xavier Cambar)
> 2. Re: Patch for LaTex Bundle (Charilaos Skiadas)
> 3. Re: periodic key binding freak-out (Grant Hollingworth)
> 4. Re: Patch for LaTex Bundle (Xavier Cambar)
> 5. Using Projects on remote servers - the easy way (Yann B)
> 6. Re: Feature request: "Open Terminal here ..." (Fred B)
> 7. question regarding CSS brackets (ZulloP)
> 8. Re: The Dvorak-Qwerty layout, 2 years later (Sami Samhuri)
> 9. Re: question regarding CSS brackets (Jacob Rus)
> 10. Re: question regarding CSS brackets (ZulloP)
> 11. Re: question regarding CSS brackets (Jacob Rus)
> 12. Re: Using Projects on remote servers - the easy way (Yi Qiang)
> 13. Re: Using Projects on remote servers - the easy way (Gerd Knops)
> 14. Find in Selection? (Niels Kobsch?tzki)
> 15. Scope and Preprocessing for personal Markup (J Fischer)
> 16. Reformat php? (Brian Armstrong)
> 17. HTML Special Character Bundles (Chip Cullen)
> 18. Re: Reformat php? (Dan Lowe)
> 19. Re: Reformat php? (Erwan David)
> 20. Re: Find in Selection? (Ciar?n Walsh)
> 21. Re: Find in Selection? (Jacob Rus)
> 22. Re: HTML Special Character Bundles (Jacob Rus)
> 23. Re: Re: Find in Selection? (Niels Kobsch?tzki)
> 24. Re: Re: HTML Special Character Bundles (Chip Cullen)
> 25. Re: question regarding CSS brackets (ZulloP)
>
>
> ---------- Forwarded message ----------
> From: Xavier Cambar <xcambar(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sat, 5 May 2007 17:14:37 +0200
> Subject: Re: [TxMt] Patch for LaTex Bundle
> Going on this way, I found out that the command was used to open
> files in a separate window.
> I am looking for a way to open incuded files in a tab. I thought of a
> recursive search, starting from the folder of the master file (if not
> defined, the currently opened one), or even better, opening the right
> file from the ones in the current project. Anyhow, there are many
> ways to make this efficient, but I have no idea how to open a file in
> a tab... Commands generally use 'mate', which (as far as I know)
> isn't able of this...
>
> Well, any idea?
> Xavier
>
> Le 4 mai 07 à 21:19, Charilaos Skiadas a écrit :
>
> > Xavier,
> >
> > Thanks for the patch, sorry it took me so long to commit it.
> >
> > Haris Skiadas
> > Department of Mathematics and Computer Science
> > Hanover College
> >
> > On Apr 20, 2007, at 12:27 PM, Xavier CAMBAR wrote:
> >
> >> Context:
> >> I needed to insert tex files which filenames contained spaces into
> >> my document. LaTex can handle this efficiently if quotes are
> >> provided in the \include (like in \include{"bla bla/bla bla"}).
> >>
> >> For easy moving along my document, I intended to use the "Open
> >> Included File" command. But that command doesn't handle the quoted
> >> filenames, as the quotes are taken into account as normal characters.
> >> So here I am with a line to be added to that command in order to
> >> correct that misbehaviour:
> >>
> >> 10: ...
> >> 11: if options.empty?
> >> 12: print "Did not find any appropriate item to open in #{ENV
> >> ['TM_SELECTED_TEXT'] ? "selection" : "current line" }"
> >> 13: else
> >> 14: options[0].each{|el| el.gsub!(/(^\")?(\"$)?/, '')}
> >> #<-- Here it is!
> >> 15: filepath = `kpsewhich #{e_sh options[0]}`.chomp
> >> 16: if filepath.empty?
> >> 17: ...
> >>
> >> I don't know how to commit changes in a bundle (according I am
> >> allowed to!). So now it's up to you, folks, to add it to the
> >> repository.
> >> Note that I quickly and unformally tested it, and everything seems
> >> ok.
> >>
> >> 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
>
>
>
>
> ---------- Forwarded message ----------
> From: Charilaos Skiadas <skiadas(a)hanover.edu>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sat, 5 May 2007 11:24:53 -0400
> Subject: Re: [TxMt] Patch for LaTex Bundle
>
> On May 5, 2007, at 11:14 AM, Xavier Cambar wrote:
>
> > Going on this way, I found out that the command was used to open
> > files in a separate window.
> > I am looking for a way to open incuded files in a tab. I thought of
> > a recursive search, starting from the folder of the master file (if
> > not defined, the currently opened one), or even better, opening the
> > right file from the ones in the current project. Anyhow, there are
> > many ways to make this efficient, but I have no idea how to open a
> > file in a tab... Commands generally use 'mate', which (as far as I
> > know) isn't able of this...
>
> For me the command opens files in a new tab, and not in a separate
> window. Perhaps the files you are trying to open are not in the
> project/folder?
>
> > Well, any idea?
> > Xavier
>
> Haris Skiadas
> Department of Mathematics and Computer Science
> Hanover College
>
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Grant Hollingworth <grant(a)antiflux.org>
> To: textmate(a)lists.macromates.com
> Date: Sat, 5 May 2007 09:49:33 -0600
> Subject: Re: [TxMt] periodic key binding freak-out
> * Allan Odgaard <throw-away-1(a)macromates.com> [2007-05-05 02:12]:
> >The 0x200000 is the NSNumericPadKeyMask.
> >
> >Are you using a PC keyboard possibly with some adaptor? Is there a
> >num-lock key you can press? If so, try see if just pressing that
> >doesn't toggle the behavior.
>
> I'm using my MacBook Pro's built-in keyboard. Turning on numlock does give
> me that modifier, but it changes the key to its inset number pad equivalent:
> '*' instead of 'p'.
>
> Characters: *
> Unicode: 42 / 0x2a
> Keys: ⇧^*
> Key Code: 67 / 0x43
> Modifiers: 2490627 / 0x260103
>
> When I was having problems, the key stayed as 'p'. So somehow the mask was
> flipped on but without my keyboard layout changing.
>
>
>
> ---------- Forwarded message ----------
> From: Xavier Cambar <xcambar(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sat, 5 May 2007 18:29:58 +0200
> Subject: Re: [TxMt] Patch for LaTex Bundle
>
> Le 5 mai 07 à 17:24, Charilaos Skiadas a écrit :
> > For me the command opens files in a new tab, and not in a separate
> > window. Perhaps the files you are trying to open are not in the
> > project/folder?
>
> Yes, they are. Even better, whether the files are already opened in a
> tab or not doesn't change the result. They keep on (re)opening in a
> new window.
> Damn...
>
> Xavier
>
>
> ---------- Forwarded message ----------
> From: Yann B <textmate(a)minimaldesign.net>
> To: textmate(a)lists.macromates.com
> Date: Sat, 5 May 2007 13:02:10 -0400
> Subject: [TxMt] Using Projects on remote servers - the easy way
> Sorry if it's old news for some of you guys, but I just found out
> that using MacFUSE and sshfs makes it super easy to use TextMate
> projects/tabs with files on remotes servers (as long as you have SSH
> access). I know the question comes back once in a while on here, and
> I for one was never really satisfied with the workarounds people
> suggested...
>
> This solution makes it really dead simple to get access to all
> TextMate Project features... I wrote up a little blog post with the
> details if someone's interested:
>
> http://minimaldesign.net/blog/workflow/remote-textmate-projects
>
> Hope it helps :)
>
>
>
> ---------- Forwarded message ----------
> From: "Fred B" <fredb7(a)gmail.com>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Date: Sat, 5 May 2007 19:05:03 +0200
> Subject: Re: [TxMt] Feature request: "Open Terminal here ..."
> On 5/4/07, Allan Odgaard <throw-away-1(a)macromates.com> wrote:
> > I updated the default command to use your script if either iTerm is
> > running or TM_TERMINAL is set to iTerm.
>
> Thanks Allan. One less custom command to worry about! ;)
> Glad you found the script useful.
>
> --
> FredB
>
>
>
> ---------- Forwarded message ----------
> From: ZulloP <info(a)webrevolution.org>
> To: textmate(a)lists.macromates.com
> Date: Sat, 5 May 2007 14:36:04 -0700 (PDT)
> Subject: [TxMt] question regarding CSS brackets
>
> I noticed Textmate automatically formats the curvy brackets in the following
> way:
>
> #test{}
>
> any way to modify it like:
>
> #test { }
>
> Many thanks in advance.
> --
> View this message in context:
> http://www.nabble.com/question-regarding-CSS-brackets-tf3697791.html#a10340…
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
>
>
> ---------- Forwarded message ----------
> From: "Sami Samhuri" <sami.samhuri(a)gmail.com>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Date: Sat, 5 May 2007 15:34:27 -0700
> Subject: Re: [TxMt] The Dvorak-Qwerty layout, 2 years later
> On 5/5/07, Allan Odgaard <throw-away-1(a)macromates.com> wrote:
> > As for what Leopard may or may not change, I can't say.
> >
>
> I suspected this would be the case.
>
> > But there is one new line in a header that has made me add "revisit key
> event
> > decoding" to the to-do. But don't get your hopes up, it's no simple
> > thing, and presently I have no idea if the new route is plausible.
>
>
> Ok thanks for the honest response. It's pretty much what I expected. I'll
> just transition to pure Dvorak.
>
>
> -- Sami
>
> ---------- Forwarded message ----------
> From: Jacob Rus <jacobolus(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Date: Sat, 05 May 2007 18:52:22 -0400
> Subject: [TxMt] Re: question regarding CSS brackets
> ZulloP wrote:
> > I noticed Textmate automatically formats the curvy brackets in the
> following
> > way:
> >
> > #test{}
> >
> > any way to modify it like:
> >
> > #test { }
>
> You'll have to be a lot more specific. TextMate doesn't "format" curly
> braces at all, to my knowledge. It does have a "typing pairs" feature
> which will insert a closing `}` when you type `{`. Is this what you are
> referring to?
>
>
>
>
> ---------- Forwarded message ----------
> From: ZulloP <info(a)webrevolution.org>
> To: textmate(a)lists.macromates.com
> Date: Sat, 5 May 2007 16:02:13 -0700 (PDT)
> Subject: Re: [TxMt] question regarding CSS brackets
>
> Hello Jacob Rus4, yes, I'm talking about the "typing pairs" feature...
> sorry!
> I would like to have #test{[space][curosor here][space]}
>
> I'hope is clear enoguh.
>
> Thanks for your help.
> --
> View this message in context:
> http://www.nabble.com/question-regarding-CSS-brackets-tf3697791.html#a10341…
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
>
>
> ---------- Forwarded message ----------
> From: Jacob Rus <jacobolus(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Date: Sat, 05 May 2007 20:42:15 -0400
> Subject: [TxMt] Re: question regarding CSS brackets
> ZulloP wrote:
> > Hello Jacob Rus, yes, I'm talking about the "typing pairs" feature....
> sorry!
> > I would like to have #test{[space][curosor here][space]}
> >
> > I hope [that] is clear enoguh.
>
> Okay, what you'll want to do then is to create a [macro][1], which first
> types `{`, then types two spaces, then moves one character to the left.
>
> -Jacob
>
> [1]: http://macromates.com/textmate/manual/macros#macros
>
>
>
>
> ---------- Forwarded message ----------
> From: Yi Qiang <yqiang(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sat, 5 May 2007 18:07:39 -0700
> Subject: Re: [TxMt] Using Projects on remote servers - the easy way
>
> On May 5, 2007, at 10:02 AM, Yann B wrote:
>
> > Sorry if it's old news for some of you guys, but I just found out
> > that using MacFUSE and sshfs makes it super easy to use TextMate
> > projects/tabs with files on remotes servers (as long as you have
> > SSH access). I know the question comes back once in a while on
> > here, and I for one was never really satisfied with the workarounds
> > people suggested...
> >
> > This solution makes it really dead simple to get access to all
> > TextMate Project features... I wrote up a little blog post with the
> > details if someone's interested:
> >
> >
> http://minimaldesign.net/blog/workflow/remote-textmate-projects
> >
> > Hope it helps :)
> Fantastic write up! I was _very_ surprised at how easy it was to set
> up macfuse and sshfuse.
>
> This is off topic so please reply in private if you wish.
>
> Is it possible to automount sshfs volumes?
>
> Cheers,
> Yi
>
> --
> http://www.yiqiang.net
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Gerd Knops <gerti-textmate(a)bitart.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sat, 5 May 2007 22:48:44 -0500
> Subject: Re: [TxMt] Using Projects on remote servers - the easy way
> On May 5, 2007, at 8:07 PM, Yi Qiang wrote:
> >
> > Is it possible to automount sshfs volumes?
>
> Not sure if it works for sshfs volumes, but a little known feature is
> that one can drag a mounted volume into the 'Login Items' TableView
> (System Preferences/Accounts/Login Items). Works at least for webdav
> volumes.
>
> Gerd
>
>
>
>
> ---------- Forwarded message ----------
> From: Niels Kobschätzki <n.kobschaetzki(a)googlemail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 6 May 2007 07:44:26 +0200
> Subject: [TxMt] Find in Selection?
> Hi!
>
> Is there a way for do a "replace all" only in a selection? I can only
> find "Use selection for find" but that puts only the selected text
> into the find-part of the find-dialog.
> I searched for something like this in TextMate already quite often
> and therefore I think other ppl would use it as well but I can't
> remember that I've ever read a feature request for this, therefore it
> must be somewhere…
>
> Niels
>
>
> ---------- Forwarded message ----------
> From: "J Fischer" <regisjf(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Date: Sat, 5 May 2007 22:57:01 -0700
> Subject: [TxMt] Scope and Preprocessing for personal Markup
> Hi,
>
> Within the time constraints, I've done what searching I can through the
> docs, wiki, and mailing list archives to get a personal markup bundle
> working. Thanks to the clear documentation and a lot of the archived posts
> here, I have all the snippets and syntax coloring working. However, there
> are a couple of things that I still haven't worked out, which I could use a
> little help with. I apologize if they've been covered before and I missed
> them. If I had more time, I'd keep searching around for the answers, but
> with an upcoming deadline, I just have to get some guidance.
>
> My bundle is called "jmarkup" and I've set most of the scope selectors to
> "text." (BTW, I still don't competely get how to choose scope selectors,
> despite reading that section many times.)
>
> I'll probably do most of my writing in Latex or Markdown (or MMD), and
> currently I have to go back and forth between syntax coloring for either
> Latex or jmarkup.
>
> 1) Can I somehow set my scope so that I can see it colored while I'm in
> Latex and MMD?
>
> 2) Could someone point me to a place explaining how I could process my
> markup before the latex. E.g. So that when I hit the key combo to preview
> the Latex, everything is preprocessed to replace my [[note syntax ]] with
> Latex markup for left and right margin notes.
>
> 3) Referring to #2 above, could I have separate processing-replacements set
> up for whether I was making an output for myself (e.g. working draft with
> all notes and markup) or for my advisor (e.g. print draft without notes and
> hiding my in-line styles, like "revise" or "check facts")?
>
> 4) What would the best bundle be to use as an example of how to gather all
> "action" markups in to a separate document? For example, I might have a fact
> that is suffixed with [!check this!] and I want to gather all lines that
> have that [!...!] in them. I assume this might be similar to the TODO or
> GTDalt bundles but haven't checked them out yet.
>
>
> Thanks all for any advice and help. I know I've asked a lot here, but even
> just pointers to where I can find the best examples of implementations of
> each would really help me out.
>
> Thanks,
>
> Jeff
>
> ---------- Forwarded message ----------
> From: "Brian Armstrong" <barmstrong(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Date: Sun, 6 May 2007 01:22:19 -0500
> Subject: [TxMt] Reformat php?
> Hi All,
>
> I'm new to Textmate, and I have to say I am most impressed! What a
> beautiful piece of software. I downloaded the 30 day trial, and I am
> having problems with one thing: reformatting php code.
>
> Let's say I had a piece of code like this:
>
> // make sure it doesn't crash in an ugly way
> if (!function_exists('foo'))
> {
> die("this function required");
> }
>
> and I run the reformat on it, or ^Q, then I get this:
>
> // make sure it doesn't crash in an ugly way if
> (!function_exists('foo')) { die("this function required"); }
>
> Not very helpful, and you notice that the 'if' is now on a comment line!
>
> Note that this performs the same whether I have the file showing as
> HTML or PHP. Given the amount of work that's gone into PHP capability
> overall (great completion for example) I'm shocked that this is
> standard behavior out of the box.
>
> Would love to get some tips from the textmate masters on here. Thank you!
> Brian Armstrong
>
>
>
> ---------- Forwarded message ----------
> From: "Chip Cullen" <chip.cullen(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Date: Sun, 6 May 2007 16:07:10 +0900
> Subject: [TxMt] HTML Special Character Bundles
> I came up with these the other day, and thought someone else might
> find these useful. They're very small bundles that simply let you type
> (while working in HTML) and have properly coded typographic
> characters.
>
> I come from a print design background, and am used to being rather
> particular with my typography. One of my biggest pet peeves is seeing
> a double tick mark (") where a proper quote mark (") should be.
>
> I've been learning to hand-code my websites, but something that always
> frustrated me with HTML was having to code out – when I was used
> to just hitting opt - (hyphen).
>
> So I came up with the attached snippets that let me do what I wanted
> to do - I can type the character as I'm used to typing it, and
> Textmate inserts the proper HTML code.
>
> I'll be honest, I got the idea for this when I tried out SkEdit - it
> was the one feature that I missed in Textmate. But it was easy enough
> to add myself.
>
> Enjoy! I hope there are some typophiles that will like this!
>
>
> ---------- Forwarded message ----------
> From: Dan Lowe <dan(a)tangledhelix.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 6 May 2007 03:47:37 -0400
> Subject: Re: [TxMt] Reformat php?
>
> On May 6, 2007, at 2:22 AM, Brian Armstrong wrote:
>
> > and I run the reformat on it, or ^Q, then I get this:
> >
> > // make sure it doesn't crash in an ugly way if
> > (!function_exists('foo')) { die("this function required"); }
> >
> > Not very helpful, and you notice that the 'if' is now on a comment
> > line!
>
> ^Q is a paragraph reformat, which as you have found is not so great
> for code. I believe what you are looking for is a way to (re-)indent
> code, in which case you want this:
>
> Text -> Indent Selection ( cmd-opt-[ )
>
> Note that you need to have a selection active for this to be
> available. Otherwise it will act on the current line only.
>
> -dan
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Erwan David <erwan(a)rail.eu.org>
> To: textmate(a)lists.macromates.com
> Date: Sun, 6 May 2007 10:05:23 +0200
> Subject: Re: [TxMt] Reformat php?
> Le Sun 6/05/2007, Dan Lowe disait
> >
> > On May 6, 2007, at 2:22 AM, Brian Armstrong wrote:
> >
> > > and I run the reformat on it, or ^Q, then I get this:
> > >
> > > // make sure it doesn't crash in an ugly way if
> > > (!function_exists('foo')) { die("this function required"); }
> > >
> > > Not very helpful, and you notice that the 'if' is now on a comment line!
> >
> > ^Q is a paragraph reformat, which as you have found is not so great for
> > code. I believe what you are looking for is a way to (re-)indent code, in
> > which case you want this:
> >
> > Text -> Indent Selection ( cmd-opt-[ )
> >
> > Note that you need to have a selection active for this to be available.
> > Otherwise it will act on the current line only.
>
> Is there a way to rebind this ? On a french keyboard, [ is Shift-opt-5 thus
> a
> problem to get opt-[
>
>
>
>
> --
> Erwan
>
>
>
> ---------- Forwarded message ----------
> From: Ciarán Walsh <ciawal(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 6 May 2007 09:50:05 +0100
> Subject: Re: [TxMt] Find in Selection?
> On 6 May 2007, at 06:44, Niels Kobschätzki wrote:
>
> > Hi!
> >
> > Is there a way for do a "replace all" only in a selection? I can
> > only find "Use selection for find" but that puts only the selected
> > text into the find-part of the find-dialog.
> > I searched for something like this in TextMate already quite often
> > and therefore I think other ppl would use it as well but I can't
> > remember that I've ever read a feature request for this, therefore
> > it must be somewhere…
> Hold shift when doing the replace (either ⌃⌘⇧F or when clicking
> the replace button)
>
>
>
>
> ---------- Forwarded message ----------
> From: Jacob Rus <jacobolus(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Date: Sun, 06 May 2007 04:51:29 -0400
> Subject: [TxMt] Re: Find in Selection?
> Niels Kobschätzki wrote:
> > Is there a way for do a "replace all" only in a selection? I can only
> > find "Use selection for find" but that puts only the selected text into
> > the find-part of the find-dialog.
> > I searched for something like this in TextMate already quite often and
> > therefore I think other ppl would use it as well but I can't remember
> > that I've ever read a feature request for this, therefore it must be
> > somewhere…
>
> In the find dialog, try pressing the ⌥ (opt) key.
>
> -Jacob
>
>
>
>
> ---------- Forwarded message ----------
> From: Jacob Rus <jacobolus(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Date: Sun, 06 May 2007 04:59:59 -0400
> Subject: [TxMt] Re: HTML Special Character Bundles
> Chip Cullen wrote:
> > I came up with these the other day, and thought someone else might
>
> Have you tried smarty pants (or TM's markdown bundle which also runs
> smarty pants?)
>
> -Jacob
>
>
>
>
> ---------- Forwarded message ----------
> From: Niels Kobschätzki <n.kobschaetzki(a)googlemail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 6 May 2007 11:01:49 +0200
> Subject: Re: [TxMt] Re: Find in Selection?
> On May 6, 2007, at 10:51 AM, Jacob Rus wrote:
>
> > Niels Kobschätzki wrote:
> >> Is there a way for do a "replace all" only in a selection? I can
> >> only find "Use selection for find" but that puts only the selected
> >> text into the find-part of the find-dialog.
> >> I searched for something like this in TextMate already quite often
> >> and therefore I think other ppl would use it as well but I can't
> >> remember that I've ever read a feature request for this, therefore
> >> it must be somewhere…
> >
> > In the find dialog, try pressing the ⌥ (opt) key.
>
> Thx a lot (also for the thing with shift from Ciarán)
>
> Niels
>
>
> ---------- Forwarded message ----------
> From: "Chip Cullen" <chip.cullen(a)gmail.com>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Date: Sun, 6 May 2007 18:24:08 +0900
> Subject: Re: [TxMt] Re: HTML Special Character Bundles
> In a word, no. I had filtered out the markdown bundle, so I hadn't
> explored it. Besides, smartypants doesn't do exactly what I wanted to
> do, anyway, as I understand it. It takes "period period period" and
> turns it into "…"
>
> I was trying to have the effect of just typing from within an HTML
> document, using the typing that I am used to, and having TM
> automagically insert the right HTML code for that typographic mark.
>
> If Smarty Pants does this as well, I didn't see it. But thanks for
> pointing it out - I had no idea!
>
> On 5/6/07, Jacob Rus <jacobolus(a)gmail.com> wrote:
> > Chip Cullen wrote:
> > > I came up with these the other day, and thought someone else might
> >
> > Have you tried smarty pants (or TM's markdown bundle which also runs
> > smarty pants?)
> >
> > -Jacob
> >
> >
> >
> ______________________________________________________________________
> > 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: ZulloP <info(a)webrevolution.org>
> To: textmate(a)lists.macromates.com
> Date: Sun, 6 May 2007 03:18:54 -0700 (PDT)
> Subject: Re: [TxMt] question regarding CSS brackets
>
> Many thanks for your help Jacob.
> --
> View this message in context:
> http://www.nabble.com/question-regarding-CSS-brackets-tf3697791.html#a10344…
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
Hi All,
I'm new to Textmate, and I have to say I am most impressed! What a
beautiful piece of software. I downloaded the 30 day trial, and I am
having problems with one thing: reformatting php code.
Let's say I had a piece of code like this:
// make sure it doesn't crash in an ugly way
if (!function_exists('foo'))
{
die("this function required");
}
and I run the reformat on it, or ^Q, then I get this:
// make sure it doesn't crash in an ugly way if
(!function_exists('foo')) { die("this function required"); }
Not very helpful, and you notice that the 'if' is now on a comment line!
Note that this performs the same whether I have the file showing as
HTML or PHP. Given the amount of work that's gone into PHP capability
overall (great completion for example) I'm shocked that this is
standard behavior out of the box.
Would love to get some tips from the textmate masters on here. Thank you!
Brian Armstrong
Hi!
Is there a way for do a "replace all" only in a selection? I can only
find "Use selection for find" but that puts only the selected text
into the find-part of the find-dialog.
I searched for something like this in TextMate already quite often
and therefore I think other ppl would use it as well but I can't
remember that I've ever read a feature request for this, therefore it
must be somewhere…
Niels
Hello Allan & other TM friends,
I'm one of the disturbed folks who tries to make life difficult for myself
and those around me by using the Dvorak-Qwerty layout. Apple was kind enough
to create this monster, but not kind enough to provide the adequate means
for developers to fully support it in their apps[1].
Is there anything in the works to handle the DQ layout properly in TM2? I'm
debating a switch to a pure Dvorak[2] layout and since TM is the app I type
into for hours daily it has the largest influence on my decision. I know
it's foolish to think that maybe Leopard will include some new key handling
abilities just for us DQ guys, but I'm clinging to a shred of hope.
The only reason I'm bringing this up is that every now and then a new bundle
shortcut will catch me by surprise, ie. Cmd-Opt-/ (which is Cmd-Opt-[ in
DQ) for commenting blocks overwrote the shortcut for re-indenting a block or
line. Cmd-/ works as it should, but for some reason Cmd-Opt-/ uses the
Dvorak / instead of the Qwerty /. Some default shortcuts don't work at all
(show scope). It's not that big of a deal and I accept that this is the
price I pay for choosing an obscure layout. However, my dislike of surprises
while coding[3] outweighs the benefits of using DQ in the first place; hence
this message.
[1] http://comox.textdrive.com/pipermail/textmate/2005-August/005238.html
[2] Oh how I would/will miss the cut, copy & paste shortcuts. They suck on a
Dvorak layout.
[3] I know, I know. Why the hell do I use the cutting edge build of TM if I
don't want surprises? ;-)
--
Sami Samhuri
http://sami.samhuri.net
Hi
Just found something I really miss in TM. Maybe I just didn't find it
yet, although it's implemented ;-)
Having a project with several subfolders, it would be nice to just
right click (or hit a key) to open a terminal window at the current
file's location.
Is that possible somehow? I have seen "Open "..." with finder.app"
and stuff, but no terminal.app.
TIA
André
Context:
I needed to insert tex files which filenames contained spaces into my
document. LaTex can handle this efficiently if quotes are provided in
the \include (like in \include{"bla bla/bla bla"}).
For easy moving along my document, I intended to use the "Open
Included File" command. But that command doesn't handle the quoted
filenames, as the quotes are taken into account as normal characters.
So here I am with a line to be added to that command in order to
correct that misbehaviour:
10: ...
11: if options.empty?
12: print "Did not find any appropriate item to open in #{ENV
['TM_SELECTED_TEXT'] ? "selection" : "current line" }"
13: else
14: options[0].each{|el| el.gsub!(/(^\")?(\"$)?/, '')} #<--
Here it is!
15: filepath = `kpsewhich #{e_sh options[0]}`.chomp
16: if filepath.empty?
17: ...
I don't know how to commit changes in a bundle (according I am
allowed to!). So now it's up to you, folks, to add it to the repository.
Note that I quickly and unformally tested it, and everything seems ok.
Xavier Cambar
Every so often, TextMate stops handling key bindings for bundle items. Built-in commands still work as expected. When I check ⌃⇧P in Select Bundle Item, it shows ⌃⇧<some roundrect symbol>. The behaviour persists even when I restart TextMate. Logging out seems to fix it. Sometimes it fixes itself. I haven't found anything in console.log.
It just happened to me again. This time I used Key Codes[1] to check what TextMate was getting.
Key Down
Characters:
Unicode: 16 / 0x10
Keys: ⇧^P
Key Code: 35 / 0x23
Modifiers: 2490371 / 0x260003
Terminal saw the modifier as 0x260103. Later, TextMate started showing 0x260103, too, but the command still didn't work.
Finally -- and I have no idea what changed -- things started working again, and I now have a modifier of 0x60103 in all apps.
[1] http://www.petermaurer.de/nasi.php?thema=keycodes&sprache=english