* How to limit to one window with multiple args?
@ 2008-08-21 19:12 Ingo Strüwing
0 siblings, 0 replies; 3+ messages in thread
From: Ingo Strüwing @ 2008-08-21 19:12 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
when starting emacs with multiple (file-)arguments, it starts with two
windows (in one frame), buffering the last two files.
Is it possible to configure emacs so that it opens one window only?
Additional question:
Is it possible to configure emacs so that it switches to the buffer of
the first file on startup, not the last one? (ideally reversing the
initial buffer list)
Regards
Ingo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to limit to one window with multiple args?
[not found] <mailman.17263.1219345957.18990.help-gnu-emacs@gnu.org>
@ 2008-08-21 21:27 ` Xah
2008-08-23 20:00 ` Ingo Strüwing
0 siblings, 1 reply; 3+ messages in thread
From: Xah @ 2008-08-21 21:27 UTC (permalink / raw)
To: help-gnu-emacs
you can put this line:
(delete-other-windows)
as the last line in your “.emacs”. That should make it just one
“frame” (aka emacs's “window”).
If you want the first file, one hack could be:
(other-window) (delete-other-windows)
as the last line.
(should work but i haven't tested the code)
Xah
∑ http://xahlee.org/
☄
On Aug 21, 12:12 pm, Ingo Strüwing <Ingo.Struew...@web.de> wrote:
> Hi,
>
> when starting emacs with multiple (file-)arguments, it starts with two
> windows (in one frame), buffering the last two files.
>
> Is it possible to configure emacs so that it opens one window only?
>
> Additional question:
>
> Is it possible to configure emacs so that it switches to the buffer of
> the first file on startup, not the last one? (ideally reversing the
> initial buffer list)
>
> Regards
> Ingo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to limit to one window with multiple args?
2008-08-21 21:27 ` How to limit to one window with multiple args? Xah
@ 2008-08-23 20:00 ` Ingo Strüwing
0 siblings, 0 replies; 3+ messages in thread
From: Ingo Strüwing @ 2008-08-23 20:00 UTC (permalink / raw)
Cc: help-gnu-emacs
Xah, 21.08.2008 23:27:
> you can put this line:
>
> (delete-other-windows)
>
> as the last line in your “.emacs”. That should make it just one
> “frame” (aka emacs's “window”).
Thanks for the tip, but it didn't change anything for me (GNU Emacs
22.2.1, Debian unstable).
Regards
Ingo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-23 20:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.17263.1219345957.18990.help-gnu-emacs@gnu.org>
2008-08-21 21:27 ` How to limit to one window with multiple args? Xah
2008-08-23 20:00 ` Ingo Strüwing
2008-08-21 19:12 Ingo Strüwing
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).