Adrian Aichner <adrian(a)xemacs.org> forwards:
 Unfortunately, I know of no corresponding variable to control the
 height of the process buffer, which is automatically set to about
 half the size of the xemacs frame, which I find annoyingly large.
 What I'd like is to set this window to the same as the compilation
 window height, or to prevent xemacs from resizing the window at all,
 so I don't get the constant distraction of windows resizing on me. 
I've looked into this on a couple of occasions.  The problem seems to
be any function which in turn calls with-output-to-temp-buffer.
This function uses a variable called temp-buffer-show-function to
display "help" buffers.  The default value of this variable is
show-temp-buffer-in-current-frame.  Assuming temp-buffer-shrink-to-fit
is true, show-temp-buffer-in-current-frame will use a variable called
temp-buffer-max-height to adjust the height of the temp buffer.
temp-buffer-max-height is the percentage of the frame to use for the
temp windows.  The problem is that show-temp-buffer-in-current-frame
will never shrink a temp buffer.  Here's the code that adjust the
window height:
          (when (< size temp-window-size)
            (enlarge-window (- temp-window-size size) nil window)))
where size is the actual temp window height and temp-window-size is
the maximum number of lines for a temp buffer in this frame.  It seems
like you should just be able to set this to
          (unless (equal size temp-window-size)
            (enlarge-window (- temp-window-size size) nil window)))
However that doesn't seem to work.  When I use
          (unless (equal size temp-window-size)
	    (message "enlarging window from %d by %d" size (- temp-window-size size))
            (enlarge-window (- temp-window-size size) nil window)))
I get a message like "enlarging window from 27 by -19"; however, the
resulting window is not 8 lines high.  It ends up 11 lines high.
However, if I take a window that is 37 lines high and do 'C-u - 2 9 C-x
^' (the interactive version of (enlarge-window -29)), I end up with a
window that is 8 lines high. So, interactively enlarge-window seems to
work fine but programatically it doesn't.  :-/
-- 
 (__) Doug Alcorn - Unix/Linux/Web Developing
 oo / PGP 02B3 1E26 BCF2 9AAF 93F1  61D7 450C B264 3E63 D543
 |_/  mailto:doug@lathi.net 
http://www.lathi.net