[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: some emacs commands at end of file
From: |
Leo |
Subject: |
Re: some emacs commands at end of file |
Date: |
Sun, 21 Jan 2007 04:47:38 +0000 |
User-agent: |
No Gnus v0.6, Emacs/22.0.92.8 (2007-01-20), Fedora 6 gnu/linux |
On 2007-01-21, Allan Adler said:
> In the C source code to a math package called GAP 3, there are some
> emacs commands hidden in a comment at the end of the file, something
> like this (I copied this by hand):
>
> /***************************************************
> *E Emacs ................... local emacs variables
> **
> ** Local Variables:
> ** mode: outline
> ** outline-regexp: "*A\\|*F\\|*V\\|*T\\|*E"
> ** fill-column: 73
> ** fill-prefix: "** "
> ** eval: (local-set-key "\t" 'c-indent-command')
> ** eval: (local-set-key ";" 'electric-c-semi)
> ** eval: (local-set-key "{" 'electric-c-brace)
> ** eval: (local-set-key "}" 'electric-c-brace)
> ** eval: (hide-body)
> ** End:
> */
Check this (info "(emacs)Locals")
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
Re: some emacs commands at end of file, Nikos Apostolakis, 2007/01/21
Message not available