From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: [Patch] Add project.el command to replace symbol at point throughout project Date: Tue, 01 Feb 2022 22:09:31 +0200 Organization: LINKOV.NET Message-ID: <86a6famjr8.fsf@mail.linkov.net> References: <83zgo2770l.fsf@gnu.org> <83zgo15dhp.fsf@gnu.org> <83czkw3uvl.fsf@gnu.org> <170a1c89-7767-0930-f726-f7b2551876b2@yandex.ru> <44f72f97-d1d8-0b4c-73a0-7f077fb1ef26@yandex.ru> <0617E8BF-CC43-4D82-8648-064252F644FD@gmail.com> <86pmos3no7.fsf@mail.linkov.net> <86czkr36ll.fsf@mail.linkov.net> <921c0b69-7bac-b78a-54d8-987165331661@yandex.ru> <0b8d87f8-e6db-9902-bd89-d81864d626d6@yandex.ru> <861r16235x.fsf@mail.linkov.net> <829a1d78-c07e-4bb8-e3bd-07263271fc30@yandex.ru> <86sft3kbja.fsf@mail.linkov.net> <35a7ae0c-7d9f-4feb-be3b-a93ad4f7a795@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26998"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Jon Eskin , Eli Zaretskii , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 02 02:56:41 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nF4sy-0006sQ-JC for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Feb 2022 02:56:40 +0100 Original-Received: from localhost ([::1]:41548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF4sw-0003zQ-J4 for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Feb 2022 20:56:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEzUH-0005M1-1B for emacs-devel@gnu.org; Tue, 01 Feb 2022 15:10:51 -0500 Original-Received: from [2001:4b98:dc4:8::229] (port=52785 helo=relay9-d.mail.gandi.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEzU2-0007zs-1x; Tue, 01 Feb 2022 15:10:40 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 5DF15FF80E; Tue, 1 Feb 2022 20:10:02 +0000 (UTC) In-Reply-To: <35a7ae0c-7d9f-4feb-be3b-a93ad4f7a795@yandex.ru> (Dmitry Gutov's message of "Tue, 1 Feb 2022 04:10:48 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:4b98:dc4:8::229 (failed) Received-SPF: pass client-ip=2001:4b98:dc4:8::229; envelope-from=juri@linkov.net; helo=relay9-d.mail.gandi.net X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:285757 Archived-At: >> 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. So now patches are installed in master.