TextMate News

Anything vaguely related to TextMate and macOS.

Leopard Issues

This post is meant to clarify a few Leopard related issues.

Quick Look

Quick Look is the technology which allows you to preview your files in the Finder. Some assume that because they see a TextMate document icon for a file type, it is TextMate’s responsibility to “make it work” for that file type, so let me clarify.

The way the system works is by having Quick Look generators be able to generate the preview for a specific file type. By default there is such a generator for Text, more specifically public.plain-text.

The reason this is not used for «your file type» is that the system does not know that «your file type» conforms to public.plain-text.

The way the system learns about file types is by looking in the Info.plist of the installed applications. So ideally TextMate would contain info to educate the system about the file types you use with TextMate. Adam R. Maxwell posted a small utility to update TextMate’s Info.plist with the document types assigned to TextMate (and declare them public.plain-text). There is also a MacOSX hint about updating TeXShop to contain UTI info about LaTeX.

Naturally it should not fall upon the user to manage all the type information. The reason that I haven’t added UTI info to TextMate yet is twofold, 1) it is a major cataloging work adding proper type info for all the types TextMate currently claims to support (there are more than 100 different extensions in the current Info.plist) and 2) the proper type info means having markup languages conform to public.text not public.plain-text, and so, would actually not be handled by the Quick Look generator for Text (I wrote a longer post about this).

Spaces

I have received a lot of bug reports related to how windows act in Spaces, how they can or cannot be moved between spaces, etc. Generally though this is outside the domain of a user application and bug/enhancement reports should be entered into Apple’s Bug Tracker.

There is one item which might be up for debate, namely that re-opening a window (like the Find window) opens in the last space where that window was used. Now again, the concept of spaces is unknown to user applications, so there is no way TextMate can explicitly tell the system which space that window should open in.

Update: Joe Ranieri informs me that there actually is API for this. An update will be out soon where the Find window does follow the active space.

The reason e.g. TextEdit does not show the same problem (for the Find window) is that TextEdit will re-create the window when it is needed, and creating a new window will have it open in the current space, where re-opening a window, has it stick to the space where it was last open in. That is, unless the window is a utility window, as Thomas Aylott explains in his tip on how to make Safari’s download window follow the active space.

You could argue that TextMate thus should re-create rather than re-use its Find window to be a better fit for the current semantics of Spaces, but for now I am waiting to see if Apple doesn’t change this behavior, since following the active space is really what you want for all windows, and switching to re-creating windows, rather than re-opening, is not flipping a switch, since you generally want to preserve the state of the window when re-opening it, e.g. open Preferences, switch to the non-default page, give focus to some control, now close and re-open the window, if the application was to dispose and re-create the window, this state would be lost (and AHIG says it should be kept).

Detached Drawer

After the release of Leopard I had a handful of reports of a detached drawer. Florian Gilcher though says he also saw this on Tiger and mentions that it is likely to happen in relation to switching monitor setup, so it might just have been a fluke, that the number of reported incidents rose, or it might be, that this problem is more prevalent on Leopard.

There has previously been reported problems related to switching monitor setup (i.e. going from two → one attached monitor) and window behavior.

Like with Spaces, for regular applications that do not mess with low-level window stuff, these problems are rarely caused by the application itself.

The mate Shell Command

Two problems commonly reported after upgrading to Leopard are:

  1. I lost the mate shell command, how do I get it back?

    The answer here is to select Terminal Usage… from the Help menu.

  2. I get this error: mate: failed to establish connection with TextMate.

    The shell command uses Distributed Objects to talk with TextMate. For reasons unknown to me, Leopard’s version of screen makes clients unable to connect to the server. Andre Arko found that if you install screen from MacPorts, the problem goes away.

Key Bindings

Page Up/Down Weirdness

A couple of users reported that page up/down behaved really weird. The solution was to delete ~/Library/Preferences/.GlobalPreferences.plist. This file holds a minimal number of global settings, you can open the file in TextMate and press ⌃⇧H to inspect these before you zap the file.

No Gear Menu on Control-Escape (⌃⎋)

This is caused by having enabled Screen Sharing or Remote Management in System Preferences → Sharing. This was also a problem under Tiger (with Apple Remote Desktop), but now that ARD is built-in, it is more prevalent. I am not sure why ARD needs to intercept this key combination.

Speaking of the gear menu, the items with tab triggers are using a larger font than regular items — I am aware of this, but haven’t looked into it yet.

KeyBindings.dict Entries not Working

When you press a key the generated event is first passed to the menu system and then later the control with focus (i.e. the text editing area in TextMate). It is the latter which resolve keys based on your custom key bindings, where the former will resolve keys based on the key equivalents given to the menu items.

In Tiger the menu system would only resolve key equivalents for menu items with the ⌘ modifier. In Leopard it also handles those without this modifier, so if you have bound ⌃T to some action in your key bindings file, in Tiger that action would be executed, but in Leopard the menu system will see that Text → Convert → Transpose has ⌃T as key equivalent and so will execute that menu item.

To work around this you need to assign another key equivalent (using System Preferences → Keyboard & Mouse) to the menu item which eclipse your custom key binding.

Font Issues

In the past when people experienced broken rendering the tip was to reset the font cache. With Leopard this is slightly more involved.

categories General

46 Comments

Yay me, I’m famous! ;)

I’ll have to update my GUI replacement to convert the find panels to Utility windows. Seems to work pretty well for me.

Are we, by any chance, going to see a proper TextMate Quick Look plugin that will preview source files with TM’s syntax highlighting applied?

11 November 2007

by Clark Cox

Have you filed a bug with Apple about the screen/mate/DO issue?

In terms of the find dialog - what’s wrong with [NSWindow setCollectionBehavior:NSWindowCollectionBehaviorCanJoinAllSpaces]? I haven’t tried it but it sounds like it should work…

The Mate command works OK for me after upgrading. Although I have MacPorts installed, I’m using /usr/bin/screen not a version from MacPorts.

11 November 2007

by Jason Cater

I think you meant remove ~/Library/Preferences/.GlobalPreferences.plist, and not ~/Library/Preferences/.GlobalSettings?

rubyruy: I doubt I will get around to writing Quick Look plug-ins anytime soon.

Clark Cox: No, and if you are bothered by this, please file a bug report. I do have it on my list of things I should report, but the only reason to have me file it would be because I can provide sample code, though that takes time, thus it ends on the to-do…

Joe Ranieri: Oh, that indeed looks like what is needed (I wonder why this is not default) — unfortunately a quick test was not possible, since I had to switch to the 10.5 SDK for the definitions, but that introduced a few problems… Will look into it later.

Jason Cater: Indeed, thanks.

12 November 2007

by Adam Maxwell

I saw your message to the list, and certainly agree that kUTTypePlainText isn’t correct for all of those types. That’s why I classify my tool as a hack. However, I think you could also argue that TeX documents conform to kUTTypeSourceCode, since they’re compiled, and kUTTypeSourceCode descends directly from kUTTypePlainText.

For my immediate needs, the conformance hierarchy doesn’t matter. By declaring that they conform to kUTTypePlainText, I get Spotlight import and Quick Look for TeX files and ANTLR grammars, among others. Since the UTIs are described with UTImportedTypeDeclarations in my hack, the system-provided UTI for .html (for instance) should still win out and give WebKit rendering.

FYI, I noticed random drawer issues in Tiger with You Control Desktops, too, a 3rd party virtual desktop app. Interestingly, You Control Desktops and Spaces can both be running at the same time in Leopard and understand each other (e.g. Spaces picks up the exact same desktop organization setup by YCD), so it is possible they are using similar tricks, and both may trigger that same drawer issue from time to time.

You could not be blamed for not using NSWindowCollectionBehaviorCanJoinAllSpaces yet, when even Apple’s apps are not!! e.g. Xcode help window, Safari downloads,etc…

Hey! I’ve upgraded to 10.5 (upgrade, mind you) and haven’t had any issues. Dunno why :)

12 November 2007

by Clark Cox

That’s perfectly understandable. When you get around to filing it yourself, it’ll likely get duped to mine, but any sample code illustrating the problem will certainly be helpful.

12 November 2007

by Tim Buchheim

I’m pretty sure that the screen problem is intentional. My guess is that screen is creating a new mach bootstrap context.

This is actually a good idea, because a screen session may outlast a GUI login session. (You could start screen, suspend it, log out of the GUI, ssh in from a different machine, resume screen, etc)

So from a Mach perspective, it doesn’t make sense for screen to be associated with that login session. While the MacPorts version of screen will seem to work, if you log out of the GUI and log back in, then stuff running under screen will break (because screen will be talking to what is now a “deactivated” Mach bootstrap session). The newly-updated version of Tech Note 2083 contains a lot of useful info about Mach bootstrap sessions and the changes made between 10.4 and 10.5.

When Textmate will gone with 1024px icon?

[…] It’s user base is largely technical and the developer is aware of who their audience is. A recent blog post describes known issues with TextMate in Leopard. It describes the issues from an implementation […]

13 November 2007

by Noah Aboussafy

Thank you for staying on top of all the Leopard weirdness and thanks for keeping us all up to date.

Commenting on the dialogs not showing up on the right space - [NSWindow setCollectionBehavior:NSWindowCollectionBehaviorCanJoinAllSpaces] doesn’t do what you want, that makes the window stick on every space. You need to make sure the window gets recreated when it’s shown (instead of just a hide/show) - otherwise it will still be attached to whatever space it was created on, and will become visible there when you try to show it.

16 November 2007

by nick hoare

occassionly the macbook starts up with caps button and f6 lit up if i uncheck them the reverse happens capital letters as standard plus the keypad numbers work ??

Regarding the page up/down weirdness, I think I’ve found the true cause of this problem. If smooth scrolling is enabled in System Preferences (in Appearance), page up/down acts weirdly. Turn it off, and page up/down work fine.

Zapping ~/Library/Preferences/.GlobalPreferences.plist works because the system defaults to smooth scrolling off, and that preference is stored in that file.

I’ve also been having with using different language inputs. I try to type in Japanese, but it’s buggy and works nothing like it should, like in say Text Edit.

I have a big problem with TextMate, Leopard and Fonts. The space between the characters is different, to small to width. It is very difficult to view…

I cleared the font cache. But nothing happens..

Is this a known problem?

Gerald Pitschek: TextMate works only with fixed width fonts. Try select Monaco as font (should be the default).

Erik Scrafford: I am now setting NSWindowCollectionBehaviorMoveToActiveSpace — from the description, this should do the proper thing, unfortunately it seems to be slightly buggy, as it more or less consistently open in the wrong space, but pressing ⌘F again, moves it to the active one.

I filed a bug report on this, so hopefully we’ll soon see a 10.5.2 with this fixed…

I think I have windows popping up the way they ought to for me now. The first comment I made only works with the first window of the app; obviously your find window (and the next window I worked on) don’t fit that case. Using NSWindowCollectionBehaviorMoveToActiveSpace, I sometimes get odd results - sometimes when switching back to the app, it makes those windows move the the active space (as one would think from the docs), other times it doesn’t. In my case I didn’t want it moving after popping up the first time. What I have working now is to set the window to either NSWindowCollectionBehaviorCanJoinAllSpaces or NSWindowCollectionBehaviorMoveToActiveSpace right before it’s displayed, and as soon as it’s displayed (windowDidBecomeMain:), set it back to NSWindowCollectionBehaviorDefault.

23 November 2007

by Dan Kelley

A note to fellow TM users: make sure you back up before you try to install Leopard. This week, I tried to install Leopard on a G5 desktop machine, and it damaged my machine to the point where it would no longer boot. I took it to the local mac repair shop and was told that my hard disk had been so damaged during the installation that no files could be recovered. Later, I was told that there was a chance of recovering some files, but that they would not have proper file names or directory structure. A few hours later, the technician report that my machine had come back to life all by itself, and that the file system seemed to be fine.

I am not sure what this is going to cost, but my guess is about half the price of a non-Macintosh laptop.

A bit of googling told me that problems have been reported with Leopard since a few hours after its release (http://discussions.apple.com/thread.jspa?threadID=1195031&tstart=15). I asked around locally, and everyone had either had a system trashed by Leopard, or who had a friend with a system that had been trashed.

Leopard may be a beautiful cat, but it’s a dangerous one. Back up first, or you’ll be back on linux and wondering why nothing feels quite as nice as TextMate.

There is another solution for fixing mate command here:

http://northstarlabs.net/2007/11/01/textmate-on-leopard-command-line-tool-fix/

Basically you make an alias for you shell.

03 December 2007

by Artemio González-López

I have installed the latest TextMate (1.5.7 (1436)) and Skim (1.0RC2 (v17)) and have the following two problems with pdfsync in the LaTeX bundle:

1) After the tex document is typeset in TextMate (“Typeset & View”, command-R), the pdf file is updated in Skim, but the Skim window is not brought to the forefront.

2) When I try to get to a point in the pdf file in Skim from the corresponding point in the source file in TextMate (“Show in PDF viewer (pdfsync)”) nothing happens.

Does anybody have a fix/workaround for this?

Cheers,

Artemio

P.S. I’m running Leopard (10.5.1)

Ever since upgrading to Leopard, I can’t use some of the features in the blogging bundle. Specifically, when I try to get the list of categories (cat + tab), I get the following error:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:54:in open': execution expired (Timeout::Error) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:564:inconnect’ from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:56:in timeout' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:76:intimeout’ from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:564:in connect' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:557:indo_start’ from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:546:in start' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:1044:inrequest’ from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:1001:in post2' ... 7 levels... from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/progress.rb:43:incall_with_progress’ from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:17:in dialog' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/progress.rb:40:incall_with_progress’ from /tmp/temp_textmate.9lp4Vk:46

Similarly, when I’m trying to upload a picture:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:54:in /bin/bash: -c: line 0: unexpected EOF while looking for matching '' /bin/bash: -c: line 2: syntax error: unexpected end of fileconnect' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:56:in /bin/bash: -c: line 0: unexpected EOF while looking for matching’’ /bin/bash: -c: line 2: syntax error: unexpected end of filetimeout’ from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:564:in /bin/bash: -c: line 0: unexpected EOF while looking for matching '' /bin/bash: -c: line 2: syntax error: unexpected end of filedo_start' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:546:in /bin/bash: -c: line 0: unexpected EOF while looking for matching’’ /bin/bash: -c: line 2: syntax error: unexpected end of filerequest’ from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:1001:in /bin/bash: -c: line 0: unexpected EOF while looking for matching '' /bin/bash: -c: line 3: syntax error: unexpected end of filedialog' from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/progress.rb:40:in /bin/bash: -c: line 0: unexpected EOF while looking for matching’’ /bin/bash: -c: line 2: syntax error: unexpected end of fileupload_image’ from /tmp/temp_textmate.CbNHKA:3

And similarly when I try to make a blog post entry, I get an error in the tooltip.

Was working perfectly well under Tiger. Darn, I want my blogging bundle back! :)

I’m seeing TM crash often under Leopard. Thought I’d see similar comments here, but no. Am I the only one?

FWIW, I use a portable home (PDH) against OS X Server, and spend most of my time editing files on an AFP share on another server.

Suggestions?

Scot Hacker: I use TextMate for >8hrs/day and haven’t had a single crash.

Newest Rev iMac, 2.4ghz, 2gb, 250gb hdd, fresh install, fully updated, newest TextMate.

Ryan - So at this point I’m assuming I’m seeing some kind of issue related either to working from a PDH or to editing over AFP. Anyone else out there working in that environment?

Hope it’s OK to post crashreporter logs here. This is what I’m seeing:

Process: TextMate [2268] Path: /Applications/TextMate.app/Contents/MacOS/TextMate Identifier: com.macromates.textmate Version: 1.5.7 (1436) Code Type: X86 (Native) Parent Process: launchd [127]

Date/Time: 2008-01-18 12:02:03.929 -0800 OS Version: Mac OS X 10.5.1 (9B18) Report Version: 6

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c0000023 Crashed Thread: 0

Thread 0 Crashed: 0 libobjc.A.dylib 0x93fcd6e8 objc_msgSend + 24 1 com.apple.Foundation 0x94f36ef9 +[NSTimer(NSTimer) scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:] + 153 2 com.macromates.textmate 0x000d39de -[OakTextView(StyleSheet) updateFunctionPopUp:] + 168 3 com.macromates.textmate 0x0009fd0e view_will_change::~view_will_change() + 8900 4 com.macromates.textmate 0x000a27b8 -[OakTextView applicationDidBecomeActiveNotification:] + 70 5 com.apple.Foundation 0x94f1877c _nsnote_callback + 364 6 com.apple.CoreFoundation 0x9253ea4a __CFXNotificationPost + 362 7 com.apple.CoreFoundation 0x9253ed23 _CFXNotificationPostNotification + 179 8 com.apple.Foundation 0x94f15a70 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128 9 com.apple.Foundation 0x94f1f108 -[NSNotificationCenter postNotificationName:object:] + 56 10 com.apple.AppKit 0x90f556da -[NSApplication sendEvent:] + 1916 11 com.macromates.textmate 0x00004105 -[OakApplication sendEvent:] + 147 12 com.apple.AppKit 0x90eb3705 -[NSApplication run] + 847 13 com.apple.AppKit 0x90e809ba NSApplicationMain + 574 14 com.macromates.textmate 0x00003092 _start + 216 15 com.macromates.textmate 0x00002fb9 start + 41

Thread 1: 0 libSystem.B.dylib 0x9647492e semaphore_wait_signal_trap + 10 1 libSystem.B.dylib 0x964a61e6 _pthread_cond_wait + 1267 2 libSystem.B.dylib 0x964ebc4b pthread_cond_wait + 48 3 com.macromates.textmate 0x000f817f text::view::tokenize_filter::actual_worker() + 397 4 com.macromates.textmate 0x000e92a9 text::view::tokenize_filter::worker(void*) + 17 5 libSystem.B.dylib 0x964a5075 _pthread_start + 321 6 libSystem.B.dylib 0x964a4f32 thread_start + 34

Thread 2: 0 libSystem.B.dylib 0x964748e6 mach_msg_trap + 10 1 libSystem.B.dylib 0x9647c0dc mach_msg + 72 2 com.apple.CoreFoundation 0x9255d0fe CFRunLoopRunSpecific + 1806 3 com.apple.CoreFoundation 0x9255dd38 CFRunLoopRunInMode + 88 4 com.apple.Foundation 0x94f7c560 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 320 5 com.apple.Foundation 0x94f1904d -[NSThread main] + 45 6 com.apple.Foundation 0x94f18bf4 NSThread__main + 308 7 libSystem.B.dylib 0x964a5075 _pthread_start + 321 8 libSystem.B.dylib 0x964a4f32 thread_start + 34

Thread 3: 0 libSystem.B.dylib 0x964c3f5a select$DARWIN_EXTSN + 10 1 libSystem.B.dylib 0x964a5075 _pthread_start + 321 2 libSystem.B.dylib 0x964a4f32 thread_start + 34

Thread 4: 0 libSystem.B.dylib 0x964748e6 mach_msg_trap + 10 1 libSystem.B.dylib 0x9647c0dc mach_msg + 72 2 com.apple.CoreFoundation 0x9255d0fe CFRunLoopRunSpecific + 1806 3 com.apple.CoreFoundation 0x9255dd38 CFRunLoopRunInMode + 88 4 com.apple.CFNetwork 0x90ca97ba CFURLCacheWorkerThread(void*) + 396 5 libSystem.B.dylib 0x964a5075 _pthread_start + 321 6 libSystem.B.dylib 0x964a4f32 thread_start + 34

Thread 5: 0 libSystem.B.dylib 0x96474946 semaphore_timedwait_signal_trap + 10 1 libSystem.B.dylib 0x964a61cf _pthread_cond_wait + 1244 2 libSystem.B.dylib 0x964a7a53 pthread_cond_timedwait_relative_np + 47 3 com.apple.Foundation 0x94f5ef9c -[NSCondition waitUntilDate:] + 236 4 com.apple.Foundation 0x94f5edb0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144 5 com.apple.Foundation 0x94f5ed15 -[NSConditionLock lockWhenCondition:] + 69 6 com.apple.AppKit 0x90f20c19 -[NSUIHeartBeat _heartBeatThread:] + 746 7 com.apple.Foundation 0x94f1904d -[NSThread main] + 45 8 com.apple.Foundation 0x94f18bf4 NSThread__main + 308 9 libSystem.B.dylib 0x964a5075 _pthread_start + 321 10 libSystem.B.dylib 0x964a4f32 thread_start + 34

Thread 6: 0 libSystem.B.dylib 0x9647492e semaphore_wait_signal_trap + 10 1 libSystem.B.dylib 0x964a61e6 _pthread_cond_wait + 1267 2 libSystem.B.dylib 0x964ebc4b pthread_cond_wait + 48 3 com.macromates.textmate 0x000f817f text::view::tokenize_filter::actual_worker() + 397 4 com.macromates.textmate 0x000e92a9 text::view::tokenize_filter::worker(void*) + 17 5 libSystem.B.dylib 0x964a5075 _pthread_start + 321 6 libSystem.B.dylib 0x964a4f32 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit): eax: 0x0d8c6900 ebx: 0x94f3704b ecx: 0x9407f574 edx: 0xc0000003 edi: 0x0db1dae0 esi: 0x00000000 ebp: 0xbfffeed8 esp: 0xbfffee58 ss: 0x0000001f efl: 0x00010206 eip: 0x93fcd6e8 cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0xc0000023

Binary Images: 0x1000 - 0x1eefe0 +com.macromates.textmate 1.5.7 (1436) /Applications/TextMate.app/Contents/MacOS/TextMate 0x335000 - 0x336fff +com.1passwd.InputManager 2.5.8 (5968) /Library/InputManagers/1PasswdIM/1PasswdIM.bundle/Contents/MacOS/1PasswdIM 0x361000 - 0x367fff com.apple.URLMount.AFPPlugin 3.1 (3.1) /System/Library/Filesystems/URLMount/afp.URLMounter/Contents/MacOS/afp 0x3bd000 - 0x3bffff +sh.ciaranwal.quicklook-tm ??? (1.0) /Users/shacker/Library/Application Support/TextMate/PlugIns/QuicklookTM.tmplugin/Contents/MacOS/QuicklookTM 0x3c4000 - 0x3caff0 +com.macromates.dialog_plug-in ??? (1.0) /Applications/TextMate.app/Contents/PlugIns/Dialog.tmplugin/Contents/MacOS/Dialog 0xd359000 - 0xd363ffe com.apple.URLMount 3.1 (3.1) /System/Library/PrivateFrameworks/URLMount.framework/URLMount 0xd392000 - 0xd397fff libFontStreams.A.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libFontStreams.A.dylib 0xd3de000 - 0xd3e8ffc com.apple.framework.AppleTalk 1.2.0 (???) /System/Library/Frameworks/AppleTalk.framework/Versions/A/AppleTalk 0xd527000 - 0xd543fe7 libPDFRIP.A.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib 0xd551000 - 0xd590fff com.apple.AppleShareClientCore 1.6 (1.6) /System/Library/Frameworks/AppleShareClientCore.framework/Versions/A/AppleShareClientCore 0xd6fa000 - 0xd7e0ff7 com.apple.RawCamera.bundle 2.0 (2.0) /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera 0x8fe00000 - 0x8fe2d883 dyld 95.3 (???) /usr/lib/dyld 0x90003000 - 0x90003ff8 com.apple.Cocoa 6.5 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x90004000 - 0x9030afff com.apple.HIToolbox 1.5.0 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x9030b000 - 0x90329fff libresolv.9.dylib ??? (???) /usr/lib/libresolv.9.dylib 0x904cb000 - 0x90555fff com.apple.framework.IOKit 1.5.1 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x90556000 - 0x90590ff7 com.apple.coreui 0.1 (60) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI 0x90591000 - 0x90592fef libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib 0x90593000 - 0x905edff7 com.apple.CoreText 2.0.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText 0x90644000 - 0x90668fff libxslt.1.dylib ??? (???) /usr/lib/libxslt.1.dylib 0x9075c000 - 0x9077bffa libJPEG.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib 0x9077c000 - 0x907a0feb libssl.0.9.7.dylib ??? (???) /usr/lib/libssl.0.9.7.dylib 0x907b9000 - 0x907cffff com.apple.DictionaryServices 1.0.0 (1.0.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices 0x90c9e000 - 0x90d15fe3 com.apple.CFNetwork 220 (221) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x90d16000 - 0x90d1bfff com.apple.backup.framework 1.0 (1.0) /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup 0x90d1c000 - 0x90d25fff com.apple.speech.recognition.framework 3.7.24 (3.7.24) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition 0x90d26000 - 0x90d26ff8 com.apple.ApplicationServices 34 (34) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x90d27000 - 0x90d27fff com.apple.Carbon 136 (136) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x90d28000 - 0x90d6afef com.apple.NavigationServices 3.5.1 (161) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices 0x90d6b000 - 0x90d76fe7 libCSync.A.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x90d77000 - 0x90debfef libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x90e31000 - 0x90e3bfeb com.apple.audio.SoundManager 3.9.2 (3.9.2) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound 0x90e3c000 - 0x90e79ff7 libGLImage.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x90e7a000 - 0x91674fef com.apple.AppKit 6.5 (949) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x916db000 - 0x916eafff libsasl2.2.dylib ??? (???) /usr/lib/libsasl2.2.dylib 0x916eb000 - 0x916f9ffd libz.1.dylib ??? (???) /usr/lib/libz.1.dylib 0x916fa000 - 0x91774ff8 com.apple.print.framework.PrintCore 5.5 (245) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x91775000 - 0x918baff7 com.apple.ImageIO.framework 2.0.0 (2.0.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO 0x918bb000 - 0x918bbffb com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallServer 0x918bc000 - 0x91987fff com.apple.ColorSync 4.5.0 (4.5.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync 0x91988000 - 0x91e54ffe libGLProgrammability.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib 0x91fac000 - 0x92053fff com.apple.QD 3.11.50 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0x92054000 - 0x920adfff libGLU.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x920ae000 - 0x920aeffd com.apple.Accelerate 1.4 (Accelerate 1.4) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x92388000 - 0x923b2fef libauto.dylib ??? (???) /usr/lib/libauto.dylib 0x92401000 - 0x92402ffc libffi.dylib ??? (???) /usr/lib/libffi.dylib 0x92403000 - 0x924b3fff edu.mit.Kerberos 6.0.11 (6.0.11) /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos 0x924eb000 - 0x9261dfe7 com.apple.CoreFoundation 6.5 (476) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x9261e000 - 0x9264bfeb libvDSP.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x926bb000 - 0x926fafef libTIFF.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x926fb000 - 0x92713fff com.apple.openscripting 1.2.6 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting 0x92744000 - 0x92749fff com.apple.CommonPanels 1.2.4 (85) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x9274b000 - 0x9278cfe7 libRIP.A.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0x9278d000 - 0x927abff3 com.apple.DirectoryService.Framework 3.5 (3.5) /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService 0x927ac000 - 0x92873ff2 com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x92874000 - 0x92a3dfef com.apple.security 5.0.1 (32736) /System/Library/Frameworks/Security.framework/Versions/A/Security 0x92a41000 - 0x92af7fe3 com.apple.CoreServices.OSServices 210.2 (210.2) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x92b02000 - 0x92b02ffc com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x92b03000 - 0x92b96fff com.apple.ink.framework 101.3 (86) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink 0x92b97000 - 0x930adfff com.apple.WebCore 5523.10.6 (5523.10.6) /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore 0x930ae000 - 0x930b2fff libGIF.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib 0x930b3000 - 0x930baff7 libCGATS.A.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib 0x930bb000 - 0x93752fef com.apple.CoreGraphics 1.351.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x93753000 - 0x93769fe7 com.apple.CoreVideo 1.5.0 (1.5.0) /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x9376a000 - 0x9376cfff com.apple.securityhi 3.0 (30817) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI 0x9376d000 - 0x937e9feb com.apple.audio.CoreAudio 3.1.0 (3.1) /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x937ea000 - 0x937ecff5 libRadiance.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x938e2000 - 0x93ca0fea libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x93ca1000 - 0x93cacff9 com.apple.helpdata 1.0 (14) /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData 0x93cad000 - 0x93d5fffb libcrypto.0.9.7.dylib ??? (???) /usr/lib/libcrypto.0.9.7.dylib 0x93d60000 - 0x93d6dfe7 com.apple.opengl 1.5.5 (1.5.5) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x93d6e000 - 0x93d75fe9 libgcc_s.1.dylib ??? (???) /usr/lib/libgcc_s.1.dylib 0x93d76000 - 0x93e57ff7 libxml2.2.dylib ??? (???) /usr/lib/libxml2.2.dylib 0x93e58000 - 0x93f90ff7 libicucore.A.dylib ??? (???) /usr/lib/libicucore.A.dylib 0x93f91000 - 0x93fb8fff libcups.2.dylib ??? (???) /usr/lib/libcups.2.dylib 0x93fb9000 - 0x94098fff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib 0x94099000 - 0x940c8fe3 com.apple.AE 402 (402) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x940c9000 - 0x940d0ffe libbsm.dylib ??? (???) /usr/lib/libbsm.dylib 0x9413e000 - 0x94144fff com.apple.print.framework.Print 218 (220) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x94145000 - 0x941a1ff7 com.apple.htmlrendering 68 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering 0x941a2000 - 0x945b2fef libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x945b4000 - 0x94640ff7 com.apple.LaunchServices 286 (286) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x94641000 - 0x94650ffe com.apple.DSObjCWrappers.Framework 1.2 (1.2) /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWrappers 0x94651000 - 0x949e7ff7 com.apple.QuartzCore 1.5.1 (1.5.1) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x949e8000 - 0x949e8ffa com.apple.CoreServices 32 (32) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x94a68000 - 0x94be6fff com.apple.AddressBook.framework 4.1 (687) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook 0x94be7000 - 0x94bf7fff com.apple.speech.synthesis.framework 3.6.59 (3.6.59) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x94c35000 - 0x94f0efe7 com.apple.CoreServices.CarbonCore 783 (783) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x94f0f000 - 0x95188fe7 com.apple.Foundation 6.5.1 (677.1) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x95189000 - 0x951e6ffb libstdc++.6.dylib ??? (???) /usr/lib/libstdc++.6.dylib 0x95347000 - 0x953f0fff com.apple.JavaScriptCore 5523.10.3 (5523.10.3) /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore 0x953f1000 - 0x954a0fff com.apple.DesktopServices 1.4.3 (1.4.3) /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x954a1000 - 0x954c9ff7 com.apple.shortcut 1 (1.0) /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut 0x96361000 - 0x96364fff com.apple.help 1.1 (36) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help 0x96365000 - 0x96379ff3 com.apple.ImageCapture 4.0 (5.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture 0x9637d000 - 0x963c2fef com.apple.Metadata 10.5.0 (398) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x963c3000 - 0x96442ff5 com.apple.SearchKit 1.2.0 (1.2.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x96474000 - 0x965cefe3 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib 0x965cf000 - 0x96661ff3 com.apple.ApplicationServices.ATS 3.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS 0x96662000 - 0x96698fff com.apple.SystemConfiguration 1.9.0 (1.9.0) /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x9680e000 - 0x9680effd com.apple.vecLib 3.4 (vecLib 3.4) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x96841000 - 0x9684dff5 libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x9684e000 - 0x96856fff com.apple.DiskArbitration 2.2 (2.2) /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x96857000 - 0x96872ffb libPng.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x96873000 - 0x968c3ff7 com.apple.HIServices 1.6.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x968c4000 - 0x968f6fff com.apple.LDAPFramework 1.4.3 (106) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP 0x968f7000 - 0x96907ffc com.apple.LangAnalysis 1.6.4 (1.6.4) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x96908000 - 0x9698fff7 libsqlite3.0.dylib ??? (???) /usr/lib/libsqlite3.0.dylib 0x969ad000 - 0x96a68fe3 com.apple.WebKit 5523.10.6 (5523.10.6) /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit 0x96a9e000 - 0x96bc2fe3 com.apple.audio.toolbox.AudioToolbox 1.5 (1.5) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x96bc3000 - 0x96ca7ffb com.apple.CoreData 100 (185) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData 0x96ca8000 - 0x96ca8ffd com.apple.Accelerate.vecLib 3.4 (vecLib 3.4) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0xba900000 - 0xba916fff libJapaneseConverter.dylib ??? (???) /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib 0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib 0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

21 January 2008

by llachlan

Okay, I give up. I was happily using TextMate to do my latexing and then hitting apple-R to typset, then I got an update of Textmate that broke it.

It keeps telling me that it can’t find pdflatex, and that I need to install latex. However I can command line compile just fine.

I would like nice clear, only mildly geek-heavy instructions on how exactly to correct this. I liked the default viewer in TextMate, I liked adding tex then hitting apple-R. When I use Skim, I get a typeset, but I also get a .tex file with nothing in it. I dislike having to write tex, switch to terminal, run my make file, switch to a viewer, then back to the .tex file.

Thanks, Llachlan

For the archives: The crash above was caused by the QuickLookTM plugin. Removing it got TM working again. Possible that a more recent version of the plugin would be more stable - haven’t tried that yet.

Installing screen from Fink to fix the “mate” from a shell problem works as well (fink install screen).

04 February 2008

by Anonymous

Rather than changing screen, this seems to meet my bin/mate needs:

alias mate=’open -a /Applications/TextMate.app/’

Thanks for the KeyBindings.dict workaround - this post saved me some time!

02 April 2008

by Sam Pierson

Regarding this:

Update: Joe Ranieri informs me that there actually is API for this. An update will be out soon where the Find window does follow the active space.

When is this update going to be released, and when will TextMate work flawlessly with Spaces? - what I want is different mate windows running in different Spaces, e.g. not all swarm to the same Space.

Sam: Switch to cutting edge in Preferences → Software Update.

As for this API, all it does is allow me to set a flag for each window which tells Spaces that the window shall re-open on the active space, rather than the one where it was last used (the default).

[…] 一応、Leopard 対策が出ていることは出ているんですが、やっぱりうまく動かない部分も出ちゃったりする訳で。 CJK は後回しでもイイから、取りあえず、for Leopard を。 […]

thank you

13 June 2008

by robert

what is the status with Leopard and editing in textMate? I am reading something about the InputManagers… will or won’t work. Let’s keep this app around.

thanks

robert: See input managers under Leopard and how Safari 3.1 cripples Edit in TextMate.

Other than that, things are fine (wrote this comment via the input manager :) ).

What is the status with smooth-scrolling support in Leopard? Admittedly I am not a hard-core user of Textmate, but this feature is pretty important to me. I rely on it in Safari, so I am not really interested in switching off the global preference in ‘Appearance’ System Preference as outlined above, nor nuking the .prefs file as suggested. My use of Textmate is much diminished as a result and I have gone back to using emacs for serious editing.

Any updates regarding textmate in leopard’s spaces? It’s still a problem. All my textmate windows cluster together on one space, and I’m constantly chasing around the find window across spaces..

Ryan: Try upgrade to the cutting edge builds.