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.
Definitely True. We need good code completion for RoR on Textmate. It's all
about having the right tools and decent code completion is definitely top of
the list. Something like what MS visual studio has, they call it
intellisense, would be everything. I mean code completion for your own
classes/methods anywhere....
Is there anything we as a community can do to improve the Ruby bundle for
this? I understand the plugin API is not done yet for TM...
cheers
-James
_________________________________________________________________
Get a FREE small business Web site and more from Microsoft® Office Live!
http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/
I've looked for an answer but, as yet, haven't found one. I'm experiencing
irregular spacing within the textmate window. It doesn't matter what format
the file is in. It looks something like this: 'Po in t you r b rows e r
to'. I've looked at preferences but don't see an answer. I'm using ver
1.5.6 on PowerBook G4 running mac os x 10.4.10. Any suggestions?
--
View this message in context: http://www.nabble.com/Irregular-spacing-tf4406810.html#a12572251
Sent from the textmate users mailing list archive at Nabble.com.
I have a question that I'm sure has a simple solution, and if my
brain worked properly these days I'd be able to find it either online
or somewhere in the archives... But I can't, so here goes...
I need to parse an entire project through a regex, and produce some
formatted output. The regex is quite simple, and the reason is to
create a 'translation' file. I have a huge project where I've used
the wordpress-style convention (which in turn is based on the gettext
style convention) of translating strings, namely passing them to the
__() function (this is all in php). I'm not using gettext, i've just
wrapped my own code around that function (which is why i'm using __()
instead of _() )
This function at the moment simply returns the input as output (since
all the text strings are in english, and I haven't really translated
anything yet so my translation files are empty). What I want is to
parse all of my code for /__\(['"](.*)['"]\)/ and some variations
thereof, and produce a line-separated list of strings that need to be
translated. I'd like to make this an automated process, because this
is an ongoing project and i'd like to refresh the to-be-translated
strings file frequently.
I believe poedit already does something like this, but attempting to
get my head around .po and .mo files at this point just gave me a
migraine (nb: if someone knows of a good, step-by-step 'for dummies'
tutorial for this stuff, I'd appreciate it).
Any ideas?
Constantinos Neophytou
Is there any way to excluding some directories from "go to file"? I
have a project set up where three (library) directories contain
something like 15000 files that I never want to complete on. Because
there's so many files, the "go to file" dialog box takes a few
seconds to appear. --M.
--
http://beebo.org
+44 78 2118 9049
Hello:
I work developing software using Windows at the office, but at home I
get to do my own stuff in a Mac -- so I use TextMate for that.
However, I've noticed that most (all?) language syntaxes in the bundles
menu use the 'C' escape character, even if the language really doesn't
support that escape sequence. Specifically, I was interested in
changing the Pascal/Delphi syntax to use doubled single-quotes ('') as
an escaped quoted-string quote instead of \' (which is taken as literal
in Pascal).
Anyway, before I take the time to learn and figure out the syntax
formatting stuff to do this, I was wondering if someone already had
done this (or if it could be included in the next version :).
Cheers!
dZ.
--
"Bastard Operators don't just win. Anyone can win. Bastard Operators
win and totally demoralise. That's real winning."
-- BOfH
hi,
just a short note: there is still a problem with the error parsing
machinery:
undefined control sequences don't get caught:
from the log file:
./pozdniakov-segerer.tex:38: Undefined control sequence.
l.38 \bikkkk
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
from the typeset & view output window:
Found 0 errors ...
greetings
christoph
Is this normal? <see the screen shot>. As far as I know, the blank bar
appear when in Python, Ruby, SQL, Regular Expression, and
AppleScript... probably more. I have poked around more and can't
figure what it does.
hi @all,
i am trying set up TextMate for using latexmk.pl as describe in
http://plesslweb.ch/2007/04/02/setting-up-latex-on-mac-os-x/ and , but
am running into some problems.
The symptom is
! LaTeX Error: Unknown graphics extension: .eps.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.72 ...\includegraphics[width=80mm]{pics/au4.eps}
?
! Emergency stop.
...
l.72 ...\includegraphics[width=80mm]{pics/au4.eps}
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
and, yes, i have
\usepackage{graphicx}
on my main file.
At this point I should say that I'm able to successfully compile the
project with TeXShop, but not with latexmk (simple manual latex +
bibtex + latex). In Linux, latexmk is doing the job perfectly.
What I guess might be the source of the problem is that I have two
latex installations, so i am guessing that One is texlive2007, and the
other results from installing too much stuff in Fink.
So, my question would be: how can I correctly setup TextMate/latexmk
so that it is going to use the correct installation?
Are there any path variables that need setting, or simply an explicit TEXINPUTS?
Any help would be greatly appreciated!
Hi there,
I just found out that Araxis Merge (IMHO one of the best merging tools
available, and the only program that makes me miss Windows sometimes)
is coming to the Mac platform.
The current beta is quite nice, has AppleScript support and includes
commandline tools for automation.
So... is there any chance of having the Subversion.tmbundle crew take
a look at it?
Hopefully you'll instantly fall in love and add support for it as a
diffing/merging tool : )
More info, and download at
<http://www.araxis.com/merge_mac/>
Thanks in advance ; )
--
Ale Muñoz
http://sofanaranja.comhttp://bomberstudios.com
Hi,
I don't know whether this is a bug or it's the normal case. I'm using
TM 1.5.6 (1414)
[ a '|' is indicating the caret]
Supposing you have a plain text file with a line:
Dies ist ein | Test.
TM_CURRENT_WORD = 'ein Test'
Why??
If I have that one:
Dies ist ein Test. |
TM_CURRENT_WORD = is undefined
Fine.
Can someone explain me that behaviour please.
Thanks,
Hans
I got the following error today when I tried to run a TextMate
command in the GTD2 bundle:
/tmp/temp_textmate.P3vuHw:4:in `require': No such file to load -- erb
(LoadError) from /tmp/temp_textmate.P3vuHw:4
I've been playing around with my ruby installation, but it seems to
be running fine (1.8.6). I can run a script with "require 'erb'"
from within TextMate, so I don't think that ruby is the problem. I
also checked to make sure that I haven't changed the code for the
command, but it checks out as the most current in svn.
Any idea what's going on? Thanks.
Mike
Hi Brad,
thx for the quick answer :)
The Latex bundle is the original which came with TextMate, Version 1.5.6 (1405).
The excerpt I mailed was taken from the main.log file.
Anyway, compilation with pdflatex is indeed unsuccessful due to the eps figs.
On my linux system I've always had success with 'latexmk -ps', and so
I've set 'TM_LATEX_OPTIONS' to '-ps'.
The output of the typesetting process is the following (WARNING: LONG)
Typeset & View
main.tex
Theme:
Compiling LaTeX…
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6
Typesetting: ./main.tex
Document Class: article 2005/09/16 v1.4f Standard LaTeX document clas
Typesetting: ./draft.tex
Typesetting: ./introduction.tex
LaTeX Warning: Citation `klattklatt1990' on page 1 undefined on input line 9.
LaTeX Warning: Citation `hms1964' on page 1 undefined on input line 15.
LaTeX Warning: Citation `guenther1998' on page 1 undefined on input line 19.
LaTeX Warning: Citation `hanson_stevens2002' on page 1 undefined on input line
LaTeX Warning: Citation `stevens1989' on page 1 undefined on input line 28.
LaTeX Warning: Citation `liberman1985' on page 1 undefined on input line 28.
LaTeX Warning: Citation `perrier2005' on page 1 undefined on input line 28.
LaTeX Warning: Citation `doupekuhl1999' on page 1 undefined on input line 31.
LaTeX Warning: Citation `leonardo2005' on page 1 undefined on input line 32.
LaTeX Warning: Citation `doupekuhl1999' on page 1 undefined on input line 33.
Typesetting: ./synergies.tex
LaTeX Warning: Citation `rabiner1967' on page 2 undefined on input line 37.
LaTeX Warning: Reference `eq:amps' on page 2 undefined on input line 44.
LaTeX Warning: Reference `eq:main' on page 2 undefined on input line 45.
LaTeX Warning: Reference `fig:au' on page 2 undefined on input line 64.
./synergies.tex:72 Unknown graphics extension: .eps.
Typesetting: ./results.tex
LaTeX Warning: Citation `klattklatt1990' on page 3 undefined on input line 8.
LaTeX Warning: Citation `klatt1980' on page 3 undefined on input line 9.
LaTeX Warning: Reference `sec:vowels+consonants' on page 3 undefined on input
LaTeX Warning: Citation `ladefoged2005' on page 3 undefined on input line 25.
Typesetting: ./voweltable.tex
LaTeX Warning: Reference `fig:voweltriangle' on page 3 undefined on input line
Typesetting: ./voweltriangle.tex
./voweltriangle.tex:13 Unknown graphics extension: .eps.
LaTeX Warning: Reference `fig:au' on page 3 undefined on input line 48.
./results.tex:63 Unknown graphics extension: .eps.
./results.tex:71 Unknown graphics extension: .eps.
LaTeX Warning: Reference `fig:klatt' on page 3 undefined on input line 89.
./results.tex:93 Unknown graphics extension: .eps.
Typesetting: ./discussion.tex
LaTeX Warning: Reference `sec:vowels' on page 4 undefined on input line 11.
Typesetting: ./bibliography.tex
LaTeX Warning: There were undefined references
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right
Output written on main.pdf (4 pages, 121801 bytes)
main.log
This is BibTeX, Version 0.99c (Web2C 7.5.6
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6
Typesetting: ./main.tex
Document Class: article 2005/09/16 v1.4f Standard LaTeX document clas
Typesetting: ./draft.tex
Typesetting: ./introduction.tex
Typesetting: ./synergies.tex
./synergies.tex:72 Unknown graphics extension: .eps.
Typesetting: ./voweltriangle.tex
./voweltriangle.tex:13 Unknown graphics extension: .eps.
./results.tex:63 Unknown graphics extension: .eps.
./results.tex:71 Unknown graphics extension: .eps.
./results.tex:93 Unknown graphics extension: .eps.
Typesetting: ./bibliography.tex
Output written on main.pdf (4 pages, 120871 bytes)
main.log
Found 0 errors, and 5 warnings in 2 runs
It would be nice to have Code Completion included in the Rails bundle.
I have split my time using TextMate for PHP and Ruby on Rails, and one
thing that I like about how PHP is handled in TM is code completion
(hitting Escape for a partial function name to get a list of possible
functions to choose from.)
It would be extremely useful to have this for Rails. I read that if I
freeze Rails, then code completion would work, but in most cases, one
does not want to freeze Rails. One thing that would be especially
convenient is to have code completion for Rails methods that are
globally available in Rails views, such as link_to; this method alone
has no less than SIX other variations, to give you an example of the
standardized method naming convention in Rails. This is commonplace
among the other methods in Rails.
link_to variations include:
- link_to_function
- link_to_remote
- link_to_if
- link_to_image
- link_to_unless
- link_to_unless_current
Anyways, hopefully this will drum up some discussion about this and
get something going. It would be nice if someone who already has
experience creating Completion code for TM Bundles could handle this
task, since I rarely touch TM Bundles and Snippets.
--
Gary King
http://www.kinggary.com/http://www.linkedin.com/in/garyking
I searched the archives back to July of '06, but did not find anything
on the list about this...
I'm developing on a Linux box that's got my source tree on it. My Mac
NFS mounts this directory, and I use TextMate on my Mac to edit the
sources on the Linux box. Whenever I leave the textmate window and come
back, I have to wait for about 5-15 secs (with a spinning beach ball),
before I can edit my files again. Is there some NFS setting that I can
tweak to remove this wait? Or some config thing in textmate?
Any help would be appreciated.
Thanks in advance,
Per
--
Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119
V: 209 883 4102 | pthomsen(a)reedtz.com | C: 209 996 9561
GPG ID: 1209784F | Yahoo! Chat: pthomsen | AIM: pthomsen
Hi,
Joachim Mårtensson wrote a marvelous extension to tm_dialog - the
code completion popup.
(See his mail http://lists.macromates.com/pipermail/textmate/2007-
August/021853.html)
Now I had the idea to enhance it a bit in respect of file/path name
completion and a word completion based on cocoa's spell checker
dictionaries.
####
File/Path completion:
tmCommand:
"$DIALOG" -f -p '{pathcompletion=YES;}'
Input: None
Output: Show as Tool Tip (for errors messages)
It turns out that this is the fastest way to insert a path I ever saw ;)
If you type '/App' it will start there and inserts the longest match
automatically.
If the current document is saved and you type ' ' it starts at
TM_DIRECTORY.
Is there TM_SUPPORT_PATH or TM_BUNDLE_SUPPORT before the caret and
you type e.g. ' ' it starts at the given path.
The popup window doesn't disappear if I inserted an item. Instead it
shows the content of the inserted path.
####
Word Completion
tmCommand:
"$DIALOG" -f -p '{wordcompletion=YES;lang=nl_NL;}' or "$DIALOG" -f -p
'{wordcompletion=YES;lang=en_GB;}'
Input: None
Output: Show as Tool Tip (for errors messages)
By my opinion it's better than cocoa's built-in completion ;)
It also doesn't disappear if I append a new character to my word or
if I delete a character. Instead it shows new suggestions.
A demo can be found at:
http://www.bibiko.de/TM_completion.mov (2.6MB)
Some tiny things have to be done but the tentative code works. If I
fixed them I will post the changes to Joachim. He will commit it to the
http://macromates.com/svn/Bundles/branches/Dialog%20PlugIn%
20Completion%20Menu/ branch.
My question is whether there are other possibilities to use this
extraordinary extension.
One idea would be to feed this popup window with TM's internal
completion list but up to now I didn't find a way to have access to
it (Allan?).
Comments, suggestions?
Cheers,
Hans
Hi!
Does anybody know how to add ability to edit/add post slug (for
WordPress blog) in TM?
I like to post through TM but my posts mostrly in russian so slugs are
too... And that is very non frendly for IE/FFox users - if i want to
send them link to my post...
Alexey Blinov
Hi all,
The Hyperlink Helper bundle is fun, but it would be more useful for me to have a
macro that would auto-convert all urls in a text document to active
hyperlinks--eg, replacing:
Please visit my home page at http://mysite.net/home.html today!
with
Please visit my home page at <a
href="http://mysite.net/home.html">mysite.net/home.html</a> today!
or some variation on this.
I could write this macro as a RegExp global replace, but I was thinking someone
else may have already scripted it. If you know of a pre-existing macro, please
let me know.
BTW this forum has been very helpful and quick to respond in the past--thanks
for the support!
jon
Hello,
One extremely useful command that I use very frequently when editing code in
Visual Studio.net is the "back to previous edit location" command.
For example; I am editing file X on line 12. When editing I decide I need to
change something in file Y. After making the change I want to go back to
file X on line 12. This happens a lot of times during coding sessions.
(there is also a next edit location command that would go back to file Y, so
it's kind of navigating in a stack of edit location history).
Is this functionality already present in Textmate? If not, consider this as
a feature request. Also is this something I could add myself using Textmate
extensibility features?
Regards,
Ward
--
View this message in context: http://www.nabble.com/feature-request%3A-back-to-previous-edit-location-tf4…
Sent from the textmate users mailing list archive at Nabble.com.
Ahoy.
I've been thinking about doing a smart codecompletion thing for HTML.
Then maybe CSS too.
The way it would work would be similar to how CSSEdit and Dreamweaver
code completion works.
Inside of an HTML tag, you hit space to bring up a list of attributes
that are valid for that tag.
Outside of an HTML tag you hit a key command or tab completion to
bring up a list of tags.
Also, it should be smart enough to insert xhtml tags or html4.0 tags
depending on the doctype.
Pretty simple really, but I'm not sure if people really want me to
share this or just do it for myself.
So, if you would use such a feature, please reply to this message.
Please also reply with what other features you'd like to see in this.
thanks
thomas Aylott — subtleGradient — CrazyEgg — sixteenColors
Ciao Folks,
is it just me or is there something broken in the 'Typeset and
View'-Command after Revision 8121?
Using an otherwise unchanged setup, I am getting the following output:
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6
Traceback (most recent call last): File "/Library/Application
Support/TextMate/Bundles/Latex.tmbundle/Support/bin/texMate.py", line
376, in ? isFatal,numErrs,numWarns = commandParser.parseStream() File
"/Library/Application
Support/TextMate/Bundles/Latex.tmbundle/Support/bin/texparser.py", line
47, in parseStream fun(myMatch,line) File "/Library/Application
Support/TextMate/Bundles/Latex.tmbundle/Support/bin/texparser.py", line
237, in startLatex bp = LaTexParser(self.input_stream,self.verbose)
TypeError: __init__() takes exactly 4 arguments (3 given)
Any ideas?
Greetz
Bastian
hello list.
As I've mentioned before on Allans blog, I'm developing a plugin which
should ease developing Actionscript 2 with TextMate.
The plugin is a interface for Mtasc and has an integrated SocketServer which
can display your trace commands. It also has it's own browser (based on the
WebView of course), which can show which files are loaded by your flash
movie.
You can see some screenshots here: http://nesium.com/blog/flashmate/
It works pretty solid right now (I use it for production on a daily basis)
and I hope that I can release a beta version over the next week. So if
you're interested in using it, please drop me a line. I would be pretty
happy if someone could assist me in testing this thing!
cheers,
Marc
One of the very few complaints I have regarding Textmate is how it
handles font sizes for printed documents. I have the apple 30" cinema
display (beautiful!). The problem is that if I have a reasonably
small size font on the screen, the print size is huge. In order to
get the print on the page down to a reasonable font size, I have to
reduce the screen font size down to practically microscopic!
The help system mentions something about the Source Bundle having a
"View Source as PDF" function, but I couldn't find that function.
Bundles -> Source does not show it.
Anyway, I was wondering what other users have done to mitigate this
problem.
Thanks,
sjf
I love how Monaco 11 looks like against my dark TM background when in the
"light" smoothing style. However I can't stand the rest of the OS text and
especially Helvetica in Safari and prefer those to be in "standard" style,
they all just look too fat in "light" while Monaco looks anaemic in
"standard".
Thanks in advance
Allan,
I love Find in Project's... preview window which shows every matched
line in every file in the project. I love it so much so that I often
use it even when I only care about a single file in a project and
just ignore the extraneous results of the other files.
Thus, I am always disappointed when editing a single file (not part
of a project) and I select Find in Project... only to be greeted with
a window titled "Find in Project: <none>" that only beeps at me when
I try to use it. :-(
This may already be on the docket for 2.0, but I'd much prefer if
"Find..." and "Find in Project..." were to always bring up the same
window (whether editing a single file or a project) with one
difference. The window would have a radio-button such as:
(o) Search in current file
( ) Search in project
With the selected radio button according to whether the user used
"Find in Project..." or "Find..." to bring up the window. For single
file editing, the control would be disabled.
I'm sure you can think of a better UI design; I'm just arguing that
the preview functionality is useful in more than just a project context.
Said window could even grow an additional feature:
(o) Search in current file
( ) Search in project
( ) Search files in project matching pattern: [......]
(It should go without saying that any unique features of the
"Find..." window should be available in this unified window.)
I'm sure I'm missing something obvious that makes this a poor
suggestion or difficult to implement. :-)
Thoughts?
j.
Hello,
Can I please get the Grails <http://grails.codehaus.org> TextMate
bundle <http://ldaley.com/downloads/Grails.tmbundle.zip> considered
for inclusion in the bundles repository. It was primarily developed
by Graeme Rocher who developed the Groovy bundle which is in the
repository now. I am submitting this as I have made some changes/
additions with Graeme's blessing.
I would also like to get commit access to this bundle and the Groovy
bundle. What do I need to do to prove my worthiness so to speak? (not
meant to sound antagonizing)
Thanks,
- LD.
Hello,
I have a project in TextMate that compiles without giving me errors, but
when I compile it using TexShop, they are errors. How come isn't
TextMate showing me what and where the errors are ?
Thank you,
Maxime Boissonneault
i'd like to know if it's possible to get XCode bundle without direct
internet connection ???
because at this time i don't have svn i'm going to a net shop to connect
thru another computer ( win*)
<textmate(a)lists.macromates.com>
--
yvon
On 04/09/07, Clover <antikraft(a)gmail.com> wrote:
> Seems like I am having problems updating my LaTeX bundle.
> I have been trying to update my bundles using the script at
> http://blog.bleything.net/2006/10/15/keeping-textmate-bundles-up-to-date-wi…
> and also the GetBundle bundle, but I don't think my bundle gets updated.
> The former script when doing the update says "* LaTeX: bundle exists,
> updating
> * updated to " without saying the version number to which it was updated
> — makes me think that there was an update failure (a similar thing
> happens to the "Text" bundle during updating.
I'm afraid I don't know what the problem is. I've never used either
that script or GetBundle. I hope somebody else will be able to help.
(You could always try
http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles then
updating again, to see if that helps.)
Robin
Here is an example of a code block that is processed correctly by markdown,
but is not correctly scoped in TextMate.
* level 1
def test():
pass
The def test() line should be scoped markup.raw.block.markdown, but instead
is meta.paragraph.list.markdown. According to Gruber: To put a code block
within a list item, the code block needs to be indented *twice* — 8 spaces
or two tabs: The spec doesn't say, but if you put a code block inside a
level 2 list then you have to indent your code 12
Brad
--
Brad Miller
Assistant Professor, Computer Science
Luther College
Hello,
When I use the "Typeset & View" command from the Latex bundle I get
the following error:
Traceback (most recent call last):
File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/texMate.py",
line 299, in <module>
tmPrefs = tmprefs.Preferences()
File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/tmprefs.py",
line 18, in __init__
self.prefs.update(self.readTMPrefs())
File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/tmprefs.py",
line 39, in readTMPrefs
plDict = plistlib.readPlist(pl)
File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/newplistlib.py",
line 77, in readPlist
rootObject = p.parse(pathOrFile)
File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/newplistlib.py",
line 402, in parse
parser.ParseFile(fileobj)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line
634, column 17
I Googled and found a posting with a similar problem:
http://www.nabble.com/-BUG--Latex-Bundle-t4317028.html. Brad Miller
replied with a suggestion to check out /tmp/tmltxprefs.plist - I did,
and found a line with some weird characters that are probably to
blame. Here are lines 632-641:
<dict>
<key>command</key>
<string>grep '
[Extreme newbie alert]
I have been hearing about the Latex Watch setup which sounds like a
dream. However, couldn't find any directions for setting it up.
Any pointers?
Thanks!
Raheel
Hi
asking for help
I have the next code for to eat the spaces behind the cursor (with
Shift and FwdDel). My problem is I know only how to move around the
current line but not how to go beyond and eat also new lines in order
to reach the start of the next line.
#!/usr/bin/env ruby
sel = ENV['TM_SELECTED_TEXT']
if sel != nil
sel = sel.dup
sel.gsub!(/\s/, '')
print sel
exit 0
end
left = ENV['TM_CURRENT_LINE'][0, ENV['TM_LINE_INDEX'].to_i]
right = ENV['TM_CURRENT_LINE'][ENV['TM_LINE_INDEX'].to_i .. -1]
right.gsub!(/^\s+/, '')
print left + right
I have found the env vars
TM_CURRENT_LINE'
TM_LINE_INDEX
TM_LINE_NUMBER
TM_INPUT_START_LINE
but it is not evident for me how to know the whole text before/after
the cursor.
Any idea will be welcome.
I recently had the following problem: I needed to move the contents of my
footnotes in a latex document to parentheses in the main text. I.e. search
and replace \footnote{......} capturing the contents of the footnote etc.
My problem was that \footnote could contain other latex commands, so that it
was not possible simply to search using the braces. I needed some way to
search and replace using matching braces. Is that possible?
Textmate is very good at working out which close brace goes with which open
brace, but as far as I can see that ability is not available when doing a
search and replace. Is that right?
Best wishes,
N
hi brad,
here is a serious tex-code error which apparently goes unnoticed by
the error parsing mechanism of typeset & view:
from the log file:
======
Runaway argument?
\a . \begin {treetab}[t]{ccccc} & \Node {}{NP}\\[3ex] \Node {l}{} &&
\ETC.
./kula-cheng.tex:788: Paragraph ended before \ex was complete.
<to be read again>
\par
l.788
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.
======
typeset & view window:
Found 0 errors, and 2 warnings in 1 runs
wat is missing in the tex code is a closing } in this kind of tabular
environment (which produces syntax trees as used in linguistics).
because of this the entire object gets dropped.
BTW: the revised typeset & view (with the buttons in the typeset &
view window) is fabulous, thanks a lot for your work!!
christoph
I've installed the getBundle bundle and the autoupdater.
the autoupdater announces a failure and the update installed bundles
causes this to be logged:
Skipped 'CSS(plus).tmbundle'
Skipped 'CSS.tmbundle'
svn: REPORT request failed on '/svn/Bundles/!svn/vcc/default'
svn: Target path does not exist
svn: This client is too old to work with working copy '/Users/
tonycrockford/Library/Application Support/TextMate/Support'; please
get a newer Subversion client
launchd[91]: com.macromates.textmate.bundleupdate: exited with exit
code: 1
launchd[91]: com.macromates.textmate.bundleupdate: 8 more failures
without living at least 60 seconds will cause job removal
can anyone suggest where to start fixing this?
cheers
Is there a key combination for selecting a line (or lines) of code in a tag but
omitting leading and trailing spaces and tabs? I'm familiar with the Shift-Cmd-L
shortcut, but it leaves in the whitespace. This makes a mess of indented HTML
when I'm using the Ctrl-Shift-W and Ctrl-Shift-Cmd-W HTML shortcuts.
In other words, if I apply the combination Shift-Cmd-L followed by Ctrl-Shift-W
to this line:
Here's a paragraph!
I get this:
<p> Here's a paragraph!
</p>
instead of what I want, which is this:
<p>Here's a paragraph!</p>
Obviously I could use the mouse to select only the correct part, but I was
hoping there might be a keyboard shortcut.
If it's best to create my own macro using Regular Expressions, any pointers as
to how to get started would be helpful.
Many thanks!
jon
I'm trying to write a command that reformats Python triple-quoted
(""") strings. The scope of such strings is:
source.python string.quoted.double.block.python
when I create a command that has:
Input: Selected Text or Scope
and said scope as the Scope Selector, then run the command with the
cursor inside a triple-quoted string, the entire document is fed to
the command instead of just the triple-quoted string (the current
scope).
I've confirmed the scope via TM_SCOPE. Clearly I have the Scope
Selector correct else my command wouldn't be activated (I've bound it
^Q).
Any ideas?
j.
On Aug 30, 2007, at 11:54 PM, "Baluta Cristian"
<cristi.baluta(a)gmail.com> wrote:
> do you have this line in your mtasc.yaml ?
> params: -main
> this was my problem. this was for the projects wich compiled with a
> blank screen, but i think i remember your error also, was for single
> files.
Unfortunatly the problem isn't that simple. I get an error screen and
no compile. I am almost certain it is because the script is running
MTASC from the wrong scope, for when I run the same command manually
from Terminal it compiles fine.
I have no idea what could be causing this and have even deleted
TextMate and reinstalled with the same results.
> On 8/30/07, Aaron Clinger <aaron(a)odopod.com> wrote:
> On Aug 29, 2007, at 1:24 PM, Baluta Cristian wrote:
>
> > stopped to work after an update? a month ago i had this problem and
> > was something about settings file, is missing something wich was
> > default in the past. i'll try to come back with a link.
>
> I don't think so but maybe. It be great if you could pass me the link.
>
> Thanks.
>
>
> >
> > On 8/29/07, Aaron Clinger <aaron(a)odopod.com> wrote:
> >> The build with MTASC command suddenly stopped working for me on my
> >> work
> >> computer. I am at a total loss.
> >>
> >> I am now getting this output when I try to compile on projects
> >> that had
> >> previously worked:
> >> (unknown) : type error class not found : com.package.Class
> >>
> >> It seems in my testing that it might be using the folder that
> >> contains the
> >> class you currently have open, instead of the folder the
> >> mtasc.yaml resides
> >> in. I have tried using the same command in the right folder
> >> location from
> >> Terminal and it works fine.
> >>
> >> I am running the edge build 1414.
> >>
> >> Thanks in advance for any help.
> >>
> >> -Aaron
> >>
> >>
> _____________________________________________________________________
> >> _
> >> 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
> >>
> >
> >
> > --
> > Cristi
> > www.ralcr.com
> >
> >
> ______________________________________________________________________
> > 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
> >
>
>
> ______________________________________________________________________
> 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
>
>
>
> --
> Cristi
> www.ralcr.com
>
> ______________________________________________________________________
> 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
Hi
Not sure who's maintaining the PHP bundle (Ciarán?) but any chance
you could include this tiny, tiny snippet? It makes writing longer
blocks easier.

Also - I'm using Doxygen rather than PHPDocumentor (as it seems
easier to get it into TeX ? let me know if I'm wrong here!) - any
chance we could have
/**
*
**/
as the docblock defn? I don't think it interferes with PHPDocumentor,
and it makes folding easier on long comments.
Kind regards,
R
--
Richard Dyce MA (Cantab.) MBCS MIET
http://dyce.com
Hi,
I've been seeing this for some time, and I'd like to know if any of
you knows what the problem is:
Let's say I'm editing a file (file1.html), and I save it with another
name (Save as file2.html). After that action, I'll be editing
file2.html, but if I want to open file1.html, it doesn't show in the
project drawer. I can't access it using Command+T, either.
If I quit Textmate and reopen it, then I can see file1.html in the drawer.
Thanks!
The build with MTASC command suddenly stopped working for me on my
work computer. I am at a total loss.
I am now getting this output when I try to compile on projects that
had previously worked:
(unknown) : type error class not found : com.package.Class
It seems in my testing that it might be using the folder that
contains the class you currently have open, instead of the folder the
mtasc.yaml resides in. I have tried using the same command in the
right folder location from Terminal and it works fine.
I am running the edge build 1414.
Thanks in advance for any help.
-Aaron
Allan,
Just out of mild curiosity, how long has TM2 been self-hosting (i.e.
when did you switch from TM1 to TM2 in order to develop the rest of
TM2)?
As long as you're teasing us about it and all... :-)
j.
On Aug 27, 2007, at 7:00 AM, textmate-request(a)lists.macromates.com
wrote:
> I use textmate a lot to write in markdown. However, the documents
> I produce need to be printed out and proofread often. Is there any
> way to get textmate to print out documents double spaced? If not,
> I preview the documents in firefox on OS X. Is there any way to
> get firefox to print double spaced?
In addition to tweaking/hacking the built-in print.css file, you
should also consider installing Fletcher Penney's MultiMarkdown set-
up. It comes in two parts: (1) a TextMade bundle and (2) a
MultiMarkdown folder you place in ~/Library/Application Support.
Why? Because Multi-Markdown actually lets you include meta-data at
the top of a document. One item you can include looks like this:
CSS: http://path.to.styles/sheet.css
You can then "style" a particular document any number of ways. I have
not found a way for this to work fully using TextMate's built-in
Preview browser, however. (HELP coding gurus!) Fonts work. As do line
spacing, which would get you what you want, but not margins and page
numbering.
Of course, to be fair, I haven't found a browser yet that respects
page numbering as specified in CSS when I have outputted using
MultiMarkdown. (If I am doing something wrong not to get this, please
someone feel free to set me straight.)
So far as I can tell, truly print-ready formatting is only available
through LaTeX or through using something like Prince. (Or by being
XSLT competent.) I really can't work up the desire to immerse myself
in LaTeX when Markdown works so well for me. Prince is too expensive.
And I am definitely incompetent when it comes to XML/XSL/great googly
moogly.
Given my ignorance, setting up MultiMarkdown can't be that hard.
Now, where's a piece of wood so I can knock on it.
john
Hi,
How can you make it so when you press a '(' when editing source-code '( )'
is inserted instead of '()', that is, there are two spaces between the
brackets and the cursor is in-between those two spaces? It makes code much
easier to read.
Thanks!
P.S. Sorry if this message shows up as a duplicate.
--
View this message in context: http://www.nabble.com/Auto-Paired-with-Spaces-tf4295400.html#a12226736
Sent from the textmate users mailing list archive at Nabble.com.
This is barely a bug, but still seemed worth a quick mention. I've
got a project file in my /opt/ directory, which I'm using for fooling
around with my local apache installation. I do not have write
permission in /opt/, because I'm not logged in as admin (a habit from
the early days of great bash disasters). When I go to 'create a file'
in the project drawer and choose a location within /opt/ to create
it, clicking 'ok' fails silently – no error message or request to
authorize. In other circumstances I've seen TextMate ask for
authorization as admin, and it would be nice if it did the same here.
Like I said, hardly a crucial issue, there are a million ways around
it, but it seems like it ought to work.
I'm using build 1414, if that makes any difference.
Yrs,
Eric
HI,
I don't know whether this is an issue for other users as well and
whether it would be possible, but I'd like to have a built-in chance
to enable or disable installed plugins (maybe integrated in TM's menu).
Background:
I often use Hetima's CJK-Input plugin for writing Japanese.
This plugin will be also invoked if I want to write German umlauts
like ä because I use an US-keyboard and I have to type the key
combination ALT+u plus a for inserting an ä. This behaviour is a bit
annoying.
[I know that TM can display the key combination ALT+u or ALT+e not
yet but still ... ;)]
Up to now I use a script to rename the plugin and restart TM.
Furthermore if more plugins will be developed in the future which
maybe interact with others it would be nice to have such a chance to
(un)load plugins while running TM.
On the other hand it would 'solve the problem' while developing a
plugin to restart TM after building a new version of it. Just unload
and load that plugin.
Or am I wrong?
Best,
Hans
Greetings list,
I've just recently started getting a couple of errors when using the
"mate" command:
~ $ mate
sysctlbyname_with_pid: sysctl failed:Operation not permitted
is_pid_native: sysctlbyname_with_pid failed:Operation not permitted
It still seems to work properly.
I haven't been able to find anything on this re: TM, any clues on
where to start?
Best,
David
Hi there,
I have problems with the "reformate method call" of the Objective-C
bundle. I don't know if I don't understand the function or if it is a
bug - hope you can help me :)
Code snippet:
[nc removeObserver:self];
NSLog(@"%s: Unregistered with notification center: %@", _cmd, [self
fileName] );
[super dealloc];
The NSLog line is longer than my wrap-settings. So I want to reformat
that line to have the log command splitted over two lines, possibly
with an intendation for the second line. But if I press ^q the code
ends up like this:
[NSNotificationCenter defaultCenter]; [nc removeObserver:self]; NSLog
(@"%s:
Unregistered with notification center: %@", _cmd, [self fileName] );
[super
dealloc]; } @end
Do I use the wrong command? Is it a bug?
Thanks for reading ;)
Simon
Hi all,
I'm working on some PHP files and cannot get Show TODO List to work.
I recall this bundle was updated recently, but I haven't really used
the new version until now.
An example: one file has 1 FIXME comment and 2 CHANGED comments. When
I try Ctrl-Shift-T, I get the TODO window which lists 1 FIXME and
only the 1st CHANGED, and each of those seems to contain everything
from the comment line to the end of the document.
Am I making some error with how the comment lines are formatted? E.g.:
// FIXME: need to copy header section to sitedev file.
--
Tim Mansour <tim(a)neologica.com.au>
Hi,
I'm trying to customize the completion with my custom Ruby script. In
order to do this I've created a custom Preference item in my bundle
with a specific scope.
{ completionCommand = '"${TM_BUNDLE_SUPPORT}/bin/
completion_command.rb"';
disableDefaultCompletion = 1;
}
And this way surprisingly it doesn't work, because $TM_BUNDLE_SUPPORT
seems to be undefined for measly preference items. Should I file a
bug report or is there any work-around? ;-)
-Michail
When writing C++ code in TextMate, it appears that the method names are not
well detected when I use the throw\([^\)]*\) keyword on my method
declarations, as in this example:
void Foo::Bar(int argument) const throw()
{
/* ... */
}
or like this:
void Foo::Bar(int argument) const throw(std:exception, int)
{
/* ... */
throw std::exception("exception message");
/* ... */
throw 42;
/* ... */
}
When I use the throw keyword on my method declarations, the method name
detected by TextMate is "throw", which isn't really useful, especially when
all the method names are detected as "throw". How can I fix this to ensure
TextMates resolves the proper names?
Thanks for your help,
Marc-Antoine Courteau
Hi!
Can someone help me to tune BloggingBundle to avoid iconv error?
The problem is: when i try to fetch category list (cat->) i get an
error "iconv: (stdin): cannot convert"
I'm using WordPress as blog engine with MySQL (all fields set to utf8 manually).
PS
Some of the categories is in russian (utf8).
Hello,
I use textmate a lot to write in markdown. However, the documents I
produce need to be printed out and proofread often. Is there any way
to get textmate to print out documents double spaced? If not, I
preview the documents in firefox on OS X. Is there any way to get
firefox to print double spaced?
Thank you for your time,
-Colin Palmer
Hello,
Attached is a patch to
Bundles/Rails.tmbundle/Support/lib/rails/rails_path.rb that adds .erb
files to the list of files considered as view files. .erb files are
the new default view files for edge rails.
Thanks
-Lee
Allan, team, I was wondering if anyone can help me. I'm intrigued by
the implementation of textmate's incremental search feature for file.
What intrigues me most is the fact that it's partially ordered, though
it works on any set of characters that appear within a name.
Most incremental searches are implemented using trie structures, but
I'm not seeing how that can be used to implement partial ordered
searches, or I don't believe that data structure is the most efficient
way of doing so.
I'm wondering if someone can share a bit info on how this is
implemented. Are you using some known tree algorithm/structure, or is
the search performed by regex? I'm hoping the earlier and that you
can point me in the right direction.
I really appreciate any information.
Thanks.
Ilya Sterin
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"
[my earlier post went to another thread — sorry about that]
Starting a new thread because it is new issue.
> Updating should make both this and the overprint/overlayarea stuff
> work. I added some shortcuts for them and other beamer commands in
> the "Insert Environment/ Insert Command" dictionary.
After updating, I checked the configuration file via LaTeX → Edit
Configuration File and could not find these. I then checked /Library/
Application Support/TextMate/Bundles/Latex.tmbundle/Support/
latex.config, and the changes were there, but have no effect---the
shortcuts do not work. In the past I have edited the configuration
file through the LaTeX bundle (I added support for the quote
environment which I use often). Does this mean that editing the
configuration file in this way somehow blocks the changes made to /
Library/Application Support/TextMate/Bundles/Latex.tmbundle/Support/
latex.config? Or am I doing something stupid? (Likely, I am afraid)
Best, Mark
A couple requests about beamer support.
First, highlight and smart typing pairs should include the ones
supported in LaTeX. So Miscellaneous (Beamer) should be:
{ highlightPairs = (
( '<', '>' ),
( '"', '"' ),
( '(', ')' ),
( '{', '}' ),
( '[', ']' ),
( '“', '”' ),
( '$', '$' ),
( '`', "'" ),
);
smartTypingPairs = (
( '<', '>' ),
( '"', '"' ),
( '(', ')' ),
( '{', '}' ),
( '[', ']' ),
( '“', '”' ),
( '$', '$' ),
( '`', "'" ),
);
}
Second, it would be nice to support the overprint environment in
which \onslide functions similarly to \item. Specifically, it would
be useful to hit enter and to create another \onslide. \onslide takes
a number between angle brackets (e.g., \onslide<3>, *without* a plus
or minus sign since overprints may not overlap). Another difference
from \item is that the text begins indented on a new line as in the
following example:
\begin{overprint}
\onslide<1>
lorem
\onslide<2>
ipsum
\end{overprint}
Thanks in advance.
All the best, Mark
I discovered a little quirk of TextMate this afternoon that cost me several
hours of work.
I had a file within a project called "distributions.py", and wanted to make
a new file called "Distributions.py" to experiment with a few things.
When I created this file, it generated a new file, but rather than the usual
template, it contained the contents of distributions.py. Fine, I thought,
I was going to copy some of the contents of "distributions.py" over
anyway. I went ahead and heavily edited Distributions.py, including
deleting much of the original contents.
I was shocked to find that when I went back to the original file, all
the editing that I had done in the new file was mirrored in the second!
I had done enough editing that I was unable to undo changes to get most
of it back. Several hours of work -- gone.
Why on earth did creating a *new* file in a project apparently just
create some sort of symbolic link to an existing file?? 2 different files
"Distributions.py" and "distributions.py" both appeared in the project list,
and both had their own tabs. Does this have something to do with having
files that differ only in case? Very frustrating.
Since it seems entirely possible that the subversion bundle developers do
not read the intricate details of some LaTeX discussions I thought I would
just highlight a couple of ideas that came out of yesterday's emails.
Could you make it more difficult to commit without a comment? For example
if the comment is blank could you pop up a confirmation dialog? Or could
you disable the commit button until something has been entered in the
comment field?
Another suggestion was to have it so that the comment field gets the focus
when the window pops up. Although this seems to be how it works for me
already, so maybe this is done already.
Thanks,
Brad
--
Brad Miller
Assistant Professor, Computer Science
Luther College
Hi
I would like to change the cursor size on my TextMate.
I know there is a similar question posted several years ago, but I am not sure I
understand the answer.
Could someone let me know which option determines the size?
Thanks
Alexandra
I'm looking for a way for a snippet to perform a transformation on a
tab stop, but to output the number characters, not to modify the
captured tab stop. Can anyone think of how this would be done?
Example: A tab trigger for the PHP function strncmp(), and when I
type 'string', the third argument would update to the total number of
characters in the string.
strncmp($$1, '$2', <character count of $2>)
giving me:
strncmp($foo, 'string', 6)
-Derek
Ahoy me TextMateys,
I just had a kindof a neat idea.
TextMateHistoryManagement
Currently, when you do a thousand changes in textmate and then close
your document, all your changes are totally lost :(
What if every time you saved your document, I caught that action,
backed up your original version and the new one and then archived it
away in a magical forrest for safekeeping. Then when you open that
document up again you have the option to undo every previous save
you've ever made to the document? And you can even see how many
changes were made every time you saved with a timestamp and a full
diff and all kinds of crazy stuff?
I know tons of people use some kind of SCM like subversion or
mercurial or something, but you normally only commit working changes
and projects that you're working on. Instead, this
TextMateHistoryManagement would keep track of every single change you
make to every single document you ever save, good changes or bad ones,
who cares, just everything.
Personally, I think this would be stinking awesome to the power of
infinity -1 squared! (aka, it'd be nifty)
So, as far as UI goes…
I want a new history to be saved every time I save the document.
I want to have a nice GUI palette like photoshop to see a list of
changes.
That list shows the filename, hide-able full file path, timestamp and
the number of lines added, removed or changed in that version.
There should be a hide-able diff drawer or area with a tabbed safari-
esque view with tabs for each diff available. Diff that version to
it's parent, the selected items to eachother, or the selected item
with your open version.
There are some obvious technical hurdles to leap, but it's all totally
doable. The purpose of this poll is to see if anyone would be
interested in this from a fronend user interface level. I already know
how I'm likely going to actually build this thing, and we can talk
more about that later.
What I'm most interested in is workflow.
I'd like us all to come up with the best and most genericly usable
workflow for everyone. Maybe some advanced stuff for the nerds, but I
want this as mostly a noob feature and for people who don't want to
have to care about version control or whatever.
For example, with the implementation that I just suggested, you could
do this…
You're working on a version of some random webpage, then someone
emails you a changed version. You could just replace your current file
with that one and open it up and check your history palette to see the
changes. (assuming you had opened and saved the original file in
textmate at some point)
You'd never had to install or configure or set up anything. It should
all just work™
Thoughts?
thomas Aylott — subtleGradient — CrazyEgg — bundleForge
Is there a way to make the HTML output window autoscroll? For things
like RakeMate, it would be great if the window auto scrolled as new
content was added.
- LD.
Hello everyone,
I am working with the TextMate Subversion bundle and a German shell
localization (LC_ALL=de_DE.UTF-8). It turns out the commit result
window will always show 'unknown revision committed' in its title.
To fix that I put a copy of svn_commit.rb out of the Subversion
bundle's Support folder in ~/Application Support/TextMate/Bundles/
Subversion/Support/ and changed the regex in line 214 to the following:
http://pastie.textmate.org/89801
Hopefully this will catch other languages as well. Maybe someone
finds this useful, so I thought I would post it here.
cheers
Tibor Claassen
Hi all,
i am running TM Version 1.5.6 (1414) and have a question regarding memory use..
First, uname -a:
Darwin *.local 8.10.3 Darwin Kernel Version 8.10.3: Wed Jun 27 23:29:36 PDT 2007; root:xnu-792.23.3~1/RELEASE_I386 i386 i386
2.2 CD2 MacBook Pro
2 GB 667 Factory RAM
after opening text files of moderate size (10M-20M) for editing, applying the edits, and closing them, TM retains *lots* of memory (~ 285 MB Real). The memory is only released upon restarting the program. This can be reproduced simply by opening a large text file, closing it, and monitoring RAM usage (top/Activity Monitor).
My question boils down to whether or not this is the desired/expected behavior?
cheers,
brant
<*)
(_\\
_||
Hello,
a quote from the release notes from REVISION 1401:
> When TextMate bumps your encoding to UTF-8 it will first display a
> confirmation dialog (there is no help in finding which characters
> cause a problem though, but a bundle command can be devised)
Is there already such a bundle command anywhere?
Kind regards,
Tobias
Hello everybody,
First of all, I'm well aware of the ability to use column selections
instead of rows, so please don't respond with that. What I'd like to
be able to do is select a random bit of text here and another there,
no matter where they are in the document, and then be able to use cmd-
c to copy it and paste it to another section (perhaps separated by
line breaks to indicate that the text fragments are from non-
continuous selections). Kind of like the cmd key lets you do in some
other cocoa editors (like Pages). Any ideas?
Thanks,
Michael
Hi everyone,
I'm wondering if there was a mean to insert some kind of “informative
text” in a snippet, i.e. text that informs you of what should be
inserted where but disappears when it's not needed any longer.
Here's a short example (a method definition in some Lisp dialect) of
a problem I currently face that should make the situation a bit clearer.
Here is what I'd want to appear with my defmethod snippet, with
“normal” default text between [ ] and informative text between { } :
(defmethod [name] ({parameters}) ({code}))
The parameters are written as “(name type)”, so when I reach the
{parameters}, the first thing I do is adding a parenthesis. Result:
the default text (“parameters”) is still there, but now unselected
and between parenthesis. I thus have to remove it by hand, which is
quite annoying. Of course, a possibility is to let the default string
empty, but you can easily get lost in your structure, then
(especially in Lisp). So is there a way to have text reminding you
what you should be typing, but disappearing after a while (ideally,
when you hit tab in order to jump to the next snippet point or when
you reach $0)?
Thank you very much,
Édouard
Textmate is more sluggish lately for me than in the past. I notice it
when I switch from the terminal back to Textmate. TM takes a little
while to respond. Almost like it has to awakened from a good nap. At
least it isn't grumpy afterwards.
I'm running TextMate 1.5.6 (1414)
Anyone else notice this? Suggestions?
-David