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

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

Re: Force Reread of "local variables:"


From: Oliver Scholz
Subject: Re: Force Reread of "local variables:"
Date: Tue, 03 Feb 2004 05:29:11 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.0 (windows-nt)

Kevin Rodgers <ihs_4664@yahoo.com> writes:

> Oliver Scholz wrote:
>
>> If your auto-mode detection is set up correctly and if you don't have
>> important buffer-local variables other than those in the “Local
>> Variables” section, you can just do M-x normal-mode RET.
>> I mention these two “ifs” above, because as far as buffer variables
>> are concerned this has basically the same effect as killing the buffer
>> and re-visiting it.
>
> So why not just type `C-x C-v RET'?
[...]

Without `saveplace' you probably suddenly look at a different place in
the file after doing `C-x C-v RET'. Also you loose the information
about the file encoding, for example if you visited the file with 
`C-x RET c some-fancy-coding-system RET C-x C-f'

    Oliver
-- 
15 Pluviôse an 212 de la Révolution
Liberté, Egalité, Fraternité!


reply via email to

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