Hi all,
I expected the following to produce a colored minibuffer prompt, but
apparently redisplay is not honoring extents for the minibuf_prompt ?
Is there a well known restriction here ?
Tested both in XEmacs 21.5 (beta32) \"habanero\" b0d40183ac79+ XEmacs Lucid
(defun my-minibuf-setup-hook ()
(let ((ext (make-extent 0 (length prompt) prompt)))
(set-extent-property ext 'face 'blue)
(set-extent-property ext 'duplicable t))))
(add-hook 'minibuffer-setup-hook 'my-minibuf-setup-hook)
Another test I made was (eval'ed in *scratch*), both "My prompt" shown
in blue, but read-minibuffer did not comply with the extent:
(add-hook 'minibuffer-setup-hook 'my-minibuf-setup-hook)
(setq a "My prompt")
(setq a-e (make-extent 0 (length a) a))
(set-extent-property a-e 'face 'blue)
(set-extent-property a-e 'duplicable t)
(setq b a)
a
"My prompt"
b
"My prompt"
(read-minibuffer a)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta