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: Sun, 23 Aug 2015 22:47:52 -0700 Organization: UCLA Computer Science Department Message-ID: <55DAB008.3070308@cs.ucla.edu> References: <20150816160149.9416.80132@vcs.savannah.gnu.org> <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> <55D8C3E8.2010707@cs.ucla.edu> <55D8E4F3.6060406@yandex.ru> <55D8FB22.4080503@cs.ucla.edu> <55D900EF.7090000@yandex.ru> <55D909AA.90401@cs.ucla.edu> <55D98036.9070206@yandex.ru> <55D9970B.1010906@cs.ucla.edu> <876146b7qy.fsf@igel.home> 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 1440428384 25969 80.91.229.3 (24 Aug 2015 14:59:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Aug 2015 14:59:44 +0000 (UTC) Cc: emacs-devel@gnu.org, Dmitry Gutov To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 24 16:59: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 1ZTtDd-0000Ut-Ax for ged-emacs-devel@m.gmane.org; Mon, 24 Aug 2015 16:59:29 +0200 Original-Received: from localhost ([::1]:49008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTtDc-00053y-U4 for ged-emacs-devel@m.gmane.org; Mon, 24 Aug 2015 10:59:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTkbu-0003Xx-1f for emacs-devel@gnu.org; Mon, 24 Aug 2015 01:47:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTkbq-0006fu-Pn for emacs-devel@gnu.org; Mon, 24 Aug 2015 01:47:57 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:54716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTkbq-0006fp-KB for emacs-devel@gnu.org; Mon, 24 Aug 2015 01:47:54 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A34441604E3; Sun, 23 Aug 2015 22:47:53 -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 AMZmY8iIjhZo; Sun, 23 Aug 2015 22:47:53 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id EFB3C160F10; Sun, 23 Aug 2015 22:47:52 -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 izk25RSQlpiN; Sun, 23 Aug 2015 22:47:52 -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 CF1881604E3; Sun, 23 Aug 2015 22:47:52 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 In-Reply-To: <876146b7qy.fsf@igel.home> 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:189101 Archived-At: Andreas Schwab wrote: > It's not a bug to double all % and expect format to do TRT. I see you reverted translation by =E2=80=98format=E2=80=99 of curved quot= es in format strings.=20 While this preserves compatibility better, it also causes some diagnostic= s to=20 use curved quotes even if =E2=80=98text-quoting-style=E2=80=99 specifies = an ASCII style, which=20 likely would cause problems in traditional Emacs setups that prefer ASCII= styles. One possible fix is along the lines of one of Dmitry's earlier suggestion= s: add=20 a function that translates a curved-style string to the style specified b= y=20 =E2=80=98text-quoting-style=E2=80=99, and have =E2=80=98message=E2=80=99,= =E2=80=98error=E2=80=99, etc. invoke the new function=20 on the format string before passing it to =E2=80=98format=E2=80=99. This= avoids affecting the=20 behavior of =E2=80=98format=E2=80=99 itself and so should address the com= patibility concerns=20 that you and Dmitry noted. I installed commit=20 fbb5531fa11d13854b274d28ccd329c9b6652cfc in an attempt to do that. Comme= nts as=20 usual are welcome.