all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Geoff Gole" <geoffgole@gmail.com>
To: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: 1114@emacsbugs.donarmstrong.com
Subject: bug#1114: M-` results in huge minibuffer
Date: Tue, 7 Oct 2008 12:05:36 -0700	[thread overview]
Message-ID: <f5bc73230810071205t73a006bfo2dcb5e9dd6f7973b@mail.gmail.com> (raw)
In-Reply-To: <48EB96D0.9010801@gmail.com>

>
> I think the reason might be the call to fit-window-to-buffer in
> Electric-pop-up-window.
>

I took a look. The minibuffer indeed changes size due to a call to
enlarge-window inside fit-window-to-buffer.

It seems that while enlarge-window doesn't usually touch the
minibuffer, it will take effect when inside a completing-read. For
example:

  (let ((win (selected-window)))
    (completing-read "Test prompt : "
     (lambda (&rest *)
       (with-selected-window win
         (enlarge-window -10))))) ; minibuffer will grow ten lines

Further up the call stack I see tmm-prompt makes such a call to
completing-read, so it seems likely that is the problem. I have no
fix, though.






  reply	other threads:[~2008-10-07 19:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87vdvboz55.fsf@cyd.mit.edu>
2008-10-07 16:19 ` bug#1114: M-` results in huge minibuffer Geoff Gole
2008-10-07 17:05   ` Lennart Borgman (gmail)
2008-10-07 19:05     ` Geoff Gole [this message]
2008-10-29 21:50   ` bug#1114: marked as done (M-` results in huge minibuffer) Emacs bug Tracking System

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=f5bc73230810071205t73a006bfo2dcb5e9dd6f7973b@mail.gmail.com \
    --to=geoffgole@gmail.com \
    --cc=1114@emacsbugs.donarmstrong.com \
    --cc=lennart.borgman@gmail.com \
    /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.