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: Kevin Rodgers
Subject: Re: Force Reread of "local variables:"
Date: Tue, 03 Feb 2004 10:57:51 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Oliver Scholz wrote:
> Kevin Rodgers <ihs_4664@yahoo.com> writes:
>>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'.

Good point, also made by Reiner in his reply.  But `M-x revert-buffer
RET yes RET' handles that, although it's a lot of typing unless you
define a keyboard macro for it.

> 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'

Ouch, that's a tricky one.  If `C-x RET c some-fancy-coding system RET
M-x revert-buffer RET' works, you'd just have to automatically save
"some-fancy-coding-system" to make it easy to insert into the minibuffer
-- maybe in a register?

--
Kevin Rodgers



reply via email to

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