[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] Using Emacs to edit the Wiki
From: |
Kai Oliver Kaminski |
Subject: |
[Axiom-developer] Using Emacs to edit the Wiki |
Date: |
Wed, 2 Aug 2006 14:18:43 +0200 |
It isn't difficult at all.
Go to http://www.zope.org/Members/Caseman/ExternalEditor.
Mac Users: Download the ZopeEditManager, put it into your Application
Folder, start it, change the Preferences to reflect your choice of
editor and set ZopeEditManager as the MIME handler for
application/x-zope-edit in your browser.
Unix Users:
Download zopeedit-src.tgz and extract it. Enter the zopeedit
directory and run (You may need to be root)::
python2.2 setup.py install
This will install the zopeedit.py executable (in /usr/local/bin on
my
system). Alternately, you can just copy zopeedit.py to the location
of
your choosing.
Once you have the helper application installed, you need to
configure your
browser to fire it off appropriately. To do so, create an entry in
the
helper applications list for your browser(s) that associates the
mime type
"application/x-zope-edit" with the helper application.
Step by step instructions for Mozilla and Konqueror are in the README.
Tips
The helper application can run any editor program that does not
detach
itself from the controlling process.
To get terminal based editors to work, you need to spawn them
inside an
xterm. to do this, use something like the following for the editor
option::
editor = xterm -e vi
You can of course modify the above to fire up your favorite
terminal and
editor or add any command line arguments you want.
As for editors that insist on detaching from the controlling
process (gvim
does this by default), you need to configure them so that they do
not
detach. For gvim you could use::
editor = gvim -f
DO NOT FORGET TO WRITE SOMETHING IN THE 'Log: '-LINE, OTHERWISE THE
CHANGES WON'T BE ACCEPTED.
Hope that helps,
Kai
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Axiom-developer] Using Emacs to edit the Wiki,
Kai Oliver Kaminski <=