unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Reparsing local variables without reopening file?
@ 2002-09-21 19:13 Ole Laursen
  2002-09-21 22:27 ` Michael Slass
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ole Laursen @ 2002-09-21 19:13 UTC (permalink / raw)


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.

-- 
Ole Laursen
http://sunsite.dk/olau/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-09-24 20:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).