emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

`format-spec' fails to pass on text properties


From: Daniel Brockman
Subject: `format-spec' fails to pass on text properties
Date: Fri, 13 May 2005 17:29:18 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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 <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]