From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Can I build a dictionary in my Emacs? Date: Fri, 27 Nov 2009 09:14:44 +1100 Organization: Rapt Technologies Message-ID: <87zl69vsq3.fsf@lion.rapttech.com.au> References: <87vdgyx9lb.fsf@ymail.invalid> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259275310 21184 80.91.229.12 (26 Nov 2009 22:41:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2009 22:41:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 26 23:41:43 2009 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 1NDn1x-0003ly-RH for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Nov 2009 23:41:42 +0100 Original-Received: from localhost ([127.0.0.1]:40655 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDn1x-0008NA-DO for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Nov 2009 17:41:41 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!news.glorb.com!news-xfer.nntp.sonic.net!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:X5eHRTxiIS8mD71tS/Ir0z8fQVk= Original-Lines: 36 Original-NNTP-Posting-Host: fd6e8b16.news.astraweb.com Original-X-Trace: DXC=12NhoJ<0nb4YCNS1UYSjA1L?0kYOcDh@:CUmVld0kG]6IMZPVICTZI83jG8S6WC]D; >F2eZ:Zf=@7 Original-Xref: news.stanford.edu gnu.emacs.help:175097 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:70163 Archived-At: Water Lin writes: > I want to build a dictionary in my Emacs. So I can put my specific > words, expressions and their meanings into it. > > By doing this, when I need them, I don't need to google them out again. > > I don't know if it is suitable to call it dictionary, but it likes > dictionary. > > Any good suggestions? > > Thanks > Emacs lisp has support ofr hashes and essentially, that would provide the basic abstraction you want, but there is considerable work to provide a useful interface etc. This is work that is pretty much already done by other packages, so I feel you would be re-inventing a new wheel. for example, emacs integrates well with spelling checkers, such as ispell and most of these have support for including a personal dictionary and adding words to the dictionary. As this is integrated into things like spell checking and packages like flyspell, you get the benefit of standard funcitons, such as spell checking using your personal dictionary as well as the ones that come built-in. Rather than build/write your own, look into emacs support for spell checking and see if you can add your word definitions to that existing mechanism. Less work and easier to maintain in the long-term. Tim -- tcross (at) rapttech dot com dot au