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: Fri, 2 Jun 2017 21:02:09 +0000 Message-ID: <20170602210209.GA3570@acm.fritz.box> References: <83d1p1iwls.fsf@gnu.org> <20160504180417.GB31717@acm.fritz.box> <4019c1e5-36b4-745f-b299-16b074bff81e@cs.ucla.edu> <83zis4h59w.fsf@gnu.org> <51a2ae75-71f7-10f6-ae2a-7c830bdf0a30@cs.ucla.edu> <17c1c00d-a275-5e61-0c47-6872a64a9347@cs.ucla.edu> <20170531212452.GA3789@acm.fritz.box> <07bf5f9d-e8cd-a4d9-1843-b488bfe0b92c@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1496437459 3724 195.159.176.226 (2 Jun 2017 21:04:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Jun 2017 21:04:19 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) Cc: 23425@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 02 23:04:14 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 1dGtjy-0000hI-EZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Jun 2017 23:04:14 +0200 Original-Received: from localhost ([::1]:51440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGtk3-00065L-S7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Jun 2017 17:04:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGtjr-00063m-Dl for bug-gnu-emacs@gnu.org; Fri, 02 Jun 2017 17:04:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGtjn-0004nv-FF for bug-gnu-emacs@gnu.org; Fri, 02 Jun 2017 17:04:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49285) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGtjn-0004nm-Be for bug-gnu-emacs@gnu.org; Fri, 02 Jun 2017 17:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dGtjn-0000PQ-04 for bug-gnu-emacs@gnu.org; Fri, 02 Jun 2017 17:04:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Jun 2017 21:04:02 +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.14964373931518 (code B ref 23425); Fri, 02 Jun 2017 21:04:02 +0000 Original-Received: (at 23425) by debbugs.gnu.org; 2 Jun 2017 21:03:13 +0000 Original-Received: from localhost ([127.0.0.1]:51962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGtiz-0000OP-Ef for submit@debbugs.gnu.org; Fri, 02 Jun 2017 17:03:13 -0400 Original-Received: from ocolin.muc.de ([193.149.48.4]:11364 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1dGtix-0000OG-H5 for 23425@debbugs.gnu.org; Fri, 02 Jun 2017 17:03:12 -0400 Original-Received: (qmail 25991 invoked by uid 3782); 2 Jun 2017 21:03:09 -0000 Original-Received: from acm.muc.de (p548C76FE.dip0.t-ipconnect.de [84.140.118.254]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 02 Jun 2017 23:03:08 +0200 Original-Received: (qmail 3913 invoked by uid 1000); 2 Jun 2017 21:02:09 -0000 Content-Disposition: inline In-Reply-To: <07bf5f9d-e8cd-a4d9-1843-b488bfe0b92c@cs.ucla.edu> 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:133172 Archived-At: Hello, Paul. On Wed, May 31, 2017 at 16:26:12 -0700, Paul Eggert wrote: > On 05/31/2017 02:24 PM, Alan Mackenzie wrote: > > This bug has not been fixed. > Oh, sorry, I misunderstood your earlier comments. I reopened the bug. Thanks. How about transferring this discussion to emacs-devel, so that more people would be able to see it. > > The only documentation for this feature is obscure and hidden. There > > is nothing in `message''s doc string which explicitly states likely > > unwanted replacement of characters takes place; just a puzzling > > "exception proves the rule" paragraph. > I installed the attached patch into master, which I hope makes that doc > string sufficiently clear. I'd rather not change the Emacs default > behavior, though, for reasons already discussed. The default behaviour has been changed already, and that change has caused problems and will cause further problems. I propose restoring the default to what it was in Emacs 24. For simplicity's sake, only % should be special, and for translating quotes we could introduce %' and %`, such that quote translation happens only when a %' or %` is present. This would solve the problem in an elegant and consistent way, would enable quote translation to happen, yet would avoid users of literal quote characters getting caught up in unwanted quote translations. -- Alan Mackenzie (Nuremberg, Germany).