System is OS X 10.4.7. TM version 1.5.3 (1200). Same error occurs on
another system with unknown information (we corresponded over email...).
To reproduce:
1. Create a new command. Enter a short, non-shell script printing out
'$' at some point.
Ex:
#!/usr/bin/env python
print "test: $SIG{}"
2. Make sure the output mode is set to "Insert as Snippet".
3. Run command in a document.
Expected result: Document shows the result of the program. e.g.
"test: $SIG{}"
Actual result: Document shows result with characters removed
following and including '$'. e.g. "test: {}" Note that the removal
stopped at what is generally a "special" character.
Comments:
The expected result occurs when the output method is changed to
"Insert as Text" or "Replace selected Text" (i.e. when the text in
not further manipulated in any way, for indentation and the like).
Similarly, the expected result occurs when '$' is escaped. Entering
the line 'echo "test: $SIG{}"' at the command prompt returns "test:
{}" which seems to indicate that the text mangling is resulting from
being passed through the shell.
Andy Kish
First, I apologize if this is a duplicate. The mailing list
subscription was being incredibly slow, so I don't know if my first
message was sent.
System is OS X 10.4.7. TM version 1.5.3 (1200). Same error occurs on
another system with unknown information (we corresponded over email...).
To reproduce:
1. Create a new command. Enter a short, non-shell script printing out
'$' at some point.
Ex:
#!/usr/bin/env python
print "test: $SIG{}"
2. Make sure the output mode is set to "Insert as Snippet".
3. Run command in a document.
Expected result: Document shows the result of the program. e.g.
"test: $SIG{}"
Actual result: Document shows result with characters removed
following and including '$'. e.g. "test: {}" Note that the removal
stopped at what is generally a "special" character.
Comments:
The expected result occurs when the output method is changed to
"Insert as Text" or "Replace selected Text" (i.e. when the text in
not further manipulated in any way, for indentation and the like).
Similarly, the expected result occurs when '$' is escaped. Entering
the line 'echo "test: $SIG{}"' at the command prompt returns "test:
{}" which seems to indicate that the text mangling is resulting from
being passed through the shell.
Andy Kish
Hi there
I'm using v. 1197 and it seems that the
View > Wrap Column > Use window frame is broken.
Even with this option on, I have long comments line
which do not wrap and I have to scroll
horizontally to see them.
TIA
I actually don't believe this happened ... but really ... it just did.
I've been working on a project of mine. It was opened via:
File > Open Recent > ProjectFolderName
So some background.
There is no .proj file or whatever it is .. it's not a "TextMate
Project" .. I just drag my project folder onto TextMate.
It's been open for a while, and has many folders/files inside it ...
it's a mixed Java/Python project and I was shuffling some folders
around via the Eclipse Navigator pane (I switch between TextMate and
Eclipse, depending on wether I'm in Python or Java mode).
While I was in Eclipse, I moved my python source folder to a
different directory .. did some more coding for a while and came back
to TextMate.
Everything's kosher. The folders updated correctly in the TextMate's
project drawer. I opened some python files .. doing some housekeeping
and I decided that I'd like to add a new python file.
So I [Right Click > New File ...] on my python folder in the project
drawer and enter the name for the file "utils.py" and hit Create.
The file opens up and *bang* there's a mess load of code in it. In
fact, it was code from another utils.py file that is somewhere (very
far away) on my HD.
Weird ... now there are two utils.py files in my project drawer.
Though clicking on either one brings up the same file.
So I right-click > remove it .. quit and restart textmate and
everything's ok. No utils.py file anymore, so I right-click > create
it and now it's blank.
Everything's seemingly normal at the moment ... I'm not even sure I
can repeat that, just wanted to send it out there.
-steve
Hi all -
I did a search through the archives but I didn't find an answer on
how to accomplish what I'm looking for.
The current method that TextMate uses to escape entities is by using
the short name ('), which unfortunately doesn't work with
Windows IE. I'm trying to figure out if there's a way to convert
these instead to the numeric version (e.g. ’).
Is there any way to do this? Or a bundle that I can install that will
do this?
Thanks,
Neil
--
Slumming at the BeatnikPad: http://www.beatnikpad.com/
The person you love is 72.8% water.
I'm using the standard heading snippet to automatically add an ID to
a heading, like this:
<h3 id="${1/[[:alpha:]]+|( )/(?1:_:\L$0)/g}">${1:Some Title}</h3>
But now I want to mirror the transformed ID value in a permalink
later in the snippet like this:
<a href="http://somesite/links/#$1>permalink</a>
If I mirror $1 I get the untransformed text.
------------------------------------------------------
Is there a way to mirror transformed tab-stops?
Today while using TextMate 1.5.2 to edit a .as file in my project, I noticed
that the the file name in the file tab ended with a tilde (~).
I also noticed that the edits that I was making to my text file were no longer
"taking". That is, I could edit text, save the file, but the edits would have
no effect... as if they had never been made. Frustrating.
I closed the file, re-opened and now TextMate (and my edits) are back to
normal. The edits I had made to the file were gone, but I was able to get back
to work and re-enter my edits.
What is the significance does the tilde at the end of the filname in the file
tab have? Is this a feature? or a bug?
thanks very much,
Steven
osx 10.4.7
Power PC
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi,
The key binding for this command is 'Shift-Ctrl-Command-S', however,
whenever I try to use this sequence I get the same dialog. I wonder
if it could be changed to an alternative binding in the repository?
Cheers,
Chris
A small request for the Markdown bundle. Would it be possible to
revise the MultiMarkdown commands so that they use `mktemp`? As it
stands, when I find I need to do multiple revisions I am having to go
in and delete temporary files. Thanks very much.
All the best, Mark