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: Sun, 03 Aug 2008 13:45:42 +0200 Message-ID: <48959A66.7090402@gmx.at> Reply-To: martin rudalics , 457@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070006000104060403020107" X-Trace: ger.gmane.org 1217765266 26929 80.91.229.12 (3 Aug 2008 12:07:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Aug 2008 12:07:46 +0000 (UTC) Cc: michael_heerdegen@web.de To: 457@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 03 14:08:36 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 1KPcNz-0002Ar-5G for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Aug 2008 14:08:31 +0200 Original-Received: from localhost ([127.0.0.1]:43183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPcN4-00049A-37 for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Aug 2008 08:07:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KPcMy-000492-Ts for bug-gnu-emacs@gnu.org; Sun, 03 Aug 2008 08:07:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KPcMw-00048P-Ov for bug-gnu-emacs@gnu.org; Sun, 03 Aug 2008 08:07:27 -0400 Original-Received: from [199.232.76.173] (port=37365 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPcMw-00048M-LA for bug-gnu-emacs@gnu.org; Sun, 03 Aug 2008 08:07:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34100) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KPcMw-0006DZ-5y for bug-gnu-emacs@gnu.org; Sun, 03 Aug 2008 08:07:26 -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 m73C7M1p006363; Sun, 3 Aug 2008 05:07:22 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m73Bt6S1001644; Sun, 3 Aug 2008 04:55:06 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 03 Aug 2008 11:55:05 +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.121776393232268 (code B ref 457); Sun, 03 Aug 2008 11:55:05 +0000 Original-Received: (at 457) by emacsbugs.donarmstrong.com; 3 Aug 2008 11:45:32 +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 m73BjSbs032262 for <457@emacsbugs.donarmstrong.com>; Sun, 3 Aug 2008 04:45:30 -0700 Original-Received: (qmail invoked by alias); 03 Aug 2008 11:45:21 -0000 Original-Received: from 62-47-63-52.adsl.highway.telekom.at (EHLO [62.47.63.52]) [62.47.63.52] by mail.gmx.net (mp007) with SMTP; 03 Aug 2008 13:45:21 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+qP9UFJL+qr+Z4ESPIllJx6uZFCwfFXbTbpJof0W otWj7SuwMFVRrL User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en X-Y-GMX-Trusted: 0 X-FuHaFi: 0.87,0.71 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sun, 03 Aug 2008 08:07:27 -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:18992 Archived-At: This is a multi-part message in MIME format. --------------070006000104060403020107 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit > Changing to wdired should temporarily turn off `auto-revert-mode' if > it was enabled in the corresponding dired buffer. It is very > frustrating when the buffer reverts while editing file names. Could you please try whether the attached patch handles the problem. Thanks, martin. --------------070006000104060403020107 Content-Type: text/plain; name="457.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="457.patch" *** dired.el.~1.406.~ 2008-07-30 09:30:57.453125000 +0200 --- dired.el 2008-08-03 10:43:25.921875000 +0200 *************** *** 717,722 **** --- 717,725 ---- (and (stringp dirname) (not (when noconfirm (file-remote-p dirname))) (file-readable-p dirname) + ;; Don't auto-revert when the dired buffer can be currently + ;; written by the user (as in `wdired-mode', see bug#457). + buffer-read-only (dired-directory-changed-p dirname)))) ;; Separate function from dired-noselect for the sake of dired-vms.el. --------------070006000104060403020107--