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

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

bug#20499: [PROPOSED PATCH] C-x 8 shorthands for curved quotes, Euro, et


From: Eli Zaretskii
Subject: bug#20499: [PROPOSED PATCH] C-x 8 shorthands for curved quotes, Euro, etc.
Date: Mon, 04 May 2015 20:03:36 +0300

> From: Ivan Shmakov <address@hidden>
> Date: Mon, 04 May 2015 16:48:39 +0000
> 
> >>>>> Eli Zaretskii <address@hidden> writes:
> >>>>> Date: Mon, 04 May 2015 12:15:07 -0400  From: Richard Stallman
> 
>  >> By the way, it would be good to have a file that consists of all of
>  >> unicode in numeric order.  That would provide an easy way to pick
>  >> some unicode character (whose code you don't remember) and copying
>  >> it into some text.
> 
>  > Would admin/unidata/UnicodeData.txt do?
> 
>       I guess given the “copying” part, the request is more along the

We distribute that file with Emacs, so "copying" is irrelevant, I
think.

> (let ((i #x100))
>   (while (< i #x180)
>     (when (zerop (mod i #x20))
>       (unless (eq ?\n (preceding-char))
>         (insert ?\n))
>       (insert (format "%06x" i) ?\s))
>     (insert ?\s i)
>     (setq i (+ 1 i))))
> 000100  Ā ā Ă ă Ą ą Ć ć Ĉ ĉ Ċ ċ Č č Ď ď Đ đ Ē ē Ĕ ĕ Ė ė Ę ę Ě ě Ĝ ĝ Ğ ğ
> 000120  Ġ ġ Ģ ģ Ĥ ĥ Ħ ħ Ĩ ĩ Ī ī Ĭ ĭ Į į İ ı IJ ij Ĵ ĵ Ķ ķ ĸ Ĺ ĺ Ļ ļ Ľ ľ Ŀ
> 000140  ŀ Ł ł Ń ń Ņ ņ Ň ň ʼn Ŋ ŋ Ō ō Ŏ ŏ Ő ő Œ œ Ŕ ŕ Ŗ ŗ Ř ř Ś ś Ŝ ŝ Ş ş
> 000160  Š š Ţ ţ Ť ť Ŧ ŧ Ũ ũ Ū ū Ŭ ŭ Ů ů Ű ű Ų ų Ŵ ŵ Ŷ ŷ Ÿ Ź ź Ż ż Ž ž ſ

Did you try to make this longer than 4 lines in a well-covered part of
the BMP?  Most of Unicode codepoints on most end-user machines will
display as glyphless boxes, and that's _after_ Emacs searches like
hell after each character system-wide.  IOW, such a feature would be
an annoyance, IMO.

By contrast UnicodeData.txt is a pure-ASCII file, and includes
everything except the glyphs themselves.





reply via email to

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