From: Andrea Cardaci <cyrus.and@gmail.com>
To: 32404@debbugs.gnu.org
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 [thread overview]
Message-ID: <CACMsj9NDor7fC_ypLxQADfp9J4Ftw6R7Hhcb1rCDiKMGK7t_8g@mail.gmail.com> (raw)
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
next reply other threads:[~2018-08-09 0:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-09 0:30 Andrea Cardaci [this message]
2018-08-09 15:10 ` bug#32404: Format fails to copy text properties from the format-string for adjacent %-sequences Eli Zaretskii
2018-08-09 20:25 ` Andrea Cardaci
2018-08-10 5:39 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACMsj9NDor7fC_ypLxQADfp9J4Ftw6R7Hhcb1rCDiKMGK7t_8g@mail.gmail.com \
--to=cyrus.and@gmail.com \
--cc=32404@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.