unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32404: Format fails to copy text properties from the format-string for adjacent %-sequences
@ 2018-08-09  0:30 Andrea Cardaci
  2018-08-09 15:10 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Andrea Cardaci @ 2018-08-09  0:30 UTC (permalink / raw)
  To: 32404

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#32404: Format fails to copy text properties from the format-string for adjacent %-sequences
  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
  2018-08-09 20:25   ` Andrea Cardaci
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2018-08-09 15:10 UTC (permalink / raw)
  To: Andrea Cardaci; +Cc: 32404

> 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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#32404: Format fails to copy text properties from the format-string for adjacent %-sequences
  2018-08-09 15:10 ` Eli Zaretskii
@ 2018-08-09 20:25   ` Andrea Cardaci
  2018-08-10  5:39     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Andrea Cardaci @ 2018-08-09 20:25 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 32404

> Thanks, I believe I fixed this on the emacs-26 branch.

Yes, I just tried and it seems to work. Thank you so much for the
prompt response and fix.


Andrea





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#32404: Format fails to copy text properties from the format-string for adjacent %-sequences
  2018-08-09 20:25   ` Andrea Cardaci
@ 2018-08-10  5:39     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2018-08-10  5:39 UTC (permalink / raw)
  To: Andrea Cardaci; +Cc: 32404-done

> From: Andrea Cardaci <cyrus.and@gmail.com>
> Date: Thu, 9 Aug 2018 22:25:26 +0200
> Cc: 32404@debbugs.gnu.org
> 
> > Thanks, I believe I fixed this on the emacs-26 branch.
> 
> Yes, I just tried and it seems to work. Thank you so much for the
> prompt response and fix.

Thanks for verifying, I'm therefore closing this bug.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-10  5:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2018-08-09 20:25   ` Andrea Cardaci
2018-08-10  5:39     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).