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: Fri, 28 Aug 2015 00:06:05 -0700 Organization: UCLA Computer Science Department Message-ID: <55E0085D.3000404@cs.ucla.edu> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1440746042 7756 80.91.229.3 (28 Aug 2015 07:14:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2015 07:14:02 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 28 09:13:54 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 1ZVDrF-0002Wv-2L for ged-emacs-devel@m.gmane.org; Fri, 28 Aug 2015 09:13:53 +0200 Original-Received: from localhost ([::1]:46353 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVDrD-0004FN-TM for ged-emacs-devel@m.gmane.org; Fri, 28 Aug 2015 03:13:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVDr0-0004FF-MK for emacs-devel@gnu.org; Fri, 28 Aug 2015 03:13:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVDqw-0001l6-1w for emacs-devel@gnu.org; Fri, 28 Aug 2015 03:13:38 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:51157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVDjk-0007Jt-Hh for emacs-devel@gnu.org; Fri, 28 Aug 2015 03:06:08 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 01D0F160FCE; Fri, 28 Aug 2015 00:06:07 -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 77xp5RA0ixcv; Fri, 28 Aug 2015 00:06:06 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5158D160FCD; Fri, 28 Aug 2015 00:06:06 -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 iiY6Yu4FwBrE; Fri, 28 Aug 2015 00:06:06 -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 27B28160FCC; Fri, 28 Aug 2015 00:06:06 -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:189245 Archived-At: Stefan Monnier wrote: > Why do we need text-quoting-style? > [ I understand that some terminals can't display those curly quotes, but > that should be handled by some kind of display-table trick. ] As I understand it, Alan introduced text-quoting-style because he did not want curved quotes in any buffer or string, even curved quotes displayed as grave accent and apostrophe. It would simplify things somewhat to remove the text-quoting-style variable, and to have Emacs behave as it does now when text-quoting-style is nil: namely, generate curved quotes in buffers and strings if displayable, and generate grave accent and apostrophe otherwise. That should suffice for Alan's preferences, as he can run Emacs in an environment where curved quotes aren't displayable, e.g., with LC_ALL=C in the environment. It sounds like you may be thinking of something even simpler, though: namely, always generate curved quotes in strings and buffers, but display them as grave accent and apostrophe if curved quotes are not displayable. I'd prefer that approach too, though I expect Alan would not (otherwise why introduce text-quoting-style?).