Line | |
---|
1 | # This is the README file |
---|
2 | for MAD-X highlighting in emacs |
---|
3 | |
---|
4 | # Files in this folder |
---|
5 | + .emacs |
---|
6 | + madx.el |
---|
7 | + README |
---|
8 | |
---|
9 | |
---|
10 | # Version description |
---|
11 | V Date Description |
---|
12 | 1.0 22.08.2012 First release |
---|
13 | |
---|
14 | # Installation |
---|
15 | + emacs v 23.X.X |
---|
16 | 1. Copy madx.el to ~/.emacs.d/ |
---|
17 | $ cp madx.el ~/.emacs.d/ |
---|
18 | NOTE: If ~/.emacs.d directory doesn't exists, you can create with |
---|
19 | mkdir command |
---|
20 | $ mkdir ~/.emacs.d |
---|
21 | 2. Add the lines on .emacs to your ~./.emacs.d/.emacs |
---|
22 | If ~/.emacs file doesn't exists , just copy this file |
---|
23 | $ cp .emacs ~ |
---|
24 | |
---|
25 | + emacs v 21.X.X |
---|
26 | 1. Execute steps 1) and 2) of emacs v 23.X.X installation |
---|
27 | 2. Make a softlink to the .emacs file |
---|
28 | $ cd ~ |
---|
29 | $ ln -s ~/.emacs.d/.emacs .emacs |
---|
30 | |
---|
31 | You should now restart emacs in order to reload the environment variables. |
---|
32 | |
---|
33 | # Use |
---|
34 | Automatically loads highlighting for ".madx" files. |
---|
35 | If you want to highlight another buffer with this syntax, just do in emacs |
---|
36 | |
---|
37 | M+X madx-mode |
---|
38 | |
---|
39 | # Author |
---|
40 | Oscar Blanco |
---|
41 | oscar.roberto.blanco.garcia@cern.ch |
---|
42 | |
---|
Note: See
TracBrowser
for help on using the repository browser.