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.devel Subject: RE: [External] : Re: Simple isearch concerns Date: Mon, 5 Apr 2021 23:06:54 +0000 Message-ID: References: <20210403001539.x4rb55dvh46rmhb3.ref@Ergus> <20210403001539.x4rb55dvh46rmhb3@Ergus> <878s5wmsjp.fsf@mail.linkov.net> <87pmz8h0sn.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="14111"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ergus , "emacs-devel@gnu.org" To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 06 01:08:01 2021 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 1lTYK8-0003Z1-N0 for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Apr 2021 01:08:00 +0200 Original-Received: from localhost ([::1]:47514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTYK7-0004YT-OC for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Apr 2021 19:07:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTYJH-00042z-Oi for emacs-devel@gnu.org; Mon, 05 Apr 2021 19:07:07 -0400 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:56082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTYJA-0001J2-9l for emacs-devel@gnu.org; Mon, 05 Apr 2021 19:07:07 -0400 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 135N5Xgq018280; Mon, 5 Apr 2021 23:06:57 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=VLB7snVCu5zmHbDuIVrG3eyxMroCvk36UyyyYmaMQh4=; b=c60CSadE80/P2Ta7POzla+dY2c391uw85vWAOwp5hChCb3Y7Vike5GlizXuxxdcN68Wo xt51PGaLz5s8gfGO5llws/EP3luabQPPY82dciuUhZgjx3Z899M+y3AppmB2jSmj/ENf BmXshbcqCNUdmnpIXLbUU27FWTSeHo69Nuzj35oZeO3Fh986ZG0u7KyhRy0yFHSyLF/W fteUlKJ3zb2XxVejGmlmlmSSX/cn8YNLADUY9fKchU3QY+EJoV1//bzQ0nydRTFY8EMD ZmBvMOFrPoQUqEAiHr3x6rpmlktBml12fYo0xMksHydxSrwQHeQE/MgMExk2OGVnmH6w Lw== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2130.oracle.com with ESMTP id 37q38mkkj0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 05 Apr 2021 23:06:56 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 135N5w07017407; Mon, 5 Apr 2021 23:06:56 GMT Original-Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2171.outbound.protection.outlook.com [104.47.55.171]) by aserp3030.oracle.com with ESMTP id 37q2pbsty4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 05 Apr 2021 23:06:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Aq+VoFkewYFJagr9eOVeuD8UkbNbLBMAYaQoQUV0bNBaXrC70bzZpwCh2LGasR/+aPxQCdRi12iQ1hsQrN97Ef65rGDyIn/tAfflP0cs1hP/WAiInH7IIfzRSSx6V/3Bl9dg8/tDMhH5XoMko9jTpZW9YuWS8BMutYGc1Sqxue2Ecl01qcxV6C/CpXr6/9a9PlGzUpUutSxsacqn6z2+9Zu+6RIwtPkp5GLSSB41hjEz6yhmEjsq42RAS3FXx6gMmlo/gjkAYoS6yZw9hqw11RW+DoRHtlIgyp6PmD+ms9rBO1rVCLQ+npVNeeLCG8i5gffBrIeEWEbAXQ263cseDQ== 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=VLB7snVCu5zmHbDuIVrG3eyxMroCvk36UyyyYmaMQh4=; b=TgOAk4YV+Wsj4WJUgCAYJe+PIuHNcijjJVdrZWQu03Ze6HYo0UqsitqOhzFsZqn5Dnv3Yke9jVPFlCJQ3g94r52fnB5rouM6CcAnmQGmNaNuhw8WQOg29w4BK0YTGFPF/MRFOi11tSpF2oBYessgI4vm0bGqvSX2NolUYJ7O/+lPSKkcDpr5xxUCb2S/PJY26/q/JVZGvyKcTFWr9aemTSP6sorgo/ckJUHFwgSJorKKb4YIv6MIjSF7zmwa/1r5y+pugpRxypi0C2qv+dfWrYI1+/dVGzFSUXmoJ36VcDBt7wgz/fPLSJ5NWoNZkIsHrsnMfHwvK7eTQO+LbTMQ2Q== 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=VLB7snVCu5zmHbDuIVrG3eyxMroCvk36UyyyYmaMQh4=; b=Rgw/enFJqzb0AgKlEWK6DeUUT+wPCYyjnErjbefD9QsWQ8JFUo8f190bi7iBfPzMTTOgmrt4vdoFuOqjZljYVmR+th5RQyPv4iKLDbJhQyGTHvN4Y8nfa2hiqHBMSma7n61wsi+A2sEsj8gMInX10BrXKgZeNsEuGRt8Tz+qIXM= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SN6PR10MB2429.namprd10.prod.outlook.com (2603:10b6:805:50::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18; Mon, 5 Apr 2021 23:06:54 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315%5]) with mapi id 15.20.3999.032; Mon, 5 Apr 2021 23:06:54 +0000 Thread-Topic: [External] : Re: Simple isearch concerns Thread-Index: AQHXKmPH4/x0dws+b0i7qKTx5e7Hg6qmi1Zg In-Reply-To: <87pmz8h0sn.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: 3ade133e-d3f9-4d8c-3048-08d8f8878126 x-ms-traffictypediagnostic: SN6PR10MB2429: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JOFAbVynnGlQXJU0tAp83lAAfq3ThRoX1IyzhVd4okYjumsvJFN5D9WVcq8lyc5x6Lt/IwMFcCujNWd2mDZdJci0ScWWgMjmQXzKKdCEbN45MV8QFLbgctllSlYOMMrp/eQz7ayi7eWOKgXlwXy3/if8OHbcT7QDpxzdnDx91K3JFFmpriyMY4aHXuC1CasAliYCa12ay5CVFzuhX+FDY6wIXAYjgzBQRBvSJ4s22czGnBtDf3BuOGNMlqf6zv/WfaypAlj53kV+RAhbyJdRY6SiIz8e9BBGrN9hwGXlnZNpR64xU9+A775pbNP5vsRUcAcBhfka/0+dHYKZg0M+cIKa7sM+cnp5xVSQepRKkRIZ0+Kdy7UXgtlEYVarf77cEO9ihl1Wb6ZfBkQOXauKheAUiNlC4BDZpuC8z4iy3v1JrzfFlrDjSxdBR8zoEgmPKKunAQX/0K5YpHvhXZYy1j4E3Q27rxWbyVqclVc7EJubE6GPJSpFU0CfRDYN4Ut7iT7h7xtxKksi9FagFL0j4nFOYFvmCdjAOjnqFKcpyOsYjwf+AHT0V3ps3pT2fSSpsS6iAIrOZFVI27lfoqqMVdvJ2g3NdK+iaFZam6hSCIv4F6jPwHEg+V0ycdLS4mrcQfoFJAd1guuoxwHM+XEb/7HwmwQOZ/ScTTJpS52iTJk= 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:(136003)(366004)(346002)(396003)(376002)(39860400002)(71200400001)(2906002)(76116006)(4744005)(44832011)(55016002)(6916009)(52536014)(4326008)(64756008)(54906003)(8676002)(5660300002)(66556008)(66446008)(66946007)(66476007)(8936002)(478600001)(6506007)(9686003)(38100700001)(86362001)(186003)(26005)(7696005)(316002)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Aqdungh9DZTC4W6zzEgzs3pjitWIfgo2HU23tQ+M27uMpYmzEpvKvNt9yzAz?= =?us-ascii?Q?OGZIStrarOUV5xAqPhkCNx5dQxYTLDtCGRAhZtZe9X5bxMG8OrLMTqXpQyES?= =?us-ascii?Q?Ao4rFdJz0XJPgWaeeq18XkfdXJedv48nyzkjThmhxvVppwnPNRGYbdhRVk1K?= =?us-ascii?Q?gm4rOwdEQC6O3RIlWcirQLQeseAO7R4Q2zlpl5ue0fqazdxeEZ7Qt3GpsfWI?= =?us-ascii?Q?mCTKZycr9NR7VCn6zPtRGIr3j7rGuuawSeZJI5BSmhxhddvZ0PCgKQeia09Z?= =?us-ascii?Q?cw+23PfivPUyIUB8uVU3prISiBdBLEwpcS0kLNOSZ3gKOtazlV9Hislrq1FM?= =?us-ascii?Q?kuaPJMNArva+CU+Yc+nDTT+6U5V+6SWSBaNDEco9HCJR1oTtWGNguo82evAS?= =?us-ascii?Q?QlmseNigjg2KUmHYubhznlLUh/Qpqr3R2n/MUtzyc+DE5zTt/nqaLG3bdNHE?= =?us-ascii?Q?dGqwV4AlCXFDikG0TN21G/+qbmh2Ar81G+G49AbfCE8Jb12bpFfZ5CD7G1aK?= =?us-ascii?Q?mZhWwBMIskrIdMZt0twQ4mdylird4Bmoct4Fs5FnEK66fteaFw7L/1LEH/Yn?= =?us-ascii?Q?dGMQU7jSgieoxnsRZC2Xx1K9sKHaL8ILLOkKC3/ggMQikNqyguFEKfHczC3I?= =?us-ascii?Q?9VKG 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: 3ade133e-d3f9-4d8c-3048-08d8f8878126 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Apr 2021 23:06:54.3006 (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: 8MOE1uN0eQ2oUAyC9hvSxbvPe024HkOxY5DS2yMgo1q14Jfs97GiJgZR1/E0aUnTUI8t70eVKDyIhRQkJ1yiSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2429 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9945 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 malwarescore=0 mlxscore=0 phishscore=0 bulkscore=0 spamscore=0 mlxlogscore=813 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104030000 definitions=main-2104050153 X-Proofpoint-GUID: VpJ1KgLwSZj1jXzXrHzQrUYkAFeV81fn X-Proofpoint-ORIG-GUID: VpJ1KgLwSZj1jXzXrHzQrUYkAFeV81fn X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9945 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 suspectscore=0 impostorscore=0 malwarescore=0 priorityscore=1501 spamscore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 adultscore=0 phishscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104030000 definitions=main-2104050153 Received-SPF: pass client-ip=141.146.126.79; envelope-from=drew.adams@oracle.com; helo=aserp2130.oracle.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:267447 Archived-At: > >> As you see from the discussion, adding a defcustom makes little sense, > >> because this feature might be needed only occasionally, so better > >> to be bound to a special key, e.g. C-RET to exit and move to other-end= , > >> S-RET to exit and mark the found string as a region. > > > > In particular, I'm not in favor of adding keys for > > exiting + performing an action. >=20 > I meant that these keys can easily be bound by users. I see; good. I misunderstood, in that case. > > Better to add keys for toggling some search behavior, > > and leave exiting keys as they are. >=20 > In bug#39512 we already developed a command bound to > 'M-s M-.'to pull the active region to the search string. >=20 > Now we could add a command that sets the region from the search string. I suggest a toggle for that: select or not.