From: ynyaaa@gmail.com
To: Eli Zaretskii <eliz@gnu.org>
Cc: 23730@debbugs.gnu.org
Subject: bug#23730: 24.5; format removes text properties
Date: Thu, 09 Jun 2016 11:07:01 +0900 [thread overview]
Message-ID: <87vb1jf73u.fsf@gmail.com> (raw)
In-Reply-To: <8737onajc5.fsf@gmail.com>
Eli Zaretskii <eliz@gnu.org> writes:
>The documentation only promises that the characters
>_other_ than the format specifier are copied with their properties,
Text properties after the format spericifier are copied
with wrong positions.
(format (concat (propertize "%2d" 'x 'X)
(propertize "a" 'a 'A)
(propertize "b" 'b 'B))
1)
=>#(" 1ab" 0 1 (a A) 1 2 (b B))
next prev parent reply other threads:[~2016-06-09 2:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-08 13:41 bug#23730: 24.5; format removes text properties ynyaaa
2016-06-08 16:57 ` Eli Zaretskii
2016-06-09 2:07 ` ynyaaa [this message]
2016-06-09 13:54 ` 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=87vb1jf73u.fsf@gmail.com \
--to=ynyaaa@gmail.com \
--cc=23730@debbugs.gnu.org \
--cc=eliz@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.