From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Kamphausen Newsgroups: gmane.emacs.help Subject: Re: *scratch* lost Date: Wed, 17 Jun 2009 13:49:51 +0200 Organization: Church of Emacs Message-ID: <87iqiv6pwg.fsf@usenet.my.skamphausen.de> References: <7cr5xlyeui.fsf@pbourguignon.informatimago.com> <87zlc76s29.fsf@usenet.my.skamphausen.de> <7cskhzum63.fsf@pbourguignon.anevia.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1245242894 5659 80.91.229.12 (17 Jun 2009 12:48:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jun 2009 12:48:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 17 14:48:12 2009 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 1MGuYl-0003of-Pi for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jun 2009 14:48:12 +0200 Original-Received: from localhost ([127.0.0.1]:47501 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGuYk-0000vk-Rw for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jun 2009 08:48:10 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.stanford.edu!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.freenet.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-X-Trace: news.albasani.net MGDAyVaA10LQ9CBUunxuq/x4EiidfB+OsvFmcb7Wqgz6UrE0dCtd7dSi6gW67fgH4RX3u8aa2uhkZ+eMSm/M3q2IH/IroxjeQONPc814FdJDeQAVR96iq48jD9RFo10B Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Wed, 17 Jun 2009 11:49:51 +0000 (UTC) X-User-ID: 2pSVvAg2tfxu057Q6G4RVaUa6KCRy7Mpz7XKh5MZWRw= Cancel-Lock: sha1:2N3iwVZo3uos9EwLVvk3rHm3K8c= sha1:dbOu/yEh3+FYc8O5+vmpLma7yYM= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) X-NNTP-Posting-Host: 6wjeRV4b0Mt0cVmiE8Evdm+6Opz7NLWiugUDkpTuTyY= Original-Xref: news.stanford.edu gnu.emacs.help:170114 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:65340 Archived-At: Hi Pascal, pjb@informatimago.com (Pascal J. Bourguignon) writes: >> Hm, I don't seem to need that. I can always M-x switch-to-buffer >> *scratch* RET (having to type "*scratch*" without completion since it >> may have been killed) and end up in a perfect stracth-buffer with >> lisp-interaction-mode. It even works with iswitchb-buffer which asks >> before creating the new buffer. > > Of course, but if you want to insert the initial-scratch-message... OK, I loose that. I understand that it is meant for newcomers anyway. > And switch-to-buffer creates a buffer in default-major-mode, not > emacs-lisp-mode. My default-major-mode is fundamental-mode and my scratch buffer is always in lisp-interaction-mode. I tried to find out where that comes from but without success. Nothing in auto-mode-alist, magic-mode-alist, interpreter-mode-alist. No configuration found with grep -ir lisp-interaction-mode ~/.emacs.d/. Nothing found using apropos-value lisp-interaction-mode. Funny that it, but very handy ;-) Best, Stefan -- Stefan Kamphausen --- http://www.skamphausen.de a blessed +42 regexp of confusion (weapon in hand) You hit. The format string crumbles and turns to dust.