all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: 李淼 <flypigonsky@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How can I restart *scratch* buffer?
Date: Mon, 02 Sep 2019 17:30:38 +0200	[thread overview]
Message-ID: <87v9uaogv5.fsf@mbork.pl> (raw)
In-Reply-To: <CALrvcGJX6d-1G-biaF5fa6qov0pCpQDmJj1jw=+qkKSHmKaFww@mail.gmail.com>


On 2019-09-02, at 14:10, 李淼 <flypigonsky@gmail.com> wrote:

> Sometimes I accidentally turn off the *scratch* buffer while I'm using
> emacs. How can I restart *scratch* buffer without restarting emacs?

How about M-: (startup--get-buffer-create-scratch) RET?

M-: stuff is necessary because this is a non-interactive function.  It
is also internal (because it contains two dashes) and undocumented
(because it does not contain a docstring).  Use at your own risk.

Hth,

-- 
Marcin Borkowski
http://mbork.pl



  parent reply	other threads:[~2019-09-02 15:30 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 [this message]
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           ` 李不显
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=87v9uaogv5.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=flypigonsky@gmail.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.