From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32404: Format fails to copy text properties from the format-string for adjacent %-sequences Date: Thu, 09 Aug 2018 18:10:16 +0300 Message-ID: <83va8jo9t3.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1533827348 421 195.159.176.226 (9 Aug 2018 15:09:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Aug 2018 15:09:08 +0000 (UTC) Cc: 32404@debbugs.gnu.org To: Andrea Cardaci Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 09 17:09:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fnmYf-0008OG-3K for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Aug 2018 17:09:01 +0200 Original-Received: from localhost ([::1]:51466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fnmal-0008De-Oe for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Aug 2018 11:11:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fnmaf-0008DX-9K for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2018 11:11:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fnmac-0004Fh-4f for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2018 11:11:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41034) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fnmab-0004FZ-Vp for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2018 11:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fnmab-0008AJ-Qg for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2018 11:11:01 -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, 09 Aug 2018 15:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32404 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32404-submit@debbugs.gnu.org id=B32404.153382742931338 (code B ref 32404); Thu, 09 Aug 2018 15:11:01 +0000 Original-Received: (at 32404) by debbugs.gnu.org; 9 Aug 2018 15:10:29 +0000 Original-Received: from localhost ([127.0.0.1]:46051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fnma5-00089O-Df for submit@debbugs.gnu.org; Thu, 09 Aug 2018 11:10:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fnma3-000897-9V for 32404@debbugs.gnu.org; Thu, 09 Aug 2018 11:10:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fnmZu-0003ou-P4 for 32404@debbugs.gnu.org; Thu, 09 Aug 2018 11:10:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fnmZu-0003oK-Kv; Thu, 09 Aug 2018 11:10:18 -0400 Original-Received: from [176.228.60.248] (port=4405 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fnmZu-0008Sz-3u; Thu, 09 Aug 2018 11:10:18 -0400 In-reply-to: (message from Andrea Cardaci on Thu, 9 Aug 2018 02:30:55 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:149378 Archived-At: > From: Andrea Cardaci > Date: Thu, 9 Aug 2018 02:30:55 +0200 > > Basically what the title says, take a look at this example: > > (format (concat (propertize "%s" 'face 'bold) > "" ; any non-empty string works > (propertize "%s" 'face 'error)) > "foo" "bar") > #("foobar" 0 6 (face bold)) > > This has also been described at https://emacs.stackexchange.com/q/43960/13744 Thanks, I believe I fixed this on the emacs-26 branch.