unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Cc: tino.calancha@gmail.com
Subject: error message without quotes translation
Date: Thu, 1 Sep 2016 13:19:12 +0900 (JST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1609011315390.22519@calancha-pc> (raw)

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


Hi,
my question is related with the following NEWS entry:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
** Message-issuing functions like 'message' and 'error' now translate
various sorts of single quotes in their format strings according to
the value of 'text-quoting-style' (see above).  This translation
cannot be disabled.  To get the old behavior, use 'format', which is
not affected by 'text-quoting-style', e.g., (message "%s" (format
"...." foo bar)).
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
If i want to show in the echo are the literal message: "`Symbol' 'foo"
then i can do as follows:
(message "%s" (format "`Symbol' 'foo"))
=> "`Symbol' 'foo"

From the above entry i expect the same works for `error' as well:
(error "%s" (format "`Symbol' 'foo"))

but i see in the echo area:
"‘Symbol’ ’foo"
that is, with the quotes translated.

In GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.20.9)
  of 2016-09-01
Repository revision: 6f125aa3de06fa0180a83ec7b5a26970309eeeb6

             reply	other threads:[~2016-09-01  4:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-01  4:19 Tino Calancha [this message]
2016-09-01  6:08 ` error message without quotes translation Paul Eggert
2016-09-01  8:47   ` Tino Calancha

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=alpine.DEB.2.20.1609011315390.22519@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=emacs-devel@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).