GNU bug report logs - #35704
Allow showing Unicode

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 12 May 2019 21:54:02 UTC

Severity: wishlist

Tags: wontfix

Merged with 26477, 33445

Done: Lars Ingebrigtsen <larsi <at> gnus.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 35704 in the body.
You can then email your comments to 35704 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 rms <at> gnu.org, bug-gnu-emacs <at> gnu.org:
bug#35704; Package emacs. (Sun, 12 May 2019 21:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to rms <at> gnu.org, bug-gnu-emacs <at> gnu.org. (Sun, 12 May 2019 21:54:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Allow showing Unicode
Date: Mon, 13 May 2019 05:53:05 +0800
X-Debbugs-Cc: rms <at> gnu.org

PROPOSAL:

Add a variable the user could set in his .emacs, so so many lines of docstring
would at least mention the word "Unicode" once:

     1	C-x = runs the command what-cursor-position (found in global-map),
     2	which is an interactive compiled Lisp function in ‘simple.el’.
     3	
     4	It is bound to C-x =.
     5	
     6	(what-cursor-position &optional DETAIL)
     7	
     8	Print info on cursor position (on screen and within buffer).
     9	Also describe the character after point, and give its character code
    10	in octal, decimal and hex.
    11	
    12	For a non-ASCII multibyte character, also give its encoding in the
    13	buffer’s selected coding system if the coding system encodes the
    14	character safely.  If the character is encoded into one byte, that
    15	code is shown in hex.  If the character is encoded into more than one
    16	byte, just "..." is shown.
    17	
    18	In addition, with prefix argument, show details about that character
    19	in *Help* buffer.  See also the command ‘describe-char’.

And so so many lines of output:

     1	             position: 801 of 1900 (42%), column: 164
     2	            character: 「 (displayed as 「) (codepoint 12300, #o30014, #x300c)
     3	    preferred charset: chinese-big5-1 (Frequently used part (A141-C67E) of Big5 (Chinese traditional))
     4	code point in charset: 0x2156
     5	               script: cjk-misc
     6	               syntax: (」	which means: open, matches 」
     7	             category: .:Base, <:Not at eol, c:Chinese, h:Korean, j:Japanese, |:line breakable
     8	             to input: type "C-x 8 RET 300c" or "C-x 8 RET LEFT CORNER BRACKET"
     9	          buffer code: #xE3 #x80 #x8C
    10	            file code: #xE3 #x80 #x8C (encoded by coding system raw-text-unix)
    11	              display: by this font (glyph code)
    12	    x:-eten-fixed-medium-r-normal--16-150-75-75-c-160-big5.eten-0 (#xA175)
    13	
    14	Character code properties: customize what to show
    15	  name: LEFT CORNER BRACKET
    16	  old-name: OPENING CORNER BRACKET
    17	  general-category: Ps (Punctuation, Open)
    18	  decomposition: (12300) ('「')
    19	
    20	There is an overlay here:
    21	 From 801 to 802
    22	  face                 show-paren-mismatch
    23	  priority             1000
    24	
    25	
    26	There are text properties here:
    27	  face                 variable-pitch

would also at least mention the "U+XXXX" once, yes with a real "U+"
once, yes, even on a wasteful additional line, and even if one can infer
what line it is currently hiding on above from reading

    A few common Unicode characters can be inserted via a command
    starting with ‘C-x 8’.  For example, ‘C-x 8 [’ inserts ‘ which is
    Unicode code-point ‘U+2018’ LEFT SINGLE QUOTATION MARK, sometimes called
    a left single “curved quote” or “curly quote”.  Similarly, ‘C-x 8 ]’,
    ‘C-x 8 {’ and ‘C-x 8 }’ insert the curved quotes ’, “ and ”,
    respectively.  Also, a working Alt key acts like ‘C-x 8’; e.g., ‘A-[’
    acts like ‘C-x 8 [’ and inserts ‘.  To see which characters have ‘C-x 8’
    shorthands, type ‘C-x 8 C-h’.

in the manual. Yes we discussed this before.




Merged 26477 33445 35704. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 13 May 2019 00:31:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 26477 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 23 Aug 2019 05:34:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 20 Sep 2019 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 220 days ago.

Previous Next


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