Hi...
I was wondering if we're ever going to see collaborative text editing
with TextMate? It's perfect for coding solo efforts, and I've been
using Coda for collaborative stuff, but without all the nice TM
shortcuts, the project view, etc, it's pretty much useless.
Pretty please?
Thanks...
Matt
Hi List !
I would like to add a few lines to the ruby L file to support git merge colors.
Details here:
http://zenadmin.org/en/blog/post536.html
How should I proceed ?
Gaspard
Whenever I try to run GetBundles Get Bundles command I get the error
message:
/bin/bash: line 14: ~/Library/Logs/TextMateGetBundles.log: cannot
overwrite existing file
If I delete the above file then the Get Bundles command will run once
and then the error occurs again.
I have just been upgraded to TextMate 1.5.8 (1498)
Any suggestions ?
Phil
Hey Guys,
I'm guessing this was caused Apple Security Update that was just
released, but I have updated TextMate and some other things since the
last time I tried this. Unfortunately I kinda wanted this to work! Heh.
I get the following error when I try to "Preview" or "Produce HTML"
for Markdown:
Digest::MD5 object version 2.36 does not match bootstrap parameter
2.38 at /System/Library/Perl/5.8.8/darwin-thread-multi-2level/
XSLoader.pm line 94. Compilation failed in require at /Applications/
TextMate.app/Contents/SharedSupport/Support/bin/Markdown.pl line 16.
BEGIN failed--compilation aborted at /Applications/TextMate.app/
Contents/SharedSupport/Support/bin/Markdown.pl line 16.
Even though I suspect it was Apple's update, this might help. I
updated Textmate on the 10th and this file seems to have changed.
shell> ls -l /System/Library/Perl/5.8.8/darwin-thread-multi-2level/
XSLoader.pm
-rw-r--r-- 1 root wheel 10465 Sep 23 2007 /System/Library/Perl/
5.8.8/darwin-thread-multi-2level/XSLoader.pm
shell> ls -l /Applications/TextMate.app/Contents/SharedSupport/
Support/bin/Markdown.pl
-rwxr-xr-x@ 1 joe joe 35622 Feb 10 12:45 /Applications/TextMate.app/
Contents/SharedSupport/Support/bin/Markdown.pl
Any pointers?
Thanks guys!
- Joseph Pecoraro
Hi,
Since earlier this week the balancing/pairing of brackets etc. no
longer seems to work. Thought these were syntax defined, but neither
R, JavaScript, Fortran, and a few other bundles I treid seems to work
any longer. Have I done something to my settings?
Thanks,
Rob
Hi,
I unsuccessfully searched the web site and the list archive, but I may have missed something.
I need to work for a client with humongous text files encoded in ISO-8859-1, with diacritical characters.
This is mostly OK, but I could not find a way to set the output window that TextMate opens to ISO-8859-1 encoding. This is a PITA.
I tried both Perl and Ruby and the issue is the same. For the sake of an example, save the following 6 lines (French composers) to a text file encoded in ISO-8859-1, named "test.txt":
Léo Delibes
César Franck
Gabriel Fauré
Edgard Varèse
Jean Françaix
Henri Büsser
Now run the following Ruby program from TextMate:
file = File.open("test.txt", "r")
file.each { |line| print line }
file.close
In the output window, all diacritical chars are replaced by the dummy "white question mark within a black diamond".
This is despite having set the preferences to Latin 1.
Note that the same small Ruby program displays diacritical chars correctly when run from a terminal window (provided the said terminal window is set to ISO Latin 1 of course).
So my question is: is there a way to set the TextMate output window to ISO-8859-1?
A workaround might be to redirect standard err and standard out to another window, already open, with ISO-8859-1 encoding. Is that possible?
I hope my request makes sense.
(Unfortunately, switching to UTF8 is not an option: input is almost 100GB ISO-8859-1, and so output needs be. A roundtrip to UTF8 would triple execution time, which is already too long as it is).
Many thanks,
Jean-Denis
In textmate it looks like there are spaces everywhere! I mean, even if no
trailing spaces are there at the end of the line, I can move right with the
keyboard arrows.. even worse, when I go down (down arrow) I don't get to the
end of the next line, but to somewhere in empty space!
How can I fix that?
thanks
After upgrading to Textmate 1.5.8 the program has all of a sudden started to
use all CPU and allocating more and more memory for no apparent reason. It
then beachballs and has to be forced to quit. This happens even with a
single, small file open. Anyone else seeing this?
--
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
Thank you very much for your help here, the function of that option was not
very clear to me before :-)
> Message: 2
> Date: Thu, 12 Feb 2009 14:22:15 +0100
> From: Pierre Riteau <pierre.riteau(a)gmail.com>
> Subject: [TxMt] Re: "Texify" script in LaTeX bundle
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <2C5EA38A-66B4-4B98-B662-7E2E8DF21C91(a)gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
>
> On 12 f?vr. 09, at 14:04, Felipe Rech Meneguzzi wrote:
>
> > Hello all,
> >
> > I've searched the texmate documentation for the latex bunde and
> > then list archive but did not find any query towards this
> > functionality, so I am posting my suggestion here.
> > I've recently moved to the mac from working in windows and was
> > quickly convinced by a friend to use textmate both for programming
> > and LaTeX editing. In the LaTeX department, I have noticed that
> > there is no shortcut to execute this sequence of commands: latex +
> > bibtex + latex + latex. In the windows incarnation of LaTeX, mikTeX
> > has an executable that does this, but I believe this is easily done
> > by a script under MacOS. It would not be extremely hard to create a
> > script to do this, and smart it up by checking for the existence of
> > a bbl file and comparing its date with the source files in a
> > textmate project and decide on the most efficient sequence of
> > commands.
> > I would greatly appreciate it if (assuming people liked the idea,
> > of course) someone with more experience in textmate could add this
> > functionality, otherwise I may have to learn how the bundles work
> > and try to do it myself.
>
> Use Latexmk.pl? (see LaTeX bundle preferences)
>
> --
> Pierre Riteau
>
>
--
___________________________
Felipe Rech Meneguzzi
felipe.rech(a)gmail.com
http://fmeneguzzi.blogspot.com
___________________________
Salutations, list! When running scripts using the Python bundle, I noticed a
complaint from python3 about the use of reload() in sitecustomize.py. Since
reload is no longer a built in function in python3, this little one line
patch will fix the issue while still supporting python2.
Index: Python.tmbundle/Support/sitecustomize.py
===================================================================
--- Python.tmbundle/Support/sitecustomize.py (revision 11288)
+++ Python.tmbundle/Support/sitecustomize.py (working copy)
@@ -18,6 +18,7 @@
# now import local sitecustomize
try:
import sitecustomize
+ if sys.version_info[0] >= 3: from imp import reload # python 3 support
reload(sitecustomize)
except ImportError: pass
I am currently using TM 1.5.7 (1436), and everything is working swimmingly.
When I update to the latest "minor update," I end up with the following
message when I ask LaTeX to typeset my document:
env: ruby: No such file or directory
Now, I can see from searching around this forum and elsewhere that this is
somewhat a common problem. I've seen
http://manual.macromates.com/en/shell_commands this and several posts
trying to solve this issue. In particular, I am running Leopard, and have
not replaced Ruby. Both ruby and env are sitting in /usr/bin, and my path
has /usr/bin as the first entry. Furthermore, ~/.MacOSX/environment.plist
reads { PATH = "/usr/bin"; }.
At this point, I'm not sure what to do, and would appreciate some help.
Fortunately, I was able to roll back to v1436 via Time Machine, and
everything is working fine again. But I'd like to be able to use the latest
minor update. Any suggestions?
--
View this message in context: http://www.nabble.com/Error-on-Update%3A-env%3A-ruby%3A-No-such-file-or-dir…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all-
What became of the BibTex.tmbundle? I have it on my computer, but
didn't see it listed in the SVN. Googling didn't find a definitive
statement on it's fate.
Was it merged into the LaTex.tmbundle? Am I hallucinating, inattentive,
stoopid?
Any info greatly appreciated!
Best, Charles
Hello all,
I've searched the texmate documentation for the latex bunde and then list
archive but did not find any query towards this functionality, so I am
posting my suggestion here.
I've recently moved to the mac from working in windows and was quickly
convinced by a friend to use textmate both for programming and LaTeX
editing. In the LaTeX department, I have noticed that there is no shortcut
to execute this sequence of commands: latex + bibtex + latex + latex. In the
windows incarnation of LaTeX, mikTeX has an executable that does this, but I
believe this is easily done by a script under MacOS. It would not be
extremely hard to create a script to do this, and smart it up by checking
for the existence of a bbl file and comparing its date with the source files
in a textmate project and decide on the most efficient sequence of commands.
I would greatly appreciate it if (assuming people liked the idea, of
course) someone with more experience in textmate could add this
functionality, otherwise I may have to learn how the bundles work and try to
do it myself.
Regards,
--
___________________________
Felipe Rech Meneguzzi
http://fmeneguzzi.blogspot.com
___________________________
The sitecustomize.py script in the Python.tmbundle in build 1498 seems
to have an error, which keeps the traceback from the user script from
being formatted.
It seems the error offset (e.offset) is a NoneType instead of an int.
This diff fixes the output:
diff --git a/Python.tmbundle/Support/sitecustomize.py b/
Python.tmbundle/Support/sitecustomize.py
index ffb3525..a30c6d0 100644
--- a/Python.tmbundle/Support/sitecustomize.py
+++ b/Python.tmbundle/Support/sitecustomize.py
@@ -47,6 +47,7 @@ def tm_excepthook(e_type, e, tb):
# if this is a SyntaxError, then tb == None
filename, line_number, offset, text = e.filename, e.lineno,
e.offset, e.text
url, display_name = '', 'untitled'
+ offset = offset if offset else 0
io.write("<pre>%s\n%s</pre>\n" % (escape(e.text).rstrip(),
" " * (offset-1) + "↑"))
io.write("<blockquote><table border='0' cellspacing='0'
cellpadding='0'>\n")
if filename and path.exists(filename) and
"TM_SCRIPT_IS_UNTITLED" not in environ:
I searched on the gmane list and couldn't find anything, so I hope
this might prove helpful.
Thanks,
Jaremy Creechley
Last week I read an article re. where a bundle 'RubyFrontier' was
mentioned. Reading the documentation I got the impression that this
bundle is somewhere available but I do not see it when I use the
GetBundles-Bundle.
Maybe someone can tell me where to find this RubyFrontier-Bundle? Or
confirm that it is not available yet.
Thanks,
Gert
I'm getting this message only the first time I cmd-R a ruby script.
*LoadError:* no such file to load — builder
method gem_original_require<txmt://open?line=27&url=file:///System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb>
in *custom_require.rb* at line 27method
require<txmt://open?line=27&url=file:///System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb>
in *custom_require.rb* at line 27*at top
level*<txmt://open?line=56&url=file:///Users/david/scripts/getAndaleSales.rb>
in *getAndaleSales.rb* at line 56
If I cmd-R a second time, the script runs normally. If I restart TM, I get
the same failure again on first run, works on second run.
I followed the troubleshooting instructions & removed a local copy of the
Ruby bundle that I had downloaded previously via svn.
Thanks for any suggestions.
---
David Carter
david(a)carter.net
I have noticed that when I updated, if I have comments in a function,
before the start bracket(see below, it is no longer color-coding as it
used to. I really preferred the way it used to handle this, where it
would just comment it as normal. Was this change by design?
Andrew Sapperstein
University of Michigan-Class of 2012
McDonogh School-Class of 2008
Hi all,
is there a scopes' hierarchical list?
I am trying to style a theme but I am confused on which scope to use
and their hierarchical order.
Thanks a lot to everyone.
TextMate just updated itself, now at version 1.5.8. Suddenly, the C++
highlighting is slightly broken. Example:
#include <stdio.h>
#include <stdlib.h>
#include "vector/Cartesian3Vector.h"
#define C3V Cartesian3Vector
#define PI acos(-1.0)
int main(int argc, char *argv[])
{
vector<Track> * tracks;
McGossip mcg;
double z0;
<more code...>
}
gives weird wrong highlighting. But if you add a semi-colon in a
strategic place, everything is fine again.
#include <stdio.h>
#include <stdlib.h>
#include "vector/Cartesian3Vector.h"
#define C3V Cartesian3Vector
#define PI acos(-1.0); // Added semi-colon, but you don't want
this in real code
int main(int argc, char *argv[])
{
vector<Track> * tracks;
McGossip mcg;
double z0;
<more code...>
}
Or if you move the #define ending with a parenthesis up one line it's
happy again:
#include <stdio.h>
#include <stdlib.h>
#include "vector/Cartesian3Vector.h"
#define PI acos(-1.0)
#define C3V Cartesian3Vector
int main(int argc, char *argv[])
{
vector<Track> * tracks;
McGossip mcg;
double z0;
<more code...>
}
So I guess the line ending in closed paren is throwing it off. It
didn't do this before the update.
Hi,
Is there anything I can do to help deal with the following issue with
Leopard's Spaces feature?
I like to keep each project I'm working on at any one time in its own
space, which often means having 3 or 4 TextMate project windows open.
I have TextMate assigned as belonging to every space.
Sometimes, I need to reorganise this, and it would be convenient to
open the spaces overview screen and drag one of the TextMate windows
to a different space. Unfortunately, doing this causes all the open
TextMate windows to move to that space.
I'd chalk this down to a general problem with spaces if it weren't
that Safari doesn't have the same problem. Again, Safari is assigned
to every space -- but here I can use the spaces overview screen to
drag a Safari window from one space to another without causing all
Safari windows to move to that space.
To make the comparison clearer, I've done a quick quasi-screencast:
http://www.shedside.com/tmp/spaces.mov
Cheers,
Andrew.
I'd like to redefine the shortcut for 'comment/uncomment' from
'SHIFT+APPLE+/' to 'CTRL+§'.
Of course I could copy the command (code) from the source bundle, but
I'd prefer to only call the existing command from my bundle. Is this
possible? Or is there any other easy way?
Thanks and cheers,
Hans-Peter
I often need to enter text (consisting of repeated characters) like this:
------------------------------------
TODO
------------------------------------
In emacs, I can do a
C-u 60 -
that's a Ctrl+U followed by a "60" followed by a "-", which makes entering a
repeated sequence of characters easy.
Is there any way to do something like this in TextMate?
--
View this message in context: http://www.nabble.com/Textmate%3A-How-do-I-enter-a-repeated-sequence-of-cha…
Sent from the textmate users mailing list archive at Nabble.com.
I'm having the same problem discussed here a couple years ago:
http://thread.gmane.org/gmane.editors.textmate.general/20093
On my dual g5 powermac (leopard 10.5.6) I get the alert bell whenever textmate
(r1496) loses focus and the "save file when focus is lost" option is enabled. I
couldn't find any debug info anywhere. It happens even if I create a new file
from the command line this way:
$ mate foobar.txt
The file is written with no problems.
This doesn't happen on my macbook.
Thanks for any info...
Cheers
Hi List!
I am not sure what exactly happened to my TextMate but it doesn't
create any new files anymore.
The dialog still pops up, takes all the parameters and stuff, but
then, nada. No new file and NO error message.
--Kai
Hello List,
When I¹m deleting single characters using the backspace or delete key
textmate shows a very strange behaviour; instead of the character next to
the cursor the second char before the cursor gets deleted. For Example: If I
want to delete de character a¹ in the Word Textmate¹ I place the cursor
after the a¹ character and press backspace. Now the character m¹ gets
deleted! Using the delete key I have the same behaviour but to the other
direction.
I have already completely removed textmate and reinstalled it but still the
same effect. I use the most recent revision 1496 from 2008-11-27. I bought
the licence of this product.
I looking forward to hear from you.
Best regards
A. Felder
Hello again,
Seems I am still having some trouble with the latex bundle.
Basically, the first time I attempt to typeset after launching textmate, I
get:
==================================================
The current PATH is:
/usr/bin
/bin
/usr/sbin
/sbin
Please add the directory containing “kpsewhich” to PATH in TextMate's Shell
Variables preferences.
Alternatively, the PATH can be retrieved from Terminal but this requires a
relaunch:
(button to perform this operation)
==================================================
Now as a matter of fact the correct path is present in my shell variables in
textmate's preferences (in "shell variables" under "advanced"), as opposed to
just /usr/bin, /bin and sbin as mentioned in the message; furthermore, it is
already in my usual PATH. If I do click on the button, it quits and restarts
and everything is ok. Checking the preferences, a new PATH var has been added,
containing my shell path. This addition occurs even if the exact same path
variable is already present in textmate's preferences.
If I now quit and restart textmate, the same process is repeated, and a new
path variable added to the preferences before I can typeset (identical to the
other ones already there), and everything works after that, until I quit
again, and so on.
This did not happen before I updated my latex and support bundles.
Maybe I'm just being thick, but I can't see what is going on, and this is
starting to get annoying. Any ideas?
> Christopher Brewster wrote:
>> I am a passionate devotee to TM but I notice that latex compiles much
>> faster on TexShop than in TM.
>> Is there something I can do to improve the performance of TM?
>>
>> TM takes 4-6 seconds to compile and display on skim.
>> TexShop takes 2-3 seconds.
Christopher,
Has there been any resolution to your TM/Latex problem? I am having the same
speed issue, even with pdflatex as the engine and turning off spell checking
(the latter solution was suggested in a different post).
For what it's worth, I'm running 10.4.11 on a G4 iMac with 1.24Ghz and 768
RAM.
I'd appreciate some input. The slowness of TM making me crazy but I don't
want to go back to TeXShop.
Thanks, Mike
--
View this message in context: http://www.nabble.com/Speed-of-latex-in-TM-vs.-TexShop-tp20225325p21837876.…
Sent from the textmate users mailing list archive at Nabble.com.
I'm trying Textmate out and wondering if it's possible to set a
default file type. I'm using it pretty much exclusively for editing
SQL and would like it to default to SQL highlighting rather than plain
test
Adam
Truphone and SIM4travel are trading names of Software Cellular Network Ltd. registered in England and Wales (registered company number: 4187081). Registered office: 5 New Street Square, London EC4A 3TW
This e-mail, and any attachment/s, may contain information which is confidential or privileged, and is intended for the addressee only. If you are not the intended recipient, you may not disclose, copy or distribute this information in any manner whatsoever. If you have received this e-mail in error, please contact the sender immediately and delete it.
I'm starting to try out GetBundles, but I see the following error in its log:
01/24/2009 18:08:21 TextMate[GetBundles]
GetBundles' DIALOG runs at token 1
deadlock 0x5b5c0c: sleep:F(10) - /Users/jay/Library/Application
Support/TextMate/Bundles/GetBundles.tmbundle/Support/getBundles.rb:583
deadlock 0x341ac: sleep:F(15) (main) - /Users/jay/Library/Application
Support/TextMate/Bundles/GetBundles.tmbundle/Support/getBundles.rb:137
/Users/jay/Library/Application
Support/TextMate/Bundles/GetBundles.tmbundle/Support/getBundles.rb:789:in
`getResultFromDIALOG': Thread(0x5b750c): deadlock (fatal)
from /Users/jay/Library/Application
Support/TextMate/Bundles/GetBundles.tmbundle/Support/getBundles.rb:1165
01/24/2009 18:09:06 TextMate[GetBundles]
Timeout while connecting Bundle Server
What could cause this? I've deleted Bundles/GetBundles.tmbundle and
reinstalled with svn co, but the same thing happens...
Hi,
I'm trying to use tm_dialog2 on a Bundle but I've run into a problem,
while waiting (nib --wait) for user input TM will hang until I killall
-9 tm_dialog2. It works fine on a shell though.
The offending lines:
token = %x{"$DIALOG" nib --load ~/Desktop/Document --model '{document
= {name = blah;};}'}
print %x{"$DIALOG" nib --wait #{token}}
Maybe I didn't read all the available documentation, but I couldn't find any :\
Can anyone help me out on this one?
Thanks in advance.
Cumprimentos,
António Afonso
Hi there,
I think this is more a new angle on an old question - can anyone tell
me what I *lose* if I work with PHP in PHP-mode rather than HTML-mode?
I ask because I am getting a little frustrated at the way snippets of
HTML are messing with the folding on my PHP files. I realise it's
probably bad form to have an open <div> tag in a separate file to it's
closing </div> tag, but needs must when the devil drives. I have set
the language to PHP and all seems to be ok, but I know I have read in
a few places to set the language to HTML in PHP files.
Cheers,
Nigel
I'm a brand new user (and licensee) of TextMate and I am mostly very
happy (and eager for the next release) but I am noticing a slight
syntax highlighting problem.
I tend to write code like this (when argument lists get too long):
Widget w = new Wiget(
x,
y,
z
)
And that seems to break the highlighting. So sure, you might say,
"you write code weird, get over it", but in writing an enum, in what I
think is a "normal way", it also breaks it, e.g.:
private enum ImageInfo {
WIDTH("100px"),
HEIGHT("100px");
}
So I'm wondering if I can update the syntax file to account for this,
and if so, how?
Thanks!
Hi!
The "Documentation for Word" command in the default Apache bundle
fails with the following error.
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Apache.tmbundle/Support/bin/apache_doc.rb:39: uninitialized constant
Error (NameError)
The file in question which has not been fixed on SVN yet cf. http://svn.textmate.org/trunk/Bundles/Apache.tmbundle/Support/bin/apache_do…
seems to point to this being a known bug. Line 42 reads:
#TODO: Check the Error "Superclass" assumption otherwise this will fail.
Could someone please fix this.
Regards,
Nicholas
I am currently using all the absolute bleeding edge releases of all
the TextMate bundles (courtesy of the example "mateup" script in the
wiki), and the other day I hit Command + / to comment a selection in
PHP, and got HTML comments instead (that <!-- --> business). I haven't
edited the relevant bundles at all. Has anyone else noticed this bug?
Simply make a new document, switch the bundle to HTML, and type some
PHP to reproduce the bug:
<?php
function my_function() {
echo "aw man the auto comments are broken";
}
?>
After selecting the function, and pressing command + /, this is the
result:
<?php
<!-- function my_function() {
echo "aw man the auto comments are broken";
} -->
?>
If I press Command + Slash once more, things get a little weirder:
<?php
// <!-- function my_function() {
// echo "aw man the auto comments are broken";
// } -->
?>
I realize I could just revert to the release version, but I thought
someone might like to know about this.
In addition, the problems are not necessarily isolated to the handling
of PHP within HTML. If I switch to the "PHP" bundle instead of HTML,
the commenting works (using slashes for each line - I would kind of
prefer /* */ to be honest because occasionally it is useful to place
comments between expressions on the same line), but destroys the
indentation of my function:
<?php
// function my_function() {
// echo "aw man the auto comments are broken";
// }
?>
When I undo the comments, the indentation is still messed up.
Thanks,
William
Hi,
I am using TextMate 1.5.8 (1497) with the ProjectPlus plug-in, and I
have spotted a bit of a bug with selecting text in a document.
If I click to select a point in the document and then drag up to the
top to select all text between the cursor and the start of the
document, if the cursor goes beyond the top of the TextMate window the
selection carries on forever, effectively running off the top and back
up from the bottom of the document so the selection never ends. You
can see the scroll bar running up and down the document as it does
this, showing that the document text is being selected in something
like an infinite loop.
If you drag a selection like this in Mail.app or TextEdit then the
selection halts at the top of the document text. It does do this with
TextMate, but only if the cursor is somewhere over the TM window (not
necessarily the document area itself). As soon as you go off the top
of the TM window it starts the scrolling round. If you bring the
cursor back onto the TM window then the selection is in place as you
would expect.
Any ideas? I've disabled the ProjectPlus plug-in, but this still
happens without it. I've checked the console and nothing is coming up
there to give any clues.
Cheers,
Nigel
Hi,
Is it possible to have a 'checkbox like' behaviour in a bundle menu
and/or to modify the menu text from within a command?
More concrete example of what I want:
1) menu entry 'Advance after line sending' which could be checked or unchecked
2) menu entry 'Send line to Rapp [Rdaemon|Rterm]' which would be
modified after each click
('Send to Rdaemon [Rterm|Rapp]' and 'Send to Rterm [Rapp|Rdaemon]')
Regards,
Hans-Peter
I am relatively new to using LaTeX through TM so I'm not sure if this
is a common experience, but when I ask TM to typeset my LaTeX (cmd-R)
the command runs for a very long time (i.e. a few minutes) even though
the document isn't very long (25 pages) and only has a few medium
sized images.
If anyone has had similar difficulties and can suggest things I can
try or check that would be great.
Many thanks,
Dan
I've been hacking away at this syntax file lately, in the hopes that
Textmate will wind up actually usable for Haskell.
For comparison purposes I've made screenshots of the old and new
grammars' highlighting capabilities.
Before: http://www.rsmw.net/ergo/textmate_haskell1.png
After: http://www.rsmw.net/ergo/textmate_haskell2.png
(I sent this e-mail once already to bundles@<...>, but was told to
re-send it here.)
I'm getting the following error when I try to run the TODO Bundle
"Show TODO List" I can't figure out what it means.
/opt/local/lib/ruby/1.8/erb.rb:354:in `trim_line2': private method
`scan' called for #(NoMethodError) from /opt/local/lib/ruby/1.8/erb.rb:
311:in `call' from /opt/local/lib/ruby/1.8/erb.rb:311:in `scan' from /
opt/local/lib/ruby/1.8/erb.rb:534:in `compile' from /opt/local/lib/
ruby/1.8/erb.rb:702:in `initialize' from /Applications/TextMate.app/
Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:52:in
`new' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
TODO.tmbundle/Support/todo.rb:52
I'm running a macports version of ruby (ruby 1.8.7 (2008-08-11
patchlevel 72) [i686-darwin9])
Any help you could provide would be greatly appreciated.
Tony
The new way of selecting snippets with "command + #" (when for
instance there's more than one assigned to a tab trigger) forcing you
to use "command" key instead of just number is really annoying... to me.
Is it possible to cancel this new behavior somehow?
And if not, what's the reason behind the change? I might be better
able to get used to it if I can understand the benefits. ;)
Thanks!
Hi all,
Below is a patch for the Ant bundle. It fixes up the htmlization
of the Ant output (escapes the output correctly so that, for example,
generics display correctly). It also turns htmlization back on, so
that you can click on error messages to jump to the appropriate line
again. Finally, it adds source.java to the scope of the build command
so you can build from a source file, not just from the build file.
I haven't turned column parsing back on... yet.
Be well,
Will :-}
Index: Commands/Build.tmCommand
===================================================================
--- Commands/Build.tmCommand (revision 11139)
+++ Commands/Build.tmCommand (working copy)
@@ -13,7 +13,7 @@
TM_PROJECT_DIR=`dirname "$TM_PROJECT_FILEPATH"`;
-#TM_ANT_BUILD_PARSER=htmlize_ant.py
+TM_ANT_BUILD_PARSER=htmlize_ant.py
if [[ "$TM_ANT_BUILD_PARSER" == "" ]]; then
TM_ANT_BUILD_PARSER=pre
@@ -42,7 +42,7 @@
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
- <string>text.xml.ant</string>
+ <string>source.java, text.xml.ant</string>
<key>uuid</key>
<string>C7888301-C304-4EF2-A15F-5681A7D6D13C</string>
</dict>
Index: Support/bin/htmlize_ant.py
===================================================================
--- Support/bin/htmlize_ant.py (revision 11139)
+++ Support/bin/htmlize_ant.py (working copy)
@@ -1,6 +1,6 @@
#!/usr/bin/python
-import sys, os.path, re, os
+import sys, os.path, re, os, cgi
matcher = re.compile(
r'(/.*?):(\d+):\s*(.*)$'
@@ -20,6 +20,8 @@
sys.stdout.flush()
+print "<pre>"
+
## read all data from stdin
lastLine = None
line = sys.stdin.readline()
@@ -33,15 +35,13 @@
match = matcher.search(line)
- print "<pre>"
-
if not match:
- print line
+ print cgi.escape(line)
else:
fn = match.group(1)
if proj_dir and fn.startswith(proj_dir):
- short_name = fn[len(proj_dir):]
+ short_name = '/.../' + fn[len(proj_dir):]
else:
short_name = fn
@@ -56,19 +56,21 @@
## # print lastLine[(brktInd + 2):], colInd
- print line[:match.start()].rstrip(),
- print '<a href="txmt://open?url=file://%s&line=%s&column=%d">
%s:%s: %s</a>' % (
- fn, match.group(2), colInd, short_name, match.group(2),
match.group(3)
+ print cgi.escape(line[:match.start()].rstrip()),
+ print '<a href="txmt://open?url=file://%s&line=%s&column=%d">
%s:%s</a>: %s' % (
+ cgi.escape(fn), match.group(2), colInd,
cgi.escape(short_name),
+ match.group(2), cgi.escape(match.group(3))
),
- print line[match.end():]
+ print cgi.escape(line[match.end():])
- print "</pre>"
sys.stdout.flush()
## read next line
lastLine = line
line = sys.stdin.readline()
+print "</pre>"
+
print """
</body>
</html>
Hello there,
On 1.5.8 r1496 the LaTeX bundle seems to ignore the TEXINPUTS variable.
I turned on the debug output:
===
%!TEX Directives: {}
[...]
TEX package list = ['indentfirst', 'setspace', 'pdfsync', 'amsmath',
'amssymb', 'amsthm', 'fancyhdr', 'lastpage', 'extramarks', 'chngpage',
'url', 'graphicx', 'graphviz']
texMateVersion = $Rev: 10791 $
engine = pdflatex
texCommand = latex
viewer = Skim
texinputs = .::/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/tex//
fileName = A2.tex
[...]
===
Python seems to be able to pull the env variable properly:
===
toirse:~ thatha$ python
Python 2.5.1 (r251:54863, Jul 23 2008, 11:00:16)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> print os.getenv('TEXINPUTS')
/Users/thatha/.latex//:
===
Any ideas what's wrong?
I recently transitioned to OS X from Linux and I'm wondering if
setting the variable in .profile is enough?
Thanks,
Ian.
I'm getting this error message when running the command tidy from the
XML bundle on any xml doc:
Errors: dyld: lazy symbol binding failed: Symbol not found: _gzdopen
Referenced from: /opt/local/lib/libxml2.2.dylib
Expected in: dynamic lookup
Here's a couple of questions:
1) How can I get access to the error above which appears in a yellow
fading window in a location I can copy and paste.
2) How is the default path set for running textmate commands from
bundles -- perhaps I can remove /opt from the path?
3) Anybody know what this error message means?
Thanks
Hi,
Following from an different email thread earlier this year. Link:
http://www.nabble.com/Searching-for-Objective-C-documentation-td16722396.ht…
As some of you know, Textmate has this very good script for performing
correctly the searches on Apple Docset with the /Developer/usr/bin/
docsetutil tool.
The command is bound to Ctrl - h, and will also search the unix man
(3) pages.
Offers a multiple - selection popup.
To access this feature you must type in and select the word into your
document before proceeding. However it strikes me that adding an
alternative method to use the script (probably a Search box) could be
useful.
There;s nothing wrong with the Ctrl - h shortcut just that its rather
cumbersome if you are searching
speculatively for a series of related classes. For that we really can
prefer an open Search box where
the choices are typed in, without affecting / editing the current open
document.
Basically any improvement of the current functionality thats going to
let me stay inside TextMate and
not lead me to an external program or tool such as AppKiDo. Actually
there also used to be QuickSilver + Developer Documentation Plugin,
but that was broken since the Docset format came in.
Perhaps something like the "Select Bundle Item" window (Ctrl-Cmd-T),
which can be toggled visible / invisible and left open for multiple
searches would be the best way to go.
My ruby is - 0/0 unfortunately so cannot put up any code myself for
what i am trying to propose here. But anyway the relevant place to go
is file docset_query.rb
There could be an obstacle because how should we handle multiple
results?
Of course already there is a place already in the Ctrl-H cmd where the
mini selection list pop-up is shown.
http://svn.textmate.org/trunk/Bundles/Objective-C.tmbundle/Support/lib/docs…
Function "def show_document (results, query)"
If we write a new command in this file and choose not to call this
above function, then its going to mean that we can use other existing
function definition in the ruby script and we can bypass the showing
of the results mini- pop-up window, right ?
Or perhaps we will need some kind of re-write because there another
place at the beginning of the file where "the selected word" is used
for input? Would we want a different input going into a new ruby
function. The user input is probably going to be from a search box.
And later we must print any multiple search results (called 'results'
array). Printed back into e.g. an NSTableview of the bottom half of
our search box.
I cannot find any existing feature improvement / request for this yet,
but still looking.
Cheers
Gulliver
dreamcat7
dreamcat7(a)googlemail.com
I'm thinking to create a new bundle to help people translating documents.
I think the most important thing is to have the original text handy, so
here's my idea.
#begin
#it
Questa è una parte di testo in italiano
#endit
#en
This is a parte of text in italian
#enden
#end
-- now I just have some code, which doesn't change.
[x | x <- [1..100]]
So we have markers for the text and markers for the languages.
In this way we can fold whenever we already finished to translate something.
After there will be a command that looks how many languages there
are and generates n files in from <filename<language>.ext>.
And maybe other commands to look for on the internet for words.
What do you think? Could it work??
It' s not as good as using something more xmlish but I think that for
articles or just normal text it could be fine...
--
View this message in context: http://www.nabble.com/Translations-tp21525170p21525170.html
Sent from the textmate users mailing list archive at Nabble.com.
Hey,
the phpDoc stuff in the PHP bundle always inserts an @version tag with
value $Id$ when I insert doc_h. According to the phpDocumentor docs (http://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial…
), this is for integration with SCM ($Id$ to be substituted with the
last-change revision for the given file), but how do I automate this
within TextMate, or does this belong in a post-commit hook?
Thanks,
Ben
Hi, I'm fairly new to TextMate but I've been through the mailing list
archives and was unable to determine if the following is possible.
In general, I'd like TextMate to display a unicode character in place
of a sequence of ASCII characters. For instance, I'd like to be able
to type => but have the editor display ⇒ (U+21D2).
The saved file will need to be ASCII so I'm not looking for a way to
replace characters, just a way to choose a different representation.
Is there a simple way to do this?
Thanks,
Jonathan
--
ten ni hibari ningen umi ni asobu hi zo
larks in the sky
people in the sea
a holiday
Hey everyone,
Recent TextMate convert here and boy do I love it - trial expiring
within the week, so will be a paying customer from then on. ;)
Have a question, though, with regards to sorting in the Project Drawer.
Is it possible to have entries sorted by type, and only then by
name? I'd like to keep directories together. (At the top,
preferably. ;)
I found the following reference (and its references) in the mailing
list archives:
http://comox.textdrive.com/pipermail/textmate/2004-December/001971.html
This message seems to imply the sorting is hard-coded.
Alexander Deruwe