From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: How to get rid of *GNU Emacs* buffer on start-up? Date: Thu, 25 Sep 2008 15:06:57 +1000 Organization: Rapt Technologies Message-ID: <87ljxg6cge.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222321326 7190 80.91.229.12 (25 Sep 2008 05:42:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 05:42:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 25 07:42:59 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kijcw-00062L-8H for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 07:42:58 +0200 Original-Received: from localhost ([127.0.0.1]:34500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kijbu-0003Qc-4w for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 01:41:54 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news.astraweb.com!border1.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:9IPxHWAYVAtOqqiIxndRFwvu5gI= Original-Lines: 69 Original-NNTP-Posting-Host: de10aa4c.news.astraweb.com Original-X-Trace: DXC=eJgdddmAmULTE2gdJ]P=SGL?0kYOcDh@J; >GTR`=ZX:BFX0m^Ug[IEI:gTkTnZ]WU@JDglC?`T\_N Original-Xref: news.stanford.edu gnu.emacs.help:162693 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58035 Archived-At: William Case writes: > Hi David; > > On Mon, 2008-09-15 at 22:28 -0700, Davin Pearson wrote: >> Every time I start Emacs I have to bury to *GNU Emacs" buffer. This >> is a little bit annoying having to do this. If I can't kill this >> buffer, then I would at least prefer the default-directory of that >> buffer to be "~/" so that I can easily load a file that I want to >> edit. The following code is what I have written to accomplish that >> task but sadly it doesn't appear to work. > > This may be too late to be of much help, but ... > > a command line in a terminal or launcher of "emacs --no-splash /" gets > me what you appear to want. Change the "/" to the directory path you > would like e.g. "~/" or "/home/user/to/where/ever". It works for me. > > I haven't tried it but I would think "/home/user/new" could be used to > open a new buffer each time as long as you remember to 'save as' > myfilename. > I was trying very hard to avoid getting dragged into yet another thread which has been pointlessley hijacked by Xah so that he can grind his own personal axe. However, it seems nobody has decided to point out that the sort of things the OP and others have asked for are in fact now part of CVS emacs and have been for some time now. From the Emacs 23 News file ,---- | ** The option `inhibit-startup-screen' (with aliases to old names | `inhibit-splash-screen' and `inhibit-startup-message') doesn't inhibit | display of the initial message in the *scratch* buffer. If you don't | want to display the initial message in the *scratch* buffer at startup, | you can set the option `initial-scratch-message' to nil. | | ** New user option `initial-buffer-choice' specifies what to display | after starting Emacs: startup screen, *scratch* buffer, visiting a | file or directory. `---- So if the OP is not satisfied with any of the (relevant) suggestions already made, they can either wait for emacs 23 (could be a while before it is released) or start running the CVS version, which I've found to be very stable and usable, but not garanteed to be without bugs. How difficult it is to run from CVS depends a bit on the platform. I know there are 'snapshots' for Debian, Ubuntu and I believe windows. I personally prefer building directly from CVS myself, which is very easy under Debian as long as you make some very minor modifications (so that you can take advantage of debian elisp packages) and are prepared to also have the emacs-snapshot installed (i have some fairly specialised requirements that for some reason don't work with the packaged snapshot, but work fine with my CVS build.) You don't ahve to keep the snapshot installed, but if you do, it means you dn't have problems installing other elisp packages and you have sources that are built with emacs 23. There are some diffeences in the coding systems of compiled files under emacs 23 and earlier verisons. While emacs 23 will still work with them, it has to do some conversions when loading the elc files, which can slow things down. Having the emacs-snapshot installed is a simple way to ensure you have elc files built with 23 that are also managed by apt, so you get the best of both worlds. HTH Tim -- tcross (at) rapttech dot com dot au