[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20385: [PATCH] Support curved quotes in doc strings
From: |
Paul Eggert |
Subject: |
bug#20385: [PATCH] Support curved quotes in doc strings |
Date: |
Tue, 19 May 2015 16:27:50 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
On 05/16/2015 01:27 AM, Dmitry Gutov wrote:
Indeed, you will see the fancy quotes on the screen while editing
source files, even if something else will get saved to disk. font-lock
is handy that way.
OK, I tried that, but it didn't work for me. The attached patch works
much of the time, but it causes annoying glitches on the screen (for an
example see attached, created by "emacs -Q" and 'C-h b'; note the red
color glitch after the double-quote). Fiddling with the regexp doesn't
help matters. I'm afraid that font locking is so poorly documented (see
Bug#20613) that I can't tell whether the color glitch is a bug in Emacs
or in this patch's change to Emacs.
Even if I ignore the glitches, I found it disconcerting that the "wrong"
characters were used to display text characters (or, from another point
of view, that the buffer's contents were "wrong" compared to what was on
the screen). So I'm inclined to do something less tricky, e.g., simply
replace characters in the *Help* buffer before displaying the buffer. I
plan to look into that next.
fontlockquote.txt
Description: Text document
Screenshot from 2015-05-19 15:26:13.png
Description: PNG image
- bug#20385: [PATCH] Support curved quotes in doc strings, (continued)
- bug#20385: [PATCH] Support curved quotes in doc strings, Dmitry Gutov, 2015/05/15
- bug#20385: [PATCH] Support curved quotes in doc strings, Paul Eggert, 2015/05/15
- bug#20385: [PATCH] Support curved quotes in doc strings, Dmitry Gutov, 2015/05/15
- bug#20385: [PATCH] Support curved quotes in doc strings, Paul Eggert, 2015/05/15
- bug#20385: [PATCH] Support curved quotes in doc strings, Dmitry Gutov, 2015/05/15
- bug#20385: [PATCH] Support curved quotes in doc strings, Paul Eggert, 2015/05/15
- bug#20385: [PATCH] Support curved quotes in doc strings, Dmitry Gutov, 2015/05/15
- bug#20385: [PATCH] Support curved quotes in doc strings, Dmitry Gutov, 2015/05/15
- bug#20385: [PATCH] Support curved quotes in doc strings, Paul Eggert, 2015/05/15
- bug#20385: [PATCH] Support curved quotes in doc strings, Dmitry Gutov, 2015/05/16
- bug#20385: [PATCH] Support curved quotes in doc strings,
Paul Eggert <=
- bug#20385: [PATCH] Support curved quotes in doc strings, Dmitry Gutov, 2015/05/19
- bug#20385: [PATCH] Support curved quotes in doc strings, Paul Eggert, 2015/05/21
- bug#20385: [PATCH] Support curved quotes in doc strings, Dmitry Gutov, 2015/05/21
- bug#20385: [PATCH] Support curved quotes in doc strings, Paul Eggert, 2015/05/21
- bug#20385: [PATCH] Support curved quotes in doc strings, Dmitry Gutov, 2015/05/21
- bug#20385: [PATCH] Support curved quotes in doc strings, Andreas Schwab, 2015/05/16
- bug#20385: [PATCH] Support curved quotes in doc strings, Drew Adams, 2015/05/15
- bug#20385: [PATCH] Support curved quotes in doc strings, Paul Eggert, 2015/05/16
- bug#20385: [PATCH] Support curved quotes in doc strings, Eli Zaretskii, 2015/05/16
- bug#20385: missing charset for non-ASCII text/x-patch MIME parts in Thunderbird, Ivan Shmakov, 2015/05/14