From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Newsgroups: gmane.emacs.bugs Subject: bug#23425: master branch: `message' wrongly corrupts ' to curly quote. Date: Wed, 7 Jun 2017 15:29:40 -0400 Message-ID: <3ecd93d6-6ef5-b955-c7f6-0994e5721ddb__47480.82297524$1496863816$gmane$org@gmail.com> References: <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> <77995ce8-8ce5-d29b-9668-4ad0a5616be8@gmail.com> <20170607165017.GA2430@acm.fritz.box> 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 1496863816 13900 195.159.176.226 (7 Jun 2017 19:30:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Jun 2017 19:30:16 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 Cc: Paul Eggert , 23425@debbugs.gnu.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 07 21:30:12 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 1dIgeh-0003Pp-SY for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Jun 2017 21:30:12 +0200 Original-Received: from localhost ([::1]:45846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIgen-0001Bu-6g for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Jun 2017 15:30:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIgee-000188-SY for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2017 15:30:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIgeZ-0003VZ-Vo for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2017 15:30:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59128) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIgeZ-0003VJ-SG for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2017 15:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dIgeZ-0007JL-LY for bug-gnu-emacs@gnu.org; Wed, 07 Jun 2017 15:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Jun 2017 19:30:03 +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.149686378828051 (code B ref 23425); Wed, 07 Jun 2017 19:30:03 +0000 Original-Received: (at 23425) by debbugs.gnu.org; 7 Jun 2017 19:29:48 +0000 Original-Received: from localhost ([127.0.0.1]:33572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIgeK-0007IM-A4 for submit@debbugs.gnu.org; Wed, 07 Jun 2017 15:29:48 -0400 Original-Received: from mail-qt0-f169.google.com ([209.85.216.169]:36776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIgeI-0007I8-R7 for 23425@debbugs.gnu.org; Wed, 07 Jun 2017 15:29:47 -0400 Original-Received: by mail-qt0-f169.google.com with SMTP id u19so17981258qta.3 for <23425@debbugs.gnu.org>; Wed, 07 Jun 2017 12:29:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=qCQaisJWk9OftJ0Jqf7c+rZZql+P7Ntnak9tnHRc21c=; b=aYMsjOhIL9Uho2kd/uTE2YuUSbOc7Ife7c/wdW30r8/5Y5JRfUxeOxymYfdxoeZ46w SiIAK6TdbT7bSr5JRLiUdFA8oyIxPXoTGVr32UdKH3yt2WtNQwHGJN6TKoQL9dB6P81U AzcJu70KX0hgZvTVdXt8WY7twU1pBLAP7FkkwZWAbqL6s6FfxmP41xzsFFYzrTi4Ui9G fX3x9MLsQ5Yk9p1kxTGi1f77f3zQwTAttoNwH8ssgZt6J0qZnY1uAyiNjU/lyevwTmmK y6yM2ft10Ws9XR05EoCogyIJ4oayMbQCROOD7OdLaFnar+SAysIHGUS2RV32nYy2yaNy Mmeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qCQaisJWk9OftJ0Jqf7c+rZZql+P7Ntnak9tnHRc21c=; b=VeFzLMUnTwl6Xdyjqm4qtmcAboNqG4vj/IUJri8/wvCcZELW0ZAvNPe2QX3EoHVzWu OtlffABpRHcjfW0cfHJqkZeAY8AfN6+Ig8bLQpSOd4uhT78ho6KzGVP8eawDlZqU1YEu UvCDIsxO9Ehy71kZXZyWOpNqMBBJFtHQ668brzz/KjqH3jaAnRjTG+DpCTvVo4fF3xqB Qq2EhZTX8pD/mgJiN9pkd18Bh9l+h0KejxFyjpYAjvkqBCrGA6ThzDaHL7ahQMCwhqpa QMy3ICExKO9R2W8u00asn1IedshjXMynzmRXOPAcYm12pSL8IYUnOfZN11wvJoWa9eui iQsA== X-Gm-Message-State: AKS2vOylzTAfLXVIO4dW04HZjRXGvdcCWWaeRFubDA4IsEZjG9THkOrI YtJBNc3FzKICkw== X-Received: by 10.55.105.133 with SMTP id e127mr39693965qkc.19.1496863781439; Wed, 07 Jun 2017 12:29:41 -0700 (PDT) Original-Received: from ?IPv6:2001:470:8b2d:1a:9bab:c177:73b2:20a9? ([2001:470:8b2d:1a:9bab:c177:73b2:20a9]) by smtp.gmail.com with ESMTPSA id 41sm1667930qky.60.2017.06.07.12.29.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Jun 2017 12:29:41 -0700 (PDT) In-Reply-To: <20170607165017.GA2430@acm.fritz.box> Content-Language: en-GB 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:133382 Archived-At: On 2017-06-07 12:50, Alan Mackenzie wrote: > Hello, Clément. > > On Mon, Jun 05, 2017 at 17:05:43 -0400, Clément Pit-Claudel wrote: >> On 2017-06-05 16:37, Alan Mackenzie wrote: >>> How do you propose to prevent such puzzlement and anger in the >>> future, if not by %` and %'? > >> Note that this introduces a backwards compatibility issue, if not done carefully: > >> Debugger entered--Lisp error: (error "Not enough arguments for format string") >> message("%`woops%'") >> eval((message "%`woops%'") nil) > > I think it would be done carefully! Clearly, %` and %' would be format > elements for which the count of necessary arguments would not be > incremented. Or, more concisely, we wouldn't count them. Sorry, that's not what I was talking about. The problem I was worrying about is that these new format constructs would raise exceptions in older versions of Emacs.