From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Set initial buffer to eshell Date: Fri, 28 Jun 2013 20:25:41 +0200 Organization: Aioe.org NNTP Server Message-ID: <87li5ut7mi.fsf@VLAN-3434.student.uu.se> References: <16762ff6-aede-4af9-8d26-43e4254ff516@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1372444903 28575 80.91.229.3 (28 Jun 2013 18:41:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 18:41:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 28 20:41:44 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Usdc6-0000jZ-6H for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jun 2013 20:41:42 +0200 Original-Received: from localhost ([::1]:57228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Usdc5-0000Nn-Rj for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jun 2013 14:41:41 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: SWN/nubmpQxYKwY7hPy4YA.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:76qV4G1qDTsiKwhnadgb+4rGwtI= Original-Xref: usenet.stanford.edu gnu.emacs.help:199558 X-Mailman-Approved-At: Fri, 28 Jun 2013 14:41:27 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91824 Archived-At: Kevin Rodgers 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