GNU bug report logs - #11756
24.1.50; mode-line string and properties

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Thu, 21 Jun 2012 00:32:02 UTC

Severity: normal

Tags: wontfix

Found in version 24.1.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 11756 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 11756 <at> debbugs.gnu.org
Subject: Re: bug#11756: 24.1.50; mode-line string and properties
Date: Thu, 21 Jun 2012 09:24:18 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> 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, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 3 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.