Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

migrated from stackoverflow.com Jan 4 '12 at 2:33

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

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
share|improve this answer
    
What's M-x C-l? The way to choose an input method is C-x RET C-\. – angus Jan 3 '12 at 6:12

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 »

share|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. – qazwsx Jan 1 '12 at 22:54

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

share|improve this answer
    
What is [Compose] and [<], concretely? I.e. what do I do on my keyboard? – qazwsx Jan 4 '12 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 '12 at 6:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .