From: luca.pamparana@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: nOOb question: configuring number of windows at startup
Date: Fri, 3 Apr 2009 05:33:11 -0700 (PDT) [thread overview]
Message-ID: <e04686a8-6de3-4ebd-ada7-e070e2a02e51@r33g2000yqn.googlegroups.com> (raw)
In-Reply-To: mailman.4288.1238457181.31690.help-gnu-emacs@gnu.org
On Mar 31, 1:52 am, Nurullah Akkaya <nurullah.akk...@blooby.com>
wrote:
> On Tue, Mar 31, 2009 at 1:27 AM, <luca.pampar...@gmail.com> wrote:
> > Hello everyone,
>
> > I am just moving over to emacs and want to use ot for all my C++
> > development. I want to configure the start screen so that I get two
> > vertical buffers and a single terminal window at the bottom of my
> > screen.
>
> > So, something like:
>
> > ----------------------------------------
> > code window| code window
> > ----------------------------------------
> > terminal window
> > ----------------------------------------
>
> > Is it possible to specify this in the .emacs file, so that the default
> > emacs opens with this setup?
>
> > Many thanks,
>
> > Luca
>
> Hi,
>
> add following code to your .emacs
>
> (defun na-setup-frame ()
> "setup frame"
> (interactive)
> ;;divide vertically upper gets 35 lines
> (split-window-vertically 35 )
> (split-window-horizontally)
>
> ;;assuming you cursor is in top left window
> (other-window 2)
> ;;will skip to terminal window
> ;;run terminal
> (term "/bin/bash")
> ;;move back to first frame
> (other-window 1))
> (na-setup-frame)
>
> you can also call this function using M-x na-setup-frame
>
> regards..
> --
> Nurullah Akkayahttp://nakkaya.com
This is exactly what i wanted. Many thanks!
emacs rules...
prev parent reply other threads:[~2009-04-03 12:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-30 22:27 nOOb question: configuring number of windows at startup luca.pamparana
2009-03-30 23:52 ` Nurullah Akkaya
[not found] ` <mailman.4288.1238457181.31690.help-gnu-emacs@gnu.org>
2009-04-03 12:33 ` luca.pamparana [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e04686a8-6de3-4ebd-ada7-e070e2a02e51@r33g2000yqn.googlegroups.com \
--to=luca.pamparana@gmail.com \
--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.
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).