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#24510: 25.1; Info: searching for ` does not find what looks like ` Date: Tue, 3 May 2022 19:23:42 +0000 Message-ID: References: <6905ca6f-0573-4a2b-b346-d5df47862e09@default> <87zgk5mqkm.fsf@gnus.org> <86levp6rce.fsf@mail.linkov.net> <8735hxjcqj.fsf@gnus.org> <86fslwxuxe.fsf@mail.linkov.net> <87pml0gq1p.fsf@gnus.org> <86bkwjvmwg.fsf@mail.linkov.net> <874k2a4wwl.fsf@gnus.org> <86y1zlgou1.fsf@mail.linkov.net> <87ee1dcc5y.fsf@gnus.org> <865ymnrk01.fsf@mail.linkov.net> <877d72zyzt.fsf@gnus.org> <86leviilvy.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="26651"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "24510@debbugs.gnu.org" <24510@debbugs.gnu.org> To: Juri Linkov , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 03 21:24:20 2022 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 1nly8B-0006ja-Tw for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 May 2022 21:24:20 +0200 Original-Received: from localhost ([::1]:55692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nly8A-00083v-AN for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 May 2022 15:24:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nly7u-00081o-Du for bug-gnu-emacs@gnu.org; Tue, 03 May 2022 15:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nly7u-0003ko-4Z for bug-gnu-emacs@gnu.org; Tue, 03 May 2022 15:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nly7t-00047H-Vm for bug-gnu-emacs@gnu.org; Tue, 03 May 2022 15:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 May 2022 19:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24510 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 24510-submit@debbugs.gnu.org id=B24510.165160583115802 (code B ref 24510); Tue, 03 May 2022 19:24:01 +0000 Original-Received: (at 24510) by debbugs.gnu.org; 3 May 2022 19:23:51 +0000 Original-Received: from localhost ([127.0.0.1]:41095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nly7i-00046o-HU for submit@debbugs.gnu.org; Tue, 03 May 2022 15:23:50 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:17788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nly7f-00046e-DQ for 24510@debbugs.gnu.org; Tue, 03 May 2022 15:23:49 -0400 Original-Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 243HhiXx018680; Tue, 3 May 2022 19:23:46 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-2021-07-09; bh=b0KFdybPDLe/PM5+zVVD7DryawGLUr3AKdjMiJsemlQ=; b=OOHjmmjZSsCOtj828+44DJNQAvNpsSsVjWAu1zKbVIFcpj9Gu8oA6Opu8zoraDAYyzV8 NgU/K1N/79XSScIJf3NzIcFyVLBmUdaXK6944HgZMh7O2ngmPF3dqj6m1iGpz6vpOXHI v4kjm4O3O9Dge6kuC6lKyMGigtZuZHHi7DVKkhA6tb4vrmjUYE2ZPxyeHmuea3yrZdpH 0gyUqiHxag+Cr6HiQ27mLiKKXnk8NO5z2PztuNlZvw7WEw2RCDAQNBCqiJpVfy4UvRzh JVwna+ghoKVcxnHZpRTMKSvIRAdUijeGbDaaac70COLJBnlT0/nlq95xjpERtKn1/nwt lg== Original-Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3frwnt6k5e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 03 May 2022 19:23:45 +0000 Original-Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 243JAS3m015026; Tue, 3 May 2022 19:23:44 GMT Original-Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2168.outbound.protection.outlook.com [104.47.55.168]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3fruj99f0w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 03 May 2022 19:23:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IVbLz1sYSWlW3JshJy88hxRg3/IyuagCiR0BfFlSYYL+DFjP0GkSKKH9APKRWLNyH5o3w4CYX2G1XYtLBhawhxPUKdR9lpXc83kZ+kFh/n5yPsdbu6kaAr2dkd886n/dIJOln83aK2tVcYIhN229LPJaKTML5lyyL4RB5oN7Ey2mR8DobZRndVdWB3GP7pxcbaim38qEwlvltwzjCUVTJbFlgR8MwsjJvCytXjLTmxfwldsGENt6O3/tWGh3u9D8N/7t9Su/NwzbMgf1hyC+zhH+caklHwfHJzBPvELitFl9QMBYljwVRp+KFFEa3fjARh6vaRDySMuimkWfQU1xTA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=b0KFdybPDLe/PM5+zVVD7DryawGLUr3AKdjMiJsemlQ=; b=jmi88s/ETotw1SMCHAqZJE+SU63pmgQWBb3jxoapMhKJ+yWQOODS/CtlOkrJksitMvPgHK36LH6UFt/1+Ien+TRBYG4O0JAn/pFHS5JNOYDvnl9hzoVYwKgCqBXEbZGU9iO5DxWWnY7aEb/3RyZT67Ire67Js2mZhY+Hysy1M5WrcdT6cBaEGfYCZ5EwNDpJ+7z+KdRvymr8G+BeLxW2QqI4HYP+LitUzHeYinxtg/6OVn8vD+KycoM6OsVEE7Fq/AYYYccx9mE/yI2kdvyYs+qjp4VQdClHdT7oixwLwY5KMUZFidIoZTMIQ1CWynFJLMbFOy2Z7GC1qqKS2aRotg== 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=b0KFdybPDLe/PM5+zVVD7DryawGLUr3AKdjMiJsemlQ=; b=MWesKwxu6PCyUwppSSRe253cD7c5UHcYuH4ub6oNinCjXQC+e17rsMw4DtMbMXx04Vzs/9dw5SMjucsMPd7tAAvUEu+l23wIy0acFcj+Ohw+bghLhf6FZS9Q8V0z5z0cd54v4QmzxGWbAe7Xiqb6+QhBSw/QEyqgmrBin2a655A= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by MN2PR10MB4093.namprd10.prod.outlook.com (2603:10b6:208:114::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.15; Tue, 3 May 2022 19:23:42 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123%9]) with mapi id 15.20.5206.024; Tue, 3 May 2022 19:23:42 +0000 Thread-Topic: [External] : Re: bug#24510: 25.1; Info: searching for ` does not find what looks like ` Thread-Index: AQHYXxehBnbr4IZdfEyq8GfWkaCWha0NhUPg In-Reply-To: <86leviilvy.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b1018c80-17f5-4b2b-8b3b-08da2d3a6f2d x-ms-traffictypediagnostic: MN2PR10MB4093:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YfqC28mNzVx+IIaI/BkDNRP62MxPONBmnksnhp878x9H3X9NppSJ2fsI76/EV9fh21WLPwvmVVeH272QjJZ3YyCCezvNm26K1dPjWG8Y0NmvnXy8JbplFzP6SUclMqyB5H5Pjpdl+KTckeo3sgfxoyAtgt/GAyAP8bp4NPkUDxknto1hs8tRhysyY8rQtWC5e1HqzJIOiJECXLVDuY+RrFDlJrm1amIrJRxm72U8oALGSl/pHUQVDBnGWynlwihCAw8uQPXdlOhzwBR0xEdkxTFr/9x1s6KRhPJ4FqmUzFaRCAEeisybyprKLqlKyXKazs7UuH0i48ToPBk8NVAQVPM/GL3mVOLQE2zad8RNasI6PeL+ZrMBkFA3/QSqTO1YfcGZp1HEKQmgZMHRLpFs2fN8kfRv3iyZZL0ZoJJMSh2JpTbjse2wFQTTZzcweWyHdJsdWtS5t5j2DHUz4Zl1/xdqsLI3UUk8fAqe5/8Ul8OekaGoVoTR13ZB9Ik3V/3+ZG0izARLWcxkzly/l4u+RernNaYoKPTQjGNh1+7BhwrE3bXK7QUBZ2nn9CfGgz3Xumdyf+ee8mkBO3IBCSsdP2IzFOsk8VYj9mb48BkanzkzfgJQ+Qc3SGv+obsDLE3H8reDCPph3nGGU1wTB2iCf0yDZ3Jxdp7e4z7tFKFXjQacp31MGwH+c9bmEXrFB79lK15bzL010s53uONuvRx0ZmFMYxvrHq6OjOZt5EsomtY= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(52536014)(316002)(4326008)(9686003)(5660300002)(186003)(66476007)(86362001)(122000001)(76116006)(66946007)(64756008)(8676002)(66446008)(66556008)(44832011)(38100700002)(55016003)(508600001)(2906002)(38070700005)(8936002)(110136005)(7696005)(26005)(33656002)(6506007)(71200400001)(51383001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 29QHhIiYBaJI+mnduUa8CdiMuZ36SAhdEPD1v81n9+BFAortHCWsAu4y/MCuSD1d3j+Lwdh65WOyQLCyo2yMyrX4k6R/ctCi05msWMc9K0RJlLKWXdHDxdTS1m/Ii4iKTC16Oh7VPAtIr5DD9TmWkIWsfZzeXrRkOJSkGXLs48xIsxhbCgw8os8tiMRhRTnanFyOIRqn9XXzWMQxQV+JOw34LJnihCKxp0EDmGu/xdZxRiPACjX2nMZNG8IzIyq0XOGYx/famVcR0MDR5oVdUgwX02XCCi09fHYpBcQGBZRWTVIENjXUPQNoNn0O/C5p4bYJF89pX1tZSucdQffJ19I+XFmzfEvtQCDLt/YZO4E2gIPy0FuTIZP2h6oSb3H3E/NjgqcWb6PiIJBT+0XcCO9PZ0ZOOsEZaDmExyIS6GUM57cYjjNgSLyfQ4iZIUu9+cLj7/R6Z6F2Oiq+BphsxqY3/LSjFmsQHUeY+vyhcDP5G1VTrfZO20ecEA30q28rLIPbTl54YMizXZcKLrQMqYTW5FJx21hTKeAuAxvKDsVsaQ9Wv82BGC2XHjY/w5lYYY6syciW1dmS3g0m5P2YZay4muvkSSvIvCQY20elapROs5EEI3VlftLwrJNzy4joRS4LMjmWbd2kKCtPboTk/v6PKvHAQ4/5fkLYD7jagkLhVZ+PeAcVsLyVwmfPdwcQZYLI1sciRh29rc6n/Kqe3DpB/SSv3/PCOoTFH+DOYNNZ9vjQFDDn64P1Te J7Q8cqTA0PgZ7rYUlcrZvN5kPy5uBXZy9LNAskvtMlxeG0a2a5heikF/jR6r7c6ZYf0XjviJhTu6KMU3SOuME5Gih7rk5E1ZMd X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b1018c80-17f5-4b2b-8b3b-08da2d3a6f2d X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2022 19:23:42.2486 (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: c9e+X2fTkXWqx4Dz3wt1GICufGWvlijXQdqymxuVKyVUJGsFt4mrpBtjqHZhPZkU1NNsDj1JCXmcpoz9ehzOdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR10MB4093 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486, 18.0.858 definitions=2022-05-03_08:2022-05-02, 2022-05-03 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 phishscore=0 mlxlogscore=999 mlxscore=0 spamscore=0 suspectscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205030121 X-Proofpoint-ORIG-GUID: gck-dWabR8S2962XuX0jA30sYm2M7gME X-Proofpoint-GUID: gck-dWabR8S2962XuX0jA30sYm2M7gME 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:231359 Archived-At: > >> I thought that by default Isearch always should be literal, > >> so the user could search only for plain ', and not to match > >> its fancy variants. > > > > No, I want the default Isearch to fold `' with the fancy variants in > > these modes. :-) >=20 > So the users will have no way to search for ' literally? No; see my other msgs in the thread about this. Users _absolutely_ need the ability to search for ` and ', as well as to search for ` and left curly, and ' and right curly. This is the problem. We need to give them ways to do everything, easily, and we need to provide reasonable default behavior. I agreed with you that by default Isearch in Info and Help should _not_ fold such confusables. But users need to know that they can easily do that (e.g. a key). And we should I think come up with reasonable ways to help with some feedback when Emacs can guess that maybe the user meant to get folded behavior but didn't, e.g., looked for ` and didn't find any occurrences. Such feedback from guessing needs to be optional - it must not be in-your-face and annoy. > Or maybe better to add a new Isearch mode that char-folds only `' I suggested having an Isearch _key_ (a toggle), not a mode, for just that, as opposed to the more drastic full char-folding. And I suggested having an option to configure the confusables to fold. > and enable it only in Help buffers? No, I think that any such behavior should be configurable, e.g. by an option that lists the modes or buffer-name regexps, to define where to apply it. ___ There are lots of possibilities for trying to deal with all of this, and I don't have a perfect solution (there isn't any, I suspect). It's worth brainstorming etc. ___ Even if we didn't have the catastrophe of the imposition everywhere of curly quotes, we'd have this problem (only __much__ less so) of optionally folding confusables. It merits some reflection and discussion - better on emacs-devel than here, I think.