Computer Science Canada XEmacs - Adding the Emacs modes you love and adore |
Author: | haskell [ Mon Feb 05, 2007 5:12 pm ] | ||||||||||||
Post subject: | XEmacs - Adding the Emacs modes you love and adore | ||||||||||||
First, here are the links to the modes that will be talked about: - SLIME - Python-Mode - Cc-Mode - Ruby-Mode XEmacs can be found here. SLIME SLIME is an acronymn for "Superior Lisp Interaction Mode for Emacs". It is a must for any Common Lisp user who chooses XEmacs or Emacs. To install SLIME: - Download SLIME[See SLIME link above] - Extract the SLIME files to your XEmacs folder - Open XEmacs - Click on "Options -> Edit Init File" - Add the following:
As in the example of:
- If all is done right, then close and reopen XEMacs. - Then do M-x slime OR for you non-Emacs people, press "Alt+X" then type "slime". - And voila, SLIME is active ![]() Python-Mode This is the very nice Python mode for *macers. - Download Python-Mode[See Python-Mode link above] - Extract the Python-Mode files to your XEmacs folder - Click on "Options -> Edit Init File" - Add the following:
As in the example of:
- If all is done right, close and reopen XEmacs - Then open a Python file[.py] - If you see syntax highlighting, than congratulations! If not, try again! Cc-Mode This is the mode for your C-based languages(besides Perl, Perl has its own mode). C/C++/Java/C#/etc... Installation instructions are here Once installed open a .c or . cpp or whatever. If you see syntax highlighting, congratulations! If not, try again! Ruby-Mode This is the "hidden-in-the-back" Ruby mode for Emacs, available from the misc folder on ruby-lang. - Download Ruby-Mode[See Ruby-Mode link above] - Extract the Ruby-Mode file to your XEmacs folder - Click on "Options -> Edit Init File" - Add the following:
As in the example of:
- If all is done right, close and reopen XEmacs - Then open a Ruby file[.rb] - If you see syntax highlighting, than congratulations! If not, try again! Thanks for looking through, I hope this will allow you to try [X]Emacs and see what all the fuss is about. If you have any modes you'd like to see added to this guide, than tell me. Please post any errors, comments, or etc... Note: you can use XEMacs Packages to install any mode you may want. |
Author: | Naveg [ Mon Feb 05, 2007 7:06 pm ] |
Post subject: | RE:XEmacs - Adding the Emacs modes you love and adore |
Seems very useful, although personally I've never caught the Emacs craze (or Vim for that matter). Maybe I'll try it out again one of these days. |
Author: | abcdefghijklmnopqrstuvwxy [ Tue Feb 06, 2007 1:19 am ] |
Post subject: | RE:XEmacs - Adding the Emacs modes you love and adore |
Thanks ![]() |
Author: | haskell [ Tue Feb 06, 2007 6:26 am ] | ||
Post subject: | RE:XEmacs - Adding the Emacs modes you love and adore | ||
Once you add the lines to the init.el file, it should be automatic. Such as:
|
Author: | abcdefghijklmnopqrstuvwxy [ Tue Feb 06, 2007 11:12 am ] |
Post subject: | RE:XEmacs - Adding the Emacs modes you love and adore |
Okay that worked, thanks! I can't get slime working because of this line: (setq inferior-lisp-program "/usr/share/a2ps/sheets/clisp.ssh") I don't have any idea where else common-lisp is though. . . Any ideas? EDIT: Oops nevermind, i found it in /usr/bin/ |
Author: | haskell [ Fri Feb 09, 2007 5:04 pm ] | ||
Post subject: | RE:XEmacs - Adding the Emacs modes you love and adore | ||
An excerpt from the .emacs file. This is may or may not work in XEMacs, but it works perfectly in Emacs. |