Project

General

Profile

Emacs » History » Version 1

iri, 09/24/2012 08:07 PM

1 1 iri
h1. Emacs
2
3
"Emacs":http://www.gnu.org/software/emacs/ is an extensible, customizable free text editor—and more.
4
5
There are several ways to do the syntax highlighting.
6
7
# Download the "50scol.el":http://www.irizone.net/dl/others/emacs/50scol.el file written in (E)Lisp.
8
# Copy it in _/etc/emacs/site-start.d/_ directory
9
# Add this line in your _.emacs_ file :
10
<pre>
11
(setq auto-mode-alist (cons '(*.pkg' . scol-mode) auto-mode-alist))</pre>
12
This file is in your home directory (on GNU/Linux) or in the hard disk root (on MS Windows). Create it otherwise.
13
# Launch Emacs, you should read during the loading something like that :
14
<pre>
15
Loading /etc/emacs/site-start.d/50scol.el (source)...done
16
</pre>
17
# Open a package (*.pkg) to verify