From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.bugs Subject: bug#9248: 23.2; Welcome screen Date: Sat, 18 Jan 2020 13:44:10 -0600 Message-ID: References: <868vr97e2e.fsf@jmfranc-laptop.i-did-not-set--mail-host-address--so-tickle-me> <87a76l1wen.fsf@marxist.se> <87tv4tbfoz.fsf@gmail.com> <871rrxxfea.fsf@marxist.se> <87lfq4wwez.fsf@marxist.se> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d79068059c6f4842" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="113545"; mail-complaints-to="usenet@ciao.gmane.io" To: Stefan Kangas , 9248@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 18 20:59:17 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1isuFY-000TTn-W1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jan 2020 20:59:17 +0100 Original-Received: from localhost ([::1]:44468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isuFX-0004nG-Bx for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jan 2020 14:59:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53908) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isuFM-0004mq-6X for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 14:59:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isuFK-0004io-Kg for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 14:59:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1isuFK-0004ie-Hq for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 14:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1isuFK-0004Lu-HO for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 14:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Corwin Brust Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jan 2020 19:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9248 X-GNU-PR-Package: emacs Original-Received: via spool by 9248-submit@debbugs.gnu.org id=B9248.157937753016695 (code B ref 9248); Sat, 18 Jan 2020 19:59:02 +0000 Original-Received: (at 9248) by debbugs.gnu.org; 18 Jan 2020 19:58:50 +0000 Original-Received: from localhost ([127.0.0.1]:42250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isuF7-0004LC-OX for submit@debbugs.gnu.org; Sat, 18 Jan 2020 14:58:50 -0500 Original-Received: from mail-ed1-f47.google.com ([209.85.208.47]:43942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isu1C-00040Q-Pg for 9248@debbugs.gnu.org; Sat, 18 Jan 2020 14:44:27 -0500 Original-Received: by mail-ed1-f47.google.com with SMTP id dc19so25692649edb.10 for <9248@debbugs.gnu.org>; Sat, 18 Jan 2020 11:44:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=f6gOsOKF5qtLB2rjb6ZTFJOuCRCOfjrY050k7K6xYSA=; b=cMSluyqhULWFEnl2PXmJDBWryGbcZ1BhUq+hauDb1I9sWBNqOmns0QEFPdctPIXOqW M9/EvIfhu6HhL0osUmfQjrriXstvoI3q0jAyB47HSQvC/E8NxaBVWjfA6xboQWncy7w7 Sn4cLV3t7yYs5L+dBC6re0ytjVZrCl/ggv2BlV7mF2hBMA9NIe4+cfmqGrj3sduqDGXA l2M8irRjyMASjVpPwzKYUB3FGjaJup4+HjRaXwEOIuA8DMLm33BMwhney2pS+J5GecZT K6TrhI8zsrdya35HQPkhzWYqvD0t1mw5H9yzz+4r45nNJSxN75TypR0wMIcVIjdbNiOl LdBA== X-Gm-Message-State: APjAAAVBnDNA/fc1Wwp1Vwjd8vE09IMzqOgQrFidJ2vHqwoXh5Lxj0NZ qNzIFNabWKwsemVJanB3P5y80HIG+N8ekltM8Cg= X-Google-Smtp-Source: APXvYqzrym0/3fy9b2as8MnHtmKnp5RdNDOj/QoEXtWDYW4p+0BL8AAmhFz+RL94BUOKWqEP/Yt/p49N+GkwhWvnwhA= X-Received: by 2002:a05:6402:170d:: with SMTP id y13mr10374631edu.126.1579376660941; Sat, 18 Jan 2020 11:44:20 -0800 (PST) In-Reply-To: X-Mailman-Approved-At: Sat, 18 Jan 2020 14:58:48 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:174834 Archived-At: --000000000000d79068059c6f4842 Content-Type: text/plain; charset="UTF-8" Resending but to the whole list. Oops. TL;DR: I think finding the simple button to disable splash-screen isn't so easy. On Sat, Jan 18, 2020 at 1:42 PM Corwin Brust wrote: > > Hi! > > On Sat, Jan 18, 2020 at 10:41 AM Stefan Kangas wrote: > >> Stefan Kangas writes: >> >> > I agree that this should be changed. I expect a splash screen to be >> > shown only when I run a command without specifying any particular >> > file. IME, this is what most other software does, and I see no reason >> > why Emacs should be different. >> >> Catching up on emacs-devel, there is a thread on this particular >> issue... where Stefan Monnier points to the "Dismiss this startup >> screen" button. That button quits the window and customizes >> inhibit-startup-window to t. This code seems to have been introduced >> in 2007 by Chong Yidong (commit 22a58255). >> >> Of course, I have never seen that button over the years. I find that >> your brain learns to filter out splash screens completely after a >> while, which incidentally makes displaying them more often >> counter-productive. >> > > I wonder if the reason neither you or nor I had seen this button is that > Emacs doesn't usually show it to us. I'm looking at 1843 of ~startup.el~. > I think the button to quickly disable splash only displays when concise is > t as per: > > 1813: (fancy-startup-screen &optional concise) > ... > Whereas within fancy-startup-tail we do this: > > 1771: (when concise > (fancy-splash-insert > :face 'variable-pitch "\n" > :link `("Dismiss this startup screen" > ,(lambda (_button) > (when startup-screen-inhibit-startup-screen > (customize-set-variable 'inhibit-startup-screen t) > (customize-mark-to-save 'inhibit-startup-screen) > (custom-save-all)) > (let ((w (get-buffer-window "*GNU Emacs*"))) > (and w (not (one-window-p)) (delete-window w))) > (kill-buffer "*GNU Emacs*"))) > " ") > > Meanwhile, this is called from `command-line-1' which starts around line > 2233. > > It creates CONCISE based on the number of open buffers when called, e.g. 0 > (zero) --so not-concise-- when starting Emacs. So no button for > `inhibit-startup-screen' unless we open the spash screen "manually" one way > or another. > > Maybe just always show the "inhibit splash" button? Maybe this logic to > display or not this button should be inverted? Is it more likely I want to > disable splash when I'm looking a fresh emacs or because I've called for > the spash explicitly (maybe just to get at this button)? > > So, I don't think this changes my previous argument, but it does make >> any need to change it less pressing. >> > > I can also add that I've been using Emacs for 10+ years and found (setq > inhibit-splash-screen t) for my init pleasure only a few months ago. So > I'm all good now ;) > > Regards, > > -- > *Corwin* > *corwin@bru.st * > -- *Corwin* 612-217-1742 612-298-0615 (fax) 612-695-4276 (mobile) *corwin.brust (skype)corwin@bru.st * --000000000000d79068059c6f4842 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Resending but to the whole list.=C2=A0 Oops.

TL;DR:=C2=A0 I think finding the simple button to disa= ble splash-screen isn't so easy.

On Sat, Jan 18, 2020 at 1:42 = PM Corwin Brust <corwin@bru.st> = wrote:

Hi!

On Sat, Jan 18, = 2020 at 10:41 AM Stefan Kangas <stefan@marxist.se> wrote:
Stefan Kangas <stefan@marxist.se> writes:

> I agree that this should be changed.=C2=A0 I expect a splash screen to= be
> shown only when I run a command without specifying any particular
> file.=C2=A0 IME, this is what most other software does, and I see no r= eason
> why Emacs should be different.

Catching up on emacs-devel, there is a thread on this particular
issue... where Stefan Monnier points to the "Dismiss this startup
screen" button.=C2=A0 That button quits the window and customizes
inhibit-startup-window to t.=C2=A0 This code seems to have been introduced<= br> in 2007 by Chong Yidong (commit 22a58255).

Of course, I have never seen that button over the years.=C2=A0 I find that<= br> your brain learns to filter out splash screens completely after a
while, which incidentally makes displaying them more often
counter-productive.

I wonder if the rea= son neither you or nor I had seen this button is that Emacs doesn't usu= ally show it to us. I'm looking at 1843 of ~startup.el~.=C2=A0 I think = the button to quickly disable splash only displays when concise is t as per= :

1813:=C2=A0 (fancy-startup-screen &optio= nal concise)
...
Whereas within fancy-startup-tail we d= o this:

1771:=C2=A0 (when concise
=C2=A0 = =C2=A0 (fancy-splash-insert
=C2=A0 =C2=A0 =C2=A0:face 'variable-pitc= h "\n"
=C2=A0 =C2=A0 =C2=A0:link `("Dismiss this startup = screen"
=C2=A0 =C2=A0 ,(lambda (_button)
(when startup-scree= n-inhibit-startup-screen
=C2=A0(customize-set-variable 'inhibit-s= tartup-screen t)
=C2=A0(customize-mark-to-save 'inhibit-startup-s= creen)
=C2=A0(custom-save-all))
(let ((w (get-buffer-window &quo= t;*GNU Emacs*")))
=C2=A0(and w (not (one-window-p)) (delete-wind= ow w)))
(kill-buffer "*GNU Emacs*")))
=C2=A0 =C2=A0 =C2= =A0" =C2=A0")
=C2=A0
Me= anwhile, this is called from `command-line-1' which starts around line = 2233.

It creates CONCISE based on the number of op= en buffers when called, e.g. 0 (zero) --so not-concise-- when starting Emac= s.=C2=A0 So no button for `inhibit-startup-screen' unless we open the s= pash screen "manually" one way or another.

Maybe just always show the "inhibit splash" button?=C2=A0 Mayb= e this logic to display or not this button should be inverted?=C2=A0 Is it = more likely I want to disable splash when I'm looking a fresh emacs or = because I've called for the spash explicitly (maybe just to get at this= button)?

So, I don't think this changes my previous argument, but it does m= ake
any need to change it less pressing.
=C2=A0
I can also add that I've been using Emacs for 10+ years and found = (setq inhibit-splash-screen t) for my init pleasure only a few months ago.= =C2=A0 So I'm all good now ;)

Regards,

--
=


--
= Corwin
612-217-1742
612-298-0615 (fax)
6= 12-695-4276 (mobile)
corwin.brust (skype)
<= div>corwin@bru.st
--000000000000d79068059c6f4842--