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: Stephen Berman
Subject: Re: scroll-left *Disabled Command* buffer is too short
Date: Tue, 03 Jul 2007 17:06:54 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

On Tue, 03 Jul 2007 16:42:12 +0200 martin rudalics <address@hidden> wrote:

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

Ok, the following gives good results for single window frames and
vertically split windows (with horizontally split windows the
minibuffer still takes up half the frame height, but the entire text
of *Disabled Command* is still visible):

*** novice.el   2007-01-21 23:44:40.000000000 +0100
--- novice.el   2007-07-03 16:57:33.000000000 +0200
***************
*** 88,95 ****
  SPC to try the command just this once, but leave it disabled.
  !   to try it, and enable all disabled commands for this session only.")
         (save-excursion
!       (set-buffer standard-output)
!       (help-mode)))
       (message "Type y, n, ! or SPC (the space bar): ")
       (let ((cursor-in-echo-area t))
         (while (progn (setq char (read-event))
--- 88,96 ----
  SPC to try the command just this once, but leave it disabled.
  !   to try it, and enable all disabled commands for this session only.")
         (save-excursion
!        (pop-to-buffer "*Disabled Command*")
!        (fit-window-to-buffer)
!        (help-mode)))
       (message "Type y, n, ! or SPC (the space bar): ")
       (let ((cursor-in-echo-area t))
         (while (progn (setq char (read-event))

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

True, but that requires more thinking than I have time for right now :-)

Steve Berman





reply via email to

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