all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: site-start.el: inhibit-startup-screen?
Date: Thu, 20 May 2010 17:09:00 +0200	[thread overview]
Message-ID: <5FF50F23-9E80-484C-A02E-354AB92F7701@nf.mpg.de> (raw)
In-Reply-To: <B890EFA4B316466EA8736E2C64C06A1E@us.oracle.com>

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

Dear Drew,

On 19.05.2010, at 17:07, Drew Adams wrote:

>> we need to have an internal rollout of Emacs where we want to 
>> put some institute-specific defaults in a site-start.el (or 
>> default.el) file. I can see why one generally should not set 
>> "inhibit-startup-screen" as a default for new users, in our 
>> case (we try to provide internal documentation and courses) 
>> it seems justified. If we put
>> 
>> (setq inhibit-startup-screen t)
>> 
>> in site-start.el we still get the Emacs splashscreen. Is 
>> there a way to avoid the splashscreen other than using 
>> user-specific .emacs files?
> 
> I would think, following the doc, that (setq inhibit-startup-screen t) would
> work. You might want to check whether the value is actually t after Emacs starts
> up. If it is not, figure out where it gets changed.
> 
> Other than that, take a look also at option `initial-buffer-choice'.

The latter solves the problem partially:

(find-file "~/untitled")
(setq initial-buffer-choice "~/untitled")

will indeed display an "untitled" buffer (no more splash screen), however, dropping a file on the Emacs icon no longer opens that file but also displays the "untitled" buffer (to be fair: I never mentioned that this drag & drop feature was desirable in our case).

Without "initial-buffer-choice" drag & drop works as expected - but yields a split screen with the splash screen in the lower part (and a full splash screen if the Emacs icon is just clicked).

So it seems that there is no easy way to configure Emacs 23.2 to not display the splash screen (split or full screen), apart from using a "--no-splash" start option or a user specific .emacs file where inhibit-startup-screen does work (if one still wants to have drag & drop support for the Emacs icon). This is not a big deal for individual users, but still a bit awkward if you want to have a ready-to-run-distribution for a specific purpose.

It seems to me that it would be a good thing if inhibit-startup-screen would also work in a site-start.el-file.

Thanks for all the other answers, too!

Warm regards,
 Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de







[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4409 bytes --]

  reply	other threads:[~2010-05-20 15:09 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19 15:02 site-start.el: inhibit-startup-screen? Stefan Vollmar
2010-05-19 15:07 ` Drew Adams
2010-05-20 15:09   ` Stefan Vollmar [this message]
2010-05-20 15:19     ` Drew Adams
2010-05-20 19:04     ` Joel J. Adamson
2010-05-20 20:01       ` Stefan Vollmar
2010-05-21  1:44         ` Kevin Rodgers
2010-05-21  6:51           ` Stefan Vollmar
2010-05-23 17:52       ` tomas
     [not found]       ` <mailman.3.1274636585.29942.help-gnu-emacs@gnu.org>
2010-05-24  0:12         ` Stefan Monnier
2010-05-20 19:34     ` Johan Bockgård
2010-05-20 20:14       ` bug#6234: " Stefan Vollmar
2010-05-21  8:36         ` Štěpán Němec
2010-05-21 15:32           ` Joel J. Adamson
2010-05-21 15:32           ` Joel J. Adamson
2010-05-21 16:09             ` Stefan Vollmar
2011-07-13 21:55             ` Lars Magne Ingebrigtsen
2011-07-13 23:46               ` Glenn Morris
2011-07-13 23:55                 ` Lars Magne Ingebrigtsen
2010-05-20 18:07                   ` bug#6234: 23.2; inhibit-startup-screen does not work in site-start.el Stefan Vollmar
2010-05-20 19:02                     ` Chong Yidong
2010-05-20 19:20                       ` Stefan Vollmar
2011-07-13 23:59                     ` bug#6234: site-start.el: inhibit-startup-screen? Glenn Morris
2011-07-14  0:09                       ` Lars Magne Ingebrigtsen
2011-07-14  1:48                         ` Chong Yidong
2011-07-14 12:55                           ` Lars Magne Ingebrigtsen
2011-07-14 15:10                       ` Richard Stallman
2010-05-21  8:36         ` Štěpán Němec
2010-05-20 20:14       ` Stefan Vollmar
2010-05-19 19:30 ` Leo
2010-05-19 21:04 ` Suvayu Ali
2010-05-19 21:50   ` Stefan Vollmar
2010-05-20 10:23     ` Suvayu Ali

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=5FF50F23-9E80-484C-A02E-354AB92F7701@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --cc=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.