From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#41692: [External] : Re: bug#41692: 26.3; Enhancement request, `query-replace': let user use text at point as default Date: Wed, 27 Jan 2021 18:55:42 +0000 Message-ID: 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> <87zh0u1bnx.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14576"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "41692@debbugs.gnu.org" <41692@debbugs.gnu.org> To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 27 19:58:10 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 1l4q14-0003gP-HJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Jan 2021 19:58:10 +0100 Original-Received: from localhost ([::1]:57956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4q13-0003Ku-FG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Jan 2021 13:58:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4q0v-0003Jj-Ux for bug-gnu-emacs@gnu.org; Wed, 27 Jan 2021 13:58:01 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34585) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4q0v-00019n-NM for bug-gnu-emacs@gnu.org; Wed, 27 Jan 2021 13:58:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4q0v-000075-Iu for bug-gnu-emacs@gnu.org; Wed, 27 Jan 2021 13:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Jan 2021 18:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41692 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 41692-submit@debbugs.gnu.org id=B41692.1611773873419 (code B ref 41692); Wed, 27 Jan 2021 18:58:01 +0000 Original-Received: (at 41692) by debbugs.gnu.org; 27 Jan 2021 18:57:53 +0000 Original-Received: from localhost ([127.0.0.1]:46130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4q0n-00006h-35 for submit@debbugs.gnu.org; Wed, 27 Jan 2021 13:57:53 -0500 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:44538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4q0l-00006S-TJ for 41692@debbugs.gnu.org; Wed, 27 Jan 2021 13:57:52 -0500 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 10RIYaNw024538; Wed, 27 Jan 2021 18:57:45 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=KWyz6v7Q1jZZnF3Hom1wmhRescM19C3V3W22TnQ07K4=; b=Y/1keAe5+lR3VURVcOJSxNd0pAZjbNVxMEfBAWcQHrG5AfWcxRtVx9wPL/P1oIiwG75O y5CMp6efJ6O/m6n1y/rDKd8iV8Ge/aBKOpoq62hHamTdXmkVPoWx0HOD2k+j3FcyYa2K IPagtRu1AgxTZz+4jLhu2bRG4/K26qgQ36G2bulCWlrkKw5d9zZ5C6aVwABS3QN27J4v wLDIaTADx6kn4r83FlN1l5n1L8HprbTsfN5IPBACfEYFddkoNHz8+m3DftctXm0Lczo4 Hk6PY+teU7b/KIiqCJ6oOlzybndYsMuTeC/Xf/Jn8irmA+CGZx+7bvoi3w/MV3iAfpW4 uw== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 368brkrpj3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 Jan 2021 18:57:45 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 10RIZkHt015950; Wed, 27 Jan 2021 18:55:44 GMT Original-Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2171.outbound.protection.outlook.com [104.47.57.171]) by userp3020.oracle.com with ESMTP id 368wjsxtvh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 Jan 2021 18:55:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BO6K4evLUe4cjwjqFKynQ6WKT1vbPbKFD7xjUxmugGWq23i3g/F8MnGSJQeb91/Lvjx7PSFDzj7uviLVXt07qimzEQIZVPzIEAghX6LSDn6rTuhniaBdMaQrDz3UtdiaGE+/L0JksOW3IGxK4Mh9uQfaV7dVtTVap/qFQKopN8xIN4JoIZRqNf2FCIC+BY+bNIB1ERehTWXc/e2UYqhrHJcCNmgZa2eC9mQJMvFKPhy2BzU2/iLcMhZCCYWfxabWqqBcdOvFZHWjU3zoM1HbAdsbZBHCyZwpCYMH6K2K86XB900gM1Qm9TQ76piH1ehyBzcd3Am5Z1DMW4uFm5cfgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KWyz6v7Q1jZZnF3Hom1wmhRescM19C3V3W22TnQ07K4=; b=UjDU7OaQftvaUKL835jwc6SO+2a7UZ/tar+lGnLe2CfK15XwQYW19+3sF6z4EzHfvi6S93y/kCcDMj9J3Yjg6KS3FzCys9NtcBhbsgmFF4GRytAHgju+GaZyS4opsNUOoOAdJ2ozCLw4NMhu/u6HNHZ56TduygOM4h4lx+303Nw/levammVNA7Obt1xEgIo2x2yOYx1Dp0aWU52VDtfamJCaGxIeC2UQrGGkuiCeXd0EoKHtXffcFT4yI4nxbiDd45l77jor86nA+J0MmfZFNX3fsTmw01etpSMfK/nAPsO3HtLMmeo+a/I2k5Krn4y5AUyqtoj4AJGRDzi37BTGyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KWyz6v7Q1jZZnF3Hom1wmhRescM19C3V3W22TnQ07K4=; b=RXk4GS0kKDSvDw7fhWoh8AM3+9TJ/kQ9q8uUN6GO6lo6QGyC7tqVNEwJVJx0g0V4q8KuGcabYSU5IVv86W409oca4GXRIIZlTfItr7spxSx3vBsRQGD1ICiyBxyDKh9nrWIsSdchZiC3nsY8FnhLz+dTxWzCQDWnHB5W9zWIeC0= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SN6PR10MB2781.namprd10.prod.outlook.com (2603:10b6:805:d4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.16; Wed, 27 Jan 2021 18:55:42 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::dc4d:9cd0:2010:daa2]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::dc4d:9cd0:2010:daa2%7]) with mapi id 15.20.3784.019; Wed, 27 Jan 2021 18:55:42 +0000 Thread-Topic: [External] : Re: bug#41692: 26.3; Enhancement request, `query-replace': let user use text at point as default Thread-Index: AQHW9NsHn0QuO4IuoUy5dJQHQxSe36o70fBA In-Reply-To: <87zh0u1bnx.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US authentication-results: linkov.net; dkim=none (message not signed) header.d=none;linkov.net; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1e412fc8-cd02-4456-a6aa-08d8c2f5258b x-ms-traffictypediagnostic: SN6PR10MB2781: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8j2ja/Nmot6EfiOjvOWPAtL3lLncVdU2FNjlxfC4sf8ruWaSwsEpzKlw+/W7tvajV+dMTEc+7BSBGrMg7neeO0IAWL4HNQJFhHOlWGJ2NsO8R5tvTG3e2gjD5YqBCwH5TSvQxts+1stQoxIdaQsmSb7jPVOv+KELgQwaD+UDlljfUhKRFiZPV7utVHysZid+/96WPM5OuoidySpdiSj57UvbKmJu2SDIr3L+/v8pXpdYzb8G0Vr2/6PX/RHDJ0PGxwypcO3/lQD3C2s+gIZ8obRt0FedKzBC2hxvYGQAEC1KjFqqbCxrHXpPBvS8R2quqNVuGzVsuE03w/QO4KkeaBxH1w4XI+/jNaWQeGgFuJmBkjhD88+RqRBdZq6zcwFZHYJElzOl2qfxChn45J5zDN95uaume4zQh/4TIvr6zQFV8KyW7z2HQpldYmppzACIS90+0j1cmVHXEOeLeg/cby+qh3KJy3zlYuyQetjMqiOcvwafeZlBarzGXl6BrT6125usSmA0cC+KNkL7W5OMHx3eqja79Sqf98oHDK/bsdJ2vgVE62W45e3soTIQ0lkG x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(376002)(396003)(136003)(39860400002)(346002)(8676002)(64756008)(66476007)(66556008)(66446008)(44832011)(66946007)(76116006)(26005)(52536014)(71200400001)(4744005)(186003)(86362001)(33656002)(2906002)(5660300002)(7696005)(9686003)(55016002)(8936002)(478600001)(6506007)(4326008)(316002)(6916009)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 8tshVT+zR9gFAnJo6YasodYufYXanv0Hw634UlyGwIsvfYGfwbttUKcYu7Vy0xQKeCMvviU6B8k9kdk62awDQKvBYltOfwdZGkuMLBWlSEsJuRSBTexvSCjaMjr0A+BLBr0Va4Yyht9CyUctXWIcknzSSL3ndkSStzxEWx8WO0eSrlisJFUooIO4zZbNxRNGzjYIa/UqKdkNfB5duM9RfZgrd+p5QLGrZkpwiqbHVNhpdUxpFqx0BLYcogt2wiXbN6IS2oTRDzxshlgFXKDUpbHCPBVdWLByRSa66iihPuqRB7ub7fT3fX008wU/mQIW6fOel57ch3zrHkPRVsUhWWLkKva4D40uOKvg/mTG4AHAxIAdepLPmY8bQ78k+q6O8zf4qq/cLFkcoR5rUx2svWVYtu95BexV2htp/sK7iY8DUKXEhEfbExjeOXgP3bLZ5ybE90iPjVeaXyGRyEMwnHc2I0AAjMMdoqtEFTQVj0ZkzQwlF6zmpNISk+jd0dh94f1JKhzBJmWG+suD9pqT0pGNpzzHfgl+KxZYOxtVv7BiR96y3PiYx0oQncTESz5flzsWgfG8JJKDlVqp3b1+B7pefGg36zFMdSwFA/xO0k+gMqSTmtWEcOhurA/DQiRuzDtNv21YnME0bTueSOZjqEdQuQWfamdyr0MMD5bigJjTdPjR96cXNaQGR2rKWa+BLnFqpuFLYcjx1C1Y+Ai/wqgO8eZfyH/LcYXC9Be5VuNyJw7LALYgHrmrMZJN HiyigEITcm/+GImgr4Wm7P997ywFnvUJy0cVXPkMTpZl2Xm2whCXsiFpd587rhp8DYCmRWB/TnCsv4d5SEXm8VDgek/0c1wVnC x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1e412fc8-cd02-4456-a6aa-08d8c2f5258b X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jan 2021 18:55:42.4126 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FhLGmkcPbYK9w9JhOyOgiKzAQyU7xsHQCMY4Yf0dFHmKmvsxwsDYuH7N3z+ChtWXUE3ToDzaP5/mvK5pqJrzIQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2781 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9877 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 suspectscore=0 adultscore=0 mlxscore=0 malwarescore=0 spamscore=0 mlxlogscore=940 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101270092 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9877 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 impostorscore=0 phishscore=0 bulkscore=0 priorityscore=1501 mlxlogscore=999 lowpriorityscore=0 spamscore=0 mlxscore=0 suspectscore=0 malwarescore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101270092 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:198716 Archived-At: > > Maybe either another function-valued variable > > (to be called) or a sexp-valued variable (to be > > evalled). >=20 > Thanks for the suggestion. Now a new function > query-replace-read-from-suggestions is added that > is easy to redefine like read-regexp-suggestions. I'll take your word for it, I guess. The doc (and behavior) of `read-regexp-suggestions' is a convoluted nightmare, IMHO. Hope that's not the case for your proposal for query-replace.