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

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

Re: reload modified files in buffer


From: Rajinder Yadav
Subject: Re: reload modified files in buffer
Date: Thu, 16 Dec 2010 06:42:37 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 10-12-15 07:39 PM, suvayu ali wrote:
On Wed, Dec 15, 2010 at 11:14 AM, Andrea Crotti
<andrea.crotti.0@gmail.com>  wrote:
Peter Dyballa<Peter_Dyballa@Web.DE>  writes:


It does! But wouldn't it be better GNU Emacs would reload the file
instead of warning/asking things?


not correct, what if you modified that file?
You would lose your modification without even knowing, not a very good idea...


I think auto-revert-mode doesn't revert the buffer either if it has
been modified. I think that is a good thing, but then tastes may vary.
:)


it's good to know that auto-revert mode will not revert a modify buffer. however afaik Emacs will not let you save a modified buffer if the file has changed.

i like Peter's idea of Emacs having the ability to diff-merge a conflict when you've modified a buffer and the file has changed.

Emacs should be smart enough to auto-reload a buffer if the file has changed and the buffer has not been edited, this would be a welcomed enhancement =)

--
Kind Regards,
Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely

GNU/Linux: 2.6.35-23-generic
Kubuntu x86_64 10.10 | KDE 4.5.1
Ruby 1.9.2p0 | Rails 3.0.3



reply via email to

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