emacs-devel
[Top][All Lists]
Advanced

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

Re: Update filename history after several actions


From: Stefan Monnier
Subject: Re: Update filename history after several actions
Date: Thu, 13 Oct 2005 10:10:20 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>                                                          In those places
>     where such processing is required, a more preferable way is to insert
>     the contents of a file into a temporary buffer.

> That is definitely true.  However, there are a lot of places to
> change--and it could be a difficult change, in places that alter the
> file and want to be careful not to lose it (places that use
> file-precious-flag).  So I don't think that is a possible solution
> in the short term.

There's also the risk that the user has opened the file by hand with
find-file in which case Emacs shouldn't modify the file without also
updating the corresponding buffer.  find-file-noselect takes care of that.


        Stefan




reply via email to

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