<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikemacs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=213.162.102.177</id>
	<title>WikEmacs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wikemacs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=213.162.102.177"/>
	<link rel="alternate" type="text/html" href="https://wikemacs.org/wiki/Special:Contributions/213.162.102.177"/>
	<updated>2026-04-09T09:22:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wikemacs.org/index.php?title=Edit_with_Emacs&amp;diff=2425</id>
		<title>Edit with Emacs</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Edit_with_Emacs&amp;diff=2425"/>
		<updated>2012-04-03T22:11:14Z</updated>

		<summary type="html">&lt;p&gt;213.162.102.177: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Noted on [[Emacs as a web browser's external editor]].&lt;br /&gt;
&lt;br /&gt;
'''Edit with Emacs''' is extension for the Google Chrome web browser, that lets you edit text areas on a web page with Emacs.&lt;br /&gt;
&lt;br /&gt;
== How It Works ==&lt;br /&gt;
* install '''Edit with Emacs''' on your chrome&lt;br /&gt;
* download [[edit-server.el]] to your computer (bundled with extension)&lt;br /&gt;
* add following line to .emacs&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lisp&amp;quot;&amp;gt;&lt;br /&gt;
(add-to-list 'load-path &amp;quot;/where/your/edit-server.el/is&amp;quot;)&lt;br /&gt;
(require 'edit-server)&lt;br /&gt;
(edit-server-start)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* run your emacs as a server as &amp;quot;emacs --daemon&amp;quot;&lt;br /&gt;
* your will find a button at the bottom of textarea when you browse the webpage&lt;br /&gt;
* when you press the button a emacs frame will show up, with text already in the textarea&lt;br /&gt;
* when you have done, press c-c c-c as &amp;quot;edit-server-done&amp;quot; to update your change to the textarea&lt;br /&gt;
* '''Warning''' When you edit textarea, it is likely your change your major mode to [[mediawiki-mode]] or other [[major mode]], this will likely bound the c-c c-c to other commmand, then you should use m-x &amp;quot;edit-server-done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Mechanism ==&lt;br /&gt;
&lt;br /&gt;
Chrome extension [https://chrome.google.com/webstore/detail/ljobjlafonikaiipfkggjbhkghgicgoh Edit with Emacs] uses its own '''Edit Server''' rather than Emacsclient because Chrome's security policy does not allow extensions to spawn new processes. The extension allows the user to edit text in Emacs and send the results to the browser textarea with {{CommandKeys|C-x #|edit-server-done}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Third Party Package]]&lt;br /&gt;
[[Category:Ubiquitous Emacs]]&lt;br /&gt;
[[Category:Browser Support]]&lt;/div&gt;</summary>
		<author><name>213.162.102.177</name></author>
	</entry>
</feed>