From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: [Patch] Add project.el command to replace symbol at point throughout project Date: Tue, 1 Feb 2022 04:10:48 +0200 Message-ID: <35a7ae0c-7d9f-4feb-be3b-a93ad4f7a795@yandex.ru> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6976"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 Cc: Jon Eskin , Eli Zaretskii , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 01 03:13:04 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 1nEifH-0001fl-Px for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Feb 2022 03:13:03 +0100 Original-Received: from localhost ([::1]:54102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEifG-0003E4-8P for ged-emacs-devel@m.gmane-mx.org; Mon, 31 Jan 2022 21:13:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEidP-0002U6-Dq for emacs-devel@gnu.org; Mon, 31 Jan 2022 21:11:07 -0500 Original-Received: from [2a00:1450:4864:20::534] (port=35665 helo=mail-ed1-x534.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEidJ-00061o-Sd; Mon, 31 Jan 2022 21:11:07 -0500 Original-Received: by mail-ed1-x534.google.com with SMTP id n10so30825883edv.2; Mon, 31 Jan 2022 18:10:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=4A6r76vGvE+AijnJBc36sJwcCcc/8YOriM6n5p0Te3c=; b=Eo8KQPBHP9vD7cyXPiU7jB2QdUBSY6lzJ5MTVjAZo3A7nN1TApiJ2uKUmYBzMznhR8 I97ycZC0/HHvtoumUhhiUp8WXpGkLJxHkdI7dQBDnNq7QoeTJnU2YEPcEFKzlZneVkHi Sko1FQMh+fVInzQHOhvUBFnPoq4cmCyAvcX65IIoZME0q5iT82GbpMw77UUGgl4tMGZ3 JFyx8rpadL7c19KCG+A5YrHEzQqRDvP5cxin3YdpWpTCAaJptidfeDpt9xC4FOWCRVf7 9wAxxL2ht8zCZCkuT/jU8NsJSi2eS/lI/+YX7TOUXQOZUtuceA+8o5Mq12RV/9EEaOFg w1og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=4A6r76vGvE+AijnJBc36sJwcCcc/8YOriM6n5p0Te3c=; b=bZ4seg4JjPHpg+4wuhQi0HKtwoP6DyFGmQ2eC/QwPF/MS0+adJnW917p8TwgdDJcac SrAx6QHkgxp9q0BD39gZYPW3rB7CZsAzeVTDG3Ee3LOEb4tVF7yiWlsLPPxNhg3aIBF/ LbN2HWoFLPSiQQbYgdtERfCr3jivlcpB+fCCbRmXMhF/2FmMfItUPoW4PfUXgDzmO/O0 Sl0pywQexZIhXMfz4AiGasgghhHKUex4nOF/8yeF6bCR7BmhciyaAARNQqyXj4TSi6F6 lyuN7k8IFwFI7+W4ZmrlA3kDYDb1Pao4SbgGDdCv3apsnVgiU99tXslsmoYeGN6F/Y9F W4wA== X-Gm-Message-State: AOAM5334RPZnnirJnVMHJOqsxR1PAJBCzcI6SqfM2/79KjpzyvLxBq/J J8/jQqgBcYHyFUfMhWovdMWJvAyh18kpnw== X-Google-Smtp-Source: ABdhPJwvgLskJTmp41ht/ORcr4bTY8/z9WBRZMzo2T5jM43bDVZpIHuOWkwZ0AUJuZVul0+HWFps8Q== X-Received: by 2002:a05:6402:34ca:: with SMTP id w10mr23734485edc.145.1643681451071; Mon, 31 Jan 2022 18:10:51 -0800 (PST) Original-Received: from [10.111.251.39] ([185.209.196.134]) by smtp.googlemail.com with ESMTPSA id c1sm896347ejn.203.2022.01.31.18.10.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Jan 2022 18:10:50 -0800 (PST) In-Reply-To: <86sft3kbja.fsf@mail.linkov.net> Content-Language: en-US X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::534 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=raaahh@gmail.com; helo=mail-ed1-x534.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, NICE_REPLY_A=-0.001, PDS_HP_HELO_NORDNS=0.001, 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:285710 Archived-At: 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.