GNU bug report logs - #20592
the `display' property messes the `face' properties after `concat'

Previous Next

Package: emacs;

Reported by: Alexander Shukaev <haroogan <at> gmail.com>

Date: Sat, 16 May 2015 23:59:02 UTC

Severity: minor

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alexander Shukaev <haroogan <at> gmail.com>
Cc: 20592 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: bug#20592: the `display' property messes the `face' properties after `concat'
Date: Thu, 25 Jun 2015 22:42:15 +0300
> Date: Thu, 25 Jun 2015 21:16:41 +0200
> From: Alexander Shukaev <haroogan <at> gmail.com>
> Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 20592 <at> debbugs.gnu.org
> 
> Not sure how this complies with what Eli said:
> 
>     The behavior you observe is because the ':eval' construct expects to
>     produce a single string with either the same common face spec on all
>     of its characters, or no faces at all. You cannot use ':eval' to
>     produce a string that has more than one face spec on its different
>     characters; if you do, only the face spec of the first character of
>     the string will be honored.
> 
> but I've still managed to work it out in the following way:

It does comply, AFAIU: you produced a list, not a string.  Each string
in the list still needs to have a single face on all of its
characters.




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

Previous Next


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