From: Eli Zaretskii <eliz@gnu.org>
To: Andrea Cardaci <cyrus.and@gmail.com>
Cc: 32404@debbugs.gnu.org
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 [thread overview]
Message-ID: <83va8jo9t3.fsf@gnu.org> (raw)
In-Reply-To: <CACMsj9NDor7fC_ypLxQADfp9J4Ftw6R7Hhcb1rCDiKMGK7t_8g@mail.gmail.com> (message from Andrea Cardaci on Thu, 9 Aug 2018 02:30:55 +0200)
> From: Andrea Cardaci <cyrus.and@gmail.com>
> 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.
next prev parent reply other threads:[~2018-08-09 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-09 0:30 bug#32404: Format fails to copy text properties from the format-string for adjacent %-sequences Andrea Cardaci
2018-08-09 15:10 ` Eli Zaretskii [this message]
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=83va8jo9t3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=32404@debbugs.gnu.org \
--cc=cyrus.and@gmail.com \
/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.