emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Avoiding the cover page - emacs 28


From: Corwin Brust
Subject: Re: Avoiding the cover page - emacs 28
Date: Sat, 18 Jan 2020 14:53:02 -0600

Hi again.

On Sat, Jan 18, 2020 at 10:46 AM Stefan Kangas <address@hidden> wrote:
Stefan Monnier <address@hidden> write:

> > I'd like to avoid the cover page emacs displays when I open it.
> >
> > even with an argument like `~/' or `.' emacs opens with 2 screens, the
> > bottom one showing the Coverpage and the top showing the opened
> > argument.
>
> Have you tried to read that "coverpage" and click on the button for that
> purpose there?

I've added some comments regarding this in Bug#9248 which asks to not
show the the splash by default when running "emacs <file>".  I'm in
favour of this proposal.

Please see the two e-mails starting from here:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9248#23

I put this into the thread Stefan Kangas links here also, but:

I had trouble finding this button.  Looking a little bit into startup.el suggests the button to quickly customize inhibiting splash isn't shown, essentially, unless the slash page is being shown because the user has explicitly invoked it sometime after startup (I think it's "after a buffer has been opened", really). 

I'm looking using GNU 26.3 on Windows 10 and started digging at `fancy-startup-screen', called from `display-startup-screen', called from `command-line-1', called from `command-line'.  I had a very real sense of 'there be dragons' reading startup.el but I'm *fairly* sure that the conditional logic around whether to display a "concise" version of the startup page is based on whether there are any buffers opened yet (display concisely if there are), and that the button mentioned only shows in the concise view (see line 1771 of the 26.3 release version of startup.el).

I wonder if the logic to display or not display the button is wrong, maybe unnecessary.

Is it likely people would manually fire up the splash screen to get at this button?  This looks like it has the same effect as customizing the specific option and saving the customization which I'm assuming we probably learn before figuring out how to manually launch the splash page.  I used M-: (fancy-startup-screen) and (fancy-startup-screen t) after not finding an interactive wrapper.  The interactive functions in (my version of) startup.el are `display-about-screen' (not the same info and, obviously, no buttons for directly changing startup behavior here) and `exit-splash-screen'.

I'm tempted to submit a patch that simply inverts changes the condition to ~(null concise)~.
*But* should there also be an interactive wrapper to display the startup screen given it maybe has special-case behaviour just for this that we've no easy way to get at? (Not on the menu and takes a lambda or user defun to add currently, I think)

I'm not sure if it's worth repeating my arguments here and splitting
the discussion in two.  It might be better that those interested
instead replies to that bug report?

I've responded to both places, I'm afraid.  To your point worse: this is the better more readable version.

--
Corwin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]