all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 25483@debbugs.gnu.org
Subject: bug#25483: 26.0.50; Not possible to put ASCII quote in result of format-message
Date: Thu, 19 Jan 2017 20:52:43 +0000	[thread overview]
Message-ID: <20170119205243.GA4325@acm.fritz.box> (raw)
In-Reply-To: <wvr4lgu7wbz2.fsf@gmail.com>

Hello, Philipp.

On Thu, Jan 19, 2017 at 12:00:49PM +0100, Philipp Stephani wrote:

> Evaluate:

> (format-message "'")
> "’"
> (format-message "\\='")
> "\\=’"

> Note that it is apparently impossible to put an ASCII quote into the
> result of format-message.  Quoting with \= doesn't appear to work.

As somebody else has noted, you need to set or bind text-quoting-style
to the symbol `grave'.

Note that as from 2016-05-10, text-quoting-style no longer translates
curly quotes, so `grave' essentially means "no change to any quoting
character" - which is presumably what you really want.  :-)

-- 
Alan Mackenzie (Nuremberg, Germany).





      parent reply	other threads:[~2017-01-19 20:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-19 11:00 bug#25483: 26.0.50; Not possible to put ASCII quote in result of format-message Philipp Stephani
2017-01-19 12:45 ` Stephen Berman
2017-01-19 12:56 ` npostavs
2017-01-19 20:52 ` Alan Mackenzie [this message]

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

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

  git send-email \
    --in-reply-to=20170119205243.GA4325@acm.fritz.box \
    --to=acm@muc.de \
    --cc=25483@debbugs.gnu.org \
    --cc=p.stephani2@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.