Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qiushihe/emacs-launcher
An OS X menubar app to conveniently manage Emacs in server/client mode and offers OS X integrations such as Drag'n Drop and "Open with ..." support.
https://github.com/qiushihe/emacs-launcher
Last synced: 27 days ago
JSON representation
An OS X menubar app to conveniently manage Emacs in server/client mode and offers OS X integrations such as Drag'n Drop and "Open with ..." support.
- Host: GitHub
- URL: https://github.com/qiushihe/emacs-launcher
- Owner: qiushihe
- Created: 2015-03-30T16:30:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-14T19:39:37.000Z (over 7 years ago)
- Last Synced: 2024-08-03T09:02:45.489Z (4 months ago)
- Language: Swift
- Homepage:
- Size: 9.08 MB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Mac-Menubar-Megalist - Emacs Launcher
README
# Emacs Launcher
![](https://raw.githubusercontent.com/qiushihe/emacs-launcher/master/Emacs%20Launcher/Images.xcassets/AppIcon.appiconset/App%20Iconw128.png)
_-- an OS X menubar app to conveniently manage Emacs in server/client mode and offers OS X integrations such as Drag'n Drop and "Open with ..." support._
[Download Emacs Launcher](https://github.com/qiushihe/emacs-launcher/raw/master/Emacs%20Launcher.app.zip)
[Download Emacs for OS X](http://emacsformacosx.com) if you haven't already ...
## Why?
Emacs launches slowly. Every time you run `emacs some.file` a new instance of Emacs is launched and it takes a _really long time_ to load all the scripts/plugins/etc. before you can actually edit the file.
There is a faster way to use Eamcs. Emacs can be used in server/client mode where the server only need to be launched once (via `emacs --daemon`) and each client can be launched pretty much instantly (via `emacsclient some.file`) and connect to the server to do the editing.
However, having to manually launch Emacs server/client in a terminal is tedious. More importantly, having to manually keep track of a running server in the terminal just isn't a very OS X way of doing things.
So in comes **Emacs launcher**, an OS X menubar app to conveniently manage Emacs in server/client mode and offers OS X integrations such as **Drag'n Drop** and **"Open with ..."** support.
## What does it do?
The way Emacs Launcher works is very simple. You can open files with Emacs Launcher by either ...
* Dragging'n Dropping onto the menubar icon; or ...
* Selecting "Open with ..." from Finder... and at which point Emacs Launcher will ...
1. Check if there is a running instance of Emacs in daemon mode, and if there isn't then launch one
2. Launch an instance of Emacs client to connect to the daemon from the previous stepReally? _"Ensure server is running before launching client to connect to server."_ That sounds like something that should be built into Emacs, if you ask me.
## Screen shots
And this is what Emacs Launcher looks like:
![](https://raw.githubusercontent.com/qiushihe/emacs-launcher/master/Screen%20Shot%201.png)
![](https://raw.githubusercontent.com/qiushihe/emacs-launcher/master/Screen%20Shot%202.png)
From the preferences window screenshots below you can see that Emacs Launcher comes with a few modern conveniences as well:
![](https://raw.githubusercontent.com/qiushihe/emacs-launcher/master/Screen%20Shot%203.png)
![](https://raw.githubusercontent.com/qiushihe/emacs-launcher/master/Screen%20Shot%204.png)
## Alternative
If graphical user interface is just not your thing but you still want the convenience of a managed Emacs server/client setup (i.e. the _Ensure server is running before launching client to connect to server_ part), you can use this handy shell script instead: https://github.com/qiushihe/dotpiles/blob/master/emacs-old/emacsl.sh. As an added bonus the shell script is comptiable with Emacs Launcher (i.e. they can start/stop/restart each other's server instance).
## TODO
* Automically detect the presence of Emacs.app from common locations
* Show preferences windows's "Emacs" tab when auto detection of Emacs location fails## Disclaimers
Emacs Launcher has been quite thoroughly tested _on my computers_ which run OS X 10.10 and Emacs from here: http://emacsformacosx.com. so it's entirely possible that it won't work well in other environments.