Hi all,
Most of the commands with output "Show as HTML' are broken for me. By most,
I mean all except for RakeMate and Ruby's Documentation look up (Previews,
Run commands, all Subversion commands, Textile/Markdown's documentation).
I tried creating a new command - echo "hello world" - with Output: "Show as
HTML" and it didn't work.
What ends up happening is a blank, white window is open. I clicked on view
source, and there's nothing there.
I noticed this about two weeks ago, and I couldn't fix it. I've updated all
my bundles and the support folder. I gave up, and deleted everything under
'/Library/Application Support/TextMate', '~/Library/Application
Support/TextMate' and anything related to textmate under
'~/Library/Preferences'. And I did a clean re-install. But I still can't
execute those commands.
Has anyone ever had the same problem? I know for sure, I've got my
.bash_profile set up correctly, but I'm using zsh (could that be it?).
Thanks in advance, and thanks to everyone who tried to help me on IRC.
- Hugh
I just installed the svn update to GTDAlt (r6072) that reportedly has
the fix for date handling.
I opened a new GTDAlt document, made a new project, added a new
context item and tried to insert a due date (either using # or via
menu) and received an error about a non-existent nib file on the
desktop. Looking at the code for "set date", I found this line that I
think needs to be fixed:
str = `#{e_sh dialog} ~/Desktop/testing.nib -mp #{e_sh plist}`
I'm not sure which nib the command be looking in but hope that either
Allan or Charilaos might be able to help fix this.
Thanks,
Norm
---
Norman A. Cohen
nacohen(a)mac.com
"Whatever you may be sure of, be sure of this, that you are
dreadfully like other people."
James Russell Lowell
Great! That fixed solved the problem. I now have ical sync!
Couple of small things, nothing big to worry about:
1) When I've checked off a to do item in ical and then sync, it succeeds in
syncing back with the textmate file, but I also get this error:
/Users/lawrencegoodman/Library/Application
Support/TextMate/Bundles/GTDAlt.tmbundle/Support/bin/gtdalt_ical_synchronization.scpt:
execution error: iCal got an error: NSReceiverEvaluationScriptError: 4 (1)
It doesn't seem to affect functionality, but I thought you might want to
know about it.
2) In the instructions, it says:
- shift-, (<) reduces the date by one day.
- shift-. (>) increases the date by one day.
- ctrl-, reduces the date by one week.
- ctrl-. increases the date by one week.
- ctrl-shift-, (ctrl-<) reduces the date by one month.
- ctrl-shift-. (ctrl->) increases the date by one month.
These commands don't seem to be working. Have they been eliminated?
Thanks again for all the help.
--
Lawrence Goodman
lawrencegoodman(a)gmail.com
Check out my blog: http://goodmanorama.blogspot.com
one more question arose:
when i just use the SVN_EDITOR shell variable in tcsh and then do a
commit from the commandline, TM opens and I can enter the commit
message. However, when I save the file, the terminal tells me that
the message has not been changed and gives me the option to abort,
continue and edit again. Isn't TM supposed to deliver the message to
the svn client correctly after saving the opened message log file?
thanks again for helping
Thomas Krajacic
Okay, let's say I've got an NSScrollView tied to an arrayController.
Heck, let's say I've got a few tied into eachother to create a tree.
The plist passes nested arrays to allow a user to, say, pick a
Backpack page->note->edit the note and return to TM where the script
takes the updated note and returns it to Backpack.
I've got the first half all finished, but the plist that comes back
to TM just contains the whole array including the edited note and
there's no easy way to tell what's changed. How do I pass back the
id's of the selected page/note and the note body separately or marked
as modified?
Any help would be greatly appreciated.
Thanks,
Brett
One of the nice features of iTerm and Aqua-Emacs is that selecting
text copies into the paste-buffer, and clicking the middle mouse
button pastes in text from the buffer, as with X11 programs. (That,
and focus-follows-mouse are the two features I miss most from other
unix operating systems).
Is there a way to do this in TextMate, and if not, is there any
chance it might one day be implemented as an optional feature?
Bill
So I figured out what was wrong with my GTDalt installation:
1) I had the GTD file with a suffix of .txt instead of .gtd. I suppose I
should have figured this out, but I don't remember reading it in any of the
instructions.
2) I had to upgrade the dialog plugin. As a newbie, I typically rely on Get
Bundle to fetch my packets, but with a plug-in you need to do it through
Subversion and the command line. I also needed to create a folder in
Application Support/Textmate called "PlugIns."
Now everything words as it should except:
Ical sync continues to create calendars, but not add to do items. I get this
error msg:
/Users/lawrencegoodman/Library/Application
Support/TextMate/Bundles/GTDAlt.tmbundle/Support/bin/gtdalt_ical_synchronization.scpt:
execution error: /Users/lawrencegoodman/Library/Application
Support/TextMate/Bundles/GTDAlt.tmbundle/Support/bin/get_lists.rb:5:in
`require': No such file to load -- ../lib/GTD.rb (LoadError)
from /Users/lawrencegoodman/Library/Application
Support/TextMate/Bundles/GTDAlt.tmbundle/Support/bin/get_lists.rb:5
(1)
Anyone know what this means?
Thanks for the help.
--
Lawrence Goodman
lawrencegoodman(a)gmail.com
Check out my blog: http://goodmanorama.blogspot.com
Strange behaviour of Bibliography Completion and Label From Document
commands accessed through option-esc. Description of the problem, and
workaround based on my correspondence with Charilaos (Harris) Skiadas
are below for archival purpose. Thanks Harris!
-- Working system
PowerPC G4, Mac OS X Version 10.4.8, TexMate Version 1.5.4 (1324),
TexLive Full Installation (2006/11/07) [Tex (based upon TeX Live)] /
MacTeX (10 November 2006)
-- Description of the problem
option-esc results in:
\footcite{sh: line 1: /usr/local/TeXLive/bin/i386-apple-darwin8.6.1/
kpsewhich: cannot execute binary file sh: line 1: /usr/local/teTeX/
bin/i386-apple-darwin8.6.1/kpsewhich: cannot execute binary file
cite_key}
\ref{sh: line 1: /usr/local/TeXLive/bin/i386-apple-darwin8.8.1/
kpsewhich: cannot execute binary file sec:section_name}
\ref{sh: line 1: /usr/local/TeXLive/bin/i386-apple-darwin8.8.1/
kpsewhich: cannot execute binary file fig:label_name}
TeXLive and MacTeX installations modify /etc/profile, and set the
path as:
PATH="$PATH:/usr/local/TeXLive/bin/powerpc-apple-darwin-current",
which is actually an alias for /usr/local/TeXLive/bin/powerpc-apple-
darwin7.9.0/.
The scripts of both commands use first `which kpsewhich`, and only if
that fails, `locate kpsewhich` to find out where kpsewhich lives.
Running the which kpsewhich command in the terminal returns:
/usr/local/TeXLive/bin/powerpc-apple-darwin-current/kpsewhich
Running the locate kpsewhich command in the terminal returns:
/usr/local/TeXLive/bin/i386-apple-darwin8.8.1/kpsewhich
/usr/local/TeXLive/bin/powerpc-apple-darwin7.9.0/kpsewhich
/usr/local/TeXLive/man/man1/kpsewhich.1
/usr/local/TeXLive/texmf.texlive/doc/man/man1/kpsewhich.1
The `which kpsewhich' command in both scripts fails -- according to
my humble opinion, due to the fact that what is finds is not the
actual file but an alias. Then `locate kpsewhich` points to the first
kpsewhich it finds on the system, which is an intel binary. Thus it
declares "[...] cannot execute binary file". (If you have the Basic
Installation of TeXLive, which does not come with intel binaries, it
will declare "[...] cannot find binary file".)
-- Workaround
Bibliograpyh Completion, and Label From Document commands are based
on the following scripts: LatexCitekeys.rb, and
LatexLabelCompletions.rb. Both of them live in /Applications/
TextMate.app/Contents/SharedSupport/Support/bin. Edit both scripts,
replacing the following loop -- lines 51-55, and 11-15, respectively:
if `which kpsewhich`.match(/^no kpsewhich/) then
kpsewhich = `locate kpsewhich`.split("\n").grep(/kpsewhich$/)[0]
else
kpsewhich = "kpsewhich"
end
with a statement indicating the correct path to the powerpc kpsewhich
binary.
kpsewhich = "/usr/local/TeXLive/bin/powerpc-apple-darwin-current/
kpsewhich"
or
kpsewhich = "/usr/local/TeXLive/bin/powerpc-apple-darwin7.9.0/kpsewhich"
should both work.
Check your /etc/profile or better run "echo $PATH" in the terminal to
confirm your path.
--
Özgür Gökmen | og(a)pyromedia.org
TextMate's zoom button (the green jewel in the title bar) maximizes
windows to the full screen. Great on my 12" PowerBook. Highly
annoying on my 24" iMac. I'd rather it maximize vertically only. This
behavior seems to vary across OS X applications (Safari only
maximizes vertically e.g.). Any chance there is a hidden preference?
Thanks,
j.
Great work on the bundle so far... though I'm currently having
trouble running the executable. When choosing Build & Run or just
Run, I get the following error:
/Library/Application Support/TextMate/Bundles/Xcode.tmbundle/Support/
bin/run_xcode_target.rb:175:in `run': undefined local variable or
method `file' for # (NameError) from /Library/Application Support/
TextMate/Bundles/Xcode.tmbundle/Support/bin/run_xcode_target.rb:
193:in `run' from /Library/Application Support/TextMate/Bundles/
Xcode.tmbundle/Support/bin/parse_build.rb:202 from /Library/
Application Support/TextMate/Bundles/Xcode.tmbundle/Support/bin/
format_build.rb:559