| <<O>> Difference Topic EditingWikiPagesWithEmacs (r1.7 - 28 Aug 2008 - RamonCreager) |
| Added: | |
| > > | NOTE: Mozex does not support Firefox 3. For an alternative, see below. |
| Added: | |
| > > |
Firefox 3Mozex does not currently support Firefox 3. Use It's All Text! instead. It works very similarly to Mozex, with the additional benefit of allowing you to choose the extension of the file to be edited (.txt, .html, etc.). This is nice because it allows your editor to put itself in the proper mode. There is one quirk in the installation process. Install as you would any Firefox extension. Once installed you need to restart Firefox. This is handled by the installer, as usual. But you will need to restart Firefox again after setting the path to your editor in the Preferences dialog box. This is probably a bug, but the extension works great once everything is configured and Firefox is restarted. |
| <<O>> Difference Topic EditingWikiPagesWithEmacs (r1.6 - 27 Feb 2008 - JoeBrandt) |
| Deleted: | |
| < < |
Update! Firefox-1.5 users should get the updated version of Mozex from: https://nic-nac-project.de/~kaosmos/mozex107-en.html |
| Changed: | |
| < < | /usr/local/bin/gvim %t (to use gvim) |
| > > | /usr/X11R6/bin/gvim %t (to use gvim) |
| Changed: | |
| < < | Let me know if you run into problems. I found this very useful for wiki's since emacs generally never crashes and if it does the autosaved files can easily be recovered so you can make large changes without worrying about losing everything. Also, things like spell check as you go are useful. |
| > > | Let me know if you run into problems. I found this very useful for wiki's since emacs generally never crashes and if it does the autosaved files can easily be recovered so you can make large changes without worrying about losing everything. Also, things like spell check as you go are useful. |
| Changed: | |
| < < | user_pref("mozex.command.textarea", "/usr/local/bin/gvim %t"); |
| > > | user_pref("mozex.command.textarea", "/usr/X11R6/bin/gvim %t"); |
| <<O>> Difference Topic EditingWikiPagesWithEmacs (r1.5 - 09 Jul 2007 - BojanNikolic) |
| Added: | |
| > > |
OS X SpecificsDue to a bug in Firefox on OS X (https://bugzilla.mozilla.org/show_bug.cgi?id=307463) your favorite text editor needs to be invoked the OS X "open" tool. Hence use something like: /usr/bin/open -a /Applications/Vim.app %t in your mozex.command.textarea property to configure Firefox to use vim. (This problem was pointed out to me by Karl Voit ). |
| <<O>> Difference Topic EditingWikiPagesWithEmacs (r1.4 - 07 Jan 2006 - JoeBrandt) |
| Added: | |
| > > |
Update! Firefox-1.5 users should get the updated version of Mozex from: https://nic-nac-project.de/~kaosmos/mozex107-en.html |
| <<O>> Difference Topic EditingWikiPagesWithEmacs (r1.3 - 31 Aug 2005 - JoeBrandt) |
| Changed: | |
| < < | I want to edit a wiki page text area using Emacs. |
| > > | I want to edit a wiki page text area using Emacs or gvim. |
| Added: | |
| > > |
Installing the Mozex Extension |
| Changed: | |
| < < | You need to install the `mozex' firefox/mozilla extension available from: |
| > > | You need to install the `mozex' firefox/mozilla extension like so: |
| Changed: | |
| < < | http://mozex.mozdev.org/index.html Documentation on the various ways you can setup mail/ftp/other programs is at: http://mozex.mozdev.org/arguments.html |
| > > |
|
| Changed: | |
| < < | /usr/bin/emacsclient %t |
| > > |
/usr/bin/emacsclient %t (to use emacs) or /usr/local/bin/gvim %t (to use gvim) Documentation on the various ways you can setup mail/ftp/other programs is at: http://mozex.mozdev.org/arguments.html |
| Changed: | |
| < < | This will allow you to send any text area to a running emacs process for example. You then need to do two more things: |
| > > |
Emacs Specific TweaksThis will allow you to send any text area to a running emacs process. You then need to do two more things: |
| Changed: | |
| < < | running emacs. |
| > > |
running emacs. (ii) Follow the 'How to use' instructions below. Vi/gvim Specific Tweaksgvim users may wish to add Twiki syntax files and turn off autoindent.How to Use It?When you come across a text area you want to edit, right click then select mozex and then edit text area -- this will send the current content of the text area to emacs (or popup a gvim window) and allow you to edit it. When you finish editing make sure you click anywhere in the text area to make the screen update. |
| Deleted: | |
| < < | (ii) When you come across a text area you want to edit, right click then select mozex and then edit text area -- this will send the current content of the text area to emacs and allow you to edit it. When you finish editing make sure you click anywhere in the text area to make the screen update. |
| Changed: | |
| < < |
This is solved by directly editing the `pref.js` files which sits in
the mozilla/firefox directory. In my case this directory is something
like ~/.mozilla/firefox/ |
| > > |
With Firefox, you can add the property by right clicking in the main window
and selecting "New->String". Once the preference is added edit the value by
right clicking on the property and select 'Modify'.
Alternatively exit your browser, and edit the prefs.js file
which resides in the mozilla/firefox directory. In my case this directory
is something like ~/.mozilla/firefox/ |
| Changed: | |
| < < | user_pref("mozex.command.textarea", "/usr/bin/emacsclient %t"); |
| > > |
user_pref("mozex.command.textarea", "/usr/bin/emacsclient %t"); (or) user_pref("mozex.command.textarea", "/usr/local/bin/gvim %t"); |
| <<O>> Difference Topic EditingWikiPagesWithEmacs (r1.2 - 28 Jul 2005 - BojanNikolic) |
| Changed: | |
| < < | change the value of the mozex.command.textarea property to |
| > > | change the value of the mozex.command.textarea property (if this doesn't exist see #NoMozexProperty) to |
| Added: | |
| > > |
I don't see any mozex propertiesSome people have reported that they do not see any mozex properties in their about:config window. This is solved by directly editing the `pref.js` files which sits in the mozilla/firefox directory. In my case this directory is something like ~/.mozilla/firefox/ |
| <<O>> Difference Topic EditingWikiPagesWithEmacs (r1.1 - 15 Jun 2005 - RichardPrestage) |
| Added: | |
| > > |
%META:TOPICINFO{author="RichardPrestage" date="1118844360" format="1.0" version="1.1"}%
%META:TOPICPARENT{name="WebHome"}%
ProblemI want to edit a wiki page text area using Emacs.Solution(This information was supplied by BojanNikolic) You need to install the `mozex' firefox/mozilla extension available from: http://mozex.mozdev.org/index.html Documentation on the various ways you can setup mail/ftp/other programs is at: http://mozex.mozdev.org/arguments.html I've only bothered to setup the editing of text areas; to do this open the about:config window (by typing this into the address bar) and change the value of the mozex.command.textarea property to /usr/bin/emacsclient %t This will allow you to send any text area to a running emacs process for example. You then need to do two more things: (i) Have an emacs server process running. Best thing is to put (server-start) at the end of your .emacs file and make sure you are running emacs. (ii) When you come across a text area you want to edit, right click then select mozex and then edit text area -- this will send the current content of the text area to emacs and allow you to edit it. When you finish editing make sure you click anywhere in the text area to make the screen update. Let me know if you run into problems. I found this very useful for wiki's since emacs generally never crashes and if it does the autosaved files can easily be recovered so you can make large changes without worrying about losing everything. Also, things like spell check as you go are useful. Best, Bojan -- RichardPrestage - 15 Jun 2005 %META:FORM{name="WebForm"}% %META:FIELD{name="TopicClassification" title="TopicClassification" value="PublicFAQ"}% %META:FIELD{name="OperatingSystem" title="OperatingSystem" value="OsLinux"}% %META:FIELD{name="OsVersion" title="OsVersion" value=""}% |
| Topic EditingWikiPagesWithEmacs . { View | Diffs | r1.7 | > | r1.6 | > | r1.5 | More } |
|
Revision r1.1 - 15 Jun 2005 - 14:06 GMT - RichardPrestage Revision r1.7 - 28 Aug 2008 - 18:42 GMT - RamonCreager |
Content copyright © 1999-2007 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. |