GNU bug report logs - #14360
24.3; describe-char displays decimal instead of hex char codes for decomposition

Previous Next

Package: emacs;

Reported by: Ulrich Müller <ulm <at> gentoo.org>

Date: Tue, 7 May 2013 09:01:02 UTC

Severity: minor

Tags: patch

Found in version 24.3

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14360 in the body.
You can then email your comments to 14360 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#14360; Package emacs. (Tue, 07 May 2013 09:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ulrich Müller <ulm <at> gentoo.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 07 May 2013 09:01:02 GMT) Full text and rfc822 format available.

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

From: Ulrich Müller <ulm <at> gentoo.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; describe-char displays decimal instead of hex char codes for
	decomposition
Date: Tue, 7 May 2013 10:59:01 +0200
In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, X toolkit)
 of 2013-04-02 on a1i15
System Description:	Gentoo Base System release 2.2

To reproduce:

   $ emacs -Q -nw
   i
   C-x 8 RET 0 3 2 f RET

(i.e., the buffer now contains an "i" followed by a "combining inverted
breve below")

   C-b 
   C-u C-x =

Amongst other things, this command outputs:

   Composed with the following character(s) "̯" by these characters:
    i (#x105)
    ̯ (#x815)

Now 105 is the decimal value of the character code for i. It should
output #x69 instead (or, alternatively, omit the #x).

Here is a patch, AFAICS it should also apply to the trunk:

--- emacs-24.3-orig/lisp/descr-text.el
+++ emacs-24.3/lisp/descr-text.el
@@ -748,7 +748,7 @@
                     (insert " by these characters:\n")
                     (while (and (<= from to)
                                 (setq glyph (lgstring-glyph gstring from)))
-                      (insert (format " %c (#x%d)\n"
+                      (insert (format " %c (#x%x)\n"
                                       (lglyph-char glyph) (lglyph-char glyph)))
                       (setq from (1+ from)))))
               (insert " by the rule:\n\t(")




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 08 May 2013 03:55:01 GMT) Full text and rfc822 format available.

Notification sent to Ulrich Müller <ulm <at> gentoo.org>:
bug acknowledged by developer. (Wed, 08 May 2013 03:55:02 GMT) Full text and rfc822 format available.

Message #10 received at 14360-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 14360-done <at> debbugs.gnu.org
Subject: Re: bug#14360: 24.3;
	describe-char displays decimal instead of hex char codes for
	decomposition
Date: Tue, 07 May 2013 23:53:28 -0400
Version: 24.4

Thanks; applied in emacs-24.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Jun 2013 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 353 days ago.

Previous Next


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