Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (39 sloc) 1.928 kB
<html>
<head><title>Edit with Emacs</title></head>
<script type="text/javascript" src="options.js"></script>
<body onload="restore_options()">
For Edit with Emacs to work you need to be running an "edit server" on
your local machine. This is because extensions in Chrome(ium) cannot
directly start new programs. For Emacs users it is recommended you use the use supplied native
<a href="servers/edit-server.el">edit-server.el</a>.
<p>
Save the file to somewhere visible to your your Emacs <code>load-path</code> and add the following to your <code>.emacs</code>:
<pre>
(require 'edit-server)
(edit-server-start)
</pre>
For details about how to customise and control the behavior of the edit server please see <a href="http://www.emacswiki.org/emacs/Edit_with_Emacs">page on the Emacs Wiki</a>.
<p>
If for some reason you don't want to use Emacs you have a couple of other options available.
<ul>
<li>
Other servers at the <a href="http://github.com/stsquad/emacs_chrome/tree/master/servers/">project site</a>
</li>
<li><a href="https://chrome.google.com/extensions/detail/ppoadiihggafnhokfkpphojggcdigllp">TextAid</a>'s Edit Server can be found <a href="http://opencoder.net/edit-server">here</a>.
</li>
</ul>
Other edit servers may well exist, please let me know at the project web site.
<p>
<hr>
Edit Server @ 127.0.0.1:
<input id="port" type="text" name="port"><em>default: <code>9292</code></em><br>
Show "edit" button next to textarea: <input id="editbutton" type="checkbox" name="editbutton"><br>
Allow double click on textarea to invoke editor: <input id="dblclick" type="checkbox" name="dblclick"><br>
Enable Alt-E Keyboard shortcut to invoke editor: <input id="keyshort" type="checkbox" name="keyshort"><br>
<div id="status"></div>
<button onclick="save_options()">Save</button>
<hr>
<button onclick="test_server()">Test Edit Server</button>
<div id="server_status"></div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.