Hi list,
I’ve recently taken the step from the LaTeX bundle to the LaTeX 2 bundle, but only for a short time. Indeed, whenever I type a \, the autocompletion command takes hand but fail as soon as I hit the next symbol (letter, parenthesis, bracket...). It just displays the message “Error: too many arguments” (as tool tip). So, basically, it prevents me from typing a backslash, which is quite a pain when working with LaTeX.
Any suggestion ?
Édouard GILBERT
edouard.gilbert(a)gmail.com
In Stata, strings can begin with the two characters: `", end with the
characters: "'. How can textmate recognise these as quotation marks? The
following code in the Stata bundle won't work, because textmate doesn't parse
the 'begin' and 'end' lines as I'd like it to. Instead it (understandably)
complains that it finds a " where there should be a ; on the second line below.
Is there some way to get textmate to recognise this quotation convention?
{ name = 'string.quoted.single.stata';
begin = "`"";
end = ""'";
patterns = (
{ name = 'constant.character.escaped.untitled';
match = '\\.';
},
);
},
Any help much appreciated.
Hi
TM with LaTeX fails to launch skim or preview. TM works only
with "view in Texmate".
I have the same problem with a macbook and an imac intel 10.6.2
Alain Matthes
Dear TextMate experts,
I would like to execute the shell script myscript.sh from within TextMate. The script myscript.sh takes a file name as argument and does something with the file (it indents the file correctly; for this, it calls emacs in batch mode). So if I use
sh myscript.sh myfile.R
the script works perfectly fine, i.e., it indents the source code contained in myfile.R. I would like to have textmate do this for me on the file I am working on when I use a certain key combination.
Using the Bundle Editor, I created a new command "tidy" with key equivalent "shift+command+T". As the actual command, I put in:
sh /path_to_my_script/myscript.sh "$TM_FILENAME"
Unfortunately, this does not work. I set "Input" to "Entire Document" and "Output" to "Replace Document" (currently I obtain an empty document after "shift+command+T").
How can I trigger the shell script, such that the current content of myfile.R is replaced by the (quietly generated) output of myscript.sh?
Below is the script
Many thanks in advance,
Marius
#!/bin/sh
function usage () {
printf "Indent R file with Emacs ESS package.\n"
printf "Usage: $0 FILE\n"
exit 1
}
f=$1
shift
if test "x$f" = x -o "x$f" = "x-h"; then
usage
fi
emacs -batch \
-eval '(load "/usr/local/share/emacs/site-lisp/ess-5.8/lisp/ess-site")' \
-f R-mode \
-eval '(untabify (point-min) (point-max))' \
-eval '(insert-file "'${f}'")' \
-eval '(set-visited-file-name "'"${f}"'")' \
-eval '(indent-region (point-min) (point-max) nil)' \
-f save-buffer \
2>/dev/null
I've been trying to track down a problem in code folding for Ruby.
At this point, I have two 100+ line files, one of which has problems
and the other does not. The _odd_ thing is that cmp(1) says they're
identical. I have tried closing the files, stopping and restarting
TM, reloading bundles, etc. Nothing seems to make much difference.
One annoying constraint is that the code is proprietary, so I can't
just post it publicly (even in its rather cut-down form). Sigh.
Details:
TextMate 1.5.9 (1510)
Mac OS X 10.5.8 (Mac Pro)
RUBY_VERSION 1.8.5 (for Google Sketchup Pro 7.1.6859)
Guesses:
It appears that TM has saved bogus folding information for one of
the files, but not the other. Suggestions on tracking this down
or at least gathering useful information?
-r
--
http://www.cfcl.com/rdm Rich Morin
http://www.cfcl.com/rdm/resume rdm(a)cfcl.com
http://www.cfcl.com/rdm/weblog +1 650-873-7841
Technical editing and writing, programming, system design
I have been trying to get Scheme set up for Textmate. When I first installed
the bundle and tried the run command, I got an error. I had an installation
from Macports, but I wiped that and downloaded mit-scheme for Unix and
installed the binary in: /usr/local/bin.
I set the shell variable, "TM_SCHEME", and pointed it to:
"/usr/local/bin/scheme". Now, when I call the run command, it brings up the
read-eval-print-loop and it does not read the scheme text file I have saved.
Now, I understand that I could mess around with the Run command in the
Bundle editor, but I hardly have enough experience to do that. Does anyone
know if there is another bundle I can install that accounts for this issue,
or a different way in which I can install Scheme?
Thanks a bunch for the help.
--
View this message in context: http://old.nabble.com/Scheme-Run-Command-Doesn%27t-Read-Text-From-File-tp27…
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
I was trying to give all (round) parentheses a certain color while editing
in C++.
Can someone help me to achieve this? Sorry if that has been asked before.
As a second question, would it be possible to give parentheses of function
calls a different color, or ideally color all the text within the brackets?
Thanks!
Tim
--
View this message in context: http://old.nabble.com/Coloring-parentheses-in-C%2B%2B-code-tp27998726p27998…
Sent from the textmate users mailing list archive at Nabble.com.
Hi
"Go to symbol" doesn't work in JavaScript for me. But it should,
right? Any ideas where to look at? I am not to familiar with
BundleEditor yet.
Matthias
Hi
Textmate version 1.5.9 (1589) on MacOSX 10.6.3
The clipboard history does not appear to be working correctly
ctr+opt+cmd+V is supposed to pop up a window that allows you to arrow through your history
In my case it just recalls the last entry in the clipboard, as I repeatedly press ctr+opt+cmd+V, it adds the previous entry. For example if I put into my clipboard history apple banana pear
pressing ctl+opt+cmd+V three times produces
pear banana apple
But no drop down menu to allow me to arrow through
Any ideas why?
Steve
Every time TextMate tries to update automatically on my Snow Leopard 10.6.2
MacBook Pro I get:
*3/11/10 7:58:46 AM TextMate [1749] Error checking for new version:
Failed to connect to 208.78.96.139: No route to host*
in my error console.
What is the problem with the auto update?