all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: Jonathan Rockway <jon@jrock.us>, emacs-devel@gnu.org
Subject: Re: On the new startup and scratch buffer
Date: Thu, 21 Feb 2008 17:27:53 +0100	[thread overview]
Message-ID: <m2mypu5l6e.fsf@kenny.sha-bang.de> (raw)
In-Reply-To: <47B3320C.8060800@alice.it> (Angelo Graziosi's message of "Wed, 13 Feb 2008 19:08:12 +0100")

Angelo Graziosi <angelo.graziosi@alice.it> wrote:
> Jonathan Rockway ha scritto:
[...]
>> According to the docstring on `initial-scratch-message':
>>
>>    "Initial message displayed in *scratch* buffer at startup.
>>     If this is nil, no message will be displayed.
>>     If `inhibit-startup-screen' is non-nil, then no message is displayed,
>>     regardless of the value of this variable."
>>
>> So it looks like this is expected, although annoying.  This just looks
>> like a side effect of having this block:
>>
>>       (and initial-scratch-message
>> 	   (get-buffer "*scratch*")
>> 	   (with-current-buffer "*scratch*"
>> 	     (when (zerop (buffer-size))
>> 	       (insert initial-scratch-message)
>> 	       (set-buffer-modified-p nil))))
>>
>> On the "else" side of the (if (or ... inhibit-startup-screen ...) ...)
>> statement.
>>
>> If people are interested in a change to this behavior (always add text
>> to *scratch* if initial-scratch-message isn't nil), I'll supply a patch.
>>
>
> I think it would be a good thing, so I vote for it: +1.

AOL: +1

As initial-scratch-message is sufficient to disable the *scratch*
message in case one wants to, inhibit-startup-screen shouldn't do so.

cheers
sascha
-- 
Sascha Wilde

I've always figured UNIX is a utility to be run under emacs.
	-- Charles R. Martin




  parent reply	other threads:[~2008-02-21 16:27 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-13 16:24 On the new startup and scratch buffer Angelo Graziosi
2008-02-13 17:56 ` Jonathan Rockway
2008-02-13 18:08   ` Angelo Graziosi
2008-02-13 22:45     ` Juri Linkov
2008-02-14  1:37       ` Stefan Monnier
2008-02-14  4:18         ` [patch] " Jonathan Rockway
2008-02-21 16:27     ` Sascha Wilde [this message]
2008-02-21 17:04       ` Jonathan Rockway
2008-02-21 23:11         ` Angelo Graziosi
2008-02-28 23:00         ` Juri Linkov
2008-02-28 23:40           ` Juri Linkov
2008-02-29 10:36             ` Eli Zaretskii
2008-02-29 21:31               ` Juri Linkov
2008-03-01  9:13                 ` Eli Zaretskii
2008-02-29 10:34           ` Eli Zaretskii
2008-02-29 23:00           ` Chong Yidong
2008-03-02  2:54             ` Juri Linkov
2008-03-02  9:48               ` Angelo Graziosi
2008-03-02 14:41                 ` Juri Linkov
2008-03-02 15:20               ` Chong Yidong
2008-03-02 16:20                 ` Juri Linkov
2008-03-03 14:01               ` Johan Bockgård
2008-03-03 21:19                 ` Stefan Monnier
2008-03-04  0:34                   ` Juri Linkov
2008-03-12 22:40                 ` Juri Linkov

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=m2mypu5l6e.fsf@kenny.sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=angelo.graziosi@alice.it \
    --cc=emacs-devel@gnu.org \
    --cc=jon@jrock.us \
    /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.