* nOOb question: configuring number of windows at startup
@ 2009-03-30 22:27 luca.pamparana
2009-03-30 23:52 ` Nurullah Akkaya
[not found] ` <mailman.4288.1238457181.31690.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: luca.pamparana @ 2009-03-30 22:27 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: nOOb question: configuring number of windows at startup
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>
1 sibling, 0 replies; 3+ messages in thread
From: Nurullah Akkaya @ 2009-03-30 23:52 UTC (permalink / raw)
Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1154 bytes --]
On Tue, Mar 31, 2009 at 1:27 AM, <luca.pamparana@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 Akkaya
http://nakkaya.com
[-- Attachment #2: Type: text/html, Size: 1636 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: nOOb question: configuring number of windows at startup
[not found] ` <mailman.4288.1238457181.31690.help-gnu-emacs@gnu.org>
@ 2009-04-03 12:33 ` luca.pamparana
0 siblings, 0 replies; 3+ messages in thread
From: luca.pamparana @ 2009-04-03 12:33 UTC (permalink / raw)
To: help-gnu-emacs
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...
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-03 12:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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.