[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Circe-help] *invalid* in modeline

From: Pierre Gaston
Subject: [Circe-help] *invalid* in modeline
Date: Tue, 23 May 2006 12:07:42 +0300


(follow-up to irc discussion /me is pgas)

Probably due to a bug in emacs
(after reading the doc of modline format I don't see why it shouldn't work)
the following:

(setq teststring "")
(setq global-mode-string '(teststring))

results in *invalid* in the modeline.

This happens when lui-mode starts and global-mode-string is nil.
(add-to-list 'global-mode-string
in lui-track-initialize.

This seems to be a known problem as you
can find the  following workaround in rcirc.el:

(or global-mode-string (setq global-mode-string '("")))
 (and (not (memq 'rcirc-activity-string global-mode-string))
      (setq global-mode-string
            (append global-mode-string '(rcirc-activity-string))))

ie (setq global-mode-string '("" teststring)) works fine

Thanks for lui.el.

Pierre (pgas)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]