unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Avoiding the cover page - emacs 28
@ 2020-01-17 13:28 Harry Putnam
  2020-01-17 13:41 ` Corwin Brust
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Harry Putnam @ 2020-01-17 13:28 UTC (permalink / raw)
  To: emacs-devel

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.

I have this in  site-start.el

(tool-bar-mode -1)
(tooltip-mode -1)
(menu-bar-mode -1)

There must be something more needed.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Avoiding the cover page - emacs 28
  2020-01-17 13:28 Avoiding the cover page - emacs 28 Harry Putnam
@ 2020-01-17 13:41 ` Corwin Brust
  2020-01-17 19:20   ` Harry Putnam
  2020-01-17 13:43 ` Robert Pluim
  2020-01-17 23:35 ` Stefan Monnier
  2 siblings, 1 reply; 8+ messages in thread
From: Corwin Brust @ 2020-01-17 13:41 UTC (permalink / raw)
  To: Harry Putnam; +Cc: emacs-devel

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

I think you want

(inhibit-splash-screen t)

On Fri, Jan 17, 2020, 07:38 Harry Putnam <reader@newsguy.com> wrote:

> 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.
>
> I have this in  site-start.el
>
> (tool-bar-mode -1)
> (tooltip-mode -1)
> (menu-bar-mode -1)
>
> There must be something more needed.
>
>
>

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Avoiding the cover page - emacs 28
  2020-01-17 13:28 Avoiding the cover page - emacs 28 Harry Putnam
  2020-01-17 13:41 ` Corwin Brust
@ 2020-01-17 13:43 ` Robert Pluim
  2020-01-17 23:35 ` Stefan Monnier
  2 siblings, 0 replies; 8+ messages in thread
From: Robert Pluim @ 2020-01-17 13:43 UTC (permalink / raw)
  To: Harry Putnam; +Cc: emacs-devel

>>>>> On Fri, 17 Jan 2020 08:28:13 -0500, Harry Putnam <reader@newsguy.com> said:

    Harry> I'd like to avoid the cover page emacs displays when I open it.
    Harry> even with an argument like `~/' or `.' emacs opens with 2 screens, the
    Harry> bottom one showing the Coverpage and the top showing the opened
    Harry> argument.

    Harry> I have this in  site-start.el

    Harry> (tool-bar-mode -1)
    Harry> (tooltip-mode -1)
    Harry> (menu-bar-mode -1)

    Harry> There must be something more needed.

    inhibit-startup-screen is a variable defined in `startup.el'.
    Its value is t
    Original value was nil

      This variable has the following aliases: `inhibit-splash-screen',
        `inhibit-startup-message'.
      You can customize this variable.
      Probably introduced at or before Emacs version 23.1.

    Documentation:
    Non-nil inhibits the startup screen.

    This is for use in your personal init file (but NOT site-start.el),
    once you are familiar with the contents of the startup screen.

Robert



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Avoiding the cover page - emacs 28
  2020-01-17 13:41 ` Corwin Brust
@ 2020-01-17 19:20   ` Harry Putnam
  0 siblings, 0 replies; 8+ messages in thread
From: Harry Putnam @ 2020-01-17 19:20 UTC (permalink / raw)
  To: emacs-devel

Corwin Brust <corwin@bru.st> writes:

> I think you want
>
> (inhibit-splash-screen t)

[...]

Robert Pluim <rpluim@gmail.com> writes:

[...]

>     inhibit-startup-screen is a variable defined in `startup.el'.
>     Its value is t
>     Original value was nil
>
>       This variable has the following aliases: `inhibit-splash-screen',
>         `inhibit-startup-message'.
>       You can customize this variable.
>       Probably introduced at or before Emacs version 23.1.

>     Documentation:
>     Non-nil inhibits the startup screen.

Thank you both for the tip... and for these full details

>     This is for use in your personal init file (but NOT site-start.el),
>     once you are familiar with the contents of the startup screen.

I'm on a single user machine for many years and over time have slipped
stuff into site-start.el that doesn't really belong there. .. It acts
sort of like a personal init in my case...





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Avoiding the cover page - emacs 28
  2020-01-17 13:28 Avoiding the cover page - emacs 28 Harry Putnam
  2020-01-17 13:41 ` Corwin Brust
  2020-01-17 13:43 ` Robert Pluim
@ 2020-01-17 23:35 ` Stefan Monnier
  2020-01-18 14:46   ` Harry Putnam
  2020-01-18 16:43   ` Stefan Kangas
  2 siblings, 2 replies; 8+ messages in thread
From: Stefan Monnier @ 2020-01-17 23:35 UTC (permalink / raw)
  To: Harry Putnam; +Cc: emacs-devel

> 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?


        Stefan




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Avoiding the cover page - emacs 28
  2020-01-17 23:35 ` Stefan Monnier
@ 2020-01-18 14:46   ` Harry Putnam
  2020-01-18 16:43   ` Stefan Kangas
  1 sibling, 0 replies; 8+ messages in thread
From: Harry Putnam @ 2020-01-18 14:46 UTC (permalink / raw)
  To: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> 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?
>

er ... no




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Avoiding the cover page - emacs 28
  2020-01-17 23:35 ` Stefan Monnier
  2020-01-18 14:46   ` Harry Putnam
@ 2020-01-18 16:43   ` Stefan Kangas
  2020-01-18 20:53     ` Corwin Brust
  1 sibling, 1 reply; 8+ messages in thread
From: Stefan Kangas @ 2020-01-18 16:43 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Harry Putnam, Emacs developers

Stefan Monnier <monnier@iro.umontreal.ca> 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'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?

Best regards,
Stefan Kangas



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Avoiding the cover page - emacs 28
  2020-01-18 16:43   ` Stefan Kangas
@ 2020-01-18 20:53     ` Corwin Brust
  0 siblings, 0 replies; 8+ messages in thread
From: Corwin Brust @ 2020-01-18 20:53 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: Harry Putnam, Stefan Monnier, Emacs developers

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

Hi again.

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

> Stefan Monnier <monnier@iro.umontreal.ca> 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*
*corwin@bru.st <corwin@bru.st>*

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-01-18 20:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-17 13:28 Avoiding the cover page - emacs 28 Harry Putnam
2020-01-17 13:41 ` Corwin Brust
2020-01-17 19:20   ` Harry Putnam
2020-01-17 13:43 ` Robert Pluim
2020-01-17 23:35 ` Stefan Monnier
2020-01-18 14:46   ` Harry Putnam
2020-01-18 16:43   ` Stefan Kangas
2020-01-18 20:53     ` Corwin Brust

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).