bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: scroll-left *Disabled Command* buffer is too short


From: martin rudalics
Subject: Re: scroll-left *Disabled Command* buffer is too short
Date: Tue, 03 Jul 2007 16:42:12 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Thiat patch doesn't make the last line visible; instead, it expands the
height of the minibuffer.

Indeed.  I concentrated to make this work with split windows.

However, I played around with the idea and
the following does the job, though the window is actually much higher
than it needs to be.

We could use `shrink-window-if-larger-than-buffer'.


*** novice.el   2007-01-21 23:44:40.000000000 +0100
--- novice.el   2007-07-03 16:04:45.000000000 +0200
***************
*** 92,97 ****
--- 92,98 ----
        (help-mode)))
       (message "Type y, n, ! or SPC (the space bar): ")
       (let ((cursor-in-echo-area t))
+        (fit-window-to-buffer)
         (while (progn (setq char (read-event))
                     (or (not (numberp char))
                         (not (memq (downcase char)

To be honest, I do not understand why your patch failed, nor why this
one works (better).

Your patch fails with split windows, maybe you could play around a bit more.

Anyway users should be able to scroll the window with the text because the
text might be larger than the frame.





reply via email to

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