From: Wang Lei <f3d27b@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Automatically performing simple tasks at startup
Date: Fri, 08 Jul 2011 22:48:15 +0800 [thread overview]
Message-ID: <4e1718d8.e231440a.5cb2.ffffd079@mx.google.com> (raw)
In-Reply-To: <32016720.post@talk.nabble.com> (roosh1's message of "Thu, 7 Jul 2011 13:42:21 -0700 (PDT)")
On 2011-07-08 04:42:21 +0800, 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.
>
> Thanks for any help.
Try this. Add the 3 lines to your .emacs.
(split-window-vertically)
(run-scheme)
(other-window 1)
--
Regards,
Lei
prev parent reply other threads:[~2011-07-08 14:48 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
2011-07-09 21:39 ` roosh1
2011-07-08 14:48 ` Wang Lei [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=4e1718d8.e231440a.5cb2.ffffd079@mx.google.com \
--to=f3d27b@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).