From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andrea Cardaci Newsgroups: gmane.emacs.bugs Subject: bug#32404: Format fails to copy text properties from the format-string for adjacent %-sequences Date: Thu, 9 Aug 2018 02:30:55 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1533774606 17884 195.159.176.226 (9 Aug 2018 00:30:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Aug 2018 00:30:06 +0000 (UTC) To: 32404@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 09 02:30:02 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 1fnYq2-0004YI-Bo for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Aug 2018 02:30:02 +0200 Original-Received: from localhost ([::1]:46029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fnYs8-0000LG-MU for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Aug 2018 20:32:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fnYrz-0000L7-IE for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2018 20:32:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fnYry-00059P-Fh for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2018 20:32:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40372) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fnYry-00059L-CX for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2018 20:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fnYry-0007Ca-60 for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2018 20:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Cardaci Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Aug 2018 00:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32404 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153377467827626 (code B ref -1); Thu, 09 Aug 2018 00:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Aug 2018 00:31:18 +0000 Original-Received: from localhost ([127.0.0.1]:45390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fnYrG-0007BW-4Z for submit@debbugs.gnu.org; Wed, 08 Aug 2018 20:31:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fnYrD-0007BI-Tc for submit@debbugs.gnu.org; Wed, 08 Aug 2018 20:31:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fnYr7-0004kD-Qh for submit@debbugs.gnu.org; Wed, 08 Aug 2018 20:31:10 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35779) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fnYr7-0004k2-Mi for submit@debbugs.gnu.org; Wed, 08 Aug 2018 20:31:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fnYr6-00005C-E4 for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2018 20:31:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fnYr5-0004jB-IK for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2018 20:31:08 -0400 Original-Received: from mail-qt0-x22a.google.com ([2607:f8b0:400d:c0d::22a]:37671) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fnYr5-0004iq-Cl for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2018 20:31:07 -0400 Original-Received: by mail-qt0-x22a.google.com with SMTP id n6-v6so4700364qtl.4 for ; Wed, 08 Aug 2018 17:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Am0lgcF3T/98BgoELSNnnZ9oc775BBbWHWNrFEuVjbk=; b=mK635RbpEATySho+Ty2p8/3eDc6cGiA0aQCyOAvYdwSuTezWza3fZrAw+OAkEFO+K3 vxjQQ5btqoOAxklK8mTf20PzAbqlRoG7lhrnTb6Bf+DZFQjAri5BcPkvNLAYybPEq7dI uz/WXFzt+YEOkYi0cz8AQexQpV4dWbyOIIhvcPrmzaPxPFB1CipB9KRpJ2GDdUmXzULV TKuwmwvjntaVlpvQ6nE6TMosLyoWZl3rdrox4JQpnP9qZ+UCo6SIJkyWBNZ+gyKA8x9W QOVWDpkeEUSt1PUa8oqIUOETyws2aaluFeVU/UEo2ULVI4AeK1IINuDxEDM5dngizzU1 Wpnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Am0lgcF3T/98BgoELSNnnZ9oc775BBbWHWNrFEuVjbk=; b=P3J+z25E00lBMZQM/3HXH59E3hw5ytQ1H0pMYlGiWGJ2w8kTKQ+X2iNR0kn8GPnSJf 1WR93Maj0n6n/oc/DIY2I4BgDSQBVQUgVafAodfUn8cWLe617AhVY3GDBd8qhDsgEv00 fEqukSo0C7uHsgniqv6tSHc68RE+ZRr+jJquXYVRJCMh5G2y9f9dA1XJQk7n0DPWIsLW F2J/RCQHZ5Mx1bGfoWbaHquc6dBrzxKJi7eVLrjMfpd70HeSEufC8l4ATeDEMmz3sFs6 5OiyR48DVEhYtq5Zmbv/QhviwLHVnjgPnqgPqAEBOWWy+90rKu7p1v7VlkFikZDNMdQr jb2Q== X-Gm-Message-State: AOUpUlH9DbxanZCkrgdhLCZIh/sQoD/gFXxlG0rB5JH8qDHQNqrIS8V2 burvifoRSi6JKh2b+lq5zPIJCcTSWFF0c40XQ2dbwQ== X-Google-Smtp-Source: AA+uWPyROj0gKP2mu+aK8X6tH5sXzZmgUyH7qFtDWPEJJnQ1YIkJ5Asprmf0plR9jtSQGyuzKE0xvBCZzpIGlXqnVsU= X-Received: by 2002:aed:3c8c:: with SMTP id d12-v6mr5036714qtf.203.1533774666419; Wed, 08 Aug 2018 17:31:06 -0700 (PDT) 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.x 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:149366 Archived-At: 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 Andrea