all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ken Hori <fplemma@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Changing the current buffer on a minibuffer-only frame
Date: Fri, 15 Oct 2010 10:26:42 -0700	[thread overview]
Message-ID: <AANLkTim3EgVCeUJjkXgseRnhFJKbZEy4j=Wu7ZkWWFPy@mail.gmail.com> (raw)
In-Reply-To: <4CB7F61C.3030104@gmx.at>

That did it. Thanks for the code, Martin.

On Thu, Oct 14, 2010 at 11:35 PM, martin rudalics <rudalics@gmx.at> wrote:
>> A minibuffer-only frame, e.g. (make-initial-minibuffer-frame
>> nil), selects the displayed buffer on a caller window as the
>> default buffer on the newly-created frame. I am unaware of any
>> way to specify or change an arbitrary buffer for this frame.
>
> Is something like
>
> (let* ((frame (make-initial-minibuffer-frame nil))
>       (window (frame-root-window frame)))
>  (set-window-buffer window "*Messages*"))
>
> what you want?
>
> martin
>



  reply	other threads:[~2010-10-15 17:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-15  6:35 Changing the current buffer on a minibuffer-only frame martin rudalics
2010-10-15 17:26 ` Ken Hori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-10-15  3:42 Ken Hori

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='AANLkTim3EgVCeUJjkXgseRnhFJKbZEy4j=Wu7ZkWWFPy@mail.gmail.com' \
    --to=fplemma@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rudalics@gmx.at \
    /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.