emacs handler

Enables emacs:// URL scheme on OSX

44
45
Objective-C

EmacsURLHandler for OSX

This application enables your emacs to open files via hyperlinks starts with emacs:// something like:

emacs://open/?url=file:///etc/passwd&line=10&column=2

This URL format is same as TextMate’s txmt: scheme described here

Requirements

  • Mac OS X (10.5 or 10.6)
  • Emacs

Download

EmacsHandler-1.0.zip (Universal Binary)

Installation

Download latest release.

Unzip it, and install it in your Applications directory.

Launch it and select EmacsHandler -> Preferences..., then following window will open.

EmacsHandler Preferences

Enter your emacsclient path and push apply button.

Test it

Open terminal and type:

open 'emacs://open/?url=file:///etc/hosts'

or just click this link

Uninstalling

Delete following:

/Applications/EmacsHandler.app
~/Library/Preferences/org.unknownplace.emacshandler.plist

Author

Daisuke Murase :@typester (github, twitter, CPAN, etc…)

License

BSD.