unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14858: 24.3.50; Two lighter entries in mode line when in global-visual-line-mode
@ 2013-07-12 22:58 Josh
  2013-07-26  1:55 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Josh @ 2013-07-12 22:58 UTC (permalink / raw)
  To: 14858

Doing `M-x global-visual-line-mode RET' results in both "vl" and "Wrap"
appearing in the mode line.  This is the result of the following form in
simple.el:

  (define-globalized-minor-mode global-visual-line-mode
    visual-line-mode turn-on-visual-line-mode
    :lighter " vl")

The docstring for `define-globalized-minor-mode' warns that it usually
makes no sense to pass it a :lighter argument, presumably to avoid
this very behavior.  Defining a `modified-global-visual-line-mode'
based on the above form but without the :lighter argument produces
expected behavior, i.e. "Wrap" alone.

In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.4.1, NS apple-appkit-1187.39)
 of 2013-07-12 on pow
Bzr revision: 113394 eggert@cs.ucla.edu-20130712143142-wq803cmiaod8ob2b
Windowing system distributor `Apple', version 10.3.1187
Configured using:
 `configure --with-pkg-config-prog=/opt/local/bin/pkg-config --with-ns'





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#14858: 24.3.50; Two lighter entries in mode line when in global-visual-line-mode
  2013-07-12 22:58 bug#14858: 24.3.50; Two lighter entries in mode line when in global-visual-line-mode Josh
@ 2013-07-26  1:55 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2013-07-26  1:55 UTC (permalink / raw)
  To: 14858-done

Version: 24.4

Thanks; fixed.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-26  1:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-12 22:58 bug#14858: 24.3.50; Two lighter entries in mode line when in global-visual-line-mode Josh
2013-07-26  1:55 ` Glenn Morris

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