bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11226: format-mode-line, %z, mode-line-mule-info, and unibyte


From: Chong Yidong
Subject: bug#11226: format-mode-line, %z, mode-line-mule-info, and unibyte
Date: Sun, 03 Jun 2012 18:24:39 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Glenn Morris <rgm@gnu.org> writes:

> The intent is obviously that you see (multibyte) in the mode-line
> tooltip in a multibyte buffer, and (unibyte) otherwise.
>
> However, you will never see the unibyte tooltip, because:
>
> (set-buffer-multibyte nil)
> (format-mode-line "%z")
>     -> ""
>
> If it returned " " instead of "", you would see the tooltip.

Sounds reasonable; fixed in trunk.





reply via email to

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