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


Message #11 received at 17836 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: naesten <at> gmail.com
Cc: 17836 <at> debbugs.gnu.org
Subject: Re: bug#17836: 24.3; `describe-fontset' confused about e.g. ?\C-@
Date: Mon, 23 Jun 2014 19:39:43 +0300
> Date: Mon, 23 Jun 2014 19:17:01 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 17836 <at> debbugs.gnu.org
> 
> > From: Samuel Bronson <naesten <at> gmail.com>
> > Date: Sun, 22 Jun 2014 21:57:07 -0400
> > 
> > Fontset: -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-fontset-xterm.default
> > CHAR RANGE (CODE RANGE)
> >     FONT NAME (REQUESTED and [OPENED])
> > C-@ .. � (#x43 .. #x10FFFF)
> >     -Misc-Fixed-medium-r-semicondensed--13-*-75-75-c-120-ISO10646-1
> > --8<---------------cut here---------------end--------------->8---
> > 
> > Notice how #x43 is NOT a representation of `?\C-@' but, in fact, of
> > `?C'?
> 
> 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?

Or maybe describe-vector should accept 2 more arguments and pass it to
print-fontset-element.




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.