all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <Stephen.Berman@gmx.net>
To: bug-gnu-emacs@gnu.org
Subject: Re: scroll-left *Disabled Command* buffer is too short
Date: Tue, 03 Jul 2007 17:06:54 +0200	[thread overview]
Message-ID: <8764515xwx.fsf@escher.local.home> (raw)
In-Reply-To: 468A6044.8020303@gmx.at

On Tue, 03 Jul 2007 16:42:12 +0200 martin rudalics <rudalics@gmx.at> 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	other threads:[~2007-07-03 15:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-03 11:05 scroll-left *Disabled Command* buffer is too short Stephen Berman
2007-07-03 12:57 ` martin rudalics
2007-07-03 14:18   ` Stephen Berman
2007-07-03 14:42     ` martin rudalics
2007-07-03 15:06       ` Stephen Berman [this message]
2007-07-03 15:37         ` martin rudalics
2007-07-03 15:52           ` Stephen Berman
2007-07-03 20:40             ` martin rudalics
2007-07-03 21:49               ` Stephen Berman
2007-07-05  1:29               ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8764515xwx.fsf@escher.local.home \
    --to=stephen.berman@gmx.net \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.