From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: On the new startup and scratch buffer Date: Sun, 02 Mar 2008 18:20:06 +0200 Organization: JURTA Message-ID: <871w6tf6d9.fsf@jurta.org> References: <47B319AD.3030804@alice.it> <87zlu4oi48.fsf@bar.jrock.us> <47B3320C.8060800@alice.it> <87ve4ip7g1.fsf@bar.jrock.us> <873arcvg86.fsf@jurta.org> <87hcfrid17.fsf@stupidchicken.com> <87ablhu96w.fsf@jurta.org> <871w6tjgof.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204474884 7255 80.91.229.12 (2 Mar 2008 16:21:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Mar 2008 16:21:24 +0000 (UTC) Cc: Sascha Wilde , emacs-devel@gnu.org, Jonathan Rockway , Angelo Graziosi To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 02 17:21:45 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 1JVqwb-0007BT-Bh for ged-emacs-devel@m.gmane.org; Sun, 02 Mar 2008 17:21:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVqw4-00066q-65 for ged-emacs-devel@m.gmane.org; Sun, 02 Mar 2008 11:21:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVqvy-00065F-Ud for emacs-devel@gnu.org; Sun, 02 Mar 2008 11:21:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVqvv-0005zI-1I for emacs-devel@gnu.org; Sun, 02 Mar 2008 11:21:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVqvu-0005yz-Jy for emacs-devel@gnu.org; Sun, 02 Mar 2008 11:21:02 -0500 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JVqvu-0001dI-1s for emacs-devel@gnu.org; Sun, 02 Mar 2008 11:21:02 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1JVqvp-0000b3-D3; Sun, 02 Mar 2008 18:20:59 +0200 In-Reply-To: <871w6tjgof.fsf@stupidchicken.com> (Chong Yidong's message of "Sun, 02 Mar 2008 10:20:48 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-unknown-linux-gnu) X-Scanner-Signature: d3dfc5a0b247ea81d48b6a940fe6235f X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2347 [Mar 2 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 11 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) 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:91068 Archived-At: >> OK, let's do everything what would be the best now to avoid any kind of >> incompatibility for the upcoming release, but I still don't understand >> the problem. >> >> inhibit-startup-message >> initial-scratch-message >> >> The option inhibit-startup-message as an alias for inhibit-startup-screen >> still disables the startup screen regardless of the value of >> initial-scratch-message. >> >> In 22.1, inhibit-startup-message was an alias for inhibit-splash-screen >> that disables the startup screen. So users who have inhibit-startup-message >> set to non-nil in .emacs will not see the startup screen (though they will >> see the initial message in the scratch buffer if not explicitly disabled it >> using nil for initial-scratch-message). > > No. I just checked this: in 22.1, non-nil inhibit-startup-message > causes Emacs to start up with an empty scratch buffer, the same as in > Emacs 21. The problem here is in the terminology: in Emacs 21 "startup message" meant the same thing as "splash screen" in Emacs 22 that we later renamed to "startup screen". In contrast, the initial text in the scratch buffer is named "initial scratch message", not "startup message". The fact that `inhibit-startup-message' also disabled the initial scratch message as a side effect now created a problem that users who need to see the initial scratch message will not get it. > For compatibility, I think your patch has to be modified so that > inhibit-startup-message is no longer an alias of > inhibit-startup-screen, and then make it do what it did in Emacs 22 > (i.e, display an empty scratch buffer on startup). Another solution is to create a new internal variable and set it in places that automatically disable the startup screen. This variable will be separate from the user option `inhibit-startup-screen'. So when the user has explicitly disabled the startup screen by setting `inhibit-startup-screen' (or its aliases) to non-nil, then the scratch buffer will be empty. Otherwise, when the startup screen is automatically disabled, the user will see the initial scratch message in the scratch buffer. > In the meantime, however, please revert this change for the 22.2 > release. OK, reverted. -- Juri Linkov http://www.jurta.org/emacs/