From: Andrew Walrond <andrew@walrond.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Changing startup horizontal window split behaviour
Date: Wed, 03 Oct 2007 10:33:28 +0100 [thread overview]
Message-ID: <470361E8.9090505@walrond.org> (raw)
In-Reply-To: <470257F4.10702@walrond.org>
Andrew Walrond wrote:
> When I start emacs with more than one file specified on the command
> line, the emacs display is split horizontally with a buffer-list
> displayed in the top window and the first file in the bottom window.
>
> How can I change this behaviour, in general? Could I perhaps have a
> vertical split or not display a buffer list?
>
The list wasn't very forthcoming, but #emacs was more forthcoming, so I
thought I'd share what I learned here where web-searches might find it.
First, to stop emacs from opening a buffer-list on startup, just set
this variable
inhibit-startup-buffer-menu
to t in .emacs
Second, although I haven't managed to stop the window from being split,
it's possible to delete the extra window by adding this to .emacs:
(add-hook 'emacs-startup-hook 'delete-other-windows)
Another little gem is how to get the buffer-list (C-x C-b) and other
special buffers to appear in the current-window, rather than the
other-window. This is achieved by adding this to .emacs
(nconc same-window-buffer-names '("*Buffer List*" "*Help*"))
Andrew Walrond
next prev parent reply other threads:[~2007-10-03 9:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-02 14:38 Changing startup horizontal window split behaviour Andrew Walrond
2007-10-03 9:33 ` Andrew Walrond [this message]
2007-10-03 16:44 ` Sean Sieger
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=470361E8.9090505@walrond.org \
--to=andrew@walrond.org \
--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.