[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27465: 24.5; `dired-mark-unmarked-files' with non-nil UNFLAG-P
From: |
Lars Ingebrigtsen |
Subject: |
bug#27465: 24.5; `dired-mark-unmarked-files' with non-nil UNFLAG-P |
Date: |
Sun, 21 Jul 2019 17:41:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> writes:
> 3. Non-nil UNFLAG-P does nothing, AFAICT. It _cannot_ do anything.
> Certainly it cannot unflag, which means change a deletion flag (`D')
> to a space char. Why? Because the replacement is applied only to
> lines that already have a space char (not a `D').
>
> Its effect in that case is indeed to post a space char. But it does
> so only for lines that already have a space char!
>
> This is the call:
>
> (dired-mark-if
> (and
> (looking-at-p " ") ; <=== Mark (with a SPC) only if already there!
> (let ((fn (dired-get-filename localp t)))
> (and fn (string-match-p regexp fn))))
> msg)
I've now made unflag-p work on the Emacs trunk.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#27465: 24.5; `dired-mark-unmarked-files' with non-nil UNFLAG-P,
Lars Ingebrigtsen <=