Hi list,
I have a problem with the Subversion bundle.
The svn server uses svnserve. It checkouts ok through the bundle, but
when I try to commit something it fails with:
subversion/libsvn_client/commit.c:873: (apr_err=170001)
svn: Commit failed (details follow):
subversion/libsvn_ra_svn/client.c:309: (apr_err=170001)
svn: Can't get password
Where can I enter my username and password for the svn repository??
Maybe an shell variable?
Thanks,
Kostas
Hi all,
Does Textmate provide any auto-completion capabilities? (like RadRails is
starting to). If not are there plans to?
I mean those features like:
* type the first few characters of a local/instance variable name then hit
hot key combination and suggestions for current variables that match this a
presented to you,
* type a variable name then "." and get suggestions of available methods (a
bit more interesting I know for a language like ruby)
Thanks
Greg
I just discovered the "Edit each line in selection" feature. It works
great... for adding something to the end of the line. But how do I add text
to the beginning of the line?
Thanks!
Justin
Hi
A Friend of mine hast a big problem with typesetting in TextMate.
When he uses TeXShop for EXACT the same document everything is fine.
But from within TextMate he gets the following error message with an
"Open"-Dialog popping up:
Typesetting: ./unitlted.tex)
(/usr/local/gwTeX/texmf.texlive/tex/context/base/supp-pdf.tex
Output written on untitled.pdf
Viewing the PDF file with "Preview" works but not the preview in TextMate
:-O
What shall we do?
Thanks for your help!
--
View this message in context: http://www.nabble.com/LaTeX-Typesetting-Problem-tf3281363.html#a9127219
Sent from the textmate users mailing list archive at Nabble.com.
>> [...] Is there a keybinding or some other default I can set to
>> make PageUp/Down actually move one page up/down based solely on
>> the visible lines, not the location of the caret? (Move PageUp/
>> Down would then, either re-center the caret on the new page or
>> place it at the same relative location.)
>>
>
> The default behavior is to move exactly one page up/down without
> moving the caret (look at the scrollbar for the exact distance moved).
>
> You can change it e.g. to move the caret as well [1]. Could it be,
> that you already changed this, but moved the movePageUp:/
> movePageDown: selectors? If so, you get a third behavior, where
> caret will first move to the screen boundaries, and then move a page.
>
>
> [1] http://macromates.com/blog/archives/2005/07/05/key-bindings-for-
> switchers/
>
I just verified my key bindings and they're at the defaults (e.g.,
PageUp binds to pageUp:). I tried binding to movePageUp: just to
verify. What I'm seeing is different than what you've described.
Perhaps I've altered some other binding, but heck if I can find it.
As long as the caret is on the center line, I get the behavior you
describe. If the caret is not on the center line then I get other
behavior. For example, if display is showing lines 283-364 (so, 82
lines per page), if the caret is on line 323 (the center) and I page
up, the windows displays lines 201-282 (that is, it's move backward
by 82 lines. However, if the caret is on line 360 (below center) and
I page up, the window displays (roughly) lines 237-319 and the caret
is on line 278. It's moving backward one page as measured from the
caret location (360 - 82 = 278) and then making that line the center.
The visual effect is a movement of more/less than a whole page
depending on how far from center you are.
It seems that Xcode and TextMate do the same, while BBEdit moves a
strict page up/down (perhaps leaving the caret outside of the visible
window). If I could request something, what I would prefer is to
always move exactly one page up/down based on the window size alone,
regardless of where the caret is. If that leaves the caret outside
the window, well, Ok. It'd be cool if the caret would land on the
same relative position on the newly displayed page (e.g., if
displaying 100-200 with caret on 175, a page down would display
200-300 with caret on 275).
Is this making sense? Are there defaults or bindings I can change to
obtain this effect?
Brendan Dixon
brendandixon(a)mac.com
425.922.8798
On Feb 22, 2007, at 8:52 AM, Nathan Paxton wrote:
> All bundles are in as they should be.
>
> Here's a screenshot. As you can see, the spellcheck is alerting
> for words in the preamble. It seems to occur with any dictionary I
> use.
>
I just committed a fix that should take care of the preamble issue
for the most part. We now match \usepackage and \documentclass
explicitly.
> Best,
> -Nathan
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
Yes, I think the problem is encoding. Textmate uses UTF8 and perhaps Final
Draft uses ASC II? Is there any way to work in TM in ASC II or perhaps there
is some way to convert the file before I import it into Final Draft. Thanks.
First, I really like TextMate. It's clean and extensible (in a nice,
well-behaved way). It has numerous features quickly becoming part of
my muscle memory.
Though, there's one aspect I can't get my intuitive head around:
PageUp/Down. Often times I feel as if I've landed somewhere quite
different from what I expected - TextMate seems to like to re-center
things or treat the current line (that with the caret) as if it were
the center line (it's often not) and move things accordingly. Is
there a keybinding or some other default I can set to make PageUp/
Down actually move one page up/down based solely on the visible
lines, not the location of the caret? (Move PageUp/Down would then,
either re-center the caret on the new page or place it at the same
relative location.)
Thanks!
Brendan Dixon
brendandixon(a)mac.com
425.922.8798
On Feb 21, 2007, at 10:13 PM, Nathan Paxton wrote:
> I don't think so.
Perhaps I wasn't very clear, either the Source bundle shows up in the
list of bundles in the Bundle editor, or it doesn't. If it doesn't
then you need to click on the Filter List... button at the bottom of
the bundle editor and enable it.
I take it you mean that you checked there and it does indeed appear,
in which case it is mysterious that you have problems. Do the
problems persist if you disable CocoAspell and use the built in spell
checker? I don't personally use CocoAspell, never found the need for
it, but perhaps it's useful. In any case, it would be helpful to know
if the problem appears only with CocoAspell, or with any spell checker.
Can you send us a screenshot showing the bad highlighting?
> I haven't done anything to those bundles except perhaps update them
> from the svn when I have updated the bundles in general.
>
> -N
Haris
Hi all,
I have TM 1.5.4 and Cocoaspell on OX 10.4.8. When I write a LaTeX
document, the spelling unit marks all my LaTeX syntax as incorrect
spelling. I've set the spelling to use the English aspell dictionary,
and everything works nicely in TeXShop, for example, but I can't
figure out what to do to get this to work in TM. Any suggestions?
Thanks.
Best,
-N
--
----------
Nathan A. Paxton
Ph.D. Candidate
Dept. of Government, Harvard University
Resident Tutor
John Winthrop House, Harvard University
napaxton(a)fas.harvard.edu
http://www.fas.harvard.edu/~napaxton
=======================================================================================================
When you have to stay eight years away from California, you live in a
perpetual state of homesickness.
- Ronald Reagan
The most courageous act is still to think for yourself. Aloud.
-Coco Chanel
=======================================================================================================
Hi!
I've got here some code with very long lines thus vertical scrolling
is necessary, while I scroll the line-numbers and folding-markers are
disappearing. Imho it would be better if those aren't disappearing
meaning that the vertical scroll-bar is only for the text-area while
the horizantal one is for line-numbers etc and text-area.
Do other ppl think the same?
Niels
We're working on a new system for tagging/searching/browsing bundles.
But, should we allow specific bundle items to be tagged too?
One purpose would be to mark something that is Mac or xNIX only.
Or something that requires some application or tool to be installed.
That way we could write a single system for dealing with requirements .
If a user tries to run a command that requires Python 2.4 or
whatever, there will be a single system for dealing with it.
Currently, every bundle item that has a prerequisite either breaks or
handles the requirements system itself.
Since bundles are becoming more and more cross-platform and being
used in more than just TextMate on a Mac, this seems like a good idea.
I know of at least two editors on Windows that are supposed to
support the TextMate Bundle formats.
Personally, I'm all for making the formats as cross-platform friendly
as possible.
thomas Aylott — subtleGradient — CrazyEgg — sixteenColors
Just a quick update: I finally got around to updating the reftex-
style citation completion command. The command should now work with
the recent updates to the latex bundle, and has been added to the
repository as Build Citation.
Cheers-
-Alan
I write my plays in Textmate and then copy and paste them into Final Draft.
What's happening is that apostraphes, quotation marks, and em-dashes (—)
become garbled, weird combination of characters.
Anyone know why this might be happening? I notice it sometimes happens when
I take text out of TM and put it into TextEdit as well.
Thanks.
--
Lawrence Goodman
lawrencegoodman(a)gmail.com
Check out my blog: http://goodmanorama.blogspot.com
Hi Dr. Drang,
Thanks, I hadn't considered using a Snippet for this.
(Ignoring some edge cases that you already mentioned), it seems to
work for normal selections, but unfortunately not for column selections.
I'm not sure how much room there is in an external program/Command to
do anything about this, but if you have some suggestions for making
it work with column selections I'd appreciate hearing them.
Strangely enough replacing each non-CR/LF character with a single
character like 'x' works for column selections, but replacing with
"$1" doesn't - that is, it seems to insert unwanted line breaks when
doing this.
Thanks,
Chris
In a PHP file, embedded code followed by punctuation or digit fails
to close scope.
For example:
<h1><?php echo $title ?><h1>
Control-Shift-P just before ?>< produces:
text.html.basic
source.php.embedded.line.html
Control-Shift-P between ? and >< or between ?> and < produces:
text.html.basic
source.php.embedded.line.html
keyword.operator.comparison.php
...and scope continues to be 'source.php.embedded.line.html' until it
hits a ?> not followed by punctuation/digit somewhere in the file.
If I put whitespace or A-Za-z after the ?> (which I can't do in some
cases, like in a filepath), the source scope closes, but its still
says 'keyword.operator.comparison.php'. Same thing happens in a multi-
line embed immediately followed by punctuation.
The HTML language bundle has a comment about "match only multi-line
PHP with leading whitespace", but even when I make the embedded php
multi-line with leading whitespace, it still fails to close without
trailing whitespace, et al.
Very annoying for me since I use different syntax highlighting for
source and text in the same document. Tried googling mailing list
archives, couldn't find another mention of this.
Ashley
Hi all,
I'm new to TM and trying to implement a Command that fills the
current selection with a character. Right now I have a simple program
that replaces every character in the current selection with a space
character (but skips CR/LF), so far so good.
main()
{
char *x=getenv("TM_SELECTED_TEXT");
char c=32; /* Space character - this is what I'd like to be able to
replace at invokation time */
for ( ;x && *x;x++) putchar((*x==10 || *x==13) ? *x:c);
}
Now I'd like it to fill the selection not just with a space, but with
a user-entered character...
Ideally I'd like to:
1) select an area of text
2) press ^F (or whatever)
3) get a character from the keyboard
4) use that character to fill the selection
How do I accomplish #3 above?
Thanks for any pointers,
Chris
I am using the latest version, and have been using it for a month or two
now.
"Latest beta build of TextMate is 1324.
You are using build 1324."
On 18. Feb 2007, at 17:05, Ulai Beekam wrote:
>To be more precise, I just found out it doesn't just happen when I press
>Cmd-R twice on a short interval. It seems to just happen now and then. But
>when it happens, if I press Cmd-R it just works fine. :S
What version of TextMate? Try upgrade to cutting edge (preferences ?
software update), there previously was a problem with comparing the
date stamp of the resulting PDF to the source file.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Hi,
Using textmate SVN I can't really see how to easily perform a project wide
commit that including picking up any new files which were created (e.g. from
generator) so they are (a) included as files to be versioned and (b) then
committed as they'll be in the commit list?
Any suggestions? (don't want to have to manually work out which files
aren't in scope for versioning and add them one-by-one).
Thanks
Greg
Hi there
I didn't use LaTeX for some time with TM and started to use it again
today. I noticed the bibliography completion stopped working. I
remember some message by Haris on the list about removing an
environment.plist file which was necessary once. So I removed the
file but didn't use LaTeX until today. Now when using escape in a
cite scope, I get a spinning beach ball and I have to kill the
command via Command-. . If I use Alt+Esc I also get the spinning
beach ball and after killing the command I get this error message:
/Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:84:in
`parse_bibfile': Interrupt
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
71:in `map'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
71:in `parse_bibfile'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
193:in `cite_scan'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
191:in `call'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
163:in `recursive_scan'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
162:in `each'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
162:in `recursive_scan'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
161:in `each_pair'
... 6 levels...
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
153:in `recursive_scan'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
196:in `cite_scan'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
23:in `get_citations'
from /tmp/temp_textmate.vAzA1V:8
}
Another thing, which stopped working, is the template insertion
command. When I write 'temp' and hit tab I get the following error:
sh: line 1: ls: command not found
/tmp/temp_textmate.NvRU8j:14: undefined method
So could someone please update me on the current way of making the
Bib-completion and template insertion work (variables, plist-files,
or similar) and/or maybe add it to the LaTeX help-file? I'm updating
my bundles via svn so I should have the most recent commands etc. I'm
also using the latest cutting edge build of TM.
Big Thanks in advance!
Best. Oliver
The blogging bundle image_upload method creates a tag that doesn't
validate. It is missing a slash before the closing bracket.
The diff with http://macromates.com/svn/Bundles/trunk/Bundles/
Blogging.tmbundle/Support/lib/blogging.rb is:
--- - 2007-02-18 18:45:49.000000000 -0500
+++ /dev/fd/63 2007-02-18 18:45:49.000000000 -0500
@@ -719,7 +719,7 @@
height_width = %Q{ height="#{height}" width="#
{width}"}
end
end
- print %Q{<img src="#{url}" alt="${1:#{CGI::escapeHTML
alt}}"#{height_width}#{ENV['TM_XHTML']}>}
+ print %Q{<img src="#{url}" alt="${1:#{CGI::escapeHTML
alt}}"#{height_width}#{ENV['TM_XHTML']}/>}
end
else
TextMate.exit_show_tool_tip("Error uploading image.")
To be more precise, I just found out it doesn't just happen when I press
Cmd-R twice on a short interval. It seems to just happen now and then. But
when it happens, if I press Cmd-R it just works fine. :S
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
You should have a look at the paste service that the cakephp group built
http://bin.cakephp.org/
with this you can mark pastes to save (if you don't they last for 24
hours) then people can edit with suggestions and changes. It's
actually pretty useful. And at one point I had it hooked up to
textmate
Sam D
Hi,
I am using TextMate with TeXniscope to do my LaTeX document as was described
in the LaTeX screencasts, or at least, I'm trying to.
Whenever I do two times Cmd-R quickly in a row, I get this error:
Error: PDF file not written to disk
Why is this? It looks like I cannot do two Cmd-R too quickly because it
seems that when I press it the second time it is still reading or writing in
that PDF file or something. How can I fix this behaviour? This behaviour
does not appear in TeXShop, where I can hit Typeset as many times and as
quickly as I want.
But I still don't really want to use TeXShop anymore because TextMate offers
much quicker editing, so moving back to TeXShop is not really a real
solution.
Thanks in advance,
ulai
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
It seems to me that a common problem with paste type services such as
pastie.textmate.org is that it's a one-way street, which is strange
considering a lot of people who use the pastie service are after
solutions to problems in the text they have pasted.
I came up with the idea of running a service which would allow people
to connect to a server, submit the text and then give them a unique
ID. This ID could then be quoted to other users and used to connect
to the server remotely, grab the text, and view the paste using a
TextMate command. Any changes made to the original could then be
saved and re-submitted to the server. The original paster can then
query the server at any time to review any changes made to the
original along with the names of the users who have made the amendments.
I considered starting on a project which does all this using a fancy
tm_dialog UI, but besides being a cute idea I wondered if this is a
solution seeking a problem rather than something people would
actually use?
Hi,
I'm just playing aroung with TextMate's Subversion bundle. I'm
totally new to this, so please forgive me if I'm missing something
obvious or leaving out important information.
Martin Ott's svn client is installed. svnX is installed, too, and I
can browse the repository there.
In Textmate, I selected "Check Out...", entered the URL to the
subversion server (after starting a VPN connection) and all the files
were downloaded to my hard disk. Fine. :-)
But then I changed a file, selected "Commit" and TextMate said:
svn: Commit failed (details follow):
svn: Can't get password
So what am I doing wrong?
Kind regards,
Tobias
Hello to everyone and to our Lord Allan Odgaard (and welcome back from the
vacation).
I have a question. Can we get a very easy feature in TextMate that allows,
when that feature is checked (with checkbox), that when we quit TextMate,
the documents that were open when we last quit TextMate will *not* open the
next time we load TextMate? I find this to be unintuitive behaviour because
I often quit textmate and do different things. One day HTML. The next day on
some C code, so the next day I don't want those HTML docs to open up in
front of me.
Regards,
Ulai
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Hello,
In JavaScript, I'd like to be able to fold not only functions (that
works great) but also "variables" as declared in json for example.
function Bookmark(p_idx, p_type, p_text) {
this.index = p_idx;
this.bookmarkType = p_type;
this.text = p_text;
}
folds great, but:
var UNITS_METRIC = {
name: "metric",
distance: " m.",
speed: " m/min.",
weight: " kg.",
pressure: " bar"
}
does not fold when JavaScript language is selected but folds when
HTML language is selected!
Wouldn't it be possible to add a "rule" to be able to fold such
variables in JavaScript language as it works in the HTML language? How?
Many thanks for your help.
/p
it seems like the "edit in textmate" does not support page names with
(e.g. german) umlauts. when saving and doing an apple+w the contents
do not get pasted back to safari. i think the problem must be related
to the umlauts, since it works with non-umlaut html form documents.
will this be fixed in the future?
> Harold,
>
> Are there any files in the directories ~/Library/Application
> Support/TextMate/ or /Library/Application Support/TextMate/? It's
> possible that you have an older version of the Support directory in
> one of those folders. If you do see a Support folder in one of
> those directories, it is OK to delete it. Restart TextMate and see
> if you still get a hung PyMate when running the test script.
1. I have a directory: /Users/harry/Library/Application Support/
TextMate which contained 3 subdirectories:
Bundles Pristine Copy Support
a. Bundles directory merely contains an extra command added to
Python.tmbundle (Run Script (PyMate) version 2.tmCommand based on
using the pymate.py script)
b. Pristine Copy directory contains bundles that have been downloaded
via svn and installed ... to be safe (from conflict) I moved/deleted
all these bundles.
c. Support directory seemed to be empty; only contained a hidden .svn
subdirectory
2. After deleting the Support directory (/Users/harry/Library/
Application Support/TextMate/Support) as you suggested ...
I ran the test python script using PyMate ...
but the latest (bleeding edge) version TextMate Version 1.5.4 (1360)
still gets hung ...
PyMate r6190 running Python 2.3.5 (/usr/bin/python)
>>> test_input.py
3. whereas a previous version, TextMate Version 1.5.4 (1324) works OK
(cut and paste from PyMate screen; excess blank lines deleted):
HIDE STDERR SHOW STDERR
Python 2.5.0 - PyMate r5848
For comments contact the author.
The regular Python interpreter can be invoked using ⌘⇧R.
>>> test_input.py
1
forcing redraw!!! don't remove
Script terminated with success.
4. as does TextMate Version 1.5.2 (1103)
Python 2.5.0 - PyMate r3226
For comments contact the author.
The regular Python interpreter can be invoked using ⌘⇧R.
>>> test_input.py
1
forcing redraw!!! don't remove
Script terminated with success.
5. These older versions use $TM_BUNDLE_SUPPORT/pymate.py rather than
$TM_BUNDLE_SUPPORT/PyMate/pymate.rb
I can more or less make sense of the pymate.py code but the Ruby code
pymate.rb appears enigmatic.
so far it is a mystery which may have to go on the backburner ...
Adios
Harry.
------------------------------------------------------------------------
----
Dr. Harold W. Schranz, Research Fellow, Computational Genomics Group
Division of Molecular Bioscience, John Curtin School of Medical Research
Australian National University, Canberra ACT 0200, Australia
------------------------------------------------------------------------
----
Hello,
I'm a new textmate user.
And starting to try to use textmate for this simple website I have to edit.
I'm trying to use the tidy bundle function and it's not working as I
think it should have.
I an html page on the screen (actually it's file.php) and when I press
Ctrl+Shift+H I get a new blank screen ;)
No errors, nothing.
Am I missing something?
For what it's worth it has one single <?php include(); ?> in it and
about 500+ lines of html.
Is that the problem?
Thanks in advance.
I cannot commit a file to my repository using the subversion bundle.
When I try I get this error message:
Couldn't find /usr/bin/ruby
We need Ruby to proceed.
Locations searched:
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/CocoaDialog.app/Contents/MacOS
/opt/local/bin
/opt/local/sbin
/Users/phurley/bin
/usr/local/bin
/sw/bin
/sw/sbin
/bin
/sbin
/usr/bin
/usr/sbin
/usr/X11R6/bin
/Applications/TextMate.app/Contents/SharedSupport/Support/bin
>From the bash prompt:
which ruby
> /opt/local/bin/ruby
ruby -v
> ruby 1.8.5 (2006-12-25 patchlevel 12) [i686-darwin8.8.2]
which svn
> /opt/local/bin/svn
svn --version
> svn, version 1.4.2 (r22196)
> compiled Jan 9 2007, 01:05:16
(snip)
FYI I can add files to repository without a problem. Any suggestions
would be welcome,
Thanks
pth
> Harold,
>
> Can you post the specific error you are encountering? Do you scripts
> not run at all? Can you post a minimal example script that isn't
> working?
>
> I am able to execute the following script without any problems using
> the latest PyMate:
>
> #!/usr/bin/python
> x = input("Foo:")
> print x
For example, if I put your script above in a file called test_input.py
1. It will run successfully over the terminal (directly and via the
Run Script (Terminal) command).
2. However, if I use the Run Script (PyMate) command (based on
pymate.rb) I get the following lines printed:
PyMate r6190 running Python 2.3.5 (/usr/bin/python)
>>> test_input.py
and no dialog window for input, the task keeps running ... a ruby and
python process hang around ... until I interrupt it.
3. If I use the previous version of PyMate based on pymate.py I get
an input dialog and successful completion of the script.
I'm running Mac OS X 10.4.8 on a MacBookPro (Intel Core 2 Duo) 2.33
GHz with 2GB RAM and 4MB L2 Cache (per processor).
Assuming ruby from /usr/bin/ruby is being used that is ruby 1.8.2
(2004-12-25) [universal-darwin8.0] as indicated by the ps line:
/usr/bin/ruby -- /Users/harry/Library/Application Support/TextMate/
Pristine Copy/Bundles/Python.tmbundle/Support/PyMate/pymate.rb
If I use python 2.5 (installed in /usr/local/bin/python), same deal ...
Any suggestions?
Harry.
Hi.
http://pastie.textmate.org/40039 is parsed wrong by my textmate
installation. I'm running the latest version from svn. Seems to have a
problem with $<delim> under qr. works fine with m//.
--
With regards
Marcus Ramberg
It appears a bug has crept in the Python bundle for the Run Script
(PyMate) command in TextMate ...
All appears well with the following version which correctly runs
interactive Python scripts (requiring a dialog):
Version 1.5.4 (1324) [2006-11-02: REVISION 1324] Python 2.5.0 -
PyMate r5848
uses the code:
# Save file, use tmp-file if there's no filepath.
[[ -z "$TM_FILEPATH" ]] && TM_TMPFILE=$(mktemp -t pythonmate)
: "${TM_FILEPATH:=$TM_TMPFILE}"; cat >"$TM_FILEPATH"
TPY=${TM_PYTHON:-pythonw}
"$TPY" "$TM_BUNDLE_SUPPORT/pymate.py" "$TM_FILEPATH"
rm -f "$TM_TMPFILE"
However the following (bleeding edge) version
Version 1.5.4 (1360) [2007-02-13: REVISION 1360] PyMate r6190 running
Python 2.5 (python)
uses the code (Ruby in a Python bundle???):
export TM_RUBY=$(which "${TM_RUBY:-ruby}")
"$TM_RUBY" -- "$TM_BUNDLE_SUPPORT/PyMate/pymate.rb"
and only works for non-interactive Python scripts (I'm partly
suprised it works at all).
Should this code change have happened between versions or is there a
glitch.
Adios
Harry.
------------------------------------------------------------------------
----
Dr. Harold W. Schranz, Research Fellow, Computational Genomics Group
Division of Molecular Bioscience, John Curtin School of Medical Research
Australian National University, Canberra ACT 0200, Australia
------------------------------------------------------------------------
----
I think the reason you used hg status $WorkPath is because it limits
the status to the current sub directory of a hg repository.
i.e.
Let's say project/ is a hg repo
cd project/
hg status # This shows status for everything under project/
cd project/subdir
hg status project/subdir # This shows status for everything in subdir
Now...if this is GOOD or BAD behavior is up for discussion.
Personally I like the former better, I usually want to see the status
of all files in my repo.
What do you think?
Yi
Hi,
Using the LaTeX mode, I had &'s appear at the beginning of rows in
tabular environments, which abviously breaks the table. I don't really
know how what triggers this, but I think it happened after upgrading
textmate's bundles from svn...
any idea ?
--
Damien Pollet
type less, do more [ | ] http://typo.cdlm.fasmz.org
Hello folks,
I'm using Mac OS X 10.4.8 OS, I installed Subversion using 4 different
methods with no success (Using Fink, OpenDarwin, directly compiled it,
and using Matthew E. Porter's Package)
With all of them, when I try to checkout source code from anywhere
(RoR, TextMate, ...) with following command:
svn co --username anon http://macromates.com/svn/Bundles/trunk Bundles
It give me an error like:
subversion/libsvn_ra_dav/util.c:826: (apr_err=175002)
svn: REPORT request failed on '/svn/Bundles/!svn/vcc/default'
subversion/libsvn_ra_dav/util.c:296: (apr_err=175002)
svn: REPORT of '/svn/Bundles/!svn/vcc/default': 400 Bad Request
(http://macromates.com)
May someone please help me to find the problem?
Did I forgot anything? Or is there a bug with SVN?
Thanks in advance,
Hello all,
I'm writing a command to mimic eclipse's semicolon insertion. In
Eclipse, when you press ';' it looks for a semicolon at the end of the
line; if there is one already there, you get a ';' at your cursor (as
if you had typed it normally); if not, it puts it in the proper
position at the end of the line, and your cursor is at the end of the
line.
With the following command, TextMate will put the semicolons in the
desired place, but the cursor doesn't move, which is annoying.
input: selected text or line
output: replace selected text
activation: key equivalent ';'
scope: "source"
#!/usr/bin/env ruby
$t = STDIN.read
if $t =~ /\A(.*)\;\Z/
$c = ENV['TM_LINE_INDEX'].to_i
print $t.insert($c, ';')
else
print $t+';'
end
Any idea how to move the cursor? Snippets handle cursor motion, but
I'm not sure I can get the semicolon to go to the right spot. Ideas?
Tricks?
Best,
Kevin
Sorry, if this topic has been brought up before, but I was absent
from the list for a while.
The LaTeX templates extract the name and address from the file ~/
Library/Preferences/AddressBookMe.plist.
Now, I have recently moved and thus changed my address (also in
Address Book.app) but the AddressBookMe.plist is not updated. Indeed,
if I delete the file it is not re-created at all. Any ideas? Is this
due to an update of Apple's Address Book application. Can the content
of my own Address Book entry be retrieved in some other way?
Thanks,
Berndt
Hello,
First time poster to the list, please be gentle!
I installed the mercurial bundle from svn and it is a wonderful tool,
however some parts do not work correctly. For example, viewing the
status of a repo does not work, I get the following error message:
Traceback (most recent call last):
Revert
Diff
File "/opt/local/bin/hg", line 12, in ?
Revert
Diff
commands.run()
Revert
Diff
File "/opt/local/lib/python2.4/site-packages/mercurial/commands.py",
line 3000, in run
Revert
Diff
sys.exit(dispatch(sys.argv[1:]))
Revert
Diff
File "/opt/local/lib/python2.4/site-packages/mercurial/commands.py",
line 3223, in dispatch
Revert
Diff
return d()
Revert
Diff
File "/opt/local/lib/python2.4/site-packages/mercurial/commands.py",
line 3182, in <lambda>
Revert
Diff
d = lambda: func(u, repo, *args, **cmdoptions)
Revert
Diff
File "/opt/local/lib/python2.4/site-packages/mercurial/commands.py",
line 2371, in status
Revert
Diff
files, matchfn, anypats = cmdutil.matchpats(repo, pats, opts)
Revert
Diff
File "/opt/local/lib/python2.4/site-packages/mercurial/cmdutil.py",
line 139, in matchpats
Revert
Diff
opts.get('exclude'), head)
Revert
Diff
File "/opt/local/lib/python2.4/site-packages/mercurial/util.py", line
367, in cmdmatcher
Revert
Diff
return _matcher(canonroot, cwd, names, inc, exc, head, dflt_pat, src)
Revert
Diff
File "/opt/local/lib/python2.4/site-packages/mercurial/util.py", line
454, in _matcher
Revert
Diff
name = canonpath(canonroot, cwd, name)
Revert
Diff
File "/opt/local/lib/python2.4/site-packages/mercurial/util.py", line
348, in canonpath
Revert
Diff
name = os.path.join(*rel)
TypeError: join() takes at least 1 argument (0 given)
Any clues?
Thanks,
Yi
what do I have to do to correct this error (when listing installed
bundles in bundle GetBundle:
Couldn't find svnversion
Locations searched:
/Users/boldfish/Library/Application Support/TextMate/Pristine
Copy/Bundles/GetBundle.tmbundle/Support/bin
/Users/boldfish/Library/Application
Support/TextMate/Support/bin/CocoaDialog.app/Contents/MacOS
/sw/bin
/sw/sbin
/Library/Frameworks/Python.framework/Versions/Current/bin
/bin
/sbin
/usr/bin
/usr/sbin
/usr/X11R6/bin
/Users/boldfish/Library/Application Support/TextMate/Support/bin
TIA
Hello All,
I have been using the sshfs to connect to one of my servers and while
Finder seems to do a particularly bad job when the server goes down
and I don't eject properly, TextMate seems to do an even worse. Is
this just me or is anyone else seeing this.
As soon as the server goes down TextMate seems to start going into
wait mode for long periods of time. Eventually I just get frustrated
and do a Force Quit.
Thanks!
--
~Tyler
Hi,
As it's my first post, let me thank all the macromates guys and the textMate
community for the great work done already. So, Thank you all!
My work led me to edit my own (LaTeX) templates, and for the first of them,
I pressed an uncountable number of times that precious "Test" Button, to see
if everything was OK. I noticed a few things:
1) In my opinion, there should be a kb shortcut for that button.
2) Bug: It happened sometimes that the modifications made to the script
and/or to the template itself were not taken into account. It generally does
not happen at the beginning of the template building session, but once that
famous "Test" Button had been pressed a number of times.
Notice that closing/reopening the bundle editor window solves the problem.
It's up to you, now!
Thx,
Xavier C.