From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#11795: 24.1.50; wdired: C-c C-c loses marks and positions of renamed files Date: Tue, 23 Oct 2012 11:05:04 +0300 Organization: JURTA Message-ID: <87sj95ad3l.fsf@mail.jurta.org> References: <87r4t1sk9o.fsf@web.de> <87sjdhily5@ch.ristopher.com> <06AF8E7E174A4F768ADB2B901755EA3C@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1350979761 10424 80.91.229.3 (23 Oct 2012 08:09:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2012 08:09:21 +0000 (UTC) To: 11795@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 23 10:09:29 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TQZYG-0000p4-Qx for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Oct 2012 10:09:28 +0200 Original-Received: from localhost ([::1]:40442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQZY9-0000VM-5m for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Oct 2012 04:09:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQZY3-0000Uz-NG for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2012 04:09:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQZXz-00064n-BZ for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2012 04:09:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQZXz-00064j-8O for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2012 04:09:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TQZZl-0000YD-PU for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2012 04:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Oct 2012 08:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11795 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11795-submit@debbugs.gnu.org id=B11795.13509798192056 (code B ref 11795); Tue, 23 Oct 2012 08:11:01 +0000 Original-Received: (at 11795) by debbugs.gnu.org; 23 Oct 2012 08:10:19 +0000 Original-Received: from localhost ([127.0.0.1]:56920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQZZ4-0000X6-Ri for submit@debbugs.gnu.org; Tue, 23 Oct 2012 04:10:19 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:53924 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQZZ0-0000Wp-21 for 11795@debbugs.gnu.org; Tue, 23 Oct 2012 04:10:16 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 23374451CCFB for <11795@debbugs.gnu.org>; Tue, 23 Oct 2012 01:08:21 -0700 (PDT) In-Reply-To: <06AF8E7E174A4F768ADB2B901755EA3C@us.oracle.com> (Drew Adams's message of "Wed, 27 Jun 2012 07:20:13 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65907 Archived-At: > But shouldn't Wdired respect the user's setting of option > `dired-keep-marker-rename'? IOW, shouldn't users be able to control whether > exiting wdired removes marks? When `dired-keep-marker-rename' is customized to a character like ?R or ?M, now `wdired-finish-edit' adds a new marker on the files renamed by wdired. This is new behavior. Strictly speaking, it is consistent with the meaning of `dired-keep-marker-rename', so I'm not sure if a new option is necessary to control this. But at least when someone wants to put markers only on the files moved by `dired-do-rename', but not on the files renamed by wdired, this is still possible to do by adding to ~/.emacs something like: (defadvice wdired-finish-edit (around my-wdired-finish-edit act) (let ((dired-keep-marker-rename t)) ad-do-it))