emacs-devel
[Top][All Lists]
Advanced

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

Re: [Patch] Add project.el command to replace symbol at point throughout


From: Dmitry Gutov
Subject: Re: [Patch] Add project.el command to replace symbol at point throughout project
Date: Tue, 1 Feb 2022 04:10:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Hi Juri,

On 31.01.2022 20:25, Juri Linkov wrote:
After thinking more about this, I can't find a possible use for
read-string-defaults-function, because every call of read-string
provides own default value.  Also using read-regexp-defaults-function
in query-replace-read-from is not the right thing either - when
the users already customized it for e.g. occur, it would be too
unexpected when it will use a tag at point instead of from->to
pairs in query-replace.

Since query-replace is a very special command, the most uncontroversial
thing to do for a conservative approach would be to add two specific
variables (that later could be turned into options when needed):

Sounds reasonable, thanks.

If you're satisfied with the change, please go ahead and install the patches.



reply via email to

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