* bug#14360: 24.3; describe-char displays decimal instead of hex char codes for decomposition
@ 2013-05-07 8:59 Ulrich Müller
2013-05-08 3:53 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Müller @ 2013-05-07 8:59 UTC (permalink / raw)
To: 14360
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(")
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#14360: 24.3; describe-char displays decimal instead of hex char codes for decomposition
2013-05-07 8:59 bug#14360: 24.3; describe-char displays decimal instead of hex char codes for decomposition Ulrich Müller
@ 2013-05-08 3:53 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2013-05-08 3:53 UTC (permalink / raw)
To: 14360-done
Version: 24.4
Thanks; applied in emacs-24.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-08 3:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-07 8:59 bug#14360: 24.3; describe-char displays decimal instead of hex char codes for decomposition Ulrich Müller
2013-05-08 3:53 ` Glenn Morris
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).