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

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

bug#11756: 24.1.50; mode-line string and properties


From: Andreas Schwab
Subject: bug#11756: 24.1.50; mode-line string and properties
Date: Thu, 21 Jun 2012 09:24:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Michael Heerdegen <address@hidden> writes:

> to see with a short recipe that there is something wrong, try this in
> emacs -Q:
>
>   (setq A-red_B-C
>         '(:eval (concat "A" (propertize "B" 'face 'font-lock-warning-face) 
> "C"))

The property merging done by display_mode_element is very simple-minded.
Only the properties on the first character are used, and it is assumed
that they are placed over the whole string.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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