GNU bug report logs - #46926
Remove the quotes from highlighted/linked symbols when displaying docs

Previous Next

Package: emacs;

Reported by: scame <laszlomail <at> protonmail.com>

Date: Thu, 4 Mar 2021 16:58:02 UTC

Severity: wishlist

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 46926 <at> debbugs.gnu.org
Subject: bug#46926: Remove the quotes from highlighted/linked symbols when displaying docs
Date: Tue, 16 Mar 2021 16:27:43 +0000
>> You (and two other people) mentioned that you want to keep the 
>> functionality of "M-o M-o" in vanilla Emacs.
>>
>> Stefan M explained that "M-o M-o" = font-lock-fontify-block does not 
>> work well, and that he would like to deprecate it.
>>
>> I proposed a font-lock-update command that would be bound on "C-x x f", 
>> and said that while the "C-x x f" binding is less convenient than "M-o 
>> M-o", this regression is (largely?) compensated by the fact that 
>> font-lock-update works correctly, unlike font-lock-fontify-block. 
>> Moreover, the font-lock-update command is also more general, as it can 
>> be used to correctly toggle Font Lock mode, which M-x font-lock-mode 
>> can't do.
>
> That's the "dispute" I alluded to.  If the word "dispute" is unfortunate 
> here, I take it back, but the main point remains: the issue is still 
> under discussion, with new aspects being revealed and discussed, so it 
> doesn't sound like we gathered enough feedback to allow us to make a 
> decision, not yet anyway.
>

As far as I can see, all aspects have been revealed and discussed, but the 
discussion has stalled.  In short, font-lock-fontify-buffer and 
font-lock-fontify-block are "defined by their implementation" as Stefan M 
said, which means that they don't work as they should.  The command I 
proposed is short (five lines), and uses font-lock-fontify-region, which 
does not have that problem.




This bug report was last modified 2 years and 331 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.