Emacs 24: Unicode {Space, Hyphen} Chars Display

Perm URL with updates: http://xahlee.org/emacs/emacs24_features.html

Certain non-ASCII space and hyphen Unicode characters are displayed with a reddish color to distinguish them from similar ASCII ones. Emacs 24 added 2 more. The complete list of such chars are:

  • “NO-BREAK SPACE”  
  • “HYPHEN” (U+2010)
  • “NON-BREAKING HYPHEN” (U+2011)
  • “SOFT HYPHEN” (U+00AD) ­

(Copy the above list and paste in emacs to see.)

Call describe-variable on “nobreak-char-display” to see the detail.

To insert unicode, call ucs-insert. (➲ Emacs and Unicode Tips)

Popular posts from this blog

Browser User Agent Strings 2012

11 Years of Writing About Emacs

does md5 creates more randomness?