Difference between revisions of "Unicode support"

From WikEmacs
Jump to navigation Jump to search
(anonymous deleted valid content without explanation.)
(Edy)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Emacs 23 and earlier displayed empty blocks for characters when no suitable font was found.
+
nnoremap fd :cf /tmp/autotoest.txt:compiler rubyunitwould be betetr than nmap fd :cf /tmp/autotest.txt :compiler rubyunitbecause* can be mapped into another key (actually I did)* if you type numbers before fd unconciously, the command cf would run many times
 
 
Emacs 24 shows the hex code in the block. From {{CommandKeys|C-h n RET|view-emacs-news}}:
 
 
 
"Enhanced support for characters with no glyphs in available fonts. If a character has no glyphs in any of the available fonts, Emacs normally displays it either as a hexadecimal code in a box or as a thin 1-pixel space. In addition to these two methods, Emacs can display these characters as empty box, as an acronym, or not display them at all. To change how these characters are displayed, customize the variable `glyphless-char-display-control'."
 
 
 
= Useful Keybindings =
 
 
 
; {{CommandKeys|C-x 8 RET|ucs-insert}}
 
: Use this to input a unicode charcter without resorting to any of the [[Input methods]]. For example, to insert a  [http://www.fileformat.info/info/unicode/char/2603/index.htm snowman] type {{Keys|C-x 8 RET SNOWMAN RET}} or type {{Keys|C-x 8 RET 2603 RET}}.
 
 
 
; {{CustomizeVariable|glyphless-char-display-control}}
 
: Control how characters that don't have glyphs are displayed. Typically glyphless characters are rendered as rectangular boxes with hex numbers inside them.
 
: (From ''NEWS'' file) - "Enhanced support for characters with no glyphs in available fonts. If a character has no glyphs in any of the available fonts, Emacs normally displays it either as a hexadecimal code in a box or as a thin 1-pixel space.  In addition to these two methods, Emacs can display these characters as empty box, as an acronym, or not display them at all.  To change how these characters are displayed, customize the variable `glyphless-char-display-control'."
 

Latest revision as of 01:21, 23 June 2012

nnoremap fd :cf /tmp/autotoest.txt:compiler rubyunitwould be betetr than nmap fd :cf /tmp/autotest.txt :compiler rubyunitbecause* can be mapped into another key (actually I did)* if you type numbers before fd unconciously, the command cf would run many times