all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Corwin Brust <corwin@bru.st>
To: Stefan Kangas <stefan@marxist.se>, 9248@debbugs.gnu.org
Subject: bug#9248: 23.2; Welcome screen
Date: Sat, 18 Jan 2020 13:44:10 -0600	[thread overview]
Message-ID: <CAJf-WoQCv0R5J=azzTg3A=m1-m8Gt_YS6pYC3YjHaFu0xU=NxA@mail.gmail.com> (raw)
In-Reply-To: <CAJf-WoRap_r1D4EL13qbkMq4QX8NGpuYF5FktfmN0=fB-3DxVQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3053 bytes --]

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 <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.  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@bru.st>*
>


-- 
*Corwin*
612-217-1742
612-298-0615 (fax)
612-695-4276 (mobile)
*corwin.brust (skype)corwin@bru.st <corwin@bru.st>*

[-- Attachment #2: Type: text/html, Size: 5688 bytes --]

  parent reply	other threads:[~2020-01-18 19:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-04  8:53 bug#9248: 23.2; Welcome screen Jean-Marc Fran=e7ois
2011-08-06 15:13 ` Vijay Lakshminarayanan
2011-08-06 17:39   ` Antoine Levitt
2011-08-06 16:11 ` David De La Harpe Golden
2020-01-17 23:43 ` Stefan Kangas
2020-01-18  3:34   ` Noam Postavsky
2020-01-18  9:50     ` Stefan Kangas
2020-01-18 16:40       ` Stefan Kangas
     [not found]         ` <CAJf-WoRap_r1D4EL13qbkMq4QX8NGpuYF5FktfmN0=fB-3DxVQ@mail.gmail.com>
2020-01-18 19:44           ` Corwin Brust [this message]
2020-01-18 19:49             ` Corwin Brust
2020-01-19  3:38       ` Richard Stallman
2020-01-19 17:26         ` Stefan Kangas
2020-02-28 23:11           ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJf-WoQCv0R5J=azzTg3A=m1-m8Gt_YS6pYC3YjHaFu0xU=NxA@mail.gmail.com' \
    --to=corwin@bru.st \
    --cc=9248@debbugs.gnu.org \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.