Just wondering, is there currently a way to get the md5 of the current
document (whether its changes have been saved or not) from within textmate?
I often have to compare a copy of a document I'm working on with what's on a
remote server, and since I can open it in TM from within my ftp client, it
would be potentially easier than downloading a copy to save somewhere on
disk and running the md5 command seperately.
Does something like this exist? If not, perhaps I'll look into implementing
it myself. Thanks!
--
View this message in context: http://www.nabble.com/MD5-of-current-file-tf4467307.html#a12737547
Sent from the textmate users mailing list archive at Nabble.com.
I'm not 100% certain that this is caused by the subversion bundle,
but I have not been able to pinpoint the exact cause, and it only
seems to be happening when I'm working through TextMate:
At some (undetermined) points, when I try to commit my project I get
this error:
svn: Commit failed (details follow):
svn: Your file or directory 'config.inc.php' is probably out-of-date
svn: The version resource does not correspond to the resource within
the transaction. Either the requested version resource is out of date
(needs to be updated), or the requested version resource is newer
than the transaction root (restart the commit).
(where config.inc.php is the first file that was modified in the list)
Now the problem is this: The resource is NOT out of date, and I'm the
only one with access to the repository. An update command says that I
have the latest revision checked out, and `svn info` verifies the
fact. Subsequent check-ins come back with the same error. The only
way I've been able to get around this is check out a new copy of the
repository, move the modified files over one by one, and check in
from there. And next time I need to check in, the same thing happens.
Is there an issue with the 'Find in Project' search and replace
feature that I should be aware of? (I use it a lot). Also I don't
have any modifications in the bundles, nor any related checked out
bundles.
Additionally, the 'diff' button from the subversion bundle status
list displays the correct diff, but there's no syntax highlighting.
When I use the diff bundle directly, or even through the subversion
menu, the highlighting works just fine.
Any ideas?
Constantinos
>>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