all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
Cc: help-gnu-emacs@gnu.org
Subject: Re: switch-to-buffer-other-window to split vertically by default ?
Date: Fri, 09 Jun 2006 15:28:04 +0200	[thread overview]
Message-ID: <44897764.5090405@gmx.at> (raw)

With complete disregard for frames:

(defun my-display-buffer (buffer &optional not-this-window frame)
   (if (one-window-p)
       (let ((window (split-window-horizontally)))
	(set-window-buffer window buffer)
	window)
     (let (display-buffer-function)
       (display-buffer buffer not-this-window frame))))

(setq display-buffer-function 'my-display-buffer)

             reply	other threads:[~2006-06-09 13:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-09 13:28 martin rudalics [this message]
     [not found] <mailman.2797.1149859770.9609.help-gnu-emacs@gnu.org>
2006-06-09 16:32 ` switch-to-buffer-other-window to split vertically by default ? Bastien
  -- strict thread matches above, loose matches on Subject: below --
2006-06-08 23:44 Bastien
2006-06-09  9:15 ` Romain Francoise
2006-06-09  9:43   ` Bastien
2006-06-09  9:53     ` Romain Francoise

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=44897764.5090405@gmx.at \
    --to=rudalics@gmx.at \
    --cc=help-gnu-emacs@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.