unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* `format-spec' fails to pass on text properties
@ 2005-05-13 15:29 Daniel Brockman
  2005-05-13 16:05 ` Daniel Brockman
  2005-05-13 16:26 ` Daniel Brockman
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Brockman @ 2005-05-13 15:29 UTC (permalink / raw)


This works as expected:

ELISP> (format #("<%s>" 0 4 (face (:weight bold))) "foo")
#("<foo>" 0 5
  (face
   (:weight bold)))

This, however, does not:

ELISP> (format-spec #("<%x>" 0 4 (face (:weight bold))) '((?x . "foo")))
#("<foo>" 0 1
  (face
   (:weight bold))
  1 4 nil 4 5
  (face
   (:weight bold)))

Is this a bug that should be fixed?

-- 
Daniel Brockman <daniel@brockman.se>

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

end of thread, other threads:[~2005-05-14 15:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-13 15:29 `format-spec' fails to pass on text properties Daniel Brockman
2005-05-13 16:05 ` Daniel Brockman
2005-05-14 15:12   ` Richard Stallman
2005-05-13 16:26 ` Daniel Brockman

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