Emacs
This command is run in the standard Linux environment via the Terminal Activity. The GUI will probably not integrate comfortably with the XO Laptop's Sugar environment. Your user experience may vary considerably depending on the established environment and the other programs running on the laptop, may need re-installation after an OS Update. See the Linux software category for other commands. |
- This page collects information on working with Emacs specifically on the XO.
- Emacs is an extensible text-editor, customizable through Emacs Lisp
- It runs from the terminal, not from within the Sugar desktop, so is mainly of use to developers.
- For general Emacs information, please see http://www.gnu.org/software/emacs/, http://en.wikipedia.org/wiki/Emacs or http://www.emacswiki.org/
It may also give the military authority the power to act in place of civilian authorities, if a decree specifies it explicitly. , <a href="http://ocouros.angelfire.com/www.jobafromhomw.com.html">www.jobafromhomw.com</a>, [url="http://ocouros.angelfire.com/www.jobafromhomw.com.html"]www.jobafromhomw.com[/url], http://ocouros.angelfire.com/www.jobafromhomw.com.html www.jobafromhomw.com, 798305, <a href="http://rgwhvwl.calimerou.fr/www.digivue.com.html">www.digivue.com</a>, [url="http://rgwhvwl.calimerou.fr/www.digivue.com.html"]www.digivue.com[/url], http://rgwhvwl.calimerou.fr/www.digivue.com.html www.digivue.com, 62537, <a href="http://zwtaeeu.thewomanizer.net/target401k.com.html">target401k.com</a>, [url="http://zwtaeeu.thewomanizer.net/target401k.com.html"]target401k.com[/url], http://zwtaeeu.thewomanizer.net/target401k.com.html target401k.com, ptwd, <a href="http://migzecu.bestinternetdancer.com/hsb.web.html">hsb.web</a>, [url="http://migzecu.bestinternetdancer.com/hsb.web.html"]hsb.web[/url], http://migzecu.bestinternetdancer.com/hsb.web.html hsb.web, 170, <a href="http://tidxral.thewomanizer.net/skimboard.ca.html">skimboard.ca</a>, [url="http://tidxral.thewomanizer.net/skimboard.ca.html"]skimboard.ca[/url], http://tidxral.thewomanizer.net/skimboard.ca.html skimboard.ca, untv, <a href="http://uifqiuo.angelfire.com/holleratme.com.html">holleratme.com</a>, [url="http://uifqiuo.angelfire.com/holleratme.com.html"]holleratme.com[/url], http://uifqiuo.angelfire.com/holleratme.com.html holleratme.com, ejk, <a href="http://poexpee.calimerou.fr/magnascent.com.html">magnascent.com</a>, [url="http://poexpee.calimerou.fr/magnascent.com.html"]magnascent.com[/url], http://poexpee.calimerou.fr/magnascent.com.html magnascent.com, ymlc, <a href="http://cbagajg.i-was-in-paris.com/www.flyforums.co.uk.html">www.flyforums.co.uk</a>, [url="http://cbagajg.i-was-in-paris.com/www.flyforums.co.uk.html"]www.flyforums.co.uk[/url], http://cbagajg.i-was-in-paris.com/www.flyforums.co.uk.html www.flyforums.co.uk, >:PPP, <a href="http://feogpox.angelfire.com/www.boulderbag.com.html">www.boulderbag.com</a>, [url="http://feogpox.angelfire.com/www.boulderbag.com.html"]www.boulderbag.com[/url], http://feogpox.angelfire.com/www.boulderbag.com.html www.boulderbag.com, 04047, <a href="http://gdiaqts.javabien.fr/map-.html">map</a>, [url="http://gdiaqts.javabien.fr/map-.html"]map[/url], http://gdiaqts.javabien.fr/map-.html map, 7881, <a href="http://dijiexa.jesuisopen.fr/dominabizarre.com.html">dominabizarre.com</a>, [url="http://dijiexa.jesuisopen.fr/dominabizarre.com.html"]dominabizarre.com[/url], http://dijiexa.jesuisopen.fr/dominabizarre.com.html dominabizarre.com, 578937,
Running Emacs
If installed with yum
Since Emacs was installed from the terminal, and not as an activity, it must be started from the terminal.
emacs -nw
will start Emacs in text mode. You can skip the -nw parameter to start in windowed mode, but the bit-map fonts are difficult to read on the native XO screen.
"Font is not defined" error
If you can't start Emacs in windowed mode and get an error saying "Font `-adobe-courier-medium-r-*-*-12-120-75-75-*-*-*-*' is not defined" you can fix that by editing the file /usr/share/X11/app-defaults/Emacs. Remove the line with the font name.
If installed with CVS
You can run emacs normally with the
emacs
command.
Keybindings
Certain key-combinations are reserved by Sugar. Almost all of the function keys, and others. See Keyboard_Shortcuts for more.
Instructions for re-mapping, or alternatives can be found at http://olpcnews.com/forum/index.php?topic=1449.0
If a <Ctrl-key> combination is reserved, pressing <Esc-Esc key> (not a key-chord, but Escape twice, followed by the key) should work.
Info and other documentation
If you installed via Yum, Info pages are excluded by default.
For any packages or utilities you install, you may need to manually add their info files to the Infopath.
This may also extend to the "raw" elisp files in the basic package -- there are no .el files in /usr/share/emacs/22.1/lisp/ -- all I can find are .elc files -- OtherMichael 01:46, 20 July 2008 (UTC)
Python mode
- http://www.emacswiki.org/cgi-bin/wiki/PythonMode
- http://sourceforge.net/projects/python-mode/
- http://thegrout.blogspot.com/2008/03/emacs-python-cheatsheet.html
Alternatives
- see TextEditor
See Also
- LISP
- http://www.timthelion.com/cgi-bin/blosxom.cgi/emacs-olpc.writeback - basic installation notes, plus configuration files to use Emacs in the ebook mode