* bug#6775: please say U+ in what-cursor-position
@ 2010-08-02 2:16 jidanni
2010-08-02 15:27 ` Jason Rumney
2010-08-02 15:53 ` jidanni
0 siblings, 2 replies; 3+ messages in thread
From: jidanni @ 2010-08-02 2:16 UTC (permalink / raw
To: 6775
In Linux, we get a Nice simple answer for the question:
$ unicode →|sed q
U+2192 RIGHTWARDS ARROW
But in emacs, what-cursor-position gives
character: → (8594, #o20622, #x2192)
preferred charset: chinese-big5-1 (Frequently used part (A141-C67E) of Big5 (Chinese traditional))
code point: 0x2258
syntax: . which means: punctuation
category: .:Base, c:Chinese, h:Korean, j:Japanese
buffer code: #xE2 #x86 #x92
file code: #xE2 #x86 #x92 (encoded by coding system utf-8-unix)
display: by this font (glyph code)
x:-eten-fixed-medium-r-normal--16-150-75-75-c-160-big5.eten-0 (#xA1F7)
Character code properties: customize what to show
name: RIGHTWARDS ARROW
old-name: RIGHT ARROW
general-category: Sm (Symbol, Math)
Why can't you just use
(format "(%d, #o%o, U+%x, raw-byte)" char char char))
or something?
Why can't you please say "U+..."?
emacs-snapshot:
Installed: 1:20100801-1
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#6775: please say U+ in what-cursor-position
2010-08-02 2:16 bug#6775: please say U+ in what-cursor-position jidanni
@ 2010-08-02 15:27 ` Jason Rumney
2010-08-02 15:53 ` jidanni
1 sibling, 0 replies; 3+ messages in thread
From: Jason Rumney @ 2010-08-02 15:27 UTC (permalink / raw
To: jidanni; +Cc: 6775
jidanni@jidanni.org writes:
> Why can't you just use
> (format "(%d, #o%o, U+%x, raw-byte)" char char char))
> or something?
>
> Why can't you please say "U+..."?
It would be misleading for non-Unicode characters.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#6775: please say U+ in what-cursor-position
2010-08-02 2:16 bug#6775: please say U+ in what-cursor-position jidanni
2010-08-02 15:27 ` Jason Rumney
@ 2010-08-02 15:53 ` jidanni
1 sibling, 0 replies; 3+ messages in thread
From: jidanni @ 2010-08-02 15:53 UTC (permalink / raw
To: jasonr; +Cc: 6775
JR> It would be misleading for non-Unicode characters.
Well can't emacs know if it is dealing with Unicode or not, and then if
it is, give a U+ somewhere in the output? Don't Unicode characters come
with a "characteristic" signature?
Wait, if emacs is so smart that it can put a U in the modeline, then it
must know it is dealing with Unicode when it so happens to be dealing
with it.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-02 15:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-02 2:16 bug#6775: please say U+ in what-cursor-position jidanni
2010-08-02 15:27 ` Jason Rumney
2010-08-02 15:53 ` jidanni
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.