From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#457: wdired and auto-revert-mode Date: Mon, 04 Aug 2008 14:03:33 +0200 Message-ID: <4896F015.8080008@gmx.at> References: <86abftuiy5.fsf@macs.hw.ac.uk> Reply-To: martin rudalics , 457@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217860361 17780 80.91.229.12 (4 Aug 2008 14:32:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2008 14:32:41 +0000 (UTC) Cc: michael_heerdegen@web.de, 457@emacsbugs.donarmstrong.com To: Joe Wells Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 04 16:33:31 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 1KQ17g-0000Om-8P for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Aug 2008 16:33:20 +0200 Original-Received: from localhost ([127.0.0.1]:33481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQ16l-0002xx-8q for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Aug 2008 10:32:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQ12D-0005tC-L1 for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2008 10:27:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQ12C-0005rK-Jg for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2008 10:27:41 -0400 Original-Received: from [199.232.76.173] (port=57692 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQ12C-0005r8-Cc for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2008 10:27:40 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:40625) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KQ12C-0006UL-62 for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2008 10:27:40 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KPzDn-0003lZ-3f for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2008 08:31:31 -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 m74CRMBZ015557; Mon, 4 Aug 2008 05:27:22 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m74CA47M010169; Mon, 4 Aug 2008 05:10:04 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 04 Aug 2008 12:10:04 +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.12178513547779 (code B ref 457); Mon, 04 Aug 2008 12:10:04 +0000 Original-Received: (at 457) by emacsbugs.donarmstrong.com; 4 Aug 2008 12:02:34 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m74C2TxK007773 for <457@emacsbugs.donarmstrong.com>; Mon, 4 Aug 2008 05:02:31 -0700 Original-Received: (qmail invoked by alias); 04 Aug 2008 12:02:23 -0000 Original-Received: from 62-47-39-52.adsl.highway.telekom.at (EHLO [62.47.39.52]) [62.47.39.52] by mail.gmx.net (mp004) with SMTP; 04 Aug 2008 14:02:23 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/qEfRmOrnqafJU9U8UkfEO0M9bS1JHdM2gYS89Bt UQzEtFhgpKlJnB User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <86abftuiy5.fsf@macs.hw.ac.uk> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.82 X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Mon, 04 Aug 2008 10:27:41 -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:19009 Archived-At: > The correct way to handle this is to mark the buffer as modified > during the period for which it should not be auto-reverted. No. `buffer-modified-p' is busy telling whether the user has modified the buffer with `wdired'. It's used many times in wdired.el. > The > function auto-revert-handler refuses to do anything with buffers that > are marked as modified. The first thing auto-revert-handler does is > check the condition (buffer-modified-p). martin