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: A wish, a plea Date: Mon, 25 Jun 2007 23:05:50 +0200 Message-ID: <85k5tr9235.fsf@lola.goethe.zz> References: <87hcox1tbh.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 1182805575 31596 80.91.229.12 (25 Jun 2007 21:06:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2007 21:06:15 +0000 (UTC) Cc: rms@gnu.org, Drew Adams , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 25 23:06:11 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 1I2vlB-0000cx-BQ for ged-emacs-devel@m.gmane.org; Mon, 25 Jun 2007 23:06:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2vlA-0001lT-S5 for ged-emacs-devel@m.gmane.org; Mon, 25 Jun 2007 17:06:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I2vl7-0001lE-GN for emacs-devel@gnu.org; Mon, 25 Jun 2007 17:06:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I2vl5-0001l2-6W for emacs-devel@gnu.org; Mon, 25 Jun 2007 17:06:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2vl5-0001kz-3N for emacs-devel@gnu.org; Mon, 25 Jun 2007 17:06:03 -0400 Original-Received: from mail-in-07.arcor-online.net ([151.189.21.47]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I2vkz-0000Gz-Pv; Mon, 25 Jun 2007 17:05:58 -0400 Original-Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [151.189.8.16]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id 1948824ADB4; Mon, 25 Jun 2007 23:05:56 +0200 (CEST) Original-Received: from mail-in-12.arcor-online.net (mail-in-12.arcor-online.net [151.189.21.52]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id 07F52ABF08; Mon, 25 Jun 2007 23:05:56 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-061-159.pools.arcor-ip.net [84.61.61.159]) by mail-in-12.arcor-online.net (Postfix) with ESMTP id B67318C46A; Mon, 25 Jun 2007 23:05:55 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 2F6D61D03440; Mon, 25 Jun 2007 23:05:51 +0200 (CEST) In-Reply-To: <87hcox1tbh.fsf@jurta.org> (Juri Linkov's message of "Mon\, 25 Jun 2007 23\:47\:03 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Virus-Scanned: ClamAV 0.90.3/3523/Mon Jun 25 16:30:33 2007 on mail-in-12.arcor-online.net X-Virus-Status: Clean 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:73863 Archived-At: Juri Linkov writes: >> (defcustom visit-on-startup "~/" >> "File or directory to visit when Emacs is started." >> :type '(choice (const :tag "Splash screen only" nil) >> (file :tag "Visit file or directory" :value "~/")) >> :group 'emacs) >> >> I'd vote for the default value being `~/', but deciding on the default value >> is a different issue than deciding to let users customize the startup >> behavior. > > You forgot the option for displaying *scratch* on startup. Perhaps > nil should do that, and I think it should be the default value. I think that is special-casing *scratch* too much. Maybe visit-on-startup can evaluate to a buffer and be something like (get-buffer-create "*scratch*") (find-file "~/") and the special value "nil" is reserved for not mapping an initial frame at all (namely, waiting for a call of emacsclient). Or something like that. I'll readily admit that this might not be the final solution. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum