Hi there,
consider a sentence such as this:
...from the virtual environment's implementation.
is there a reason that the LaTeX bundle scopes a single apostrophe as
the following:
string.quoted.single.close.latex
punctuation.definition.string.end.latex
Am I using the apostrophe inappropriately in this context? i.e. is
there some fancy LaTeX code for an apostrophe?
Thanks,
Sam Aaron
Hello all,
I just found this [1], maybe it could help with the email bundle?
> Universal AddressService
>
> I’ve updated AddressService to a Universal Binary, and relicensed
> it under the LGPL.
>
> AddressService is an OS X system service that lets you select a
> part of a person’s first or last name and replace it with their
> addresses or phone numbers. It’s handy for quick entry into an
> email or chat session.
>
> I haven’t been able to thoroughly test it on an Intel mac, so
> please let me know if you find any issues.
[1]: http://michael-mccracken.net/wp/?p=74
James,
I just want to say thank you for a wonderful regex guide. That's the
first time I've been able to "get" it. I've attempted to understand
regex past the absolute basics a few times before with little luck.
I've also been learning a few things about TextMate.
Thanks
Mike Gregoire
For those who have been asking me when there will be another beta...
James Edward Gray II
Begin forwarded message:
> From: Dave Thomas <d...(a)pragprog.com>
> Date: Nov 8, 9:31 am
> Subject: New beta of the TextMate book is available
> To: Ruby on Rails: Talk
>
>
> Folks:
>
> I've uploaded the B1.03 version of Jame Edward Gray II's TextMate
> book. Here's what James says about the release:
>
> Sorry for the delay folks, but hopefully it will have been worth
> the
> wait. The next beta of the TextMate book is ready and it's just
> full of
> requested content!
>
> Several people have expressed to me the need for the book to cover
> TextMate's language grammars and I've been listening. The new beta
> contains a complete walkthrough of how to build a grammar, using
> JSON
> as an example. Beyond that, I've added coverage for the equally
> important preferences and themes. If you're wanting to use
> TextMate
> with custom syntaxes, this material should get you started.
>
> The other reason this beta took a bit is that I have been
> responding
> to your feedback. The community has provided tons of priceless
> advice
> for making the book better. Thanks so much for that! I've read
> through it all and tried to make improvements based on most of
> those great ideas. By all means, keep sending in the feedback.
> I want this book to be exactly what the community needs it to be.
>
> I use TextMate as my main code editor (and have for over a year) and
> I still
> learn new things every time I look through it.
>
> http://pragmaticprogrammer.com/titles/textmate
>
> Cheers
>
> Dave
>
The Rails bundle uses ⌃p for its params snippet, which drives me insane... everywhere else ⌃p means "up one line". When I change it to a tab trigger (and type "para"), the change won't stick. If I move to another bundle item and back, the activation type is back to "Key Equivalent". If I change it to "Tab Trigger" again, "para" shows up, but again the change doesn't stay.
The only way I've found to work around this is remove the params snippet.
Consider this bit of LaTeX:
$\frac{1}{\sigma} \cdot \xi \cdot \lambda$
the \sigma isn't scoped as a constant math character, where as \cdot,
\xi and \lambda are.
Sorry if I appear to be pointing things out rather than fixing them,
but the deadline for my thesis is rapidly approaching....
Sam
When trying to use the "Level 1 [setext]" or "Level 2 [setext]"
bundle commands I get the following output
Unknown option: n
Unknown option: 1
Usage: head [-options] <url>...
-m <method> use method for the request (default is 'HEAD')
-f make request even if head believes method is illegal
-b <base> Use the specified URL as base
-t <timeout> Set timeout value
-i <time> Set the If-Modified-Since header on the request
-c <conttype> use this content-type for POST, PUT, CHECKIN
-a Use text mode for content I/O
-p <proxyurl> use this as a proxy
-P don't load proxy settings from environment
-H <header> send this HTTP header (you can specify several)
-u Display method and URL before any response
-U Display request headers (implies -u)
-s Display response status code
-S Display response status chain
-e Display response headers
-d Do not display content
-o <format> Process HTML content in various ways
-v Show program version
-h Print this message
-x Extra debugging output
Here's the actual command for Level 1:
#!/bin/sh
if [[ $TM_LINE_INDEX == 0 && $TM_LINE_NUMBER != 1 ]]
then head -n$((TM_LINE_NUMBER-1))|tail -n1|sed 's/./=/g'
else echo -ne '=\t'
fi
I'm running TextMate Version 1.5.4 (1324) and have checked out the
latest bundles and support.
Any idea why this is happening?
Thanks
Mike Gregoire
Hi,
only two short questions.
1) Is it possible to open tm_dialog at a specific position? (Not via
auto remember)
2) If 1) yes: Would it be possible to create a TM variable which
holds the absolute screen position of the caret?
I want to open a tm_dialog at the position of the caret like
show_tool_tip it does.
Thanks
Hans
Dear all,
here is my new suggestion to type Japanese, Chinese within TM.
- press apple+shift+i to invoke the dialog (delete the old inputCJK
in beforehand)
- activate Kotoeri or whatever
- type as usual, choose kanji etc. with space and return
- if you once again RETURN the text is inserted
- press ESCAPE to dismiss
Comments?
TODO:
1) Find a way to open the dialog at the caret position.
2) Don't display the dialog header. Only the textfield (?)
3) to invoke the dialog with a specific input method.
Any hints?
Many thanks in advance
Hans
Dear all,
here comes the latest Hypersearch Bundle.
New:
'multi jump function':
If there are more than one occurrence of the search pattern within
one line you can click at each emphasised match (or in between - see
help) to jump to its position separately.
Changes:
-keyboard shortcuts are changed to TM's defaults; i.e. option+apple
+r,i,w
-output window displays the file name
--Here I had to hack the code for 'html_header'
----
export HTML_PAGE_TITLE="Hypersearch"
export HTML_WINDOW_TITLE="${TM_FILENAME:-untitled} - Hypersearch"
export HTML_SUB_TITLE="<big>$MTCH $CNT found for “$RES”</big>"
"${TM_RUBY:-ruby}" -r"$TM_SUPPORT_PATH/lib/web_preview.rb" -e 'puts
html_head(:window_title => ENV["HTML_WINDOW_TITLE"], :page_title =>
ENV["HTML_PAGE_TITLE"], :sub_title => ENV
["HTML_SUB_TITLE"], :html_head => "")'
----
Maybe it would be worth to change html_header in such a way that you
can specify window_title and page_title separately. web_preview.rb
has this functionality yet.
-Error messages are shown as tooltips
-you can specify a group for regexp like '>(.*?)<\/' to highlight
everything what is between '>' and '</' (see help)
-tiny format stuff
-I set the limit of output line to 3000
--The reason why is that if I close the HTML output page (with more
than 5000 lines) TM freezes for seconds! It takes roughly a minute!
ANY HINTS???
Bug fixes:
-\t, \n now works in regexp mode instead of \\t, \\n
-search within, and output of xml/html documents is now correct
-correct display of number of matches in case sensitive mode
As usual feedback is welcomed.
Have a nice day (or night)
Best,
Hans
Someone had asked the other day about editing files as root. I notice
that TextMate prompts for an admin username/password when asked to
save a file to which it does not have access, but that doesn't do
much good if the file can't be read in the first place. (BTW,
shouldn't TextMate/mate warn if you pass it the name of an
inaccessible file?)
Anyway, I whipped up the attached script which I call smate. FWIW, I
guess this functionality could be built into mate itself. (Allan,
wasn't the source for mate available at some point?)
HTH,
j.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi again,
I am using the following drag command that calls Transmit per
Apple script:
http://pastie.textmate.org/21681
at the end to do mostly a single File upload at a time.
(Called Screenshot handler)
I want to get rid of the "true" echo, that gets inserted together
with my snippet in the document window.
(The code is almost the same, as is in the Transmit Bundle,which I
customized to my needs, without any Idea about Applescript.)
(Thanks for all the help again)
How can I do this ?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: This might change in the future
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFUOUS8tSzPOYuZvQRAstxAKC5miiBEqgKDL9munkP9cPOm0XYvQCfb1Gf
n96BzBwAWj7WG7czjjdrFEY=
=Zsb6
-----END PGP SIGNATURE-----
hi I am new here, but I have a big question
I use textmate since some weeks and love it, before I used subethaedit
and I really loved the feature to work with some friends via subethaedit
on one document at the same time.
now I found also an editor for linux which does the same (not testetd)
http://mateedit.sourceforge.net/
my friends also love textmate, but without the collaborative feature
they will stay with subethaedit.
so my question is, if this feature is alreade implemented and I cant
find it or if it is planned for the near future.
cause it would be sooooo cool and helpfull.
thanks a lot
herbert
Is there any way to disable TextMate's refreshing of content when it regains
focus. The project I'm working on is on a samba mounted drive and,
especially since the last update, takes a really painfully long time to
reactivate when I click on it.
I'm constantly switching between a web browser and TextMate and the delay
really interrupting my productivity.
-dave
Hi all,
I've done my best to search for information about this in the ticket
system and on this mailing list, but it's one of those things that's not
very easy to search for.
Here is the scenario. I have a large project with lots of folders and
file references. I have these references grouped using the "Groups"
feature so that I can easily find everything in the project. When I
focus another application and then focus back on TextMate, the groups
and folders all collapse, and I am left having to traverse back to the
last area I was working in.
Has anyone else noticed this behavior? Is it a bug or a feature? If
it's a feature, can I turn it off?
I don't have specific steps to reproduce, but it seems to happen on any
project with a large set of files and a nested folder structure.
Thanks,
Taylor
I have a thing about shooting out emails and then remembering a bug I
forgot to check for. I apologize.
This one exits properly if there is only one address found.
Brett
Hi,
I'm using the latest TextMate version (1.5.4 (v1324)) on Panther
(10.3.9) with ruby 1.8.5 installed. Texmate works pretty well with some
minor changes in some snippets.
When pdftex has finished to compile your LaTeX document, the Typeset
and View (PDF) use the following command
'open -a "$V" "$PDF"'
However, if your viewer is Adobe\ Reader\ 7.0.8, this command doesn't
work with the open Panther comand. It is necessary to use the following
command
'open -a "$V.app" "$PDF"'
The problem is I have no error message in the Typeset and View window
because the find_app command find Adobe\ Reader\ 7.0.8, and the open
command error message is not displayed (open return "Bus error" message
when I use 'open -a "$V" "$PDF"' in Terminal.app)
Maybe the test ('if find_app >/dev/null "$V.app"; then ... fi') would
be different or you can use the find_app output result in $V$.
Regards,
Arnaud
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi, Sorry for bothering again.
I am having trouble with the Dynamic variables, not sure, what is going on.
Here are some test-strings of current lines, and the wrong output I get
from this variable, instead of the whole string, using the Show
TM_VARIABLES command.
1) <li <txp:zem_nth step=1
of=2>class="odd"</txp:zem_nth>><txp:linkdesctitle /></li>
$TM_CURRENT_LINE echoes: [CSS-bullet] class="odd">
2) <txp:if_article_category></txp:if_article_category>
ouput: nil
Which means nothing.
I first thought, that this might have been caused by the HTML output of
the Show TM_VARIABLES command, but echoing the variables does give me
the same strings.
It seems, that any HTML brackets will just strip the content off, from
the variables.
I am using latest cutting Edge. (build 1311)
regards, marios
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: This might change in the future
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFSNxE8tSzPOYuZvQRAqfKAKDQvO+9ovJtBj12uZ3gQ20oMRTPUACgzi1B
l2SViTvbOjQqI0gPfimbTsY=
=qWsu
-----END PGP SIGNATURE-----
1. I'm a happy (64-year old, retired) enduser of textmate, not a
programmer.
2. I'm using a textmate project as my "personal textbase". The
project has many markdown files. I don't use markdown as a source to
convert to html but as the real thing, as my final product (with an
occasional preview for reading convenience).
3. My markdown file is a container for one or more articles, each
about a separate topic. Every article is uniquely identified by a tag
in the form of a string "tagid=<tagid>".
4. I'm using crossreferences to other articles in the form of a
string "tagref=<tagid>".
5. To link from a tagref to the associated unique tagid I use the
"Find in Project" dialog. I type "tagid=<tagid>" and click the single
link in the result to load the relevant file.
6. I love to have the following command: with the caret in a
"tagref=<tagid>" reference and pushing the enter key, the relevant
file automatically loads.
7. I have no idea how to make this command; help is appreciated.
Hi all,
I am getting an error during commit saying "no url for ..../somefile"
where somefile is not the same each time I try and commit. Status,
add, delete etc work fine. So just for commits I have to go to the
command line which works fine.
Any ideas?
Thanks very much
bakki
Hi,
I just noticed that the replace and "find replace" commands in the
find window don't work when using it from the bundle editor. Seems
like a bug to me, but perhaps I'm missing something.
N. Schmidt
A typical problem is the bold command in the Latex bundle. Instead of
inserting "textbf{}", it inserts "env: ruby -s: No such file or
directory". The bold command seems to work if I replace the first line
in toggle_style.rb with "#!/usr/bin/ruby -s". (I have created a link
so that /usr/bin/ruby links to Ruby 1.8 installed from Fink.)
Will I break things if I change the first line of the various ruby
scripts from "#!/usr/bin/env ruby -s" to "#!/usr/bin/ruby -s"?
Thanks for your help,
Darryl
> On Sep 17, 2006, at 1:09 AM, Darryl Morrell wrote:
>
>> I recently acquired TextMate 1.5.3, and am overall very pleased with
>> it. However, I am running OS X 10.3.9, and several bundles do not
>> work correctly. In particular, several commands in the Latex and
>> TODO bundles do not work. Some of the problems were fixed by
>> installing Ruby 1.8 from Fink, but many others remain. Any help
>> would be appreciated.
>
> A lot of bundle commands require Ruby 1.8, and as far as I know that's
> the only problem with 10.3.9, so if there are still commands you can't
> run, then you should probably tell us what they are and what error
> messages you get.
>
>> Darryl Morrell
>>
>
> Haris
Hi
I updated the my Sweave bundle using the tar file from Alan's site..
Following the update the latex markings in my .snw do not show up
(the R markings do).
I noted that that the update did NOT include text.latex (or the in
the update text.tex.latex) in the scope selector for the Sweave in
R etc..
And in the Typeset & view of the Sweave bundle the scope that was
originally text.latex.sweave has changed to just text.sweave.
I am not sure if this has any bearing on my problems (adding the
text.tex.latex in the Sweave in R seems to bring back the latex
markings at least in my .snw file so I think it does...).
Also now, I CANNOT use my keyboard activation (the menu
activation seems to work). They keyboard equivalents open a finder
window instead! I have even tried to re-enter different keyboard
equivalents in the Sweave bundle editor without success.
Any help would be most appreciated.
danstan