From unknown Wed Aug 20 03:37:12 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#23696 <23696@debbugs.gnu.org> To: bug#23696 <23696@debbugs.gnu.org> Subject: Status: 25.0.94; Wrong quoting in several doc strings Reply-To: bug#23696 <23696@debbugs.gnu.org> Date: Wed, 20 Aug 2025 10:37:12 +0000 retitle 23696 25.0.94; Wrong quoting in several doc strings reassign 23696 emacs submitter 23696 Stephen Berman severity 23696 normal tag 23696 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 05 05:19:44 2016 Received: (at submit) by debbugs.gnu.org; 5 Jun 2016 09:19:44 +0000 Received: from localhost ([127.0.0.1]:54885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9UDf-0003pz-Of for submit@debbugs.gnu.org; Sun, 05 Jun 2016 05:19:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9UDe-0003pm-3o for submit@debbugs.gnu.org; Sun, 05 Jun 2016 05:19:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9UDX-0008Po-MB for submit@debbugs.gnu.org; Sun, 05 Jun 2016 05:19:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9UDX-0008Pj-J3 for submit@debbugs.gnu.org; Sun, 05 Jun 2016 05:19:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9UDU-0007Bw-Q3 for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2016 05:19:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9UDP-0008P4-O1 for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2016 05:19:32 -0400 Received: from mout.gmx.net ([212.227.15.19]:61277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9UDP-0008Ox-D5 for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2016 05:19:27 -0400 Received: from rosalinde ([89.245.71.113]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lpbqo-1behtQ01dW-00fR7V for ; Sun, 05 Jun 2016 11:19:26 +0200 From: Stephen Berman To: bug-gnu-emacs@gnu.org Subject: 25.0.94; Wrong quoting in several doc strings Date: Sun, 05 Jun 2016 11:19:25 +0200 Message-ID: <87wpm4m1r6.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:jj6nZC/uE9zjLpr9h9BX77YnRCK3yqGK5vOGQAVPjgLtXSer+oO kXPijBRDzeGif6iex68M8Y42+EQH4LCWX4/RnQ2z2XbC4mJxZYIoC990PMTduj66v5kleij B5juU7zIbEvSMO/AxEFBkIu+Khsd3eCeTynEi5mfCl4Ghp2f/aEsw4LPsnTD7/f2XEuqSNH Rb3jQb/NPfT8s3As/BYHg== X-UI-Out-Filterresults: notjunk:1;V01:K0:uAd1yLWw1XA=:R8UTI57srPHm4ZzfWDy5uS gLcyckRqaFzqn6+N/dZu9szbodPFEx5Ze86PDu2x6E33mIVflYvpqiNhAA4+t7aj1ZuB5/hZB Hs4NnO90KNVTjUZhBsSjjzI6W+JB6iVspjUwNgX45gJAfp6YdeJQdlT6N203lqVRfTXkgD2i8 asm5jXgwiPZbBDNocUx74X4y+sMZ39z2WaxwZUn+bpQw7DyXUzh60qrXyPPoqRfX/8JQshPAa YCKQ1PPoMVUKenEJlVp+JVEJSSHTovHETYm/SVKN80/AT6+DTXYwFKEDSRO+V6WTJ9Wu9VbZc HAqc84rTFHRfpW4nEbsmfRyvdXPz8/EpAm+LB+MQ+AEcY4Sdg94qgNT8/FY6OeIgVMOpLmLlk ix6wgqxMGcVnsyEt4S7ww4SzBrKxzMj7GbscoLeTDdJ4gfYbyCP1EP76864rrd5+B+JHkKAgY wPAIecwG/nEDmbRRcPuqMfquS9GC3UDq/NCg3ourC6cQ3PJIGZvXeyY1dcPXeBNW6esEYpBKr O242m8466h0wFbLDTKaISliP8MyQvyBmlMfkkZxD8BgRGxQts45iCGmvEqSQBHlPpQlFSr6q0 cgF84lb5gIk3qqMfZWIHDphknX814/KxK0Hjt97PdkNU2jp6HSowwr1xPk6mwgIfFyhGuwR/F Nn+wZ4dePWzfRm1mt5c8uCfjE47FL9Y9Pm2EzoOcHYyJI48q67gwLjHOYFFZJbBELbOLwWjRv 1XKDJTdHHLmea3D3kNHlUD1tBNlDXnwVuiekAhTWDSC6QlBR27GdFJlNLtez2xu+yLIJaQWKd UcYhFQc X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) I found cases of quoting in several doc strings that appear in the *Help* buffer as curved quotes, I believe wrongly. I would like to ask for confirmation that the fixes below are correct and, if so, approval to push them to emacs-25. Note that the patch for vhdl-mode also removes a quote that is at least superfluous, if not incorrect. In GNU Emacs 25.0.94.8 (x86_64-suse-linux-gnu, GTK+ Version 3.14.15) of 2016-06-05 built on rosalinde Repository revision: a5d05f447008c4a99d1b00f0af642b4a5ce4cbce Windowing system distributor 'The X.Org Foundation', version 11.0.11601000 System Description: openSUSE 13.2 (Harlequin) (x86_64) diff --git a/lisp/files.el b/lisp/files.el index c5cfa8e..1f97fa5 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -6147,7 +6147,7 @@ shell-quote-wildcard-pattern PATTERN is assumed to represent a file-name wildcard suitable for the underlying filesystem. For Unix and GNU/Linux, each character from the -set [ \\t\\n;<>&|()`'\"#$] is quoted with a backslash; for DOS/Windows, all +set [ \\t\\n;<>&|()\\=`\\='\"#$] is quoted with a backslash; for DOS/Windows, all the parts of the pattern which don't include wildcard characters are quoted with double quotes. diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index a390494..0756c79 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el @@ -4684,7 +4684,7 @@ vhdl-mode SPECIAL MENUES: As an alternative to the speedbar, an index menu can be added (set option `vhdl-index-menu' to non-nil) or made accessible as a mouse menu - (e.g. add \"(global-set-key '[S-down-mouse-3] 'imenu)\" to your start-up + (e.g. add \"(global-set-key [S-down-mouse-3] \\='imenu)\" to your start-up file) for browsing the file contents (is not populated if buffer is larger than 256000). Also, a source file menu can be added (set option `vhdl-source-file-menu' to non-nil) for browsing the diff --git a/lisp/subr.el b/lisp/subr.el index 43660d7..81570d4 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -3760,9 +3760,9 @@ replace-regexp-in-string of STRING, the same substring that is the actual text of the match which is passed to REP as its argument. -To replace only the first match (if any), make REGEXP match up to \\' +To replace only the first match (if any), make REGEXP match up to \\\\=' and replace a sub-expression, e.g. - (replace-regexp-in-string \"\\\\(foo\\\\).*\\\\'\" \"bar\" \" foo foo\" nil nil 1) + (replace-regexp-in-string \"\\\\(foo\\\\).*\\\\\\='\" \"bar\" \" foo foo\" nil nil 1) => \" bar foo\"" ;; To avoid excessive consing from multiple matches in long strings, diff --git a/lisp/view.el b/lisp/view.el index 830073a..ff7d2c9 100644 --- a/lisp/view.el +++ b/lisp/view.el @@ -429,7 +429,7 @@ view-mode Mark ring is pushed at start of every successful search and when jump to line occurs. The mark is set on jump to buffer start or end. \\[point-to-register] save current position in character register. -' go to position saved in character register. +\\=' go to position saved in character register. s do forward incremental search. r do reverse incremental search. \\[View-search-regexp-forward] searches forward for regular expression, starting after current page. diff --git a/src/nsfns.m b/src/nsfns.m index ea09908..9bc6c1d 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -3125,7 +3125,7 @@ Example: Install an icon Gnus.tiff and execute the following code (setq ns-icon-type-alist (append ns-icon-type-alist - '((\"^\\\\*\\\\(Group\\\\*$\\\\|Summary \\\\|Article\\\\*$\\\\)\" + \\='((\"^\\\\*\\\\(Group\\\\*$\\\\|Summary \\\\|Article\\\\*$\\\\)\" . \"Gnus\")))) When you miniaturize a Group, Summary or Article frame, Gnus.tiff will diff --git a/src/syntax.c b/src/syntax.c index 8e14bf3..16b7fab 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -3079,7 +3079,7 @@ but before count is used up, nil is returned. */) DEFUN ("backward-prefix-chars", Fbackward_prefix_chars, Sbackward_prefix_chars, 0, 0, 0, doc: /* Move point backward over any number of chars with prefix syntax. -This includes chars with expression prefix syntax class (') and those with +This includes chars with expression prefix syntax class (\\=') and those with the prefix syntax flag (p). */) (void) { From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 06 12:32:17 2016 Received: (at 23696-done) by debbugs.gnu.org; 6 Jun 2016 16:32:17 +0000 Received: from localhost ([127.0.0.1]:56956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9xRo-00029C-S5 for submit@debbugs.gnu.org; Mon, 06 Jun 2016 12:32:17 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:59269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9xRn-00028z-1O for 23696-done@debbugs.gnu.org; Mon, 06 Jun 2016 12:32:15 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3B7DA161406; Mon, 6 Jun 2016 09:32:09 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Y7POJTip_DxS; Mon, 6 Jun 2016 09:32:08 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2F30B161413; Mon, 6 Jun 2016 09:32:08 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Q2h5vJfY_F89; Mon, 6 Jun 2016 09:32:08 -0700 (PDT) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 1424C161406; Mon, 6 Jun 2016 09:32:08 -0700 (PDT) To: Stephen Berman From: Paul Eggert Subject: Re: 25.0.94; Wrong quoting in several doc strings Organization: UCLA Computer Science Department Message-ID: <81ce4d27-8f4b-6ade-642f-143b3abfe158@cs.ucla.edu> Date: Mon, 6 Jun 2016 09:32:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 23696-done Cc: 23696-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.4 (-) Thanks, those doc fixes all look good, and I installed them into emacs-25 in your name. From unknown Wed Aug 20 03:37:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 05 Jul 2016 11:24:04 +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