From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Scratch buffer annoyance Date: Tue, 31 Jul 2007 16:42:38 +0200 Message-ID: <86ir80prc1.fsf@lola.quinscape.zz> References: <871wf5cv6y.fsf@jurta.org> <7dbe73ed0707190725l426d0731u5f9c36cd14278f78@mail.gmail.com> <87k5st7iqt.fsf@jurta.org> <87sl7ebwtk.fsf@jurta.org> <87sl7d9w9s.fsf@jurta.org> <874pjp5xl5.fsf@jurta.org> <87abtfo9vr.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185892975 26339 80.91.229.12 (31 Jul 2007 14:42:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jul 2007 14:42:55 +0000 (UTC) Cc: Juri Linkov , rms@gnu.org, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 31 16:42:49 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IFsvw-0007IT-Eh for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2007 16:42:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IFsvv-0002ps-SW for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2007 10:42:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IFsvs-0002pm-9V for emacs-devel@gnu.org; Tue, 31 Jul 2007 10:42:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IFsvp-0002pX-QV for emacs-devel@gnu.org; Tue, 31 Jul 2007 10:42:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IFsvp-0002pU-Kd for emacs-devel@gnu.org; Tue, 31 Jul 2007 10:42:41 -0400 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IFsvo-00048M-ND for emacs-devel@gnu.org; Tue, 31 Jul 2007 10:42:41 -0400 Original-Received: from quinscape.de (dslnet.212-29-44.ip210.dokom.de [212.29.44.210] (may be forged)) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id QAA09395 for ; Tue, 31 Jul 2007 16:42:34 +0200 X-Delivered-To: Original-Received: (qmail 17558 invoked from network); 31 Jul 2007 14:42:38 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 31 Jul 2007 14:42:38 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id BF87D8FA2F; Tue, 31 Jul 2007 16:42:38 +0200 (CEST) In-Reply-To: (Andreas Schwab's message of "Tue\, 31 Jul 2007 16\:29\:40 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:75861 Archived-At: Andreas Schwab writes: > Juri Linkov writes: > >>> > ! (defcustom initial-buffer nil >>> > ! "Buffer to show after starting Emacs." >>> > ! :type '(choice >>> > ! (directory :tag "Directory" :value "~/") >>> > ! (file :tag "File" :value "~/new.txt") >>> > ! (const :tag "*scratch* buffer" :value "*scratch*") >>> > ! (const :tag "Splash screen" nil)) > > "*scratch*" should be represented differently, since it is used as a > buffer name instead of a file name. I found Richard's proposal to use 'lisp-interaction-mode here appealing. However, this leaves open what initial-major-mode should do. Maybe we should have initial-visitor just evaluated. Then one can set it to (find-file "~/") or (display-splash-screen) or (switch-to-buffer "*scratch*"). -- David Kastrup