GNU bug report logs - #14957
24.3.50; Flyspell language visible in mode line

Previous Next

Package: emacs;

Reported by: Sebastien Vauban <sva-news <at> mygooglest.com>

Date: Fri, 26 Jul 2013 13:01:03 UTC

Severity: wishlist

Tags: fixed

Found in version 24.3.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Sebastien Vauban" <sva-news <at> mygooglest.com>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#14957: 24.3.50; Flyspell language visible in mode line
Date: Thu, 14 Nov 2013 14:05:43 -0500
>      (setq-default mode-line-format
>                    (cons
>                     '(:eval
>                       (let ((dict (and (featurep 'ispell)
>                                        (not buffer-read-only)
>                                        (or ispell-local-dictionary
>                                            ispell-dictionary))))
>                         (and dict
>                              (propertize (concat " [" (substring dict 0 2) "]")
>                                          'face 'mode-line-highlight))))
>                     (default-value 'mode-line-format)))

The "(:eval ...)" thingy should be in ispell.el (maybe in a variable
`ispell-mode-line-dictionary').  Also it should have some mouse-face
property along with a keymap property that lets the user cycle between
his usual dictionaries with a mouse click.

Of course, the question remains of where to put it on the mode-line and
whether to enable it by default.  The mode line is pretty damn crowded
already.


        Stefan




This bug report was last modified 4 years and 242 days ago.

Previous Next


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