From unknown Sat Jun 21 10:41:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#13131 <13131@debbugs.gnu.org> To: bug#13131 <13131@debbugs.gnu.org> Subject: Status: 24.1; Allow curly quotes to be found by searching for straight quotes? Reply-To: bug#13131 <13131@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:41:05 +0000 retitle 13131 24.1; Allow curly quotes to be found by searching for straigh= t quotes? reassign 13131 emacs submitter 13131 Reuben Thomas severity 13131 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 09 19:19:21 2012 Received: (at submit) by debbugs.gnu.org; 10 Dec 2012 00:19:22 +0000 Received: from localhost ([127.0.0.1]:34489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Thr5d-0001IH-0X for submit@debbugs.gnu.org; Sun, 09 Dec 2012 19:19:21 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35479) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Thr5a-0001IA-4y for submit@debbugs.gnu.org; Sun, 09 Dec 2012 19:19:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Thr50-0001GK-TL for submit@debbugs.gnu.org; Sun, 09 Dec 2012 19:18:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-104.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:50448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thr50-0001GF-QB for submit@debbugs.gnu.org; Sun, 09 Dec 2012 19:18:42 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thr4t-0007dj-7T for bug-gnu-emacs@gnu.org; Sun, 09 Dec 2012 19:18:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Thr4r-0001Em-4r for bug-gnu-emacs@gnu.org; Sun, 09 Dec 2012 19:18:35 -0500 Received: from exprod7ob102.obsmtp.com ([64.18.2.156]:37043) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Thr4q-0001EW-Ov for bug-gnu-emacs@gnu.org; Sun, 09 Dec 2012 19:18:33 -0500 Received: from mail-wi0-f199.google.com ([209.85.212.199]) (using TLSv1) by exprod7ob102.postini.com ([64.18.6.12]) with SMTP ID DSNKUMUqVe+E7c5g+8gpZxxNNTail6uAZoep@postini.com; Sun, 09 Dec 2012 16:18:31 PST Received: by mail-wi0-f199.google.com with SMTP id hn19so1351767wib.6 for ; Sun, 09 Dec 2012 16:18:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type :x-gm-message-state; bh=mRGpEu5AgXfxS0VuL9UWDDqaU1sDa4Unr/r4cktuZtM=; b=IJsBEdA9N8NpgJTWtTKl2+oDPY3cmg1hV1KYqntoJqcrbjNZDcENN5ffg8/ggeyPp6 ELEoAT31frNaF+BBh0LqBjuhp84lv4lyuq90hjJxtnS1zyMmUaIRj5Xwy7SJjovMa14D oNsQ+uxhmk0e33KqExDd9UMur9lGtXR6qEedaW1Ehy1s6tPgjwomo7A/4dom6qAzV3kb cWZA+0Cr1gzTU4CsuUpDcfENphG5OnRKVwml3s6EldQhsJOtPAvOufVeQfKsJDc14/az IwPZKA41jZjO3hHSdWJhoXoJA+a/4y4mjH1WZ5UHON4srWZeIWIrBgyR6wsWkeiryNUV bqag== Received: by 10.180.86.233 with SMTP id s9mr8018241wiz.8.1355098708775; Sun, 09 Dec 2012 16:18:28 -0800 (PST) Received: by 10.180.86.233 with SMTP id s9mr8018236wiz.8.1355098708603; Sun, 09 Dec 2012 16:18:28 -0800 (PST) Received: from slice ([149.241.102.247]) by mx.google.com with ESMTPS id h19sm8040123wiv.7.2012.12.09.16.18.27 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 16:18:28 -0800 (PST) From: Reuben Thomas To: bug-gnu-emacs@gnu.org Subject: 24.1; Allow curly quotes to be found by searching for straight quotes? Date: Mon, 10 Dec 2012 00:18:27 +0000 Message-ID: <87obi2bvzg.fsf@sc3d.org> MIME-Version: 1.0 Content-Type: text/plain X-Gm-Message-State: ALoCoQmyJFogNsbANbRitR9Sha03+ArRr5K5p/8O3U8aJnEbpqmzgzN/HLrgN4V++Oa4C1oxwr4O3FShPEgdfg8HPUTC9cWDNEHlKjFgc6pN8IDvCrTiFE6FSO0cyTR++/XMwodN5t3O1MDHge5/EEB5Tk3kPCYz8wncRHBRp2RVVusoshxcX28= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) isearch kindly matches multiple spaces when you insert a space; similarly, it'd be good if searching for a straight quote also matched curly quotes (arguably only in modes where that really makes sense, i.e. text modes). In GNU Emacs 24.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.12) of 2012-09-22 on batsu, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11300000 Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -O2' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: LaTeX/P Minor modes in effect: TeX-PDF-mode: t buffer-face-mode: t flyspell-mode: t smart-quotes-mode: t recentf-mode: t show-paren-mode: t server-mode: t savehist-mode: t minibuffer-electric-default-mode: t iswitchb-mode: t icomplete-mode: t global-auto-revert-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t visual-line-mode: t transient-mark-mode: t abbrev-mode: t Recent input: C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a C-c C-c C-s s t i l l SPC o f C-a C-s H e r e SPC a r e SPC i s SPC C-s w i C-a C-x C-s C-s w i t h SPC o n e SPC C-s " o n e SPC c c o a c c o r d " M-b M-b M-c SPC h a s SPC m a n y SPC c o n c o r d s M-d M-d M-d M-d C-_ d s : C-d C-d C-x C-s C-d C-x C-s C-a C-_ , SPC a y e , SPC o n C-x C-s C-s T h e r e ' ' s M-x r e p o r t - e m c a s - a c s - b u g Recent messages: Saving file /home/rrt/Writing/Poetry/youth/youth.tex... Wrote /home/rrt/Writing/Poetry/youth/youth.tex Saving file /home/rrt/Writing/Poetry/youth/youth.tex... Wrote /home/rrt/Writing/Poetry/youth/youth.tex Undo! Auto-saving...done Auto-saving...done Saving file /home/rrt/Writing/Poetry/youth/youth.tex... Wrote /home/rrt/Writing/Poetry/youth/youth.tex Mark saved where search started Load-path shadows: /home/rrt/local/share/emacs/site-lisp/dict hides /usr/share/emacs24/site-lisp/emacs-goodies-el/dict /home/rrt/local/share/emacs/site-lisp/browse-kill-ring hides /usr/share/emacs24/site-lisp/emacs-goodies-el/browse-kill-ring /home/rrt/.emacs.d/elpa/dictionary-1.8.7/link hides /usr/share/emacs24/site-lisp/dictionary-el/link /home/rrt/.emacs.d/elpa/dictionary-1.8.7/dictionary hides /usr/share/emacs24/site-lisp/dictionary-el/dictionary /home/rrt/.emacs.d/elpa/dictionary-1.8.7/dictionary-init hides /usr/share/emacs24/site-lisp/dictionary-el/dictionary-init /home/rrt/.emacs.d/elpa/dictionary-1.8.7/connection hides /usr/share/emacs24/site-lisp/dictionary-el/connection /usr/share/emacs24/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt /usr/share/emacs24/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex /usr/share/emacs24/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp /usr/share/emacs24/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold /usr/share/emacs24/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp /usr/share/emacs24/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview /usr/share/emacs24/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar /usr/share/emacs24/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik /usr/share/emacs24/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x /usr/share/emacs24/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex /usr/share/emacs24/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs /usr/share/emacs24/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context /usr/share/emacs24/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info /usr/share/emacs24/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font /usr/share/emacs24/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style /usr/share/emacs24/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite /usr/share/emacs24/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex /usr/share/emacs24/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl /usr/share/emacs24/site-lisp/auctex/plain-tex hides /usr/share/emacs/site-lisp/auctex/plain-tex /usr/share/emacs24/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en /usr/share/emacs24/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf /usr/share/emacs/site-lisp/golang-mode/go-mode-load hides /usr/share/emacs/24.1/site-lisp/golang-mode/go-mode-load /usr/share/emacs/site-lisp/golang-mode/go-mode hides /usr/share/emacs/24.1/site-lisp/golang-mode/go-mode /usr/share/emacs/24.1/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.1/lisp/textmodes/ispell /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.1/lisp/textmodes/flyspell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.1/lisp/textmodes/rst Features: (plain-tex qp newcomment shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils jka-compr find-func pp help-mode view multi-isearch etags texmathp latexenc make-mode autoconf autoconf-mode vc-git lua-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs flymake compile comint ansi-color ring preview prv-emacs warnings tex-buf noutline outline font-latex byte-opt bytecomp byte-compile cconv macroexp latex tex-style tex dbus xml face-remap regexp-opt flyspell ispell smart-quotes auto-dictionary-autoloads c-eldoc-autoloads dictionary-autoloads diff-git-autoloads dired-isearch-autoloads full-ack-autoloads guess-style-autoloads kill-ring-search-autoloads magit-autoloads mv-shell-autoloads tumble-autoloads http-post-simple-autoloads package tabulated-list completing-help recentf tree-widget wid-edit uniquify paren server savehist minibuf-eldef iswitchb icomplete autorevert desktop cus-start cus-load ropemacs pymacs user-site-loaddefs advice advice-preload yasnippet help-fns derived edmacro kmacro easymenu assoc cl go-mode-load emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode preview-latex tex-site auto-loads time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- http://rrt.sc3d.org/ From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 10 03:10:49 2012 Received: (at 13131) by debbugs.gnu.org; 10 Dec 2012 08:10:49 +0000 Received: from localhost ([127.0.0.1]:34814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThyRt-0003MW-DH for submit@debbugs.gnu.org; Mon, 10 Dec 2012 03:10:49 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:36201 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThyRe-0003M4-Lk for 13131@debbugs.gnu.org; Mon, 10 Dec 2012 03:10:35 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 3D882451E1A6; Mon, 10 Dec 2012 00:09:59 -0800 (PST) From: Juri Linkov To: Reuben Thomas Subject: Re: bug#13131: 24.1; Allow curly quotes to be found by searching for straight quotes? Organization: JURTA References: <87obi2bvzg.fsf@sc3d.org> Date: Mon, 10 Dec 2012 09:59:05 +0200 In-Reply-To: <87obi2bvzg.fsf@sc3d.org> (Reuben Thomas's message of "Mon, 10 Dec 2012 00:18:27 +0000") Message-ID: <87fw3exrqu.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13131 Cc: 13131@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) > isearch kindly matches multiple spaces when you insert a space; > similarly, it'd be good if searching for a straight quote also matched > curly quotes (arguably only in modes where that really makes sense, i.e. > text modes). I suppose under "straight quote" you mean Unicode char named APOSTROPHE, and "curly quotes" are LEFT SINGLE QUOTATION MARK and RIGHT SINGLE QUOTATION MARK. There is a mapping of LEFT DOUBLE QUOTATION MARK and RIGHT DOUBLE QUOTATION MARK to "``" and "''" in `IT-unicode-translations' in lisp/term/internal.el, but it's not suitable for this. I can't find more mappings in the source code, ucs-normalize.el says that Punctuation is excluded from Normalization: ;; HFS Normalization excludes following area for decomposition. ;; U+02000 .. U+02FFF :: Punctuation, symbols, dingbats, arrows, etc. But it seems Normalization can't help anyway because there is no decomposition information for such quotes in UnicodeData.txt. Maybe the Unicode standard has a separate document for equivalence mappings for punctuation. I can found only the following table. Is this what is needed? http://unicode.org/cldr/charts/supplemental/character_fallback_substitutions.html From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 10 03:29:40 2012 Received: (at 13131) by debbugs.gnu.org; 10 Dec 2012 08:29:40 +0000 Received: from localhost ([127.0.0.1]:34833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Thyk7-0003mV-W9 for submit@debbugs.gnu.org; Mon, 10 Dec 2012 03:29:40 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:64640) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Thyk4-0003mD-Te for 13131@debbugs.gnu.org; Mon, 10 Dec 2012 03:29:38 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MET001003EC9I00@a-mtaout21.012.net.il> for 13131@debbugs.gnu.org; Mon, 10 Dec 2012 10:28:40 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MET001OV3JR0T80@a-mtaout21.012.net.il>; Mon, 10 Dec 2012 10:28:40 +0200 (IST) Date: Mon, 10 Dec 2012 10:28:30 +0200 From: Eli Zaretskii Subject: Re: bug#13131: 24.1; Allow curly quotes to be found by searching for straight quotes? In-reply-to: <87fw3exrqu.fsf@mail.jurta.org> To: Juri Linkov Message-id: <83sj7eb9ap.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <87obi2bvzg.fsf@sc3d.org> <87fw3exrqu.fsf@mail.jurta.org> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Juri Linkov > Date: Mon, 10 Dec 2012 09:59:05 +0200 > Cc: 13131@debbugs.gnu.org > > There is a mapping of LEFT DOUBLE QUOTATION MARK and RIGHT DOUBLE QUOTATION MARK > to "``" and "''" in `IT-unicode-translations' in lisp/term/internal.el [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.169 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4767] X-Debbugs-Envelope-To: 13131 Cc: 13131@debbugs.gnu.org, rrt@sc3d.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) > From: Juri Linkov > Date: Mon, 10 Dec 2012 09:59:05 +0200 > Cc: 13131@debbugs.gnu.org >=20 > There is a mapping of LEFT DOUBLE QUOTATION MARK and RIGHT DOUBLE Q= UOTATION MARK > to "``" and "''" in `IT-unicode-translations' in lisp/term/internal= .el Irrelevant to the issue at hand. That mapping (and internal.el in general) is used by the MS-DOS build of Emacs to allow a legible display of characters that the DOS codepage doesn't support. > I can't find more mappings in the source code, ucs-normalize.el say= s > that Punctuation is excluded from Normalization: >=20 > ;; HFS Normalization excludes following area for decomposition. > ;; U+02000 .. U+02FFF :: Punctuation, symbols, dingbats, arrows, e= tc. >=20 > But it seems Normalization can't help anyway because there is no > decomposition information for such quotes in UnicodeData.txt. This is not a normalization issue. This is about an Emacs specific feature, and should be treated as such. We should begin by discussing whether we really want this feature, by default or otherwise. One of the aspects we need to consider, IMO, i= s what do spell-checkers do with these characters: if they don't treat them as word-constituents, that would be one argument against the change; if they do, it's an argument for the change. > Maybe the Unicode standard has a separate document for equivalence = mappings > for punctuation. I can found only the following table. Is this wh= at is needed? >=20 > http://unicode.org/cldr/charts/supplemental/character_fallback_subs= titutions.html This seems to be relevant to display, not to the issue at hand. If anything, it should tell us to treat ' as we treat =E2=80=99, not the= other way around. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 10 03:54:46 2012 Received: (at 13131) by debbugs.gnu.org; 10 Dec 2012 08:54:46 +0000 Received: from localhost ([127.0.0.1]:34844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Thz8P-0004L0-Jx for submit@debbugs.gnu.org; Mon, 10 Dec 2012 03:54:46 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:56303 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Thz8M-0004Ks-2u for 13131@debbugs.gnu.org; Mon, 10 Dec 2012 03:54:43 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id DB4FB451E19C; Mon, 10 Dec 2012 00:54:05 -0800 (PST) From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#13131: 24.1; Allow curly quotes to be found by searching for straight quotes? Organization: JURTA References: <87obi2bvzg.fsf@sc3d.org> <87fw3exrqu.fsf@mail.jurta.org> <83sj7eb9ap.fsf@gnu.org> Date: Mon, 10 Dec 2012 10:49:57 +0200 In-Reply-To: <83sj7eb9ap.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 10 Dec 2012 10:28:30 +0200") Message-ID: <87boe2watm.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13131 Cc: 13131@debbugs.gnu.org, rrt@sc3d.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) >> http://unicode.org/cldr/charts/supplemental/character_fallback_substit= utions.html > > This seems to be relevant to display, not to the issue at hand. If > anything, it should tell us to treat ' as we treat =E2=80=99, not the o= ther > way around. Most of the equivalent sequences in character_fallback_substitutions.html are NFC and NFKC that means normalization using the decomposition propert= y whose equivalence we already argeed to implement in the search. A few of the equivalent sequences are marked "Explicit" and all of them are defined in a separate very small file http://unicode.org/repos/cldr/trunk/common/supplemental/characters.xml whose mappings we could also add to our equivalence tables explicitly. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 10 06:21:12 2012 Received: (at 13131) by debbugs.gnu.org; 10 Dec 2012 11:21:12 +0000 Received: from localhost ([127.0.0.1]:34945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ti1Q7-0007YB-O1 for submit@debbugs.gnu.org; Mon, 10 Dec 2012 06:21:12 -0500 Received: from exprod7og121.obsmtp.com ([64.18.2.20]:38816) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1Ti1Q5-0007Y2-EQ for 13131@debbugs.gnu.org; Mon, 10 Dec 2012 06:21:10 -0500 Received: from mail-wi0-f200.google.com ([209.85.212.200]) (using TLSv1) by exprod7ob121.postini.com ([64.18.6.12]) with SMTP ID DSNKUMXFgUMKYZqd6pRfbPQTjqhdWmNaw9jI@postini.com; Mon, 10 Dec 2012 03:20:34 PST Received: by mail-wi0-f200.google.com with SMTP id hn14so1549745wib.3 for <13131@debbugs.gnu.org>; Mon, 10 Dec 2012 03:20:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=7I76DQx0W9lLzTNCnQKUgNoDREkh96NRW3JrjjtbfUo=; b=BpiWWcmYuFMqeTHOkfAyjs97qV3Swn/Iscdmq9fadPAQgToHAR321Q0nOXA2JdhT5H Y8mFKKtCP8OWJ6Ibg+lVJuGcm1sTmYBrg6D762INeDEtfR5PEwGqYOrYPid8SK7bppGL cyYIbCnOrjg0LRnZFdNOnRp3EWYOoTgPScS/0gR8Rje4g+KRSgfj1YdNxoZZtWuOo5e8 0d4FJdlK0k36oMFr5+SQgQGdUqTYoaT0L8R10B96d3suTsF+YBCDlE+u4LI1t1a4Z2KO XvwHXEo7p0ZXcPL9SwGgTIE+EGYznj/iWonDbbKdSvQK0sydDCHYvNie787xJz90ZUzO ZoaA== Received: by 10.14.203.8 with SMTP id e8mr48889399eeo.2.1355138432798; Mon, 10 Dec 2012 03:20:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.203.8 with SMTP id e8mr48889375eeo.2.1355138432668; Mon, 10 Dec 2012 03:20:32 -0800 (PST) Received: by 10.14.212.66 with HTTP; Mon, 10 Dec 2012 03:20:32 -0800 (PST) In-Reply-To: <83sj7eb9ap.fsf@gnu.org> References: <87obi2bvzg.fsf@sc3d.org> <87fw3exrqu.fsf@mail.jurta.org> <83sj7eb9ap.fsf@gnu.org> Date: Mon, 10 Dec 2012 11:20:32 +0000 Message-ID: Subject: Re: bug#13131: 24.1; Allow curly quotes to be found by searching for straight quotes? From: Reuben Thomas To: Eli Zaretskii Content-Type: multipart/alternative; boundary=047d7b343abae694f404d07dc07c X-Gm-Message-State: ALoCoQkFaLMEXHKYaNCvj745bKNE+IddKL2praZ5fugkIicZRnYRaWF2+tgouH4HIDHOmV6ovHH7GPqUowj2QX1slTkSKb4b4uVquNMq+A6hdHdClCupOtw2jAvEjXh2mqy5hJ9CMkLGSEb8giLXEGsGbMfrimJN+96rBJWsfCj1s2eZibKiHzM= X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 13131 Cc: Juri Linkov , 13131@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.5 (-) --047d7b343abae694f404d07dc07c Content-Type: text/plain; charset=ISO-8859-1 On 10 December 2012 08:28, Eli Zaretskii wrote: > > We should begin by discussing whether we really want this feature, by > default or otherwise. One of the aspects we need to consider, IMO, is > what do spell-checkers do with these characters: if they don't treat > them as word-constituents, that would be one argument against the > change; if they do, it's an argument for the change. > At least aspell now seems to accept curly quotes by default in some locales. However, I think the rationale for the feature is independent of spell-checkers. Emacs has had support for displaying curly quotes for some time. There are various ways to enter them conveniently (the Emacs Wiki lists smart-quotes.el, which I use, and typopunct.el. The sole author of smart-quotes.el would be quite happy to assign copyright to GNU and have it added to Emacs; I suggested he contact the maintainers about this in August 2011. (Incidentally, I'd be happy to facilitate the process if Emacs maintainers were interested.) Since curly quotes make perfect sense as part of words, in exactly the same way as straight quotes, it seems reasonable to treat them the same for movement, even if spelling support is not yet perfect; indeed, any additional incentive to spelling program authors to improve Unicode punctuation support is welcome. For writing text, the introduction of Unicode has been a boon, and it would be great if Emacs's "semantic" support would catch up with its excellent display support. This is one aspect of that. -- http://rrt.sc3d.org --047d7b343abae694f404d07dc07c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10 December 2012 08:28, Eli Zaretskii <eliz@gnu.org> wrote:

We should begin by discussing whether we really want this feature, by
default or otherwise. =A0One of the aspects we need to consider, IMO, is what do spell-checkers do with these characters: if they don't treat them as word-constituents, that would be one argument against the
change; if they do, it's an argument for the change.

At least aspell now seems to accept curly qu= otes by default in some locales.

However,=A0 I think the rationale f= or the feature is independent of spell-checkers. Emacs has had support for = displaying curly quotes for some time. There are various ways to enter them= conveniently (the Emacs Wiki lists smart-quotes.el, which I use, and typop= unct.el. The sole author of smart-quotes.el would be quite happy to assign = copyright to GNU and have it added to Emacs; I suggested he contact the mai= ntainers about this in August 2011. (Incidentally, I'd be happy to faci= litate the process if Emacs maintainers were interested.)

Since curly quotes make perfect sense as part of words, in = exactly the same way as straight quotes, it seems reasonable to treat them = the same for movement, even if spelling support is not yet perfect; indeed,= any additional incentive to spelling program authors to improve Unicode pu= nctuation support is welcome.

For writing text, the introduction of Unicode has been a boon, and it w= ould be great if Emacs's "semantic" support would catch up wi= th its excellent display support. This is one aspect of that.

-- http://rrt.sc3d.org
--047d7b343abae694f404d07dc07c-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 28 18:59:44 2019 Received: (at 13131-done) by debbugs.gnu.org; 28 Jul 2019 22:59:44 +0000 Received: from localhost ([127.0.0.1]:47345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrs8m-0005Z4-E0 for submit@debbugs.gnu.org; Sun, 28 Jul 2019 18:59:44 -0400 Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62]:11451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrs8k-0005Yu-9w for 13131-done@debbugs.gnu.org; Sun, 28 Jul 2019 18:59:42 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E0288140F63; Sun, 28 Jul 2019 22:59:40 +0000 (UTC) Received: from pdx1-sub0-mail-a90.g.dreamhost.com (100-96-87-4.trex.outbound.svc.cluster.local [100.96.87.4]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 72DD6141E54; Sun, 28 Jul 2019 22:59:40 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a90.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.3); Sun, 28 Jul 2019 22:59:40 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Plucky-Whistle: 0e6a914a4529624a_1564354780730_859574084 X-MC-Loop-Signature: 1564354780729:1957306543 X-MC-Ingress-Time: 1564354780729 Received: from pdx1-sub0-mail-a90.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a90.g.dreamhost.com (Postfix) with ESMTP id 4010B7FD15; Sun, 28 Jul 2019 15:59:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=HM+s/6kflqo3t2+xHUJZ+6T7P8w=; b= RMOvQXIPDCAC2dsTPdd/uCELVzAzddqenEyYCmGHbPoZ60bBPdU1wVxtFpax15h0 ZYFlCXq4GgDlm2RZtA1QofYI2m16zhQTZs2+ZClh9TbEqUnzPuq+g3im87+R2dle JoZ5DimFmu+QNCjC0FhMUIG+euXVdloK1pX2HyDBG3s= Received: from mail.jurta.org (m91-129-103-76.cust.tele2.ee [91.129.103.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a90.g.dreamhost.com (Postfix) with ESMTPSA id 7652C7FD0F; Sun, 28 Jul 2019 15:59:32 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a90 From: Juri Linkov To: Reuben Thomas Subject: Re: bug#13131: 24.1; Allow curly quotes to be found by searching for straight quotes? References: <87obi2bvzg.fsf@sc3d.org> Date: Mon, 29 Jul 2019 01:58:52 +0300 In-Reply-To: <87obi2bvzg.fsf@sc3d.org> (Reuben Thomas's message of "Mon, 10 Dec 2012 00:18:27 +0000") Message-ID: <87r269ojf7.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrledtgdduhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtfedrjeeinecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtfedrjeeipdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheprhhrthesshgtfegurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13131-done Cc: 13131-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > isearch kindly matches multiple spaces when you insert a space; > similarly, it'd be good if searching for a straight quote also matched > curly quotes (arguably only in modes where that really makes sense, i.e. > text modes). This is implemented now by char-fold feature. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 29 06:02:28 2019 Received: (at 13131-done) by debbugs.gnu.org; 29 Jul 2019 10:02:28 +0000 Received: from localhost ([127.0.0.1]:47695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hs2U8-0007ZE-37 for submit@debbugs.gnu.org; Mon, 29 Jul 2019 06:02:28 -0400 Received: from mail-ot1-f46.google.com ([209.85.210.46]:39722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hs2U5-0007Z1-Nk for 13131-done@debbugs.gnu.org; Mon, 29 Jul 2019 06:02:26 -0400 Received: by mail-ot1-f46.google.com with SMTP id r21so55916170otq.6 for <13131-done@debbugs.gnu.org>; Mon, 29 Jul 2019 03:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=svT+voH9/SxZnj0i/pVSs5vBblvTb7iWFmrqspBIhdM=; b=tZUH6d6UJ3tpZ1xI9Jk/8N3fMYmEzJlldQCGOSEt0wGHNrftPC6eK6d/EDtfPYb/tq jGxeqw+R0QXN4bzgpo09ekvv6DH3Q6WRuRCSdoTmsUaTb8bnaGg6asL8r61di7z67oiF n5XDQmPp/4Sbx6NyGJG+KejwyhTKXto/uh1U4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=svT+voH9/SxZnj0i/pVSs5vBblvTb7iWFmrqspBIhdM=; b=okY/JFU+sBDSfcGekd85aecBq7HrVB7SZjgxd1sW9Xb0XcPiAoS6x2OcXJytqs5iyV 6vaAVHzUcxDVDdKxbHArtZUukPOVdbxgGBWx2m2Y6VreID8As3ZNvfnJnU01mb1vbht0 AyGiD9KOz4Izg+egmvuVHiQ4z5SfQ2ravA46+rdgmB2rTi9QYQAUNUnYzPK7mO2MMebw u5Y0LuzMFVvD4ZXSdwgxU5lBf+TV47W6VX6jjVOp7gL3mPiuCjtJb4WfMtpYRn7nIVso re/d1de0oUa/3mx7+9KdnmuEqmz2SHjT/zqHJ6ERt1X/9up9R28QaPW8tBKOt8YXHjNO s46g== X-Gm-Message-State: APjAAAVcxZjMxqih/hoB8WA9+3420YYy4KNIkYrX5FkYIXdHaGGPqCFY uNa8XAKcoi1jJ+FwGAhO7pCTjtk5wJYbmQkJStJ9+VuP X-Google-Smtp-Source: APXvYqyotpYO1sWXuZJGlAHy5PsgXfmM30ifOVXyrHeM0lNnHUCQtdsmflarJWZ0sGwo4Z0x9KSiAY9PC9HQoZQ8UBw= X-Received: by 2002:a9d:7a82:: with SMTP id l2mr81590149otn.120.1564394539426; Mon, 29 Jul 2019 03:02:19 -0700 (PDT) MIME-Version: 1.0 References: <87obi2bvzg.fsf@sc3d.org> <87r269ojf7.fsf@mail.linkov.net> In-Reply-To: <87r269ojf7.fsf@mail.linkov.net> From: Reuben Thomas Date: Mon, 29 Jul 2019 11:02:07 +0100 Message-ID: Subject: Re: bug#13131: 24.1; Allow curly quotes to be found by searching for straight quotes? To: Juri Linkov Content-Type: multipart/alternative; boundary="000000000000cfb73b058ecefccd" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13131-done Cc: 13131-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000cfb73b058ecefccd Content-Type: text/plain; charset="UTF-8" On Sun, 28 Jul 2019 at 23:59, Juri Linkov wrote: > > isearch kindly matches multiple spaces when you insert a space; > > similarly, it'd be good if searching for a straight quote also matched > > curly quotes (arguably only in modes where that really makes sense, i.e. > > text modes). > > This is implemented now by char-fold feature. > Thanks, that's a great improvement! -- https://rrt.sc3d.org --000000000000cfb73b058ecefccd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, 28 Jul 2019 at 23:59, Juri Linkov <juri@linkov.net> wrote:
> isearch kindly matches multiple spaces whe= n you insert a space;
> similarly, it'd be good if searching for a straight quote also mat= ched
> curly quotes (arguably only in modes where that really makes sense, i.= e.
> text modes).

This is implemented now by char-fold feature.

Thanks, that'= s a great improvement!

--
--000000000000cfb73b058ecefccd-- From unknown Sat Jun 21 10:41:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 26 Aug 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator