Fix character display by "C-u C-x =" in presence of display properties.
lisp/descr-text.el (describe-char): Show the raw character, not only its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>. See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html for the reasons.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2012-01-28 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* descr-text.el (describe-char): Show the raw character, not only
|
||||
its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
|
||||
See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
|
||||
for the reasons.
|
||||
|
||||
2012-01-28 Phil Hagelberg <phil@hagelb.org>
|
||||
|
||||
* emacs-lisp/package.el (package-install): Run
|
||||
|
||||
@@ -512,7 +512,8 @@ as well as widgets, buttons, overlays, and text properties."
|
||||
|
||||
(setq item-list
|
||||
`(("character"
|
||||
,(format "%s (%d, #o%o, #x%x)"
|
||||
,(format "%s (displayed as %s) (codepoint %d, #o%o, #x%x)"
|
||||
char-description
|
||||
(apply 'propertize char-description
|
||||
(text-properties-at pos))
|
||||
char char char))
|
||||
|
||||
Reference in New Issue
Block a user