emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#14360: closed (24.3; describe-char displays decima


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#14360: closed (24.3; describe-char displays decimal instead of hex char codes for decomposition)
Date: Wed, 08 May 2013 03:55:01 +0000

Your message dated Tue, 07 May 2013 23:53:28 -0400
with message-id <address@hidden>
and subject line Re: bug#14360: 24.3; describe-char displays decimal instead of 
hex char codes for decomposition
has caused the debbugs.gnu.org bug report #14360,
regarding 24.3; describe-char displays decimal instead of hex char codes for 
decomposition
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
14360: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14360
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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(")



--- End Message ---
--- Begin Message --- 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 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 24.4

Thanks; applied in emacs-24.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]