From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Cc: Akim Demaille <akim.demaille@gmail.com>
Subject: Re: 24.2.1: ispell: use of local ispell-personal-dictionary
Date: Sat, 24 Nov 2012 03:57:18 +0100 [thread overview]
Message-ID: <87boenu2r5.fsf@web.de> (raw)
In-Reply-To: <mailman.13567.1353604167.855.help-gnu-emacs@gnu.org> (Akim Demaille's message of "Thu, 22 Nov 2012 17:34:17 +0100")
Hi Akim,
your file local variable `ispell-personal-dictionary' is bound to the
string "../en.dict" when you open your file. Note that no expansion of
the ".." takes place. Whether this string later is interpreted as
intended or not is just luck...
It is better to bind the variable to an expanded filename. This can be
done using `eval':
%%% eval: (set (make-local-variable 'ispell-personal-dictionary) (expand-file-name "../en.dict"))
BTW, also consider using a directory local variable for this.
Regards,
Michael.
next parent reply other threads:[~2012-11-24 2:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.13567.1353604167.855.help-gnu-emacs@gnu.org>
2012-11-24 2:57 ` Michael Heerdegen [this message]
2012-11-27 14:59 ` 24.2.1: ispell: use of local ispell-personal-dictionary 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
2012-11-22 16:34 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87boenu2r5.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.