all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "Emacs-Devel" <emacs-devel@gnu.org>
Subject: RE: resize-mini-windows...
Date: Tue, 13 Mar 2007 10:50:48 -0700	[thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMOEMECPAA.drew.adams@oracle.com> (raw)
In-Reply-To: <BDEIJAFNGDOAGCJIPKPBIENMCBAA.drew.adams@oracle.com>

Why is the default value for `resize-mini-windows' `grow-only'? I think that
is annoying. I don't know what the advantage of `grow-only' is supposed to
be, but I don't think it is a good choice for the default value. What's
wrong with t? or nil?

Also, the Emacs manual (at least in my January snapshot), node Minibuffer
Edit, says that t is the default value. Would that it were... (apologies to
J. Kerry).

Also, the Elisp manual does not mention `resize-mini-windows'. It should, I
think, be mentioned in node Minibuffer Misc, which describes other
minibuffer variables, such as `max-mini-window-height'.

Also, shouldn't `max-mini-window-height' be named something like
`minibuffer-window-max-height' - that is, shouldn't `max' be next to
`height' and `minibuffer' be next to `window'?

Also, what about this bug:

> From: Drew Adams Sent: Monday, January 08, 2007 3:24 PM
...
> 2. With `resize-mini-windows' = `grow-only' (the default), if I put a face
> on a character in the minibuffer prompt, and the face has a :box with
> 1-pixel border, then the minibuffer grows about a character in height.
...
> If I set `resize-mini-windows' = nil, the boxed character is shown
> completely, including both top and bottom box borders, so I don't
> think the resizing is because "the contents require more space" (from the
> doc). Something seems wrong with the computation of the needed height.
> Unless, that is, an additional space is supposed to always be present
> above and below the displayed characters.
...
> FYI, this is the face I put on a character, to provoke the jump in height:
> (defface foo
>     '((((type x w32 mac graphic) (class color))
>        (:box (:line-width 1 :color "Red")
>         :foreground "Red" :background "Cyan"))
>       (t (:inverse-video t)))
>   "..." :group 'faces)

  parent reply	other threads:[~2007-03-13 17:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-08 23:24 resize-mini-windows Drew Adams
2007-01-09  4:08 ` resize-mini-windows Richard Stallman
2007-03-13 17:50 ` Drew Adams [this message]
2007-03-13 20:22   ` resize-mini-windows Miles Bader
2007-03-14  2:44     ` resize-mini-windows Drew Adams
2007-03-14  4:50       ` resize-mini-windows Miles Bader
2007-03-14  7:28         ` resize-mini-windows Drew Adams

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=EIENLHALHGIMHGDOLMIMOEMECPAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@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.