help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what is the easiest way to install a thesaurus feature in emacs?


From: Richard Riley
Subject: Re: what is the easiest way to install a thesaurus feature in emacs?
Date: Thu, 15 Jan 2009 17:41:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Xah Lee <xahlee@gmail.com> writes:

>> But the original post was targetting *synonyms*. Can either package do
>> them
>
> basically all open source dict clients access the open source dict at
> dict.org, which includes the free Moby Thesaurus.

Yes, I spotted that. Which is good as now I can drop synonyms.el and use
the one service.

,----
| (defun rgr/synonyms()
|   (interactive)
|   (let* ((default (region-or-word-at-point))
|        (term (read-string (format "Synonyms for (%s): "
|                                     default))))
|     (dictem-run
|      'dictem-base-search
|      "moby-thes" term "exact")))
| 
| (define-key mode-specific-map [?S] 'rgr/synonyms)
`----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]