unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Set initial buffer to eshell
Date: Fri, 28 Jun 2013 20:25:41 +0200	[thread overview]
Message-ID: <87li5ut7mi.fsf@VLAN-3434.student.uu.se> (raw)
In-Reply-To: mailman.2648.1372387325.22516.help-gnu-emacs@gnu.org

Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

>> I was wondering what the easiest change I could make to my
>> .emacs file to set the initial buffer to the eshell. I messed
>> around a little bit with initial-buffer-choice but this only
>> seemed helpful for launching to certain files.
>
> Why change .emacs?  Just invoke Emacs with:
>
> emacs -f eshell

Why is that better? I think changing .emacs is better. All Emacs
configuration/initiation should go into that file.

Granted, an absurd example, but just imagine an .emacs file of
several thousand lines - which is not uncommon - imagine putting
all that into aliases, functions, and scripts! Even if it would be
possible - which it isn't - it would be a *jungle*!

My system starts Emacs automatically when it starts (in
.zprofile), and it is just so much more convenient to change
.emacs - also, any changes to .emacs can be effectuated from
within an Emacs session, without having to restart.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573


      parent reply	other threads:[~2013-06-28 18:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27 19:55 Set initial buffer to eshell jacob.schlather
2013-06-27 20:27 ` Peter Dyballa
     [not found] ` <mailman.2628.1372364853.22516.help-gnu-emacs@gnu.org>
2013-06-27 20:30   ` jacob.schlather
2013-06-27 21:20 ` Jens Teich
2013-06-27 21:59   ` Emanuel Berg
2013-06-27 22:52     ` Michael Heerdegen
2013-06-28  2:43 ` Kevin Rodgers
     [not found] ` <mailman.2648.1372387325.22516.help-gnu-emacs@gnu.org>
2013-06-28 18:25   ` Emanuel Berg [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=87li5ut7mi.fsf@VLAN-3434.student.uu.se \
    --to=embe8573@student.uu.se \
    --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).