From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Crotti Newsgroups: gmane.emacs.help Subject: Re: reload modified files in buffer Date: Sat, 18 Dec 2010 00:09:38 +0100 Message-ID: References: <87bp4ox1y4.fsf@turtle.gmx.de> <525B5A1D-5FEF-44F6-B93D-0F048E28BE64@Web.DE> <4D09FB2D.5000809@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1292627463 32705 80.91.229.12 (17 Dec 2010 23:11:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2010 23:11:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 18 00:10:59 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PTjRv-0008T8-9l for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Dec 2010 00:10:55 +0100 Original-Received: from localhost ([127.0.0.1]:42740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTjRu-00040H-Nt for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Dec 2010 18:10:54 -0500 Original-Received: from [140.186.70.92] (port=60629 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTjRA-0003nf-LC for help-gnu-emacs@gnu.org; Fri, 17 Dec 2010 18:10:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTjR9-0005oR-E4 for help-gnu-emacs@gnu.org; Fri, 17 Dec 2010 18:10:08 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:50688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTjR9-0005oK-7i for help-gnu-emacs@gnu.org; Fri, 17 Dec 2010 18:10:07 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PTjR7-0007r2-E5 for help-gnu-emacs@gnu.org; Sat, 18 Dec 2010 00:10:05 +0100 Original-Received: from ip1-201.halifax.rwth-aachen.de ([137.226.108.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Dec 2010 00:10:05 +0100 Original-Received: from andrea.crotti.0 by ip1-201.halifax.rwth-aachen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Dec 2010 00:10:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ip1-201.halifax.rwth-aachen.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:7T+BXSAcOT/LEsPfU5b70qIHbs8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77639 Archived-At: Rajinder Yadav writes: > > 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 =) Try to enable globally auto-revert-mode and keep 200 buffers open on a slow machine, you'll understand why is not a default ;) I think is a good idea to be off by default, after all why do you need to revert buffers so often? For me it only happens when I push/pull with some revision control systems...