[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/internationa

From: Paul Eggert
Subject: Re: [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/international and lisp/leim
Date: Thu, 3 Sep 2015 07:56:05 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

Alan Mackenzie wrote:
the original scenario had nothing to do with

There seemed little point to having two variables to control text quoting behavior, one for initial inference of display quoting and one for translation of help strings and diagnostics. So I used the same variable for all three.

You've cut so much context

To help move things forward, here's a complete copy of the message I replied to, along with a copy of my reply inserted at the appropriate spot, so that you can see the complete context.

Alan Mackenzie wrote:
Hello, Paul.

On Wed, Sep 02, 2015 at 09:32:42AM -0700, Paul Eggert wrote:
Alan Mackenzie wrote:
Using my  standard font, lat1-16, the curly quotes use the same glyphs as
` and ', hence are visibly indistinguishable from them.

That's no longer true as of yesterday's master commit

I'm afraid it is still true.  After doing a C-h f c-mode, apparent
quotes were in the buffer.  Checking them with C-u C-x =, they were
indeed curly quotes, but were displayed the same as ASCII quotes.

After fooling around with it on my Linux console, I came up with a scenario 
that had the behavior you describe.  In this scenario I set the LC_ALL 
environment variable to en_US.UTF-8 even though the Linux console could display 
only a few non-ASCII characters (so in some sense this is a misconfiguration).  
And I put (setq text-quoting-style 'grave) into my ~/.emacs file, indicating 
that I wanted traditional ASCII quoting.  Emacs didn't look at the 
text-quoting-style setting when configuring the display table at startup, which 
seems wrong, so I patched master to fix that.  Please do a git pull and give it 
a try.  If it still doesn't work for you, please send the output of the shell 
command ‘locale’ just before invoking Emacs, and the output of the command 
‘echo $TERM’, and a copy of the Lisp code that sets text-quoting-style in your 
~/.emacs file.  Thanks.

On a terminal that cannot display curved quotes, ...

Currently, my terminal is not such a one.  It _can_ display curly
quotes, but only identically to ASCII quotes.  `char-displayable-p'
returns 'unicode for them.

The issue is not so much whether a terminal can display curly quotes,
rather it's whether a user wants them to be used or not.

.... Emacs master now uses different glyphs for the quotes’ ASCII
replacements, because the replacements are shadowed.  The shadowed
glyphs are easily distinguishable on my Linux console.  Users
shouldn’t need to configure Emacs specially, or their Linux console
specially, to get this behavior.  So this objection no longer applies.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]