bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57293: 29.0.50; query-replace with Wdired skips symlink target


From: Juri Linkov
Subject: bug#57293: 29.0.50; query-replace with Wdired skips symlink target
Date: Mon, 22 Aug 2022 09:52:51 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>> So if "foo" in "bar -> foo" had the text property 'dired-filename',
>> query-replace would visit it as well.
>>
>> But wouldn't such change break some other commands?
>
> That property plays a central role in dired buffers, I would be
> surprised if nothing would break.  Even third party code might rely on
> the current placement.
>
> I would rather try to generalize the query-replace semantics further,
> even when that might be a harder task.

Maybe then it's possible to add a new text property on symlink file names?
Then query-replace could check for two text properties:
'dired-filename' and 'dired-symlink-filename'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]