From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20592: the `display' property messes the `face' properties after `concat' Date: Thu, 25 Jun 2015 22:42:15 +0300 Message-ID: <83381fefs8.fsf@gnu.org> References: <83iobrfeun.fsf@gnu.org> <83fv6seg8k.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1435261405 8427 80.91.229.3 (25 Jun 2015 19:43:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jun 2015 19:43:25 +0000 (UTC) Cc: 20592@debbugs.gnu.org To: Alexander Shukaev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 25 21:43:14 2015 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 1Z8D3I-00031y-L0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jun 2015 21:43:12 +0200 Original-Received: from localhost ([::1]:57240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8D3I-00061S-55 for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jun 2015 15:43:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8D3D-00061N-Tm for bug-gnu-emacs@gnu.org; Thu, 25 Jun 2015 15:43:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8D38-0007Us-If for bug-gnu-emacs@gnu.org; Thu, 25 Jun 2015 15:43:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8D38-0007UI-FV for bug-gnu-emacs@gnu.org; Thu, 25 Jun 2015 15:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z8D37-00051g-W0 for bug-gnu-emacs@gnu.org; Thu, 25 Jun 2015 15:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jun 2015 19:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20592 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20592-submit@debbugs.gnu.org id=B20592.143526135219287 (code B ref 20592); Thu, 25 Jun 2015 19:43:01 +0000 Original-Received: (at 20592) by debbugs.gnu.org; 25 Jun 2015 19:42:32 +0000 Original-Received: from localhost ([127.0.0.1]:57518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8D2e-000511-9D for submit@debbugs.gnu.org; Thu, 25 Jun 2015 15:42:32 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:40579) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8D2b-00050k-A0 for 20592@debbugs.gnu.org; Thu, 25 Jun 2015 15:42:30 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NQI00J00MB8CQ00@a-mtaout20.012.net.il> for 20592@debbugs.gnu.org; Thu, 25 Jun 2015 22:42:22 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQI00JR9MQM43A0@a-mtaout20.012.net.il>; Thu, 25 Jun 2015 22:42:22 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:104350 Archived-At: > Date: Thu, 25 Jun 2015 21:16:41 +0200 > From: Alexander Shukaev > Cc: Stefan Monnier , 20592@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.