Just ran into this problem today. In our project, we have several
files that our mirrored, so we use git to manage the symlinks. Today
we discovered that you can open a symlinked file, but when you try to
go and save it, the symlink is erased and replaced with a brand new
file, rather than updating the contents of the file that the symlink
points to.
Is this a known issue? Is there any suggested workaround for it?
(other than, make sure you don't edit a symlinked file?)
Thanks,
Tim
I've found a bug in the Ruby bundle for Textmate. Under certain
circumstances, using Control-Q to reformat comment code raises an exception
that spews error code into the source.
Is this the right forum to post bugs in Ruby bundles?
The problem occurs if you have a comment that contains a single word that
goes past column 79. For example, in the following code (also attached) the
x's in the comment extend out to column 80:
#
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
def func(x,y)
x+y
end
If you place the caret inside the comment and press control-Q you see the
following:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Source.tmbundle/Support/bin/rubywrap.rb:365:in
/bin/bash: +': invalid option
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o optionwrite'
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Source.tmbundle/Support/bin/rubywrap.rb:408
def func(x,y)
x+y
end
This doesn't happen if the word in the comment stops before column 80.
This isn't an impossible scenario because it's easy to have a URL in your
documentation that's more than 80 characters long.
--
Bill McNeill
http://staff.washington.edu/billmcn/index.shtml
I am a recent TextMate convert. Part of what swayed me was the range
of bundles including LaTeX. I'm also pretty new to LaTeX.
I have been using TextMate to render LaTeX with various engines
including XeTeX. It has been working perfectly on everything until now.
Now when I Apple+R to render I get the regular panel for a moment,
along with engine output/info, then it goes black but the spinner
stays. It "runs" forever like this. The behavior happens on any
engine and document content/size. The documents render to PDF fine
from TeXShop. None of that setup has changed. I installed the bleed
version of TextMate two days ago to see if it might fix it. No
difference.
What *has* changed in my setup is I installed the CS3 Adobe web suite
(a new paid/registered version, not warez) which includes Acrobat
Professional. I am guessing this has hooked/broken some PDF meta-info
somewhere.
Any pointers where to look to fix this? Acrobat includes an
uninstaller but I'd rather not do that. Is it something that can be
updated in the LaTeX bundle? I think this is likely since other LaTeX
apps are still rendering to PDF, only TextMate's behavior changed.
Thanks for looking at this!
-Ashley
Repost because the original message was garbled...
I've found a bug in the Ruby bundle for Textmate. Under certain
circumstances, using Control-Q to reformat comment code raises an exception
that spews error code into the source.
Is this the right forum to post bugs in Ruby bundles?
The problem occurs if you have a comment that contains a single word that
goes past column 79. For example, in the following code the x's in the
comment extend out to column 80:
#
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
def func(x,y)
x+y
end
If you place the caret inside the comment and press control-Q you see the
following:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Source.tmbundle/Support/bin/rubywrap.rb:365:in
/bin/bash: +': invalid option
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o optionwrite'
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Source.tmbundle/Support/bin/rubywrap.rb:408
def func(x,y)
x+y
end
This doesn't happen if the word in the comment stops before column 80.
This isn't an impossible scenario because it's easy to have a URL in your
documentation that's more than 80 characters long.
--
Bill McNeill
http://staff.washington.edu/billmcn/index.shtml
Lately, i've been experiencing various issues with the Rails Bundle:
- none of the generator tasks (controllers, models, migrations etc.)
work anymore. I just get an empty confirmation window and the tasks are
not run.
- when running any rake tasks, i get "stack level too deep" errors:.
For insatnce, here's the output from "Migrate to current" command:
RakeMate r6193
rake aborted! stack level too deep (See full trace by running task with
--trace) (in /Library/WebServer/railsapps/sparkle)
Done
Rake tasks and generator tasks work perfectly fine from the command line.
I'm using current Rails Bundle from trunk, but also tried the one that
came with the lastest TM release. I'm running on Leopard, Ruby 1.8.6;
projects are Rails 2.0.2, but it also seems to happen with Rails 1.2
projects.
Any ideas? Thanks.
Sebastian
Bummer, looks like Edit in TextMate… is not working properly from
Mail.app (or likely any WebView) since the Safari 3.1 install. The
content of the WebView is not transferred to TextMate. The MacVim folks
actually mailed me about it since they're using a modified version of
Edit in TextMate… with MacVim. Anyway, I won't be able to look into the
matter for a couple weeks in-case someone else wants to take a crack and
send Allan a patch.
j.
Hi all,
It seems the "Citation based on current selection" (Esc or Alt+Esc)
command doesn't show the entries of a .bib file that contain commas
in any field.
Example. LaTeX file with
\bibliographystyle{plain}
\bibliography{sample} % to get sample.bib
The entry (in sample.bib):
@book{knuth79,
author = "Donald E. Knuth",
title = "Tex and Metafont, New Directions in Typesetting",
year = "1979",
publisher = "American Mathematical Society and Digital Press",
address = "Stanford"
}
doesn't show up unless the comma in "title" is removed or replace by
another symbol such as _ (underscore).
TextMate 1.5.7 (1436)
Mac OS X 10.4.11 (PPC G4)
Cheers,
AgusN
Hi,
I've just migrated to Leopard, and I have the following problem.
If I drag'n'drop a pdf file from the Finder to a LaTex doc I get the
following error:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/pathname.rb:205:in /bin/bash: -c: line 0: syntax error near
unexpected token `('
/bin/bash: -c: line 0: `dup': can't dup NilClass (TypeError)'initialize'
from /tmp/temp_textmate.gqGtWt:7:in
OK. I went through previous mails regarding that issue, and I found
"update it". But what?
I'm using Textmate 1.5.7 (1455) on 10.5.2 (G5 ppc)
and
/usr/bin/ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]
Thanks for any hint in advance,
--Hans