unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Akim Demaille <akim.demaille@gmail.com>
To: GNU Emacs Help <help-gnu-emacs@gnu.org>
Subject: 24.2.1: ispell: use of local ispell-personal-dictionary
Date: Thu, 22 Nov 2012 17:34:17 +0100	[thread overview]
Message-ID: <E4357EC3-D43D-442C-BEDB-00A122BAA63E@gmail.com> (raw)

Hi!

I have recently upgraded my Emacs; I was using an old version (22 or maybe 21, I don't remember).  I am now running 24.2.1, and there is a feature I seem to have lost: I could use ispell-personal-dictionary to specify a per-document *local* dictionary.

Consider the following use case: several documents (LaTeX for that matter), with many uncommon words in common.  Instead of having a bazillion of (duplicated) "LocalWords:" in all my documents, I have:

%%% Local Variables:
%%% mode: latex
%%% coding: utf-8
%%% ispell-dictionary: "american"
%%% ispell-personal-dictionary: "../en.dict"
%%% TeX-master: t
%%% fill-column: 76
%%% End:

in each file.

This used to work well, i.e., aspell was given the right path to en.dict.  With the current version of Emacs, "../en.dict" seems to be resolved relatively to the directory from which Emacs was run, instead of relatively to the document.

I do not want to force a full path to the dictionary, because the documents are under VCS, and the dictionary is shared between the authors.

What's my best option?

Thanks in advance.

	Akim

PS/ Please, keep me in cc.




             reply	other threads:[~2012-11-22 16:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-22 16:34 Akim Demaille [this message]
     [not found] <mailman.13567.1353604167.855.help-gnu-emacs@gnu.org>
2012-11-24  2:57 ` 24.2.1: ispell: use of local ispell-personal-dictionary Michael Heerdegen
2012-11-27 14:59   ` Akim Demaille
     [not found]   ` <mailman.13923.1354028403.855.help-gnu-emacs@gnu.org>
2012-11-28  6:02     ` Michael Heerdegen
2012-11-28  8:47       ` Akim Demaille

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E4357EC3-D43D-442C-BEDB-00A122BAA63E@gmail.com \
    --to=akim.demaille@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).