help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reparsing local variables without reopening file?


From: Peter Boettcher
Subject: Re: Reparsing local variables without reopening file?
Date: Mon, 23 Sep 2002 08:29:31 -0400
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu)

On 21 Sep 2002, address@hidden 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
address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]