unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Leo <sdl.web@gmail.com>
Subject: Re: some emacs commands at end of file
Date: Sun, 21 Jan 2007 04:47:38 +0000	[thread overview]
Message-ID: <m2mz4dasut.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: y93odotknft.fsf@nestle.csail.mit.edu

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)

  reply	other threads:[~2007-01-21  4:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-21  4:34 some emacs commands at end of file Allan Adler
2007-01-21  4:47 ` Leo [this message]
2007-01-21  4:50   ` Leo
     [not found]   ` <mailman.3377.1169355310.2155.help-gnu-emacs@gnu.org>
2007-01-22  8:24     ` Allan Adler
2007-01-22 19:31       ` Robert Thorpe
2007-01-23 19:32         ` Allan Adler
2007-01-21  7:57 ` Nikos Apostolakis
     [not found] ` <mailman.3380.1169366265.2155.help-gnu-emacs@gnu.org>
2007-01-22  8:29   ` Allan Adler
2007-01-22 10:49     ` Robert D. Crawford
2007-01-22 17:41       ` Allan Adler
2007-01-22 18:19         ` Robert D. Crawford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2mz4dasut.fsf@sl392.st-edmunds.cam.ac.uk \
    --to=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).