How to type guillemets (book title mark in Chinese) in Emacs (efficiently)?

link|improve this question

72% accept rate
feedback

migrated from stackoverflow.com Jan 4 at 2:33

This question came from our site for professional and enthusiast programmers.

3 Answers

up vote 3 down vote accepted

The most effective way of inputing Chinese punctuation characters such as is probably using input method chinese-punct. Concretely, one can do it with the following steps:

  • type M-x C-l
  • type chinese-punt, then Enter to turn on chinese-punct input method
  • type < and choose 3 for entering
  • enter C-\ to toggle back to the default input method
link|improve this answer
What's M-x C-l? The way to choose an input method is C-x RET C-\. – angus Jan 3 at 6:12
feedback

does this help? Using ISO Latin 1 in Emacs. I'm not sure what you mean by "book title marks in Chinese"

Enable iso-accents-mode then type:

~< to get «

and

~> to get »

link|improve this answer
"book title marks in Chinese" is how guillements are used in Chinese and called. iso-accents-mode is an obsolete way of entering accented Latin letters and not likely an ideal solution for entering guillements. +1 for pointing the option out. – duperuser Jan 1 at 22:54
feedback

If you are in an X environment, you can just simply use [Compose] [<] [<] or [Compose] [>] [>].

link|improve this answer
What is [Compose] and [<], concretely? I.e. what do I do on my keyboard? – duperuser Jan 4 at 22:57
That depends on your configuration. For [Compose], either [AltGr] or the Windows context menu key are usually used. In some desktop environments like KDE, you have to activate it in the system settings. – Tim Landscheidt Jan 8 at 6:37
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.