From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#457: wdired and auto-revert-mode Date: Wed, 13 Aug 2008 18:22:29 +0200 Message-ID: <18595.2629.72205.97367@localhost.localdomain> References: <86abftuiy5.fsf@macs.hw.ac.uk> <4896F015.8080008@gmx.at> <864p60vrar.fsf@macs.hw.ac.uk> <48972981.5030600@gmx.at> <86k5enh334.fsf@blueyonder.co.uk> Reply-To: michael_heerdegen@web.de, 457@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=unknown Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218646071 12847 80.91.229.12 (13 Aug 2008 16:47:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2008 16:47:51 +0000 (UTC) To: 457@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 13 18:48:43 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KTJWb-0004uI-PK for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Aug 2008 18:48:42 +0200 Original-Received: from localhost ([127.0.0.1]:47782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTJVf-0004Id-I9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Aug 2008 12:47:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTJVS-0004Bd-UY for bug-gnu-emacs@gnu.org; Wed, 13 Aug 2008 12:47:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTJVQ-0004B1-56 for bug-gnu-emacs@gnu.org; Wed, 13 Aug 2008 12:47:29 -0400 Original-Received: from [199.232.76.173] (port=55087 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTJVP-0004Ap-RG for bug-gnu-emacs@gnu.org; Wed, 13 Aug 2008 12:47:27 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56088) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KTJVP-0005a9-4F for bug-gnu-emacs@gnu.org; Wed, 13 Aug 2008 12:47:27 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7DGlPHu007118; Wed, 13 Aug 2008 09:47:25 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7DGU4Bm001400; Wed, 13 Aug 2008 09:30:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Michael Heerdegen Original-Sender: Michael_Heerdegen@web.de Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 13 Aug 2008 16:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 457 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 457-submit@emacsbugs.donarmstrong.com id=B457.121864452932104 (code B ref 457); Wed, 13 Aug 2008 16:30:03 +0000 Original-Received: (at 457) by emacsbugs.donarmstrong.com; 13 Aug 2008 16:22:09 +0000 Original-Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7DGM5cM032098 for <457@emacsbugs.donarmstrong.com>; Wed, 13 Aug 2008 09:22:06 -0700 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id 903D2E69CC4D for <457@emacsbugs.donarmstrong.com>; Wed, 13 Aug 2008 18:21:59 +0200 (CEST) Original-Received: from [217.185.137.13] (helo=debian) by smtp08.web.de with asmtp (WEB.DE 4.109 #226) id 1KTJ6k-0003Pq-00 for 457@emacsbugs.donarmstrong.com; Wed, 13 Aug 2008 18:21:59 +0200 In-Reply-To: <86k5enh334.fsf@blueyonder.co.uk> X-Mailer: VM 7.19 under Emacs 21.4.1 X-Sender: michael_heerdegen@web.de X-Provags-ID: V01U2FsdGVkX1+R0uZewBnZBWg63e2KZmwcfHveExK4wnsaoYkG MwRDjzy7McIjndgtNllK5Z7vbE5bstx65xamnzwvLi+o/JjNZ4 kpJ1DCKfGQh4v2q0WY3Q== X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Wed, 13 Aug 2008 12:47:29 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19379 Archived-At: Joe Wells writes: > In this case, (buffer-modified-p) is a poor proxy for $,1r|(Bthere exist > uncommitted changes that the user probably does not want to lose$,1r}(B. > The buffer-modified flag is mostly good enough for buffers visiting > ordinary files, but is hard to keep correct for fancy buffers like > Dired buffers. Of course, this wasn't so important before > auto-revert-mode existed. Yes. And this is also the reason for another, much worse bug which makes auto-revert-mode in dired nearly useless: If you copy files etc. (what else should you do with dired?), your buffer gets buffer-modified-p, which means that auto-reverting doesn't take place any more until you revert manually with g.