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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "Drew Adams" <drew.adams@HIDDEN>; dated Thu, 21 Jun 2012 00:32:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 11756 <at> debbugs.gnu.org:


Received: (at 11756) by debbugs.gnu.org; 21 Jun 2012 14:05:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 21 10:05:38 2012
Received: from localhost ([127.0.0.1]:51721 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Shi0w-0004xD-4v
	for submit <at> debbugs.gnu.org; Thu, 21 Jun 2012 10:05:38 -0400
Received: from acsinet15.oracle.com ([141.146.126.227]:49809)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <drew.adams@HIDDEN>) id 1Shi0u-0004x6-CN
	for 11756 <at> debbugs.gnu.org; Thu, 21 Jun 2012 10:05:37 -0400
Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238])
	by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with
	ESMTP id q5LE21lX004026
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 21 Jun 2012 14:02:01 GMT
Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156])
	by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id
	q5LE20Aw028025
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 21 Jun 2012 14:02:00 GMT
Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65])
	by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id
	q5LE20gB007301; Thu, 21 Jun 2012 09:02:00 -0500
Received: from dradamslap1 (/10.159.220.54)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Thu, 21 Jun 2012 07:02:00 -0700
From: "Drew Adams" <drew.adams@HIDDEN>
To: "'Andreas Schwab'" <schwab@HIDDEN>,
	"'Michael Heerdegen'" <michael_heerdegen@HIDDEN>
References: <FBFF432C6A184C7FA5C381F4ADBED459@HIDDEN><87wr31tq9i.fsf@HIDDEN>
	<m2y5nhm8kd.fsf@HIDDEN>
Subject: RE: bug#11756: 24.1.50; mode-line string and properties
Date: Thu, 21 Jun 2012 07:01:33 -0700
Message-ID: <BC9070D9D6AF4164BC5103826C482BBF@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
Thread-Index: Ac1PfvBSDwz+fEe8QlConJLJLcriRAANCV7Q
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
In-Reply-To: <m2y5nhm8kd.fsf@HIDDEN>
X-Source-IP: acsinet22.oracle.com [141.146.126.238]
X-Spam-Score: -6.9 (------)
X-Debbugs-Envelope-To: 11756
Cc: 11756 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

> > 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.

So I guess that's what needs to be fixed then.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11756; Package emacs. Full text available.

Message received at 11756 <at> debbugs.gnu.org:


Received: (at 11756) by debbugs.gnu.org; 21 Jun 2012 07:27:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 21 03:27:58 2012
Received: from localhost ([127.0.0.1]:50605 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Shbo5-0000mM-6n
	for submit <at> debbugs.gnu.org; Thu, 21 Jun 2012 03:27:57 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:37907)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <whitebox@HIDDEN>) id 1Shbo2-0000mD-1y
	for 11756 <at> debbugs.gnu.org; Thu, 21 Jun 2012 03:27:55 -0400
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)
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)
Received: by igel.home (Postfix, from userid 501)
	id 539EFCA2A3; Thu, 21 Jun 2012 09:24:18 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#11756: 24.1.50; mode-line string and properties
References: <FBFF432C6A184C7FA5C381F4ADBED459@HIDDEN>
	<87wr31tq9i.fsf@HIDDEN>
X-Yow: I need "RONDO".
Date: Thu, 21 Jun 2012 09:24:18 +0200
In-Reply-To: <87wr31tq9i.fsf@HIDDEN> (Michael Heerdegen's message of "Thu, 21
	Jun 2012 03:20:09 +0200")
Message-ID: <m2y5nhm8kd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 11756
Cc: 11756 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

Michael Heerdegen <michael_heerdegen@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, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11756; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Jun 2012 01:21:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 20 21:21:37 2012
Received: from localhost ([127.0.0.1]:50392 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ShW5Z-00008r-Jr
	for submit <at> debbugs.gnu.org; Wed, 20 Jun 2012 21:21:37 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57902)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <michael_heerdegen@HIDDEN>) id 1ShW5X-00008k-G4
	for submit <at> debbugs.gnu.org; Wed, 20 Jun 2012 21:21:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <michael_heerdegen@HIDDEN>) id 1ShW28-0000eU-AJ
	for submit <at> debbugs.gnu.org; Wed, 20 Jun 2012 21:18:05 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:38607)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <michael_heerdegen@HIDDEN>) id 1ShW28-0000eO-7I
	for submit <at> debbugs.gnu.org; Wed, 20 Jun 2012 21:18:04 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37693)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <michael_heerdegen@HIDDEN>) id 1ShW26-0007Ud-N5
	for bug-gnu-emacs@HIDDEN; Wed, 20 Jun 2012 21:18:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <michael_heerdegen@HIDDEN>) id 1ShW24-0000dQ-Q2
	for bug-gnu-emacs@HIDDEN; Wed, 20 Jun 2012 21:18:02 -0400
Received: from mout.web.de ([212.227.17.12]:56021)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <michael_heerdegen@HIDDEN>) id 1ShW24-0000d0-GS
	for bug-gnu-emacs@HIDDEN; Wed, 20 Jun 2012 21:18:00 -0400
Received: from snow.dragon ([82.113.121.73]) by smtp.web.de (mrweb102) with
	ESMTPSA (Nemesis) id 0M8iLA-1SbzCM244q-00CYd5; Thu, 21 Jun 2012 03:17:58
	+0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Re: bug#11756: 24.1.50; mode-line string and properties
References: <FBFF432C6A184C7FA5C381F4ADBED459@HIDDEN>
Date: Thu, 21 Jun 2012 03:20:09 +0200
In-Reply-To: <FBFF432C6A184C7FA5C381F4ADBED459@HIDDEN> (Drew Adams's
	message of "Wed, 20 Jun 2012 17:27:09 -0700")
Message-ID: <87wr31tq9i.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V02:K0:U8APvxz1GOrVYrCJCu6tTlh+j2kP1qVnVrdULFcclMY
	J98ukIH7JLLxaHD1W8X9iOsAHGKJa56zi+dgDWtXEgQsBBMV1K
	zJdzEU8d8G0mCDwHn+MzXmYjblFejpA16WU5gEKvtuVWtojRFH
	1eSNpJxC9JG2zUwA5u0sQREb393jph3cOmQ94wNWcM1DcF+vVW
	S+usPKee0kMN01XDZENFXgw2/uG4hlXnZzBALCn9AU=
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.9 (------)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

Hi,

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"))
        red_B
        '(:eval (propertize "B" 'face 'font-lock-warning-face)))
  
  (setq mode-name red_B) ;; works
  
  (setq mode-name A-red_B-C) ;; doesn't work
  
  (setq mode-line-format A-red_B-C) ;; works


Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11756; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Jun 2012 00:31:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 20 20:31:17 2012
Received: from localhost ([127.0.0.1]:50382 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ShVIr-0007RU-By
	for submit <at> debbugs.gnu.org; Wed, 20 Jun 2012 20:31:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38046)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <drew.adams@HIDDEN>) id 1ShVIm-0007RK-Pv
	for submit <at> debbugs.gnu.org; Wed, 20 Jun 2012 20:31:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1ShVFN-0002Zn-6Q
	for submit <at> debbugs.gnu.org; Wed, 20 Jun 2012 20:27:42 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,
	UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:37944)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1ShVFN-0002Zh-34
	for submit <at> debbugs.gnu.org; Wed, 20 Jun 2012 20:27:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45122)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1ShVFL-0002qd-A6
	for bug-gnu-emacs@HIDDEN; Wed, 20 Jun 2012 20:27:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1ShVFJ-0002ZF-C4
	for bug-gnu-emacs@HIDDEN; Wed, 20 Jun 2012 20:27:38 -0400
Received: from rcsinet15.oracle.com ([148.87.113.117]:17335)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1ShVFJ-0002Yq-4j
	for bug-gnu-emacs@HIDDEN; Wed, 20 Jun 2012 20:27:37 -0400
Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237])
	by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with
	ESMTP id q5L0RXA9003158
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <bug-gnu-emacs@HIDDEN>; Thu, 21 Jun 2012 00:27:34 GMT
Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156])
	by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id
	q5L0RXEE018634
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <bug-gnu-emacs@HIDDEN>; Thu, 21 Jun 2012 00:27:33 GMT
Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53])
	by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id
	q5L0RXBg006590
	for <bug-gnu-emacs@HIDDEN>; Wed, 20 Jun 2012 19:27:33 -0500
Received: from dradamslap1 (/10.159.186.221)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Wed, 20 Jun 2012 17:27:33 -0700
From: "Drew Adams" <drew.adams@HIDDEN>
To: <bug-gnu-emacs@HIDDEN>
Subject: 24.1.50; mode-line string and properties
Date: Wed, 20 Jun 2012 17:27:09 -0700
Message-ID: <FBFF432C6A184C7FA5C381F4ADBED459@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
Thread-Index: Ac1PRJhDp/OBnKdgQoem312GazMxlA==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
X-Source-IP: acsinet21.oracle.com [141.146.126.237]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.1 (------)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.1 (------)

Consider this snippet from Dired+:
 
(setq mode-name
      `(,(format "Dired/%s"
                 (match-string 2 mode-name))
        (:eval (let* ((dired-marker-char
                       (if (eq ?D dired-marker-char)
                           ?*           ; `dired-do-flagged-delete' binds it.
                         dired-marker-char))
                      (marked-regexp  (dired-marker-regexp))
                      (nb-marked
                       (count-matches marked-regexp (point-min) (point-max))))
                 (if (not (> nb-marked 0))
                     ""
                   (propertize
                    (format
                     " %s%d%c"
                     (save-excursion
                       (forward-line 0)
                       (if (looking-at (concat marked-regexp ".*"))
                           (format "%d/" (1+ (count-matches
                                              marked-regexp (point-min)
(point))))
                         ""))
                     nb-marked dired-marker-char)
                    'face 'diredp-mode-line-marked))))
        (:eval (let* ((flagged-regexp  (let ((dired-marker-char
dired-del-marker))
                                         (dired-marker-regexp)))
                      (nb-flagged      (count-matches
                                        flagged-regexp (point-min)
(point-max))))
                 (if (not (> nb-flagged 0))
                     ""
                   (propertize
                    (format " %s%dD"
                            (save-excursion
                              (forward-line 0)
                              (if (looking-at (concat flagged-regexp ".*"))
                                  (format "%d/" (1+ (count-matches
                                                     flagged-regexp
                                                     (point-min) (point))))
                                ""))
                            nb-flagged)
                    'face 'diredp-mode-line-flagged))))))
 
Here we set `mode-name' to a list of three items: a string and
two :eval constructs that each evaluate to a string.
 
The result in the mode line is that what _should_ act as a single unit,
the `mode-name', ends up acting like 3 separate units, duplicates
except for their strings: same mouseover tooltip, same popup menus.
This is not good.
 
What's the alternative?  I tried using just one :eval construct that
produces a single string of the concatenated substrings.  That solves
the problem just mentioned, but introduces a worse problem: The
propertized portions of the string are ignored.
 
Or if you use two constructs: the first string from above and a single
:eval that concatenates the other two strings, then you get two
mode-line units (two popups etc.) (so the first problem isn't really
solved), and the face of the last string is ignored - the face of the
middle string is used for the whole second unit.
 
In sum, we should be able to use a propertized string as the value of
something like `mode-name', and have different portions of the string be
propertized with different faces.  You can define it that way, but what
you see in the code is not what you get in the mode line.

In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600)
 of 2012-06-18 on MARVIN
Bzr revision: 108646 michael.albinus@HIDDEN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --enable-checking --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include
 -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include
 -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'
 





Acknowledgement sent to "Drew Adams" <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#11756; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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