unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Anders Johansson <mejlaandersj@gmail.com>
Cc: 31341@debbugs.gnu.org
Subject: bug#31341: 26.1; setting ispell-base-dicts-override-alist no longer working
Date: Wed, 02 May 2018 18:25:23 +0300	[thread overview]
Message-ID: <83vac6oza4.fsf@gnu.org> (raw)
In-Reply-To: <87zi1icd3t.fsf@gmail.com> (message from Anders Johansson on Wed,  02 May 2018 17:05:10 +0200)

> From: Anders Johansson <mejlaandersj@gmail.com>
> Date: Wed, 02 May 2018 17:05:10 +0200
> 
> After updating to the 26.1 release candidate the custom 
> dictionaries I have added via ispell-base-dicts-override-alist are 
> no longer added.
> 
> 
> I believe that this bug is due to ispell.el being compiled with 
> lexical-binding since 26.1, which means that the value of 
> ispell-base-dicts-override-alist set via 
> ispell-initialize-spellchecker-hook will no longer be in scope in 
> the body of ispell-set-spellchecker-params.
> (This is the recommended usage in the docstring of 
> ispell-initialize-spellchecker-hook).
> 
> I guess some other mechanism would have to be devised when using 
> lexical-binding.

Does recompiling ispell.el without lexical-binding solve this problem?

Also, can you please prepare a short recipe that can be used to
reproduce the problem with ispell.elc as provided in the tarball?

Thanks.





  reply	other threads:[~2018-05-02 15:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02 15:05 bug#31341: 26.1; setting ispell-base-dicts-override-alist no longer working Anders Johansson
2018-05-02 15:25 ` Eli Zaretskii [this message]
2018-05-02 16:39   ` Glenn Morris
2018-05-02 16:46     ` Glenn Morris
2018-05-02 19:20       ` Anders Johansson
2018-05-04 14:27         ` Eli Zaretskii
2018-05-02 17:19     ` Eli Zaretskii

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=83vac6oza4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=31341@debbugs.gnu.org \
    --cc=mejlaandersj@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).