From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#11756: 24.1.50; mode-line string and properties Date: Thu, 21 Jun 2012 09:24:18 +0200 Message-ID: References: <87wr31tq9i.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340263487 9739 80.91.229.3 (21 Jun 2012 07:24:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2012 07:24:47 +0000 (UTC) Cc: 11756@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 21 09:24:46 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Shbky-0003n9-2I for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2012 09:24:44 +0200 Original-Received: from localhost ([::1]:53225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Shbkx-0007Hk-S5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2012 03:24:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Shbks-0007HR-2o for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2012 03:24:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Shbkl-0005Li-QJ for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2012 03:24:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Shbkl-0005LT-Mx for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2012 03:24:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1ShboA-0000me-BF for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2012 03:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jun 2012 07:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11756 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11756-submit@debbugs.gnu.org id=B11756.13402636783002 (code B ref 11756); Thu, 21 Jun 2012 07:28:02 +0000 Original-Received: (at 11756) by debbugs.gnu.org; 21 Jun 2012 07:27:58 +0000 Original-Received: from localhost ([127.0.0.1]:50605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Shbo5-0000mM-6n for submit@debbugs.gnu.org; Thu, 21 Jun 2012 03:27:57 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:37907) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Shbo2-0000mD-1y for 11756@debbugs.gnu.org; Thu, 21 Jun 2012 03:27:55 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3WHvYc5Yv4z3hhZg; Thu, 21 Jun 2012 09:24:35 +0200 (CEST) Original-Received: from igel.home (ppp-88-217-103-182.dynamic.mnet-online.de [88.217.103.182]) by mail.mnet-online.de (Postfix) with ESMTPA id 3WHvYH6NKhz4KK3X; Thu, 21 Jun 2012 09:24:19 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 539EFCA2A3; Thu, 21 Jun 2012 09:24:18 +0200 (CEST) X-Yow: I need "RONDO". In-Reply-To: <87wr31tq9i.fsf@web.de> (Michael Heerdegen's message of "Thu, 21 Jun 2012 03:20:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61162 Archived-At: Michael Heerdegen 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."