unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: 20857-done@debbugs.gnu.org
Subject: bug#20857: 25.0.50; Display of curved quotes in *Help* buffers on text terminals
Date: Sat, 20 Jun 2015 13:40:12 -0700	[thread overview]
Message-ID: <5585CFAC.3000505@cs.ucla.edu> (raw)
In-Reply-To: <83y4jeivlh.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 140 bytes --]

Thanks, that bug was fallout from the recent introduction of 
‘help-quote-translation’.  I fixed it by installing the attached patch.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-quoting-in-electric-quote-mode-doc-string.patch --]
[-- Type: text/x-diff; name="0001-Fix-quoting-in-electric-quote-mode-doc-string.patch", Size: 1217 bytes --]

From a2f9d2ab2a8168a6e5a1cf9a5219ccd7ff847e35 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sat, 20 Jun 2015 13:33:33 -0700
Subject: [PATCH 1/2] Fix quoting in electric-quote-mode doc string
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* lisp/electric.el (electric-quote-mode): Fix quoting.
This is a fallout from the recent change introducing
‘help-quote-translation’.
---
 lisp/electric.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/electric.el b/lisp/electric.el
index 88b2835..ca05c8c 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -486,7 +486,7 @@ With a prefix argument ARG, enable Electric Quote mode if
 ARG is positive, and disable it otherwise.  If called from Lisp,
 enable the mode if ARG is omitted or nil.
 
-When enabled, this replaces \\=`foo bar' with ‘foo bar’ and replaces
+When enabled, this replaces \\=`foo bar' with \\=‘foo bar\\=’ and replaces
 \\=`\\=`foo bar'' with “foo bar” as you type.  This occurs only in
 comments, strings, and text paragraphs, and these are selectively
 controlled with ‘electric-quote-comment’,
-- 
2.1.4


  reply	other threads:[~2015-06-20 20:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-20  9:21 bug#20857: 25.0.50; Display of curved quotes in *Help* buffers on text terminals Eli Zaretskii
2015-06-20 20:40 ` Paul Eggert [this message]
2015-06-21 14:52   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5585CFAC.3000505@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=20857-done@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).