GNU bug report logs - #446
flyspelling in the minibuffer

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Wed, 18 Jun 2008 19:25:05 UTC

Severity: wishlist

Tags: confirmed, fixed

Merged with 17272, 19064

Found in versions 24.4.50, 25.0.50

Fixed in version 27.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Cc: agmartin <at> debian.org, emacs-w3m <at> namazu.org
Subject: flyspelling in the minibuffer
Date: Thu, 19 Jun 2008 03:17:23 +0800
>>>>> "KY" == Katsumi Yamaoka <yamaoka <at> jpl.org> writes:

>>>>> In [emacs-w3m : No.10242] jidanni <at> jidanni.org wrote:
>> Help, I'm constantly misspelling things in the
>> TEXT:
>> entry box because flyspell is disabled there, causing badly spelled
>> words not to turn red, etc. What can I do? It's making me look bad to
>> my peers.

KY> (add-hook 'minibuffer-setup-hook
KY> 	  (lambda ()
KY> 	    (if (string-equal (minibuffer-prompt) "TEXT: ")
KY> 		(flyspell-mode 1))))

KY> There may be a better solution though.

OK, works good, (except there is a little awkwardness when one uses
M-TAB (flyspell-auto-correct-word,) which flashes a list right there
in the minibuffer for one second) but that's better than nothing. I'll
post to bug-gnu-emacs to ask them to don't flash that list of
corrections in the minibuffer, but perhaps at the top of the screen
instead, or turn it off optionally or something to stop the battle for
the minibuffer.

I see an apparently unused
  flyspell-minibuffer-p is a compiled Lisp function in `flyspell.el'.

By the way, let's take a look at the Corrections list,
www ESC TAB gives
Corrections: wow wow WWW www wow WWW www wow WWW www wow WWW www wow WWW www wow
as seen with C-h e (view-echo-area-messages).
Well, that's obviously broken.
Doing <escape> <tab> <escape> <tab> ...
shows that it just rotates among "wow WWW www", therefore it need not
fill out the whole line in "art for art's sake" style, making the
unwary eye think there are 17 corrections when there are only three.





This bug report was last modified 5 years and 174 days ago.

Previous Next


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