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: text-quoting-style Date: Sun, 30 Aug 2015 23:29:27 -0700 Organization: UCLA Computer Science Department Message-ID: <55E3F447.4050005@cs.ucla.edu> References: <83r3mn50rz.fsf@gnu.org> <20150828172501.GB4882@acm.fritz.box> <20150829155959.GA20484@acm.fritz.box> <20150830131613.GA2724@acm.fritz.box> 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 1441002601 32322 80.91.229.3 (31 Aug 2015 06:30:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Aug 2015 06:30:01 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier , Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 31 08:29:52 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 1ZWIbH-0000Ye-Pv for ged-emacs-devel@m.gmane.org; Mon, 31 Aug 2015 08:29:51 +0200 Original-Received: from localhost ([::1]:34088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWIbH-0007PC-M0 for ged-emacs-devel@m.gmane.org; Mon, 31 Aug 2015 02:29:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWIaz-0007Lk-Eb for emacs-devel@gnu.org; Mon, 31 Aug 2015 02:29:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWIay-0007d9-Cf for emacs-devel@gnu.org; Mon, 31 Aug 2015 02:29:33 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:46868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWIau-0007aG-Gr; Mon, 31 Aug 2015 02:29:28 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 20299160F00; Sun, 30 Aug 2015 23:29:28 -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 jwuGDwvNAwJM; Sun, 30 Aug 2015 23:29:27 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 61491160F20; Sun, 30 Aug 2015 23:29:27 -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 wp9nPfwnAAh3; Sun, 30 Aug 2015 23:29:27 -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 34A8D160F00; Sun, 30 Aug 2015 23:29:27 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.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:189333 Archived-At: Stefan Monnier wrote: > E.g. text-quoting-style doesn't prevent the existence of curly quotes i= n > Emacs, so for some interpretation of the above it's not sufficient. I think Alan was mainly annoyed by three things in the initial implementa= tion of=20 curved quotes in docstrings. 1. They didn't display well enough on his Linux kernel console to satisf= y him. 2. It's painful for him to search for strings containing curved quotes. 3. When he copies from *Help* and/or *Message* buffers into other buffer= s, he=20 wants the copied text to be in grave style `like this' rather than in cur= ve=20 style =E2=80=98like this=E2=80=99. Here's one possible alternative to =E2=80=98text-quoting-style=E2=80=99 t= o address these three=20 problems. (1) is fixed by using display tables to display curved quotes in grave st= yle.=20 (This has already been implemented and no change should be needed here.) (2) is fixed by enabling character-fold-search. This isn't the default y= et, due=20 to a few problems with its implementation, but these should be fixable. (3) could be fixed by transliterating quotes when they're yanked, if the = user=20 sets a variable to do this transliteration. This alternative would be superior to what we have now, because it would = also=20 work for info files (which aren't handled by Emacs's current scheme).