[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dict in Emacs
From: |
Torben Knudsen |
Subject: |
Re: dict in Emacs |
Date: |
Mon, 14 Apr 2008 09:06:17 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
>>>>> "Xah" == Xah Lee <xah@xahlee.org> writes:
Xah> On Apr 7, 8:15 pm, Evans Winner <tho...@timbral.net> wrote:
>> Can anyone recommend a good system for looking up the dictionary
>> definition of a word at point? I found a dict.el on EmacsWiki and
>> it more or less works, but I found after looking up a few words
>> that it had left a trail of over a thousand buffers open -- and I'm
>> not sure how to debug it. It also gives me results from, eg.,
>> English to Arabic dictionaries. I am thinking, there is probably a
>> more convenient solution, and someone here is liable to know what
>> it is.
Xah> one solution is actually to use a browser. i.e. you hit a button
Xah> in emacs, and emacs switchs you to your browser showing the
Xah> definition using a online dictionary. Here's the code:
(defun word-definition-lookup ()
"Look up the word under cursor in a browser."
(interactive)
(browse-url
(concat "http://www.answers.com/main/ntquery?s="
(thing-at-point 'word)))
)
I tried to use this with http://www.dict.org/bin/Dict. However, I
can't figure out what to do to look up a specific word i.e. something
similar to http://www.answers.com/main/ntquery?s=whatever.
What do I need for dict?
--
Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826
Section of Automation and Control, Email : tk@es.aau.dk
Department of Electronic Systems,
Aalborg University
Fredrik Bajersvej 7
DK-9220 Aalborg Ø
Denmark
- dict in Emacs, Evans Winner, 2008/04/07
- Re: dict in Emacs, Richard G Riley, 2008/04/08
- Re: dict in Emacs, William Xu, 2008/04/08
- Re: dict in Emacs, Jashy, 2008/04/08
- Re: dict in Emacs, Xah Lee, 2008/04/11
- Re: dict in Emacs,
Torben Knudsen <=
- Re: dict in Emacs, Xah Lee, 2008/04/14