unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Emacs Development <Emacs-devel@gnu.org>
Subject: Re: [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/internationa
Date: Fri, 4 Sep 2015 16:23:49 +0000	[thread overview]
Message-ID: <20150904162349.GC2991@acm.fritz.box> (raw)
In-Reply-To: <55E9AFEC.9010309@cs.ucla.edu>

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).



  reply	other threads:[~2015-09-04 16:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04 14:51 [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/internationa Paul Eggert
2015-09-04 16:23 ` Alan Mackenzie [this message]
2015-09-04 17:49   ` Paul Eggert
2015-09-04 18:07     ` David Kastrup
2015-09-04 18:35       ` Paul Eggert
2015-09-04 18:53         ` David Kastrup
2015-09-04 18:53     ` Alan Mackenzie
2015-09-05 18:40       ` Paul Eggert
2015-09-09  9:38       ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150904162349.GC2991@acm.fritz.box \
    --to=acm@muc.de \
    --cc=Emacs-devel@gnu.org \
    --cc=eggert@cs.ucla.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).