[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatically performing simple tasks at startup
From: |
Tom Willemsen |
Subject: |
Re: Automatically performing simple tasks at startup |
Date: |
Fri, 8 Jul 2011 11:06:03 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On 07 Jul 13:42, roosh1 wrote:
>
> I can't find a way for Emacs to do some simple things automatically at every
> start-up. Can anyone help me make Emacs do the following things at start-up:
>
> 1) Split the window into 2 (I have to do a "C-x 2")
>
> 2) Run scheme in the bottom buffer (I do a "alt-x run-scheme")
>
> 3) If I open a scheme file (ie double click it, which starts Emacs), could
> Emacs automatically do (1) and (2) and also load my file into the top
> buffer.
Would putting something like:
(split-window-above-each-other)
(other-window 1)
(run-scheme "scheme")
(other-window -1)
Somewhere (near the end?) of your ~/.emacs possibly do the trick?