all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Bennee <kernel-hacker@bennee.com>
To: Leo <sdl.web@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Is there a function for display-buffer-in-biggest-window?
Date: Fri, 6 Jul 2012 16:36:10 +0100	[thread overview]
Message-ID: <CAJ-05NOpuXPeDdk6RbeavWQHuSd4xQjXXmkbxmGtfhWoQpTxjw@mail.gmail.com> (raw)
In-Reply-To: <m1y5mx3qn8.fsf@gmail.com>

On 6 July 2012 15:34, Leo <sdl.web@gmail.com> wrote:
> On 2012-07-06 20:19 +0800, Alex Bennee wrote:
>> My work station has a fairly wide monitor on it now so my main work
>> frame has been split thusly:
> <snip>
>
> (set-window-buffer (get-largest-window) <YOUR BUFFER>)

Thanks. I figured emacs must have this somewhere. I was getting lost
in a list of apropos results all subtly different.

Follow-up question. Is there a "proper" way to use this function for
general buffer focus operations or do you need to rely on modes
having customisable buffer switch functions like magit's
magit-status-buffer-switch-function? At the moment I'm looking at
compilation-mode's goto error code and it's less than obvious to me
how the eventual switch happens.

-- 
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk



      reply	other threads:[~2012-07-06 15:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-06 12:19 Is there a function for display-buffer-in-biggest-window? Alex Bennee
2012-07-06 14:34 ` Leo
2012-07-06 15:36   ` Alex Bennee [this message]

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=CAJ-05NOpuXPeDdk6RbeavWQHuSd4xQjXXmkbxmGtfhWoQpTxjw@mail.gmail.com \
    --to=kernel-hacker@bennee.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sdl.web@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.