Difference between revisions of "Dictem"

From WikEmacs
Jump to navigation Jump to search
(Created page with "'''Dictem''' is a Dictionary client for Emacs")
 
Line 1: Line 1:
'''Dictem''' is a Dictionary client for Emacs
+
{{Package
 +
|name=DictEm
 +
|description=Dictionary Client for Emacs
 +
|maintainer=Aleksey Cheusov
 +
|source=http://sourceforge.net/projects/dictem/
 +
|in_emacs=no
 +
|Development status=unknown
 +
|website=http://sourceforge.net/projects/dictem/
 +
}}
 +
 
 +
'''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
 +
 
 +
<syntaxhighlight lang="lisp">
 +
 
 +
(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)
 +
 
 +
</syntaxhighlight>
 +
 
 +
==Usage==
 +
 
 +
 
 +
==Customizations==
 +
 
 +
 
 +
[[Category:Dictionary]] [[Category:Lookup]]

Revision as of 13:11, 31 March 2012

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