My textmate freezes on startup! No idea why... except I was using it
last night when it started behaving strangely... clicking on the buffer
tabs wouldn't do anything unless I clicked on the topmost 2 or 3 pixels
of the tabs.
Things started getting generally screwy, so I saved the project and
restarted textmate... and she hasn't launched successfully since.
Any ideas?
Cheers,
jL
Certainly, this might an odd request, but is there some way to delete
line breaks (\n) in a text document? Or, only when there are two in a
row (double spacing)? I'm trying to clean up some large files and it
would be easy if I could plunk our large sections and take out the
double returns.
Thanks, v
I posted this to the wiki, I think it was missed, and I thought it
might be good to bring up here anyway for fuller discussion.
It would be great to have the option of buying a noncommercial or
student license for TextMate. I bring this up because I would benefit
(qualifying for both myself), but also I think that this is something
you should consider because it might bring in more total revenue via
added registrations you would otherwise not get.
Hi,
I recently played around with The Remembrance Agent
(http://www.remem.org/) and Carbon Emacs. Remem (as it's commonly
called) is a pretty nifty associative memory prompter originally
designed to work with wearable computing devices, with an Emacs
frontend. The idea is that it scans the text you type continuously and
suggests related files from a database you've specified. As the core
of the system consists of two non-Emacs-related binaries, I was
wondering if it would be possible to duplicate the Emacs frontend in
TextMate? Given TextMate's HTML display capabilities, it would be nice
to have a little window at the bottom of the screen with clickable
links to files that are related to whatever I'm working on at the
moment.
This is the kind of thing you're unlikely to see in a word processor,
and would effectively duplicate a lot of the functionality of
DevonThink (http://www.devon-technologies.com/products/devonthink.php).
People have been raving about associative memory apps for years, but
they haven't really come into their own yet. TextMate might be a fun
playground to try it out.
Speaking of things which Emacs has but TextMate doesn't at the moment,
how about abbrevs? I'd like to be able to replace common misspelled
words (the for teh and so on) automatically, and under Emacs I have a
big abbrev file that does this. Could one do this e.g. with input
patterns?
Just brainstorming here, thanks for your patience...
- Hannu Rajaniemi
Working with Mark Smith an a context bundle I am trying to get the same
html output as generated with the latex bundle but I am having troubles
calling the PDF into the browser.
Here is what I have, a hack of the LaTeX bundle:
# PDF ConTeXt
# Save Current File
# Input=Entire Document
# Output=Show as HTML
# this requires pdflatex Web2C 7.5.3
# Below are the instructions for the html output of the texexec run
command
cat <<EOF
<html><head><style>
* { color: #998; }
a { color: #000; text-decoration: none; }
a:hover { color: #000; text-decoration: underline; }
</style></head><body><pre>
EOF
# below is the name for the temp file called by texexec
tmp=`mktemp /tmp/texexecpdf_XXXXXXXX`
# If TM_LATEX_MASTER not set use TM_FILEPATH
[ -z "$TM_LATEX_MASTER" ] &&
export TM_LATEX_MASTER="$TM_FILEPATH"
# Here is the actual command followed by the perl script to find the
output.
cd `dirname "$TM_LATEX_MASTER"`
texexec --pdf --nonstop /tmp\ `basename ${tmp}` `basename
"$TM_LATEX_MASTER"` \
| perl -pe '$| = 1; s/^(\/.*?):(\d+):\s*(.*)$/<a
href="txmt:\/\/open?url=file:\/\/$1&line=$2">$3<\/a>/'
# If PDF file exists and not empty, display it. This is were I loose it!
[ -s ${tmp}.pdf ] && echo '</pre><meta http-equiv="Refresh"
content="0;URL=file:///'${tmp}'.pdf">'
{ sleep 30; rm ${tmp} ${tmp}.*; } </dev/null >/dev/null 2>&1 &
The command runs fine and displays the log file as it should, but does
not load the PDF. At the end of the context log, the output that
texexec registers is:
Output written on c_position_authority.pdf (1 page, 7354 bytes).
This is the name I gave to the original file, not texexecpdf.xxxxxxxx.
Should it be?
Transcript written on c_position_authority.log.
return code : 0
run time : 2 seconds
sorting and checking : running texutil
TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
action : processing commands, lists and registers
option : sorting IJ under Y
option : converting high ASCII values
input file : c_position_authority.tui
output file : c_position_authority.tuo
I am using Web2c 7.5.4
Any suggestions?
Thanks
Robert
I believe I've found a bug with the column typing environment in TM.
Take a set of lines, e.g.
Example one.
Example two.
Example three.
Now, say you want to change that to
Text example one.
Text example two.
Text example three.
So you select the first two lines and hit option to go into column
typing for prepending to all of the lines, and you type "Text ", this
gives you:
Text Example one.
Text Example two.
Text Example three.
Now you want to change the capitalization on "Example", so you hit
forward delete[1], and type in an "e". But instead of getting what you
want, you get:
Text example one.
Text eExample two.
Text eExample three.
That is, forward delete (unlike backspace) only affects the line with
the cursor in it, and not all of the lines in the column. I assume
this is a bug, and not some logical behavior that I just don't
understand, right?
[1] Note, I'm working on an old PowerBook, so I'm using fn-delete for
forward delete.
William D. Neumann
"You've got Rita Marlowe in the palm of your hand."
"Palm of my hand? You haven't seen Rita Marlowe..."
-- Will Success Spoil Rock Hunter?
So, I'm finally getting to the point that I'm really starting to play
around a bit with the automation aspects of TextMate. I think that I
found a bug, but I want to confirm.
I created a macro, which through the course of its steps utilizes a
snippet. The snippet has default values, which I'm also using, because
it's a very repetitive task. The idea behind this, is that when I got
to a different spot in the code that I'm working on, I would change the
snippet defaults and keep using the macro.
What appears to be happening instead, is the old default values are
used instead of the new ones. When I use the snippet manually, the new
values I put in are still used. Is this a bug, or is my expectation
wrong?
(this is on b5 btw)
--
Robert M. Zigweid rzigweid(a)zigweid.net
http://rzigweid.zigweid.net
I'm new to TextMate, so please point me to the fine manual if I'm
missing something obvious. I've poked around the mailing list and
documentation but couldn't find anything related. I'm using 1.1b5
currently, but would switch back to 1.0.x if that helps.
As part of switching over to TextMate I'm trying to set up a TextMate
command to do some text processing. I have a project defined that has
multiple text files and a TextMate command that may modify some or all
of the text files in that project when it executes. The command first
saves all of the files in the project. It then runs a Python script
with no input and discarding any output.
TextMate, unfortunately, doesn't seem to check to see if the current
file was changed after the command executes. If I switch to another
file in the project and then back to the original file it will notice
that the underlying file has been changed. But if I forget to switch
back and forth it will end up causing a conflict between the file in
memory and the file on disk.
In short, is there anyway to force TextMate to check the "freshness" of
a current file after executing a command?