all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Willemsen <ryuslash@gmail.com>
To: roosh1 <ro0sh@aol.com>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: Automatically performing simple tasks at startup
Date: Fri, 8 Jul 2011 11:06:03 +0200	[thread overview]
Message-ID: <20110708090603.GA1502@cloud.lokaal> (raw)
In-Reply-To: <32016720.post@talk.nabble.com>

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?



  parent reply	other threads:[~2011-07-08  9:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07 20:42 Automatically performing simple tasks at startup roosh1
2011-07-08  6:39 ` Pavel Sokolov
2011-07-08  9:06 ` Tom Willemsen [this message]
2011-07-09 21:39   ` roosh1
2011-07-08 14:48 ` Wang Lei

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=20110708090603.GA1502@cloud.lokaal \
    --to=ryuslash@gmail.com \
    --cc=Help-gnu-emacs@gnu.org \
    --cc=ro0sh@aol.com \
    /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.