Raymond Toy writes:
This seems to work. I just changed the original to use xemacs
resize-minibuffer-* variables.
Thanks for letting us know it works, that's what I was going to
suggest. And thanks to you, Byrel, for your comment and suggestion.
(defun display-message-or-buffer (message
&optional buffer-name not-this-window frame)
I'm not a big fan of this function, but maybe I don't understand the
use case. My complaint is that if the message is a small string or a
buffer, the message will be appended to " *Message-Log*", and
otherwise dropped on the floor the next time the function is called.
Presumably it will also be dropped on the floor if the caller is using
a scratch buffer. I would tend to just use either display-warning, if
it seems like a good idea to record the output, otherwise the
with-displaying-help-buffer macro.
I also wonder if it's appropriate for detached minibuffers (where
either a different frame's miniwindow is used, or there's a separate
minibuffer-only frame).
Not your problem, of course, but I wanted to mention my misgivings
here for posterity's sake. Do let me know if I'm missing the point,
of course.
Steve
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta