Emacs: Difference between revisions
Jump to navigation
Jump to search
OtherMichael (talk | contribs) No edit summary |
OtherMichael (talk | contribs) (xred to Terminal activity, starting emacs, python mode links) |
||
Line 1: | Line 1: | ||
This page collects information on working with Emacs specifically on the XO. |
*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. |
|||
⚫ | |||
⚫ | |||
Emacs is a text-editor and development environment, most likely of interest to developers. |
|||
⚫ | |||
== How do I install Emacs? == |
== How do I install Emacs? == |
||
enter the |
enter the [[Terminal_Activity]] and type |
||
su |
su |
||
yum install emacs |
yum install emacs |
||
as found [http://bc.tech.coop/blog/080128.html here] |
as found [http://bc.tech.coop/blog/080128.html here] |
||
⚫ | |||
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 within terminal. |
|||
== 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 |
|||
== What about alternatives? == |
== What about alternatives? == |
||
* ''vi'' should already be available through the Terminal activity. |
* ''vi'' and [[Nano]] should already be available through the Terminal activity. |
||
* Install [http://www.mtxia.com/fancyIndex/Tools/Editors/MicroEMACS/ MicroEMACS] by copying [http://www.mtxia.com/fancyIndex/Tools/Editors/MicroEMACS/me404linux.bin this file] to the laptop. |
* Install [http://www.mtxia.com/fancyIndex/Tools/Editors/MicroEMACS/ MicroEMACS] by copying [http://www.mtxia.com/fancyIndex/Tools/Editors/MicroEMACS/me404linux.bin this file] to the laptop. |
||
* [http://zile.sourceforge.net/ Zile] may be closer to what you expect from Emacs. Install [ftp://rpmfind.net/linux/fedora/extras/6/i386/zile-2.2.19-1.fc6.i386.rpm this rpm file] to get it. |
* [http://zile.sourceforge.net/ Zile] may be closer to what you expect from Emacs. Install [ftp://rpmfind.net/linux/fedora/extras/6/i386/zile-2.2.19-1.fc6.i386.rpm this rpm file] to get it. |
Revision as of 01:32, 23 May 2008
- 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/
How do I install Emacs?
enter the Terminal_Activity and type
su yum install emacs
as found here
Running Emacs
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 within terminal.
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
What about alternatives?
- vi and Nano should already be available through the Terminal activity.
- Install MicroEMACS by copying this file to the laptop.
- Zile may be closer to what you expect from Emacs. Install this rpm file to get it.