GNU bug report logs -
#20385
Support curved quotes in doc strings
Previous Next
Reported by: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Mon, 20 Apr 2015 18:40:04 UTC
Severity: wishlist
Tags: patch
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
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 (text/plain, attachment)]
[Screenshot from 2015-05-19 15:26:13.png (image/png, attachment)]
This bug report was last modified 9 years and 364 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.