Difference between revisions of "Unicode support"

From WikEmacs
Jump to navigation Jump to search
(Edy)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Useful Keybindings =
+
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
 
 
; {{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 {{CommandKeys|C-x 8 RET SNOWMAN RET}} or type {{CommandKeys|C-x 8 RET 2603 RET}}.
 
 
 
You know those empty blocks for characters when no suitable font is found?
 
 
 
 
 
Well Emacs 24 will show the hex code in the block. From C-h n (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'."
 

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