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.bugs Subject: bug#41692: 26.3; Enhancement request, `query-replace': let user use text at point as default Date: Wed, 27 Jan 2021 20:33:46 +0200 Message-ID: <87zh0u1bnx.fsf@mail.linkov.net> References: <3705c67a-f3a1-4667-8c3f-67b41752f355@default> <87a71jwyiw.fsf@mail.linkov.net> <878sh2lctc.fsf@mail.linkov.net> <39e06665-8ab7-4b81-a481-9a8ccf3a15e1@default> <87a719yztv.fsf@mail.linkov.net> <355c8fb7-2113-44c4-acdd-cbbf02d3828b@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28785"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 41692@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 27 19:35:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1l4pep-0007Mx-VQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Jan 2021 19:35:11 +0100 Original-Received: from localhost ([::1]:34408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4pep-0000nX-1j for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Jan 2021 13:35:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4peg-0000lt-LI for bug-gnu-emacs@gnu.org; Wed, 27 Jan 2021 13:35:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34549) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4peg-0006sG-DL for bug-gnu-emacs@gnu.org; Wed, 27 Jan 2021 13:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4peg-0005vi-8d for bug-gnu-emacs@gnu.org; Wed, 27 Jan 2021 13:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Jan 2021 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41692 X-GNU-PR-Package: emacs Original-Received: via spool by 41692-submit@debbugs.gnu.org id=B41692.161177245822733 (code B ref 41692); Wed, 27 Jan 2021 18:35:02 +0000 Original-Received: (at 41692) by debbugs.gnu.org; 27 Jan 2021 18:34:18 +0000 Original-Received: from localhost ([127.0.0.1]:46093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4pdy-0005uY-CH for submit@debbugs.gnu.org; Wed, 27 Jan 2021 13:34:18 -0500 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:44507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4pdw-0005uH-LU; Wed, 27 Jan 2021 13:34:17 -0500 Original-Received: from mail.gandi.net (m91-129-98-64.cust.tele2.ee [91.129.98.64]) (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 8AAFA24000D; Wed, 27 Jan 2021 18:34:07 +0000 (UTC) In-Reply-To: (Drew Adams's message of "Thu, 11 Jun 2020 17:46:16 -0700 (PDT)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198713 Archived-At: tags 41692 fixed close 41692 28.0.50 thanks > Maybe either another function-valued variable > (to be called) or a sexp-valued variable (to be > evalled). Thanks for the suggestion. Now a new function query-replace-read-from-suggestions is added that is easy to redefine like read-regexp-suggestions.