From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs,gmane.emacs.devel Subject: bug#23425: master branch: `message' wrongly corrupts ' to curly quote. Date: Wed, 07 Jun 2017 09:44:58 +0200 Message-ID: References: <17c1c00d-a275-5e61-0c47-6872a64a9347@cs.ucla.edu> <20170531212452.GA3789@acm.fritz.box> <07bf5f9d-e8cd-a4d9-1843-b488bfe0b92c@cs.ucla.edu> <20170602210209.GA3570@acm.fritz.box> <11c0adfb-7fdd-8d28-1a47-869e3e7043ea@cs.ucla.edu> <20170603205331.GA2130@acm.fritz.box> <20170605162737.GA30946@acm.fritz.box> <20170605203753.GB30946@acm.fritz.box> <39cfc8be-8233-7f03-561c-8fffce0a6c0c@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1496821606 5086 195.159.176.226 (7 Jun 2017 07:46:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Jun 2017 07:46:46 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: Alan Mackenzie , 23425@debbugs.gnu.org, emacs-devel@gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 07 09:46:41 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIVft-00015m-Bg for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Jun 2017 09:46:41 +0200 Original-Received: from localhost ([::1]:41697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIVfy-0003qz-CU for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Jun 2017 03:46:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIVfL-0003W8-4t for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2017 03:46:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIVfG-000679-8t for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2017 03:46:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57593) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIVfG-00066s-4Y for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2017 03:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dIVfF-0000Ff-Q7 for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2017 03:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Jun 2017 07:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23425 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23425-submit@debbugs.gnu.org id=B23425.1496821502876 (code B ref 23425); Wed, 07 Jun 2017 07:46:01 +0000 Original-Received: (at 23425) by debbugs.gnu.org; 7 Jun 2017 07:45:02 +0000 Original-Received: from localhost ([127.0.0.1]:60270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIVeI-0000E1-1f for submit@debbugs.gnu.org; Wed, 07 Jun 2017 03:45:02 -0400 Original-Received: from mx2.suse.de ([195.135.220.15]:44866 helo=mx1.suse.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIVeG-0000Dd-Ab for 23425@debbugs.gnu.org; Wed, 07 Jun 2017 03:45:00 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Original-Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 22417AC03; Wed, 7 Jun 2017 07:44:59 +0000 (UTC) X-Yow: They don't hire PERSONAL PINHEADS, Mr. Toad! In-Reply-To: <39cfc8be-8233-7f03-561c-8fffce0a6c0c@cs.ucla.edu> (Paul Eggert's message of "Tue, 6 Jun 2017 16:09:20 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:133362 gmane.emacs.devel:215494 Archived-At: On Jun 06 2017, Paul Eggert wrote: > The original bug report is about the ‘message’ function, not about formats > in general. For that function, "%s" is the longstanding way to output > arbitrary strings. For formats in general, one can use the ‘format’ > function (which does not translate quotes) or the ‘format-message’ > function (which does); this suffices in practice. That doesn't make sense, since the first argument of message is a format string. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."