1. About
  2. How to install
    1. Linux/Unix systems
    2. Windows
  3. How to use
  4. Known problems
  5. Plans for the future


quick-chinese is a chinese popup dictionary for emacs, written in pure emacs lisp.It will take whatever chinese word is currently under the cursor, feed it into the dictionary and show the result in a small window at the bottom of the screen.This works fully automatical, no key combination or anything has to be used. It uses the data of the mdbg dictionary. It uses hashtables for the dictionary and is a rather simple affair.

How to install

Linux/Unix systems

quick-chinese is not on elpa/marmelade, but you can add it manually to emacs. You can download the tarball of quick-chinese here.
install it by extracting it to your elpa-folder:
tar xfj quick-chinese-0.0.1.tar.bz2 -C ~/.emacs.d/elpa
In case the folder ~/.emacs.d/elpa does not exist yet, you need to create it first:
mkdir -p ~/.emacs.d/elpa  
Add the following to your emacs-configuration-file (usualle this is ~/.emacs):
(require 'quick-chinese)
(global-set-key (kbd "<f11>") 'quick-chinese-mode); this is optional
(You can, of course, change the key to whatever you prefer to use.)


I really don't know. :)

How to use

To enable the quick-chinese dictionary just press F11 (or whatever key you decided to use) and here you go. Alternatively you can also turn it on via M-X quick-chinese-mode . skorg exampleTo switch it off, just press F11 again (or run M-X quick-chinese-mode again).The function will always look for the longest chinese phrase and get that from the dictionary. In order to get shorter phrases, just select the character-phrase you want (active-region in emacs-language) and the function will automaticly narrow down the search results.

Known problems

quick-chinese might not work when you already have a window showing something else below the current window. In order to get rid of this problem, make sure that the window you wish to use quick-chinese on is the most bottom one.

Plans for the future

Get rid of the bugs :)