[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 14:57:27 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
Note that the last line of this buffer:
! to try it, and enable all disabled commands for this session only.
is not visible. And since, after displaying this message,
disabled-command-function awaits user input, there is no way within
Emacs to see that last line before responding. (It is, however,
possible to see it by using the window manager to increase the height
of the Emacs frame, if the monitor allows it. But this wouldn't help
if you're running Emacs in a tty with sufficiently few screen lines.)
Could you please try the attached patch?
*** novice.el Tue Jan 23 06:40:06 2007
--- novice.el Tue Jul 3 14:55:20 2007
***************
*** 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
! (set-buffer standard-output)
! (help-mode))
! (fit-window-to-buffer))
(message "Type y, n, ! or SPC (the space bar): ")
(let ((cursor-in-echo-area t))
(while (progn (setq char (read-event))
- scroll-left *Disabled Command* buffer is too short, Stephen Berman, 2007/07/03
- Re: scroll-left *Disabled Command* buffer is too short,
martin rudalics <=
- Re: scroll-left *Disabled Command* buffer is too short, Stephen Berman, 2007/07/03
- Re: scroll-left *Disabled Command* buffer is too short, martin rudalics, 2007/07/03
- Re: scroll-left *Disabled Command* buffer is too short, Stephen Berman, 2007/07/03
- Re: scroll-left *Disabled Command* buffer is too short, martin rudalics, 2007/07/03
- Re: scroll-left *Disabled Command* buffer is too short, Stephen Berman, 2007/07/03
- Re: scroll-left *Disabled Command* buffer is too short, martin rudalics, 2007/07/03
- Re: scroll-left *Disabled Command* buffer is too short, Stephen Berman, 2007/07/03
- Re: scroll-left *Disabled Command* buffer is too short, Richard Stallman, 2007/07/04