unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Stephen Berman <Stephen.Berman@gmx.net>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: scroll-left *Disabled Command* buffer is too short
Date: Tue, 03 Jul 2007 16:42:12 +0200	[thread overview]
Message-ID: <468A6044.8020303@gmx.at> (raw)
In-Reply-To: <87abud6052.fsf@escher.local.home>

> 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	other threads:[~2007-07-03 14:42 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 [this message]
2007-07-03 15:06       ` Stephen Berman
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=468A6044.8020303@gmx.at \
    --to=rudalics@gmx.at \
    --cc=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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).