From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 9ce1d38: Use curved quotes in core elisp diagnostics Date: Sat, 22 Aug 2015 11:48:08 -0700 Organization: UCLA Computer Science Department Message-ID: <55D8C3E8.2010707@cs.ucla.edu> References: <20150816160149.9416.80132@vcs.savannah.gnu.org> <55D1043C.3030909@yandex.ru> <55D15899.2070105@cs.ucla.edu> <55D1C9CE.2060407@yandex.ru> <55D20EDF.5070906@cs.ucla.edu> <55D223CA.4080109@yandex.ru> <55D22A1F.8040508@cs.ucla.edu> <55D22CF4.9030608@yandex.ru> <55D2747D.10809@cs.ucla.edu> <55D317A9.6000805@yandex.ru> <55D42210.9070703@cs.ucla.edu> <55D48503.3020406@yandex.ru> <55D50159.2030104@cs.ucla.edu> <55D62B31.3010100@cs.ucla.edu> <55D8A3E9.3070704@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1440269322 29937 80.91.229.3 (22 Aug 2015 18:48:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2015 18:48:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 22 20:48:31 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZTDqA-0001CI-Kv for ged-emacs-devel@m.gmane.org; Sat, 22 Aug 2015 20:48:30 +0200 Original-Received: from localhost ([::1]:47803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTDq9-0006A7-SO for ged-emacs-devel@m.gmane.org; Sat, 22 Aug 2015 14:48:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTDpx-00069e-Lr for emacs-devel@gnu.org; Sat, 22 Aug 2015 14:48:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTDpu-0007IH-GT for emacs-devel@gnu.org; Sat, 22 Aug 2015 14:48:17 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:49045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTDpu-0007Hi-Bn for emacs-devel@gnu.org; Sat, 22 Aug 2015 14:48:14 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4BA6D160EC2; Sat, 22 Aug 2015 11:48:13 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id q5gaFWp3zehH; Sat, 22 Aug 2015 11:48:12 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 95CC6160ED7; Sat, 22 Aug 2015 11:48:12 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KQvbmw3_Ykka; Sat, 22 Aug 2015 11:48:12 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 74E16160EC2; Sat, 22 Aug 2015 11:48:12 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 In-Reply-To: <55D8A3E9.3070704@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189070 Archived-At: Dmitry Gutov wrote: > Regarding automatic translation in `format': do you anticipate someone, > somewhere, having a file with "=E2=80=98add-to-list=E2=80=99" in its na= me Emacs diagnostics that use quotes have never worked well when they quote = a file=20 name or any other string that contains quotes or newlines. This is true=20 regardless of whether diagnostics quote 'like this', "like this", `like t= his',=20 =E2=80=98like this=E2=80=99, or =E2=80=9Clike this=E2=80=9D, like this:, = etc. It would be helpful to devise and=20 implement a syntax that would let Emacs quote arbitrary strings consisten= tly and=20 reliably, presumably by using backslash escapes for troublesome character= s.=20 Perhaps %q could do that, which would be an argument for preferring %q wh= en=20 quoting arbitrary strings in diagnostics.