>>From: Allan Odgaard <throw-away-1@...>
>>Subject: Re: HTML autoconversion of urls to hyperlinks
>>Date: 2007-09-05 00:32:36 GMT (1 week, 3 days, 1 hour and 28 minutes ago)
>> [...] it would be more useful for me to have a macro that would
>> auto-convert all urls in a text document to active hyperlinks [...]
>Are you familiar with Markdown? Perhaps it would be more effective
>for you to write the first draft of your text in Markdown and press
>⌃⇧H to generate the HTML -- Markdown will convert <http://
>macromates.com/> into
><a href="http://macromates.com/">http://macromates.com/</a>
Allan,
Thanks for the tip--I can see Markdown is going to make my life much easier!
One follow-up question: Brett Terpstra alluded to an HTML bundle he was working
on that would offer the option of omitting the link title lookup. I downloaded
the snippet (a .bin file) he had attached and double-clicked on it, but nothing
happened.
Then I figured maybe the update would be in the bundle repository at
http://macromates.com/svn/Bundles/trunk/, but I couldn't figure out how to
update these or load them from different sources.
Any instructions for updating bundles appreciated--
thanks as always for your help.
jon
Dear all,
in the past there're some mails regarding to Find In Project.
Henrik Nyh wrote the wonderful command 'Grep In Project'. This
inspired me to go one step further.
Instead of using 'grep' in fixed string mode I used 'onigrep'. I
wrote the command line tool 'onigrep' in C which includes Kosako
's Oniguruma regexp engine (5.8.0) and works ONLY on utf-8/ASCII text
files.
You can find it within the bundle in folder ./bin/ppc or /bin/i386.
More details on that 'onigrep --help'.
(By myself I copied onigrep to /usr/bin to use it system-wide ;) but
please note: onigrep is work in progress too!)
The matches, also for regexp!, are highlighted as usual.
Furthermore I used a self-made dialog with history list etc. The
search function is working not only in a project but also for a
single document.
If you select 'Search in the entire project' it will exclude the
paths '*/.svn' '*/vendor/rails' '*/build'.
If you select the root folder of your project in the drawer, and you
select 'Search in Selection' it will search in all subfolders.
The option 'Ignore diacritics' is up to now only working if you saves
the entire text according to the canonical Unicode decomposition.
Then you can search for 'arger' or 'facade' or た and you will get
words like 'Ärger', 'façade', で. A command line tool which does it
will be included in the near future.
So, if someone has a bit time I would be appreciated if s/he can test
it. My main question is whether it runs also on Intel Macs. I
compiled 'onigrep' for both architectures, and I don't know whether
my ruby code got rid of it.
Some words about the speed of 'onigrep'. Of course, to deal with
utf-8 regexp, well it takes a bit more time. I compared 'onigrep'
with 'LC_ALL=en_US.UTF-8 grep' and the search speed was almost
identical, but 'onigrep' is 'ignore case' safe and it uses the
Oniguruma syntax ;)
You can download the BETA VERSION! of the Hypersearch here:
http://email.eva.mpg.de/~bibiko/dt/Hypersearch.tmbundle.zip (256k)
Any other suggestions, bugs, etc. are highly welcomed for both the
Hypersearch bundle and for onigrep.
Many thanks in advance
Hans
hello:)
It's a recurring problem.
I read the doc and now i have
in /Library/Application\ Support/TextMate/Bundles
the Latex.bundle
in ~/Library/Application\ Support/TextMate/Bundles i've the
personnal bundle
with some modifications. This bundle is created by TextMate
Now after reload Bundles, and try Command R on a latex file , I've
env: python2.3: No such file or directory
Perhaps there is a problem with support files so I update the support
directory
cd /Library/Application\ Support/TextMate
svn co http://macromates.com/svn/Bundles/trunk/Support
After this you can test it by pasting the following line into
TextMate and pressing ⌃R (to execute it):
and I get /Library/Application Support/TextMate/Support
but I always env: python2.3: No such file or directory
in my system I've python2.3 and python2.5 and in the terminal $python
launchs python2.5
What is the problem ?
Thanks
Regards Alain
I can't seem to figure out how to change which binaries TextMate uses
for PHP/Perl etc. My local path is set to the proper one first, but
textmate is using the old one...
Regards,
Eric
Hi, again and all the best.
On my install the View scope command is broken, and doesn't output anything.
Also Select CSS Language Scope, doesn't do anything right now although
key eqiv. is correctly assigned
Also: Conflicting key equivalents, don't get me the popup select form
anymore in all instances.
Ok, that's enough questions for now. ( I still don't have an Apple
keyboard, dammed. )
regards, marios
Hi this is a patch that contains support for comment blocks in prolog.
That means /* */ style comments. You could use the test case to verify
that it is working.
Thanks
Guillaume Carbonneau
The Pasteboard Server error that is detailed here: http://
macromates.com/wiki/Troubleshooting/CantPaste is happening every time
I use TextMate. TextMate will work fine for a run or two but it
quickly becomes dead to the world of copy-and-paste (other than
internally). Also, contrary to what is stated in the previous link
this is only a problem with TextMate. I can copy and paste between
apps like Eclipse, Firefox, Mail, Pages, TextEdit, etc... without
problem. Further the stated solution of restarting the pbs does not
alleviate the issue. The only solution is to log out and back in or
to restart completely.
I had never experienced this problem until I updated to the latest
version (1.5.6 (1414)) several weeks ago.
Am I the only one? Does anyone have any ideas for me? Is there any
info that I can provide to help diagnose this?
Thanks,
-------------------
Jeff Clark
Fairfax City, VA
http://www.nothoo.comhttp://www.fairfaxbirding.com
I am new to TM, and with the most recent version installed (1405), I
get the following error when I attempt to create a new XCode project
via the 'New Project Using XCode Template' menu item in the XCode
bundle. It appears that there is a problem with the templates not
being found. There was no Project Templates folder at the path
indicated in the error message. Is this a standard folder that XCode
should have installed (or somehow got deleted?). XCode seems to be
functioning just fine without it.
/tmp/temp_textmate.ocWNhI:97:in `open': Not a directory - /Library/
Application Support/Apple/Developer Tools/Project Templates/
00README.txt (Errno::ENOTDIR)
from /tmp/temp_textmate.ocWNhi:97:in `foreach'
from /tmp/temp_textmate.ocWNhi:97:in `scan_dir'
from /tmp/temp_textmate.ocWNhi:108
from /tmp/temp_textmate.ocWNhi:106:in `foreach'
from /tmp/temp_textmate.ocWNhI:106