unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: 李不显 <flypigonsky@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How can I restart *scratch* buffer?
Date: Mon, 9 Sep 2019 04:43:38 +0800	[thread overview]
Message-ID: <CALrvcGJ==GvLvvz3Z+iAuUtgzOkxKCkLEot6EeqQwNz6FOe4cw@mail.gmail.com> (raw)
In-Reply-To: <87zhjfdjzc.fsf@fencepost.gnu.org>

Amin Bandali <bandali@gnu.org> 于2019年9月8日周日 下午8:57写道:

> Hi,
>
> 李不显 <flypigonsky@gmail.com> writes:
>
> > Marcin Borkowski <mbork@mbork.pl> 于2019年9月2日周一 下午11:30写道:
> [...]
> >> How about M-: (startup--get-buffer-create-scratch) RET?
> [...]
> >
> >
> > I tried to do this, but *backtrace* says:
> >
> > Debugger entered--Lisp error: (void-function
> > startup-get-buffer-create-scratch)
> >   (startup-get-buffer-create-scratch)
> >   eval((startup-get-buffer-create-scratch) nil)
> >   elisp--eval-last-sexp(nil)
> >   eval-last-sexp(nil)
> >   funcall-interactively(eval-last-sexp nil)
> >   call-interactively(eval-last-sexp nil nil)
> >   command-execute(eval-last-sexp)
>
> There’s a typo; notice that there needs to be two dashes between
> “startup” and “get”.
>
> You seem to have used:
>     startup-get-buffer-create-scratch
>
> Instead, try using:
>     startup--get-buffer-create-scratch
>
> Hope that helps.
>

I was careless before. I clearly saw it, but I forgot it when I typed it. :)

Thank you for your help!


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

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='CALrvcGJ==GvLvvz3Z+iAuUtgzOkxKCkLEot6EeqQwNz6FOe4cw@mail.gmail.com' \
    --to=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.
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).