unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: 李不显 <flypigonsky@gmail.com>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: help-gnu-emacs@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: How can I restart *scratch* buffer?
Date: Mon, 9 Sep 2019 04:21:17 +0800	[thread overview]
Message-ID: <CALrvcG+61CP8aDOy+eo7nwi9M8f3v2+0JnO19RqV8mW27vs8Yw@mail.gmail.com> (raw)
In-Reply-To: <875zm2mue8.fsf@mbork.pl>

Marcin Borkowski <mbork@mbork.pl> 于2019年9月9日周一 上午3:59写道:

>
> 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
>
> Thank you for your reply. The problem has been solved in so many ways that
it is well solved. It's amazing how many people follow and respond to such
a simple question. Emacser is friendly to rookies :)


  reply	other threads:[~2019-09-08 20:21 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
2019-09-08 20:21           ` 李不显 [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALrvcG+61CP8aDOy+eo7nwi9M8f3v2+0JnO19RqV8mW27vs8Yw@mail.gmail.com \
    --to=flypigonsky@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@mbork.pl \
    --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.
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).