From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: bug#23425: master branch: `message' wrongly corrupts ' to curly quote. Date: Wed, 7 Jun 2017 13:56:25 -0700 (PDT) Message-ID: 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> <20170607203334.GD2430@acm.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1496869091 21074 195.159.176.226 (7 Jun 2017 20:58:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Jun 2017 20:58:11 +0000 (UTC) Cc: Paul Eggert , emacs-devel To: Alan Mackenzie , =?utf-8?B?Q2zDqW1lbnQgUGl0LUNsYXVkZWw=?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 07 22:58:06 2017 Return-path: Envelope-to: ged-emacs-devel@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 1dIi1k-00058B-Ry for ged-emacs-devel@m.gmane.org; Wed, 07 Jun 2017 22:58:04 +0200 Original-Received: from localhost ([::1]:46102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIi1q-0001Xj-98 for ged-emacs-devel@m.gmane.org; Wed, 07 Jun 2017 16:58:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIi0O-0008KQ-MI for emacs-devel@gnu.org; Wed, 07 Jun 2017 16:56:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIi0J-0004YN-Rx for emacs-devel@gnu.org; Wed, 07 Jun 2017 16:56:40 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:25488) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dIi0J-0004Wt-GU for emacs-devel@gnu.org; Wed, 07 Jun 2017 16:56:35 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v57KuSWb018398 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 7 Jun 2017 20:56:28 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v57KuRYx027493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 7 Jun 2017 20:56:27 GMT Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v57KuQKf007546; Wed, 7 Jun 2017 20:56:27 GMT In-Reply-To: <20170607203334.GD2430@acm.fritz.box> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6767.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 156.151.31.81 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215511 Archived-At: (Removed the bug list from CC. The discussion does not now seem to be only about a specific bug. But if it is, then it belongs only on the bug list and not also on emacs-devel.)=20 > > the change you propose will force me to write every `message' > > call like this in my packages: >=20 > > (if (< emacs-version 26) > > (message "Hello, `world'!") > > (message "Hello, %`world%'!")) >=20 > That would clearly be unacceptable. Truly unacceptable. There are probably thousands of `message' calls like the first one. (My code alone might have thousands of them. ;-)) There should be no reason to have to do such a thing. It is equally unacceptable, IMO, if Emacs does not respect the chars ` and ' as they are, but stupidly substitutes curly quotes for them. This is true for `message' but for so much more than just `message'. Someone should really consider putting a stop to this and reverse course. This problem exists since Emacs 25.1 (Emacs 24.5 is the last vestige of sanity in this regard). It REALLY does not make any sense that you write (message "Hello, `world'!") and you get Hello, =E2=80=98world=E2=80=99!. I have a hard time believing that this virus got past the maintainers. (But this is not the first time I've had a hard time believing that some changes have actually been made.) > 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 %'. >=20 > 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. That's the origin of the currently discussed problem. And it is a real problem in its own right.