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
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
hello
It's a eally recurring problem.
Ih the archives :
"On 8/25/07, Charilaos Skiadas <cskiadas-
Re5JQEeQqe8AvxtiuMwx3w(a)public.gmane.org> wrote:
On Aug 25, 2007, at 7:44 PM, Clover wrote:
> What could I have done that will give me this error when I hit
> command-R for compiling latex:
>
> "python: execv: /Library/Frameworks/Python.framework/Versions/2.5/
> Resources/Python.app/Contents/MacOS/Python: No such file or
directory"
It sounds like there is some problem with your setup for python. The
command runs a python script that starts with the line:
#!/usr/bin/env python2.3
That should be #!/usr/bin/env python
I inadvertently left the 2.3 on there since I need to force 2.3 to
make sure it works with the version of python that is shipped with
the OS. I use 2.5 for my daily work. I just checked in a change
that removes the 2.3
This means it should explicitly look for and use python2.3. In your
case, it seems to be doing something weird. Have you messed with the
python installation in any way? Hopefully Brad, or someone else more
knowledgeable with Python, might be able to help us here.
I don't think OP is using the the bundle from svn since it was
looking for python2.5. There is definitely something very
nonstandard about the OP's setup since it is looking for the Python
inside the .app bundle."
Well, i am in this case . On my mac, I've Python2.3 and Python2.5. If
I write in the terminal
$ python
I get : Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
Actually I work with build 1414 and it's the latest cutting-edge
build of TextMate is 1414.
With that' all is fine. Now If I dowload the Latex.tmbundle and put
it anywhere, I have an error
around python 2.3
Regards Alain Matthes
Hi all,
If a new section is created in LaTeX mode with the sec[TAB] shortcut,
the following will appear:
\section{section name} % (fold)
\label{sec:section_name}
% section section_name (end)
Which is great! However, if the "Tidy" command is then performed on
the file, it will be re-arranged to
this:
\section{section name}
% (fold)
\label{sec:section_name}
% section section_name (end)
Which not only looks really ugly, but means that the fold takes up 3
lines instead of one, and doesn't have
a title.
Could somebody please have a look at this and see if it's fixable?
Files saved by TextMate crashes when opened in BBEdit. The file encoding
default is UTF-8. Is there a compatibility issue between these two apps?
Which encoding format should I be using?
--
View this message in context: http://www.nabble.com/TextMate-file-encoding-crashes-BBEdit-tf4437491.html#…
Sent from the textmate users mailing list archive at Nabble.com.
hello:)
I try to make a specific theme for latex but I have some problems and
some questions :
Firstly, we need something like :
{ name = 'constant.numeric.math.latex';
match = '(([0-9]*[\.][0-9]+)|[0-9]+)';
},
because $ a+2b $ and \[ a+2b\] don't give the same thing
Then I don't understand very well why all the part about "lstlisting"
"lstlisting" don't work with utf8 and why it is not possible to make
this work outside text.tex.latex ?
(perhaps it is not possible ?)
I would like to make a grammar about Tikz so I try to understand how
to make this...
I think perhaps a system of preferences like in Kile will be a good
think : for the grammar but for completion
1) A kernel around tex and latex
2) modules for book with index and biblio....
3) modules for the different packages pstricks, tikz, beamer
or perhaps different scopes : latex, latex-writer
An other thing I would like also make a scope for latex-developper
because we need a lot of keywords
like global let def edef etc... with tex
but with calc, ifthen, xkeyval there are a lot of others keywords,
for example ifthenelse is very important.
What is the good way to make this? I suppose that I need to add
specific files but hox to proceed... ?
Regards Alain (sorry for my bad english)
Hi Team.
Congratulations for you. It is becoming an amazing and helpful repository!!
About Textmate, I have a TODO bundle question.
After typed fixme or changed + TAB, I cannot obtain the same behaviour
obtained when I type todo + TAB.
For instance,
After typed todo + TAB, the content is changed to % TODO
But fixme + TAB
or
changed + TAB
Nothing is changed.
Could you please help with this?
Thanks in advance,
Rei
--
View this message in context: http://www.nabble.com/TODO-bundle-tf4422505.html#a12614333
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
Just got a new machine and had to reinstall the file system and all
my apps, among those TextMate and the LaTex system (CTAN).
Opening a previously made latex file and trying to compile it, I get
the following error message:
---
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6
Typesetting: ./master_project_outline.tex
Document Class: report 2005/09/16 v1.4f Standard LaTeX document clas
! LaTeX Error: File `utf-8.def' not found.
master_project_outline.log
---
Would appreciate it very much if someone could drop me a line and
tell me how to make TextMate aware of the utf-8.def file.
Sincerely,
Kjell Are Refsvik
Lillehammer, Norway
Hello all,
I'm looking for a way to delete all extra space from a file on save.
Extra space would include extra space on the end of lines. For empty
lines, this would delete all space contained within them. Any ideas?
Thanks,
Michael
Hi Team.
Congratulations for thelist. It is becoming an amazing repository!!
About textmate, I have a TODO bundle question.
After typed fixme or changed + TAB, I cannot obtain the same behaviour
obtained when I type todo + TAB.
For instance,
After typed todo + TAB, the content is changed to % TODO
But fixme + TAB
or
changed + TAB
Nothing is changed.
Could you please help with this?
Thanks in advance,
Rei
Hi,
I have a question and sure about that this question has answered
before : ), but I'm not able to browse the message archive now,
Is there any keyboard shortcut or trigger that matches and focuses
opening or closing tag (or selects its content)? (without fold).
thanks.
--
Özgür Odabasi
The run command throws up this error:
/Users/jashugan/Library/Application
Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec_mate.rb:18:in
`run_files': private method `split' called for nil:NilClass
(NoMethodError) from /tmp/temp_textmate.HNHo7l:5
Running the specs using rake works fine.
Hi All,
I love using Skim for viewing the pdf files produced by LaTeX. But I don't
like its auto-refresh behavior. It seems buggy, (crashes on auto-reload too
often) and I hate having to click Auto every time Skim restarts.
So, I added some applescript goo to the Typeset & View command to tell
Skim/TeXShop/TeXniscope to reload.
This means you could uncheck the box in Skim, et. al. that tells them to
check for file updates and rely on TextMate to tell them when to reload.
According to the TeX mailing list using applescript is also more resource
efficient than having the viewer watch for file changes.
Would others also prefer to have this part of the bundle?
Brad
--
Brad Miller
Assistant Professor, Computer Science
Luther College
Dear All,
When I use the "Show Outline" command in the LaTex outline on a single file
(with no /include or /input), the command works perfectly. However, when I
use it on a file that includes /include, I get the following error:
`each_with_index' from /tmp/temp_textmate.lsbsz4:34:in `each' from
/tmp/temp_textmate.lsbsz4:34:in `each_with_index' from
/tmp/temp_textmate.lsbsz4:34:in `outline_points' from
/tmp/temp_textmate.lsbsz4:36:in `outline_points' from
/tmp/temp_textmate.lsbsz4:34:in `each_with_index' from
/tmp/temp_textmate.lsbsz4:34:in `each' from /tmp/temp_textmate.lsbsz4:34:in
`each_with_index' from /tmp/temp_textmate.lsbsz4:34:in `outline_points' from
/tmp/temp_textmate.lsbsz4:47
The /include files are not in the same directory as the master file, but the
file typesets just fine.
Any ideas?
Thanks,
zsteir
--
View this message in context: http://www.nabble.com/%22Show-Outline%22-error-tf4410356.html#a12581754
Sent from the textmate users mailing list archive at Nabble.com.