From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/internationa Date: Fri, 4 Sep 2015 16:23:49 +0000 Message-ID: <20150904162349.GC2991@acm.fritz.box> References: <55E9AFEC.9010309@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1441383792 31825 80.91.229.3 (4 Sep 2015 16:23:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2015 16:23:12 +0000 (UTC) Cc: Emacs Development To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 04 18:23:03 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 1ZXtlU-0006as-Lk for ged-emacs-devel@m.gmane.org; Fri, 04 Sep 2015 18:23:00 +0200 Original-Received: from localhost ([::1]:33253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXtlU-0004EK-Oz for ged-emacs-devel@m.gmane.org; Fri, 04 Sep 2015 12:23:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXtlI-00049u-4P for Emacs-devel@gnu.org; Fri, 04 Sep 2015 12:22:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXtlD-00038u-4H for Emacs-devel@gnu.org; Fri, 04 Sep 2015 12:22:48 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:42594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXtlC-00038X-Rc for Emacs-devel@gnu.org; Fri, 04 Sep 2015 12:22:43 -0400 Original-Received: (qmail 85714 invoked by uid 3782); 4 Sep 2015 16:22:41 -0000 Original-Received: from acm.muc.de (p5B1476D3.dip0.t-ipconnect.de [91.20.118.211]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 04 Sep 2015 18:22:40 +0200 Original-Received: (qmail 5965 invoked by uid 1000); 4 Sep 2015 16:23:49 -0000 Content-Disposition: inline In-Reply-To: <55E9AFEC.9010309@cs.ucla.edu> User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 193.149.48.3 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:189597 Archived-At: Hello, Paul. On Fri, Sep 04, 2015 at 07:51:24AM -0700, Paul Eggert wrote: > > isn't startup done before processing .emacs? > Yes, but (after my recent change) Emacs also looks at text-quoting-style after > processing .emacs, and adjusts the display style accordingly. > > I don't yet have `text-quoting-style' in my .emacs > Please try adding (setq text-quoting-style 'grave) there. It works. > > I've not seen any shadowed quotes on my screen no matter > > what I've done. > Please try loading the attached file; after it, every occurrence of X, Y and Z > on your screen should appear in different faces that are readily legible. If > faces aren't working for you, we need to investigate why. > (progn > (unless standard-display-table > (setq standard-display-table (make-display-table))) > (aset standard-display-table ?X > (vector (make-glyph-code ?X 'shadow))) > (aset standard-display-table ?Y > (vector (make-glyph-code ?Y 'underline))) > (aset standard-display-table ?Z > (vector (make-glyph-code ?Z 'escape-glyph)))) These "work", yes. They cause the letters' foreground colours to be set to something constant. They are sometimes readily legible, sometimes not, depending on what other use of colour (e.g. font-lock, hi-lock) is being made at the same time. I'd prefer to stick to the `text-quoting-style', I don't think the use of these faces is going to be helpful, on balance. -- Alan Mackenzie (Nuremberg, Germany).