From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs,gmane.emacs.devel Subject: bug#23425: master branch: `message' wrongly corrupts ' to curly quote. Date: Tue, 6 Jun 2017 16:09:20 -0700 Organization: UCLA Computer Science Department Message-ID: <39cfc8be-8233-7f03-561c-8fffce0a6c0c@cs.ucla.edu> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1496790612 5939 195.159.176.226 (6 Jun 2017 23:10:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Jun 2017 23:10:12 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 Cc: Alan Mackenzie , 23425@debbugs.gnu.org, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 07 01:10:08 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 1dINc0-0001SL-81 for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Jun 2017 01:10:08 +0200 Original-Received: from localhost ([::1]:40377 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dINc5-0002f7-H2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Jun 2017 19:10:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dINbx-0002cs-Od for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2017 19:10:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dINbu-000124-LU for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2017 19:10:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57338) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dINbu-00011s-Hf for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2017 19:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dINbu-0003Cr-1m for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2017 19:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Jun 2017 23:10: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.149679057012277 (code B ref 23425); Tue, 06 Jun 2017 23:10:01 +0000 Original-Received: (at 23425) by debbugs.gnu.org; 6 Jun 2017 23:09:30 +0000 Original-Received: from localhost ([127.0.0.1]:60015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dINbO-0003Bx-0Z for submit@debbugs.gnu.org; Tue, 06 Jun 2017 19:09:30 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dINbM-0003Bg-4M for 23425@debbugs.gnu.org; Tue, 06 Jun 2017 19:09:28 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4306A160119; Tue, 6 Jun 2017 16:09:22 -0700 (PDT) Original-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 VTtsuoeSPQZC; Tue, 6 Jun 2017 16:09:21 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 8B22416011A; Tue, 6 Jun 2017 16:09:21 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-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 SCdNRi-oWd9e; Tue, 6 Jun 2017 16:09:21 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 218C4160119; Tue, 6 Jun 2017 16:09:21 -0700 (PDT) In-Reply-To: Content-Language: en-US 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:133354 gmane.emacs.devel:215489 Archived-At: On 06/06/2017 01:21 AM, Andreas Schwab wrote: > we are talking about format strings, which you cannot be replaced by "%= s". The original bug report is about the =E2=80=98message=E2=80=99 function, = not about=20 formats in general. For that function, "%s" is the longstanding way to=20 output arbitrary strings. For formats in general, one can use the=20 =E2=80=98format=E2=80=99 function (which does not translate quotes) or th= e=20 =E2=80=98format-message=E2=80=99 function (which does); this suffices in = practice. > contractions like don't should be avoided anyway As a practical matter Emacs messages often have contractions and I am=20 not aware of a GNU style guideline that would discourage their use.=20 Plus, some uses of apostrophes in messages are for possessives, not=20 contractions. Surely we should not ban contractions and possessives=20 merely because our API has glitches with apostrophes.