Skip to main content
replaced http://emacs.stackexchange.com/ with https://emacs.stackexchange.com/
Source Link

insert-char provides a very convenient way to enter Unicode code points using their names and even search for code point names. Unfortunately, GNU Emacs 24.3 and Unicode 8 were released at roughly the same time, so the new code points are not available from the list provided by insert-char. How can I add them?

UPDATE

I implemented Aaron'sAaron's solution (albeit in a lazy manner) and it works. I used the emoji list from http://emojipedia.org/unicode-7.0/ and http://emojipedia.org/unicode-8.0/ (Emacs 24.3 lacks the Unicode 7 code points too, by the way)

(ucs-names)
(nconc ucs-names
       '(("SLIGHTLY SMILING FACE" . ?🙂)
         ("SLIGHTLY FROWNING FACE" . ?🙁)
         ("SLEUTH OR SPY" . ?🕵)
         ("SPEAKING HEAD IN SILHOUETTE" . ?🗣)
         ("MAN IN BUSINESS SUIT LEVITATING" . ?🕴)
         ("REVERSED HAND WITH MIDDLE FINGER EXTENDED" . ?🖕)
         ("RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS" . ?🖖)
         ("RAISED HAND WITH FINGERS SPLAYED" . ?🖐)
         ("EYE" . ?👁)
         ("HOLE" . ?🕳)
         ;; and so on
           ))

insert-char provides a very convenient way to enter Unicode code points using their names and even search for code point names. Unfortunately, GNU Emacs 24.3 and Unicode 8 were released at roughly the same time, so the new code points are not available from the list provided by insert-char. How can I add them?

UPDATE

I implemented Aaron's solution (albeit in a lazy manner) and it works. I used the emoji list from http://emojipedia.org/unicode-7.0/ and http://emojipedia.org/unicode-8.0/ (Emacs 24.3 lacks the Unicode 7 code points too, by the way)

(ucs-names)
(nconc ucs-names
       '(("SLIGHTLY SMILING FACE" . ?🙂)
         ("SLIGHTLY FROWNING FACE" . ?🙁)
         ("SLEUTH OR SPY" . ?🕵)
         ("SPEAKING HEAD IN SILHOUETTE" . ?🗣)
         ("MAN IN BUSINESS SUIT LEVITATING" . ?🕴)
         ("REVERSED HAND WITH MIDDLE FINGER EXTENDED" . ?🖕)
         ("RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS" . ?🖖)
         ("RAISED HAND WITH FINGERS SPLAYED" . ?🖐)
         ("EYE" . ?👁)
         ("HOLE" . ?🕳)
         ;; and so on
           ))

insert-char provides a very convenient way to enter Unicode code points using their names and even search for code point names. Unfortunately, GNU Emacs 24.3 and Unicode 8 were released at roughly the same time, so the new code points are not available from the list provided by insert-char. How can I add them?

UPDATE

I implemented Aaron's solution (albeit in a lazy manner) and it works. I used the emoji list from http://emojipedia.org/unicode-7.0/ and http://emojipedia.org/unicode-8.0/ (Emacs 24.3 lacks the Unicode 7 code points too, by the way)

(ucs-names)
(nconc ucs-names
       '(("SLIGHTLY SMILING FACE" . ?🙂)
         ("SLIGHTLY FROWNING FACE" . ?🙁)
         ("SLEUTH OR SPY" . ?🕵)
         ("SPEAKING HEAD IN SILHOUETTE" . ?🗣)
         ("MAN IN BUSINESS SUIT LEVITATING" . ?🕴)
         ("REVERSED HAND WITH MIDDLE FINGER EXTENDED" . ?🖕)
         ("RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS" . ?🖖)
         ("RAISED HAND WITH FINGERS SPLAYED" . ?🖐)
         ("EYE" . ?👁)
         ("HOLE" . ?🕳)
         ;; and so on
           ))
added 889 characters in body
Source Link
wnrph
  • 143
  • 5

insert-char provides a very convenient way to enter Unicode code points using their names and even search for code point names. Unfortunately, GNU Emacs 24.3 and Unicode 8 were released at roughly the same time, so the new code points are not available from the list provided by insert-char. How can I add them?

UPDATE

I implemented Aaron's solution (albeit in a lazy manner) and it works. I used the emoji list from http://emojipedia.org/unicode-7.0/ and http://emojipedia.org/unicode-8.0/ (Emacs 24.3 lacks the Unicode 7 code points too, by the way)

(ucs-names)
(nconc ucs-names
       '(("SLIGHTLY SMILING FACE" . ?🙂)
         ("SLIGHTLY FROWNING FACE" . ?🙁)
         ("SLEUTH OR SPY" . ?🕵)
         ("SPEAKING HEAD IN SILHOUETTE" . ?🗣)
         ("MAN IN BUSINESS SUIT LEVITATING" . ?🕴)
         ("REVERSED HAND WITH MIDDLE FINGER EXTENDED" . ?🖕)
         ("RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS" . ?🖖)
         ("RAISED HAND WITH FINGERS SPLAYED" . ?🖐)
         ("EYE" . ?👁)
         ("HOLE" . ?🕳)
         ;; and so on
           ))

insert-char provides a very convenient way to enter Unicode code points using their names and even search for code point names. Unfortunately, GNU Emacs 24.3 and Unicode 8 were released at roughly the same time, so the new code points are not available from the list provided by insert-char. How can I add them?

insert-char provides a very convenient way to enter Unicode code points using their names and even search for code point names. Unfortunately, GNU Emacs 24.3 and Unicode 8 were released at roughly the same time, so the new code points are not available from the list provided by insert-char. How can I add them?

UPDATE

I implemented Aaron's solution (albeit in a lazy manner) and it works. I used the emoji list from http://emojipedia.org/unicode-7.0/ and http://emojipedia.org/unicode-8.0/ (Emacs 24.3 lacks the Unicode 7 code points too, by the way)

(ucs-names)
(nconc ucs-names
       '(("SLIGHTLY SMILING FACE" . ?🙂)
         ("SLIGHTLY FROWNING FACE" . ?🙁)
         ("SLEUTH OR SPY" . ?🕵)
         ("SPEAKING HEAD IN SILHOUETTE" . ?🗣)
         ("MAN IN BUSINESS SUIT LEVITATING" . ?🕴)
         ("REVERSED HAND WITH MIDDLE FINGER EXTENDED" . ?🖕)
         ("RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS" . ?🖖)
         ("RAISED HAND WITH FINGERS SPLAYED" . ?🖐)
         ("EYE" . ?👁)
         ("HOLE" . ?🕳)
         ;; and so on
           ))
added 4 characters in body
Source Link
wnrph
  • 143
  • 5

insert-char provides a very convenient way to enter Unicode code points using their names and even search for code point names. Unfortunately, emacsGNU Emacs 24.3 and Unicode 8 were released at roughly the same time, so the new code points are not available from the list provided by insert-char. How can I add them?

insert-char provides a very convenient way to enter Unicode code points using their names and even search for code point names. Unfortunately, emacs 24.3 and Unicode 8 were released at roughly the same time, so the new code points are not available from the list provided by insert-char. How can I add them?

insert-char provides a very convenient way to enter Unicode code points using their names and even search for code point names. Unfortunately, GNU Emacs 24.3 and Unicode 8 were released at roughly the same time, so the new code points are not available from the list provided by insert-char. How can I add them?

Source Link
wnrph
  • 143
  • 5
Loading