Dictem

From WikEmacs
Revision as of 13:11, 31 March 2012 by Kindahero (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
DictEm
Description Dictionary Client for Emacs
Author name of author
Maintainer Aleksey Cheusov
Source http://sourceforge.net/projects/dictem/
Part of Emacs no

DictEm is a Dictionary client for Emacs. DictEm is an extremely customizable. It implements functions of the client part of the Dictionary protocol (RFC-2229). It widely uses auto completion and provides powerful API that allows to heavily extend its functionality. DictEm contacts dictionary server ( it can be localhost dictd server or any server from the internet) to get get the information and displays in *dictem* buffer.

Setup

System Side setup

On GNU/Linux

First make you sure you have dictd server is installed. on Ubuntu following

dictd - server
dict - client installed by default
dict-wn - Wordnet dictinory
any other dicts you want

Emacs setup

NOTE: The following setup makes dictem to contacts to localhost dictd server but not to any servers over internet. DictEm comes with a nice README, find more details in that.

Download dictem and add dictem the directory to load path. add the

(when (executable-find "dictd")            ; check dictd is available
   (require 'dictem))

(setq dictem-server "localhost")
(setq dictem-user-databases-alist
      `(("_en-en"  . ("foldoc" "gcide" "wn"))))

(setq dictem-use-user-databases-only t)

(setq dictem-port   "2628")
(dictem-initialize)

Usage

Customizations