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] emacs-25 26b56dc: Fix some single quotes in documentation Date: Mon, 14 Mar 2016 13:47:22 -0700 Organization: UCLA Computer Science Department Message-ID: <56E7235A.8010305@cs.ucla.edu> References: <20160314154123.2684.74715@vcs.savannah.gnu.org> <56E6E764.9090500@cs.ucla.edu> <89ba6063-e962-7590-39be-c4fb28f394ea@yandex.ru> <56E703D9.8000607@cs.ucla.edu> <56E70D7C.9080709@cs.ucla.edu> 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 1457988480 742 80.91.229.3 (14 Mar 2016 20:48:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2016 20:48:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 14 21:47:45 2016 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 1afZOz-0006nV-72 for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2016 21:47:45 +0100 Original-Received: from localhost ([::1]:43980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afZOy-0000FK-Lz for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2016 16:47:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afZOk-0000Eg-F7 for emacs-devel@gnu.org; Mon, 14 Mar 2016 16:47:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afZOf-0003YP-Eh for emacs-devel@gnu.org; Mon, 14 Mar 2016 16:47:30 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:52972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afZOf-0003YJ-6S for emacs-devel@gnu.org; Mon, 14 Mar 2016 16:47:25 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 185BC160FF7 for ; Mon, 14 Mar 2016 13:47:24 -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 Oj2dBvjWd_wC for ; Mon, 14 Mar 2016 13:47:23 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5538C161013 for ; Mon, 14 Mar 2016 13:47:23 -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 carVTi5L_XGF for ; Mon, 14 Mar 2016 13:47:23 -0700 (PDT) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 3D487160FF7 for ; Mon, 14 Mar 2016 13:47:23 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: 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:201762 Archived-At: On 03/14/2016 12:29 PM, John Wiegley wrote: > Could we render the quotes the way that we currently do for Elisp > documentation? Yes, that could be done. We'd need an escape mechanism for the rare=20 cases where quotes should not be replaced, as in the following lines: NEWS:66:unless gfile is explicitly requested via=20 --with-file-notification=3D'gfile'. NEWS:576:(add-to-list 'display-buffer-alist NEWS:577: '("^\\*shell\\*$" . (display-buffer-same-window))). NEWS:639:folding in the middle of a search by typing =E2=80=98M-s '=E2=80= =99. NEWS:1458:for straight apostrophes 'like this', and to =E2=80=98grave=E2=80= =99 for grave=20 accent NEWS:1459:and apostrophe `like this'. The default value nil acts like=20 =E2=80=98curve=E2=80=99 NEWS:1745:apostrophe `like-this'. The new style looks better on today=E2= =80=99s=20 displays. NEWS:1747:into documentation by typing ` and '. Outside Electric Quote=20 mode, If we use substitute-command-keys (simplest), the above lines would turn=20 into: unless gfile is explicitly requested via=20 --with-file-notification=3D\=3D'gfile\=3D'. (add-to-list \=3D'display-buffer-alist \=3D'("^\\*shell\\*$" . (display-buffer-same-window))). folding in the middle of a search by typing =E2=80=98M-s \=3D'=E2=80=99. for straight apostrophes \=3D'like this\=3D', and to `grave' for grave ac= cent and apostrophe \=3D`like this\=3D'. The default value nil acts like `cur= ve' apostrophe \=3D`like-this\=3D'. The new style looks better on today's di= splays. into documentation by typing \=3D` and \=3D'. Outside Electric Quote mod= e, Plus, this line: before, characters preceded by \=3D are output as-is. would need to be changed to this: before, characters preceded by \=3D\=3D are output as-is. The above would all run afoul of Eli's desire to use other programs to=20 read etc/NEWS as-is, though. I'm afraid that straight quoting 'like this' is the simplest way out of=20 this mess. It is not a great solution, but it is the simplest and the=20 other approaches all have problems that may be worse. This is why the=20 patch I originally installed today used straight quoting. How about if=20 we simply go back to it? I.e., revert commit=20 4235d2d9eaa3b64d3172f6c60f1e71704795af89 and then move on.