[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11795: 24.1.50; wdired: C-c C-c loses marks and positions of renamed
From: |
Juri Linkov |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu) |
> 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))
- bug#11795: 24.1.50; wdired: C-c C-c loses marks and positions of renamed files,
Juri Linkov <=