From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yevgeniy Makarov Newsgroups: gmane.emacs.help Subject: Spell check: adding words to a file-specific dictionary Date: Wed, 14 May 2008 12:07:24 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210800491 4488 80.91.229.12 (14 May 2008 21:28:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 21:28:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 14 23:28:47 2008 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 1JwOWe-0004vk-0q for geh-help-gnu-emacs@m.gmane.org; Wed, 14 May 2008 23:28:40 +0200 Original-Received: from localhost ([127.0.0.1]:35484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwOVu-0003c9-On for geh-help-gnu-emacs@m.gmane.org; Wed, 14 May 2008 17:27:54 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m45g2000hsb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 132.198.153.192 Original-X-Trace: posting.google.com 1210792045 16116 127.0.0.1 (14 May 2008 19:07:25 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 14 May 2008 19:07:25 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m45g2000hsb.googlegroups.com; posting-host=132.198.153.192; posting-account=VrMpNwoAAAAcJW5zIxeTjKEfhzPkF5IJ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:158624 X-Mailman-Approved-At: Wed, 14 May 2008 17:26:19 -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:53992 Archived-At: Hello, Suppose I am doing a spell check, and I came across a word that I want to add to my dictionary. However, this word is specific to the file I am editing or the project I am working on; it is unlikely to occur in other documents. Therefore, I don't want to add it to my local dictionary in the home directory. I can press "a" and have the word remembered for one Emacs session, but what if I check this document several times on different days? Is there a way to remember this word for this document only, e.g., via file variables or a dictionary in a certain project directory? Maybe I can use something like --extra-dicts option of aspell, but is there a way to put words into that dictionary during the spellchecking session (similar to how the "i" key puts a word in the local dictionary)? Thank you, Evgeny