From: Andreas Schwab <schwab@linux-m68k.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 11756@debbugs.gnu.org
Subject: bug#11756: 24.1.50; mode-line string and properties
Date: Thu, 21 Jun 2012 09:24:18 +0200 [thread overview]
Message-ID: <m2y5nhm8kd.fsf@igel.home> (raw)
In-Reply-To: <87wr31tq9i.fsf@web.de> (Michael Heerdegen's message of "Thu, 21 Jun 2012 03:20:09 +0200")
Michael Heerdegen <michael_heerdegen@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2012-06-21 7:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-21 0:27 bug#11756: 24.1.50; mode-line string and properties Drew Adams
2012-06-21 1:20 ` Michael Heerdegen
2012-06-21 7:24 ` Andreas Schwab [this message]
2012-06-21 14:01 ` Drew Adams
2021-08-23 15:00 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2y5nhm8kd.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=11756@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).