GNU bug report logs - #9248
Don't show splash screen when running "emacs <file>" by default

Previous Next

Package: emacs;

Reported by: jmfranc <at> jmfranc-laptop.i-did-not-set--mail-host-address--so-tickle-me (Jean-Marc Fran=e7ois)

Date: Sat, 6 Aug 2011 01:54:03 UTC

Severity: wishlist

Tags: notabug, wontfix

Found in versions 28.0.50, 23.2

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #36 received at 9248 <at> debbugs.gnu.org (full text, mbox):

From: Corwin Brust <corwin <at> bru.st>
To: Stefan Kangas <stefan <at> marxist.se>, 9248 <at> debbugs.gnu.org
Subject: Re: bug#9248: 23.2; Welcome screen
Date: Sat, 18 Jan 2020 13:49:35 -0600
[Message part 1 (text/plain, inline)]
 Sorry again for my clumsiness with emails.


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

> Resending but to the whole list.  Oops.
>
> TL;DR:  I think finding the simple button to disable splash-screen isn't
> so easy.
>

I forgot to call-out my Emacs RE source code line number relevance:   I'm
using GNU 26.3 on Win 32.  Only patch is to ERC around nick matching syntax
tables.  That said, please do see detail from me embedded below.


> On Sat, Jan 18, 2020 at 1:42 PM Corwin Brust <corwin <at> bru.st> wrote:
>
>>
>> Hi!
>>
>> On Sat, Jan 18, 2020 at 10:41 AM Stefan Kangas <stefan <at> marxist.se> wrote:
>>
>>> Stefan Kangas <stefan <at> marxist.se> 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 <at> bru.st <corwin <at> bru.st>*
>>
>
>
> --
> *Corwin*
> 612-217-1742
> 612-298-0615 (fax)
> 612-695-4276 (mobile)
> *corwin.brust (skype)corwin <at> bru.st <corwin <at> bru.st>*
>


-- 
*Corwin*
612-217-1742
612-298-0615 (fax)
612-695-4276 (mobile)
*corwin.brust (skype)corwin <at> bru.st <corwin <at> bru.st>*
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.