From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Torben Knudsen Newsgroups: gmane.emacs.help Subject: Re: dict in Emacs Date: Mon, 14 Apr 2008 09:06:17 +0200 Organization: SunSITE.dk - Supporting Open source Message-ID: <87k5j09aqe.fsf@es.aau.dk> References: <86prt1vxz9.fsf@timbral.net> <6743e824-df8f-4b28-aa07-3438e81c3630@h1g2000prh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1208166475 14251 80.91.229.12 (14 Apr 2008 09:47:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2008 09:47:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 14 11:48:29 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JlLIa-0004Mu-7g for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Apr 2008 11:48:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlLHv-0006Q3-J3 for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Apr 2008 05:47:47 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:PoQ+g5fKvCPFx0yecgyWdVMpTfs= Original-Lines: 37 Original-NNTP-Posting-Host: 192.38.50.63 Original-X-Trace: news.sunsite.dk DXC=MdWnUDM=Ao=4KInH6@:Aac2G=2LLbIoXF0J>omZ1B52M8 Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:157910 X-Mailman-Approved-At: Mon, 14 Apr 2008 05:45:58 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53281 Archived-At: >>>>> "Xah" == Xah Lee writes: Xah> On Apr 7, 8:15 pm, Evans Winner 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