[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
bug#11795: 24.1.50; wdired: C-c C-c loses marks and positions of renamed files
Wed, 22 Aug 2012 06:44:58 +0200
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)
martin rudalics <address@hidden> writes:
> >> The call to `dired-mark-remembered' should be wrapped in a
> >> `save-excursion', else it may move point to another position.
> Can someone explain why `dired-mark-remembered' cannot do:
> (defun dired-mark-remembered (alist)
> "Mark all files remembered in ALIST.
> Each element of ALIST looks like (FILE . MARKERCHAR)."
> (let (elt fil chr)
> (while alist
> (setq elt (car alist)
> alist (cdr alist)
> fil (car elt)
> chr (cdr elt))
> (when (dired-goto-file fil)
> (delete-char 1)
> (insert chr))))))
I guess nobody can explain it because your version simply is better and
So, it would be cool if the patch could be applied.
- bug#11795: 24.1.50; wdired: C-c C-c loses marks and positions of renamed files,
Michael Heerdegen <=