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.devel Subject: Re: 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@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 1496863792 9644 195.159.176.226 (7 Jun 2017 19:29:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Jun 2017 19:29:52 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 Cc: Glenn Morris , Paul Eggert , 23425@debbugs.gnu.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 07 21:29:48 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 1dIgeJ-0002Ae-Lb for ged-emacs-devel@m.gmane.org; Wed, 07 Jun 2017 21:29:47 +0200 Original-Received: from localhost ([::1]:45840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIgeL-0000qL-K3 for ged-emacs-devel@m.gmane.org; Wed, 07 Jun 2017 15:29:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIgeF-0000q8-0v for emacs-devel@gnu.org; Wed, 07 Jun 2017 15:29:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIgeE-0003Ml-4l for emacs-devel@gnu.org; Wed, 07 Jun 2017 15:29:43 -0400 Original-Received: from mail-qt0-x22e.google.com ([2607:f8b0:400d:c0d::22e]:33214) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIgeE-0003Md-13; Wed, 07 Jun 2017 15:29:42 -0400 Original-Received: by mail-qt0-x22e.google.com with SMTP id u12so18016203qth.0; Wed, 07 Jun 2017 12:29:41 -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=uEXokWvoigC+WO0rgVq3cEVllCUmVPbRif78z0YmrLL/JC8gXPgH7HTSSL+8+A1iGh +8X/h1BuChpOVfIrHXaTwiS4d095uVdTBGEyDtyDzmXIVbhRYI+ioJ+KXK3Yejgp1uzw xvpEE25gfv9Q65E6uSZDY1I4Y1kMYEEzmkocgwGb3AxUS/yA5EQsMa3e7h+SuZGdbChV UwdC1Oel4FnjUknD09mIkShRNcwAfNEIg4tsPf5S0uFXyQ1XzvHi3sBCrEVtKLxZUh1V TZSK2jOck9wY5leYpSA5jsLGuSTV/Kc3W7afNfy26kl+J3kLTewXaPxoPl+HNRK4IZSs 9gMA== X-Gm-Message-State: AKS2vOzNEYRLLzJ7O0cpVyX855G94kzG3aJ8rm+cY5yOgolqaxwdCtTc c1KIAcqhfbtScdY45/k= 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-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22e 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:215507 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.