From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#23425: master branch: `message' wrongly corrupts ' to curly quote. Date: Wed, 7 Jun 2017 20:33:34 +0000 Message-ID: <20170607203334.GD2430__2792.51652905277$1496867754$gmane$org@acm.fritz.box> References: <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> <20170607191344.GB2430@acm.fritz.box> <966db090-4aa1-231c-ef5a-370ece8905d1@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1496867754 31792 195.159.176.226 (7 Jun 2017 20:35:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Jun 2017 20:35:54 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) Cc: Paul Eggert , 23425@debbugs.gnu.org, emacs-devel@gnu.org To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 07 22:35:48 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 1dIhgB-0007rM-RO for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Jun 2017 22:35:47 +0200 Original-Received: from localhost ([::1]:46050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIhgF-0000qM-Ht for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Jun 2017 16:35:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIhfT-0000ST-3Q for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2017 16:35:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIhfS-0004ee-AS for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2017 16:35:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59188) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIhfS-0004eY-6C for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2017 16:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dIhfS-0002D6-1K for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2017 16:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Jun 2017 20:35: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.14968676818466 (code B ref 23425); Wed, 07 Jun 2017 20:35:01 +0000 Original-Received: (at 23425) by debbugs.gnu.org; 7 Jun 2017 20:34:41 +0000 Original-Received: from localhost ([127.0.0.1]:33632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIhf7-0002CT-Bc for submit@debbugs.gnu.org; Wed, 07 Jun 2017 16:34:41 -0400 Original-Received: from ocolin.muc.de ([193.149.48.4]:17291 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1dIhf6-0002CM-FN for 23425@debbugs.gnu.org; Wed, 07 Jun 2017 16:34:40 -0400 Original-Received: (qmail 31288 invoked by uid 3782); 7 Jun 2017 20:34:38 -0000 Original-Received: from acm.muc.de (p548C713C.dip0.t-ipconnect.de [84.140.113.60]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 07 Jun 2017 22:34:36 +0200 Original-Received: (qmail 5438 invoked by uid 1000); 7 Jun 2017 20:33:34 -0000 Content-Disposition: inline In-Reply-To: <966db090-4aa1-231c-ef5a-370ece8905d1@gmail.com> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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:133385 Archived-At: Hello again, Clément. On Wed, Jun 07, 2017 at 15:27:02 -0400, Clément Pit-Claudel wrote: > On 2017-06-07 15:13, Alan Mackenzie wrote: > > Rubbish! What Clément pointed out is that the part of styled_format > > which counts format constructs and argumnts would need to be modified. > > This would be trivial. > Uh? What I pointed out was that new code wouldn't work with old Emacsen. > Maybe I misunderstood your proposal? As far as I can tell, the change you propose will force me to write every `message' call like this in my packages: > (if (< emacs-version 26) > (message "Hello, `world'!") > (message "Hello, %`world%'!")) That would clearly be unacceptable. > Am I missing something? No, I don't think so. But it is probably feasible to put advice on `message' in older Emacsen. This advice would strip the % from %` and %'. It should be borne in mind that the handling of ` and ' by `message' in Emacs-25 is in any case incompatible with earlier versions of Emacs. > Clément. -- Alan Mackenzie (Nuremberg, Germany).