Michael C. Toren on Sun, 31 Aug 2003 16:05:23 -0400


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

Re: [PLUG] dict is cool


> I also just found dict.el:
> 
>     jeff@asterix:jeff $ apt-cache search dict | grep emacs
>     emacs-goodies-extra-el - Miscellaneous add-ons for Emacs -- extra
>     jeff@asterix:jeff $

FWIW, I've been using the following in my ~/.emacs file:

	; An interface to dict(1)
	(defun mct-dict-lookup ()
	  "Lookup a word in the dictionary"
	  (interactive)
	  (shell-command
	   (concat "dict "
		   (read-from-minibuffer
		    "Dictionary: "
		    (thing-at-point 'word)))))
	(global-set-key "\C-c\C-d" 'mct-dict-lookup)

...but perhaps the dict.el does something more useful.

-mct
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug