From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.devel Subject: Re: On the new startup and scratch buffer Date: Thu, 21 Feb 2008 17:27:53 +0100 Message-ID: References: <47B319AD.3030804@alice.it> <87zlu4oi48.fsf@bar.jrock.us> <47B3320C.8060800@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203611320 2749 80.91.229.12 (21 Feb 2008 16:28:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Feb 2008 16:28:40 +0000 (UTC) Cc: Jonathan Rockway , emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 21 17:29:03 2008 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 1JSEHm-0003pV-HU for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2008 17:28:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSEHH-0006AQ-CP for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2008 11:28:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSEHC-0006AG-T8 for emacs-devel@gnu.org; Thu, 21 Feb 2008 11:28:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSEHA-00069s-Sz for emacs-devel@gnu.org; Thu, 21 Feb 2008 11:28:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSEHA-00069p-NN for emacs-devel@gnu.org; Thu, 21 Feb 2008 11:28:00 -0500 Original-Received: from mail2.sha-bang.de ([78.47.120.114] helo=mail.sha-bang.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JSEHA-0001px-5G for emacs-devel@gnu.org; Thu, 21 Feb 2008 11:28:00 -0500 Original-Received: from kenny.sha-bang.de (xdslaa220.osnanet.de [82.149.178.220]) by mail.sha-bang.de (Postfix) with ESMTP id 1474D565; Thu, 21 Feb 2008 17:38:07 +0100 (CET) Original-Received: from wilde by kenny.sha-bang.de with local (Sha Bang MUA v.0711184.68) ID 1JSEH3-0001W4-EO; Thu, 21 Feb 2008 17:27:53 +0100 In-Reply-To: <47B3320C.8060800@alice.it> (Angelo Graziosi's message of "Wed, 13 Feb 2008 19:08:12 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:89839 Archived-At: Angelo Graziosi wrote: > Jonathan Rockway ha scritto: [...] >> According to the docstring on `initial-scratch-message': >> >> "Initial message displayed in *scratch* buffer at startup. >> If this is nil, no message will be displayed. >> If `inhibit-startup-screen' is non-nil, then no message is displayed, >> regardless of the value of this variable." >> >> So it looks like this is expected, although annoying. This just looks >> like a side effect of having this block: >> >> (and initial-scratch-message >> (get-buffer "*scratch*") >> (with-current-buffer "*scratch*" >> (when (zerop (buffer-size)) >> (insert initial-scratch-message) >> (set-buffer-modified-p nil)))) >> >> On the "else" side of the (if (or ... inhibit-startup-screen ...) ...) >> statement. >> >> If people are interested in a change to this behavior (always add text >> to *scratch* if initial-scratch-message isn't nil), I'll supply a patch. >> > > I think it would be a good thing, so I vote for it: +1. AOL: +1 As initial-scratch-message is sufficient to disable the *scratch* message in case one wants to, inhibit-startup-screen shouldn't do so. cheers sascha -- Sascha Wilde I've always figured UNIX is a utility to be run under emacs. -- Charles R. Martin