GNU bug report logs - #17836
24.3; `describe-fontset' confused about e.g. ?\C-@

Previous Next

Package: emacs;

Reported by: Samuel Bronson <naesten <at> gmail.com>

Date: Mon, 23 Jun 2014 01:58:02 UTC

Severity: minor

Found in version 24.3

Fixed in version 28.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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Samuel Bronson <naesten <at> gmail.com>
Cc: 17836 <at> debbugs.gnu.org
Subject: bug#17836: 24.3; `describe-fontset' confused about e.g. ?\C-@
Date: Fri, 20 Aug 2021 16:36:29 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Anyway, it seems like this bug is still present in Emacs 27, and there's
> possibly a new bug, too, with not displaying the hex values in some
> instances.

No, I think that's apparently OK...

> Eli did pinpoint what the reason for the original bug was, though:
>
>> That's because print-fontset-element does this:
>>
>>   (beginning-of-line)
>>   (let ((from (following-char))
>>
>> IOW, it assumes that there's a single character there, not a
>> human-readable description of a character, such as "C-@".
>>
>> How about submitting a patch that uses 'kbd', say?
>
> I'll take a whack at implementing that.

Now pushed to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 280 days ago.

Previous Next


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