unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Trey Jackson <bigfaceworm@gmail.com>
To: emacs-devel@gnu.org
Subject: minibuffer-scroll-window question
Date: Fri, 22 May 2009 19:39:15 -0700	[thread overview]
Message-ID: <198e25e10905221939tc758f1bu5b585846e9dd834b@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 779 bytes --]

All,

When reading the documentation for minibuffer-scroll-window, it looks like I
should be able to do something like:

(defun my-minibuffer-setup-hook ()
  "try to force the scroll window to be the bottom-left window in the
current frame"
  (setq minibuffer-scroll-window (window-at 0 (- (frame-height) 2))))
(add-hook 'minibuffer-setup-hook 'my-minibuffer-setup-hook)

However, in minibuf.c, the defun 'minibuffer-complete sets the
minibuf_scroll_window variable to nil.

So, my question is, how and when can this variable be meaningfully used by
an end user?  Should my hook have worked (i.e. this behavior is a bug)?


thanks,

TJ

-- 
Trey Jackson
bigfaceworm@gmail.com
"Like any truly useful program, `hello' contains a built-in mail reader."
-- GNU's Bulletin, July 1996

[-- Attachment #2: Type: text/html, Size: 1012 bytes --]

             reply	other threads:[~2009-05-23  2:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-23  2:39 Trey Jackson [this message]
2009-05-25 14:58 ` minibuffer-scroll-window question Stefan Monnier
2009-05-26 17:25   ` Trey Jackson

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=198e25e10905221939tc758f1bu5b585846e9dd834b@mail.gmail.com \
    --to=bigfaceworm@gmail.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 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).