all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Boettcher <boettcher@ll.mit.edu>
Subject: Re: Reparsing local variables without reopening file?
Date: Mon, 23 Sep 2002 08:29:31 -0400	[thread overview]
Message-ID: <trlm5sga8k.fsf@coyote.llan.ll.mit.edu> (raw)
In-Reply-To: 87d6r7w3yy.fsf@bach.composers

On 21 Sep 2002, olau@hardworking.dk wrote:
> Hi
> 
> I was changing a local variable for a test example when it occurred
> to me that I didn't know how to make Emacs reparse them. For
> example:
> 
>   // Local Variables: ***
>   // compile-command: "g++ test.cpp -o test -O3" ***
>   // End: ***
> 
> Now, one can save and kill the buffer and refind the file (or
> perhaps even do a M-x revert-buffer); however, this seems silly. M-x
> apropos gives hack-local-variables. But that is a function? What do
> the gurus do? Or should hack-local-variables be a command (perhaps
> with a somewhat more descriptive name :-)? Typing M-:
> (hack-local-variables) is a little laborious.

I use M-x normal-mode for this kind of thing.  I bind it to C-c n.

-- 
Peter Boettcher
MIT Lincoln Laboratory
boettcher@ll.mit.edu

      parent reply	other threads:[~2002-09-23 12:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-21 19:13 Reparsing local variables without reopening file? Ole Laursen
2002-09-21 22:27 ` Michael Slass
2002-09-22 17:42 ` Thomas F. Burdick
2002-09-24 20:22   ` Kevin Rodgers
2002-09-23 12:29 ` Peter Boettcher [this message]

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

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

  git send-email \
    --in-reply-to=trlm5sga8k.fsf@coyote.llan.ll.mit.edu \
    --to=boettcher@ll.mit.edu \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.