[mew-int 2704] global-mode-string inserts a space

Christophe TROESTLER <[email protected]>
Newsgroups gmane.mail.mew.general
Organization Universite de Mons (http://math.umh.ac.be/an/)
Message-ID <20090422.184331.178297358191013731.Christophe.Troestler@umons.ac.be>
Hi,

When adding mew biff to the modeline (changing global-mode-string), a
space is added that makes the modeline look funny when mew-biff is
disabled.  There may be good reasons why that space was added, but at
least removing it clears the problem.  Patch attached.

Regards,
ChriS
mew.patch (text/x-patch, 413 B)
=== modified file 'mew-net.el'
--- old/mew-net.el	2009-01-21 05:49:54 +0000
+++ new/mew-net.el	2009-04-22 16:31:27 +0000
@@ -190,7 +190,7 @@
     (unless (member ent global-mode-string)
       (if global-mode-string
 	  (setq global-mode-string
-		(append global-mode-string (list " " ent)))
+		(append global-mode-string (list "" ent)))
 	(setq global-mode-string (list ent))))))
 
 (defun mew-biff-clean-up ()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.