From: Marcin Borkowski <mbork@mbork.pl>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How can I restart *scratch* buffer?
Date: Sun, 08 Sep 2019 21:59:27 +0200 [thread overview]
Message-ID: <875zm2mue8.fsf@mbork.pl> (raw)
In-Reply-To: <jwvsgp6yl7z.fsf-monnier+emacs@gnu.org>
On 2019-09-08, at 15:25, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> Instead, try using:
>> startup--get-buffer-create-scratch
>
> Note that this is new in Emacs-27. Also, the 2 dashes indicate that
> this is an internal function. It may disappear or be renamed or do
> something completely different in a later version.
Yes, I warned about it in my email.
Would it make sense to provide a UI for resetting the *scratch* buffer,
i.e., exposing `startup--get-buffer-create-scratch' (perhaps as
something like `switch-to-scratch-buffer' or so)?
Best,
--
Marcin Borkowski
http://mbork.pl
next prev parent reply other threads:[~2019-09-08 19:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-02 12:10 How can I restart *scratch* buffer? 李淼
2019-09-02 12:22 ` YUE Daian
2019-09-02 12:24 ` YUE Daian
2019-09-02 12:33 ` Joost Kremers
2019-09-02 13:07 ` Michael Heerdegen
2019-09-02 14:15 ` Alberto Luaces
2019-09-02 14:46 ` 李不显
[not found] ` <CALrvcGLBQhJG5wtb41Y2uhx0HECvWFyeSfwvY=T8LG=1NfO0XQ@mail.gmail.com>
[not found] ` <87woeq6qgo.fsf@work.i-did-not-set--mail-host-address--so-tickle-me>
2019-09-08 12:16 ` Fwd: " 李不显
2019-09-02 15:30 ` Marcin Borkowski
2019-09-08 12:29 ` 李不显
2019-09-08 12:56 ` Amin Bandali
2019-09-08 13:25 ` Stefan Monnier
2019-09-08 19:59 ` Marcin Borkowski [this message]
2019-09-08 20:21 ` 李不显
2019-09-08 20:32 ` 李不显
2019-09-08 20:43 ` 李不显
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=875zm2mue8.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.