From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 9ce1d38: Use curved quotes in core elisp diagnostics Date: Tue, 25 Aug 2015 21:25:17 -0400 Message-ID: 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> <55D5DC52.9020709@cs.ucla.edu> <55D7B881.9000201@yandex.ru> <55D7C014.7070808@cs.ucla.edu> <55D86ECE.2070504@yandex.ru> <55DB5583.8050400@cs.ucla.edu> <55DC153D.2090102@cs.ucla.edu> <55DC53C7.80205@yandex.ru> <55DCADFD.5050606@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1440552340 1399 80.91.229.3 (26 Aug 2015 01:25:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Aug 2015 01:25:40 +0000 (UTC) Cc: emacs-devel@gnu.org, Dmitry Gutov To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 26 03:25:30 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 1ZUPSx-0005Fk-VD for ged-emacs-devel@m.gmane.org; Wed, 26 Aug 2015 03:25:28 +0200 Original-Received: from localhost ([::1]:35617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUPSw-0002wQ-Ll for ged-emacs-devel@m.gmane.org; Tue, 25 Aug 2015 21:25:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUPSt-0002wD-MA for emacs-devel@gnu.org; Tue, 25 Aug 2015 21:25:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUPSp-0001R0-O6 for emacs-devel@gnu.org; Tue, 25 Aug 2015 21:25:23 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:36667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUPSp-0001Qu-Jw for emacs-devel@gnu.org; Tue, 25 Aug 2015 21:25:19 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A5FgA731xV/5P+d0tcDoMChAJOhQe7QIdLBAICgTw7EgEBAQEBAQGBCkEFg10BAQMBIzMjBQsLGgIYDgICFBgNJIg3CKsMpBcBAQgCAR+BIYoZhFIzB4JogUUFsz+BRSODOloigngBAQE X-IPAS-Result: A0A5FgA731xV/5P+d0tcDoMChAJOhQe7QIdLBAICgTw7EgEBAQEBAQGBCkEFg10BAQMBIzMjBQsLGgIYDgICFBgNJIg3CKsMpBcBAQgCAR+BIYoZhFIzB4JogUUFsz+BRSODOloigngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="161387015" Original-Received: from 75-119-254-147.dsl.teksavvy.com (HELO pastel.home) ([75.119.254.147]) by ironport2-out.teksavvy.com with ESMTP; 25 Aug 2015 21:25:18 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E540562312; Tue, 25 Aug 2015 21:25:17 -0400 (EDT) In-Reply-To: <55DCADFD.5050606@cs.ucla.edu> (Paul Eggert's message of "Tue, 25 Aug 2015 11:03:41 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:189184 Archived-At: > Thanks, this sounds like a good suggestion. We couldn't do this earlier, > because changing =E2=80=98format=E2=80=99 in this way would have too many= compatibility > issues, but now that we have split =E2=80=98format-message=E2=80=99 out, = the basic idea > should work and should lessen the hassle of converting messages. It also > should mean that we don't need %< or %> or even %q. I'll look into it. IOW, we don't need format-message at all. Instead we can just have a "prettify" function which can be used on the output of `format' (or on any other string we like) and which uses some heuristic to turn `...' into its =E2=80=98...=E2=80=99 equivalent. I'm not sure I like the idea of a heuristic, but it does sound better than an "almost like =E2=80=98format=E2=80=99 but different". Stefan