From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#24510: 25.1; Info: searching for ` does not find what looks like ` Date: Fri, 29 Apr 2022 12:08:34 +0200 Message-ID: <87pml0gq1p.fsf@gnus.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9549"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 24510@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 29 12:49:23 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 1nkOBf-0002HS-Du for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Apr 2022 12:49:23 +0200 Original-Received: from localhost ([::1]:32952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkOBd-0003zK-Oo for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Apr 2022 06:49:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkNYd-00006g-Al for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2022 06:09:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkNYc-00039x-BA for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2022 06:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nkNYc-0008D1-6h for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2022 06:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Apr 2022 10:09:02 +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.165122692831532 (code B ref 24510); Fri, 29 Apr 2022 10:09:02 +0000 Original-Received: (at 24510) by debbugs.gnu.org; 29 Apr 2022 10:08:48 +0000 Original-Received: from localhost ([127.0.0.1]:50898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkNYN-0008CV-RM for submit@debbugs.gnu.org; Fri, 29 Apr 2022 06:08:48 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:36030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkNYL-0008CH-Kk for 24510@debbugs.gnu.org; Fri, 29 Apr 2022 06:08:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=cS3u1c1sFbpnGAkxXqT2amzfv4elb+F7UvgOO1tiTOg=; b=SAcbxHKCLPvbs769d+MarGImbh AunwQlCMIp0Al9WYBUKBSyTUOaHRtIip5gqNUPtZm9zlpVLwmgM/nMMRMoZcas/iyv/tnrvuksdi6 dEBEvKvvxLh96Dmu2N1Qxb5GY8hwugLmsuyOtvCNjIx21dtKvDHCzZ1T6qzT4c/gd6YU=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nkNYB-0005Ew-02; Fri, 29 Apr 2022 12:08:37 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEVMPz6tSELAp5r/ ///wg2LlAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YEHQktLqgXFxIAAAGdSURBVCjPRZHNatwwFIWP xNh0tHKHcRhm5ZYQEj+FYlIoWanFGmhW3TQkfgrHq5KVY0JoZ+UGzxDfp+yRXajA+H7cc390BAAL u61xASRwib6yhsAvnE/eO7sJUQJEnudmQRiq+BDgG0inPsi8L7Ew6PNZVm6YyXIzyZgyyP41KIHl f1nu2DqduqXldsinOc6XKWU5eqgAWalcFfaMXFpmu/1bAe4UIdr9vsK7FdYTOM7PcsrU2qKQMVzh Lqy+KDZNpn8w4jD1eiESLhfzdy0iQeGMSPN49hNxnUA+5yzVinkLqc9NvYaeamQ4N00rzZx5oywL 8ED4paVOpKvuFeFRy8Pd8WmJyOLlpchZ2i1hmDkyVOUr4TmAsg6dIPaES91adD1Swlj09KGDP/Go Dl9bwkcjR2YO07OsYhkiVAOWyXvoWEbgZqB1Cf50Mn6BPNvwYomWkQ1axdDhKb7cEYLDgNXKw3+f QWldQvX4EBJFbBLEY3rLIquDPycyZLBwzQzjVLOaQfoAeYDtXgZOpW9iUe0nZ+krjZNKpJ3h8Bfz d5OVvNxeIQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wNC0yOVQwOTo0NTo0NiswMDowMPQctWcA AAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDQtMjlUMDk6NDU6NDYrMDA6MDCFQQ3bAAAAAElFTkSu QmCC X-Now-Playing: Themselves's _CrownsDown_: "roman is as roman does" In-Reply-To: <86fslwxuxe.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 29 Apr 2022 09:51:09 +0300") 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:230935 Archived-At: Juri Linkov writes: > So only folding `' with =E2=80=98=E2=80=99 is required? Yup, I think so. > Then it's easy to do: [...] > @@ -2147,7 +2149,10 @@ Info-isearch-search > (funcall isearch-regexp-function string lax) > (word-search-regexp string lax)))) > (isearch-regexp string) > - (t (regexp-quote string))) > + (t (thread-last > + (regexp-quote string) > + (replace-regexp-in-string "`" "[`=E2=80=98]") > + (replace-regexp-in-string "'" "['=E2=80=99]")))) > bound noerror count > (unless isearch-forward 'backward))) > (point)) Nice. But we should also have this in *Help* (and possibly other buffers where we do the `' -> =E2=80=98=E2=80=99 dance, but I can't think o= f any others at the moment), so would it possible to have this like a little minor mode? Or would that be difficult? (I've barely looked at the char-fold machinery, so I have no idea.) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no