GNU bug report logs - #74511
31.0.50; `dictionary-search-interface' overrides the user's customization of `dictionary-read-word-function'

Previous Next

Package: emacs;

Reported by: Steven Allen <steven <at> stebalien.com>

Date: Sun, 24 Nov 2024 18:57:01 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 30.1

Done: Eshel Yaron <me <at> eshelyaron.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Steven Allen <steven <at> stebalien.com>
Cc: 74511 <at> debbugs.gnu.org
Subject: bug#74511: 31.0.50; `dictionary-search-interface' overrides the user's customization of `dictionary-read-word-function'
Date: Sun, 24 Nov 2024 21:03:50 +0200
> Date: Sun, 24 Nov 2024 10:56:08 -0800
> From:  Steven Allen via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> 
> If the user customizes `dictionary-read-word-function' then loads the
> dictionary package, the value of `dictionary-read-word-function' will be
> overridden when `dictionary-search-interface' is loaded. To reproduce:
> 
> 1. Run emacs with `emacs -Q`.
> 2. Open a scratch buffer and evaluate the following:
> 
>     (setopt dictionary-read-word-function 'dictionary-completing-read-word)
>     (require 'dictionary)
>     (message "%S" dictionary-read-word-function)
> 
> I'd expect `dictionary-read-word-function' to be
> `dictionary-completing-read-word' but instead it gets reset back to the
> default, `dictionary-read-dictionary-default'. I can work around this by
> calling `setopt' after loading the `dictionary' package, but ideally
> that wouldn't be necessary.

You are supposed to customize dictionary-search-interface if you want
this mode of operation.




This bug report was last modified 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.