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