From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?5p2O5LiN5pi+?= Newsgroups: gmane.emacs.help Subject: Re: How can I restart *scratch* buffer? Date: Mon, 9 Sep 2019 04:43:38 +0800 Message-ID: References: <87v9uaogv5.fsf@mbork.pl> <87zhjfdjzc.fsf@fencepost.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="82990"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 08 22:44:20 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i742l-000LTj-Dg for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Sep 2019 22:44:19 +0200 Original-Received: from localhost ([::1]:50480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i742j-0007e1-M0 for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Sep 2019 16:44:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39865) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i742Z-0007dj-8L for help-gnu-emacs@gnu.org; Sun, 08 Sep 2019 16:44:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i742Y-0001Mn-5l for help-gnu-emacs@gnu.org; Sun, 08 Sep 2019 16:44:07 -0400 Original-Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]:46876) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i742X-0001MN-SG for help-gnu-emacs@gnu.org; Sun, 08 Sep 2019 16:44:06 -0400 Original-Received: by mail-lj1-x233.google.com with SMTP id e17so10657435ljf.13 for ; Sun, 08 Sep 2019 13:44:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=w5Xg81hL1Sjeenay76fWTkkOQQzkQEJHzgrP/3dfYcs=; b=UjjuIdEDY4aTNh6n3xfDupabkpknmH5NnPtS4VZueltKY8ntU3WmbBBTw3KL1vmBqu 0/q4l0oA5i0UegX8ssV78X248E4zWhV+xILHjD3AR2z1DdyDu+kACmgcR14xjzxHxmNk z293+sM1TvXcWVwB70r5WEiGgzdFlsV4SACDldi7/Leye9Fi7Y5pCm/YqNho0sLTftQU TvuKLco19c/8sYhyB8wm9BFV0L0NoutSjR/2vJsBJvsYht6s4CzbeUKblEvHmlhUDA6C 4ciZ99XfTLTTfrwTMl6w7uvMhI9Ex7U3mfmR51SH/roXKPC+eTl0PDlJmT5F4n4Fdv8d OmGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=w5Xg81hL1Sjeenay76fWTkkOQQzkQEJHzgrP/3dfYcs=; b=D2ohJrRnqfkrk0Z+H5UnDEN3OmDvq2CqKFP8z62Uvy/BkFjaxZxjX36ebfXk2QIybn U6PkcNG8dTyWbVjsLVS+x57jSMKnsFfwLZhOk9UZav3txskoXxtMuF63IVTbNtbkRksl nl108ta4kKYW7l30MrOkszn6L8YhqFW0nZ5TjK0nc3P+m9S8vzicbgxEnmqtl+8aKdy7 J3NrjA7DEkBM5k/ftugS2mYCVeziP+GeRcd1sxF8pg4/zn1VLuqtpPpalGFlxHfSJQEx 8VKauQES9/hjRlvYqNSeYSSXFaB1NJVJsyyRswa9G7gjE863rrMHNLNr6brPwXgML4H4 ojAQ== X-Gm-Message-State: APjAAAXiUGqu0pIdqDztWSVlk/QnLZN4miitoyd+FM4dzLtPvYCxzs1X CvaZrwBC7hm8h2YyI22TuSbh09Ct4LzWJezJ4gt97pTBzXmW+w== X-Google-Smtp-Source: APXvYqzzm29vTsWmP4dNr8xr0S3V1JlC79ShmEIsFx4lPaaVwIrjffIGPHSH/C7e1xzTuzoQ9cyM/1s6lULag2kgztI= X-Received: by 2002:a2e:3618:: with SMTP id d24mr13006338lja.179.1567975444165; Sun, 08 Sep 2019 13:44:04 -0700 (PDT) In-Reply-To: <87zhjfdjzc.fsf@fencepost.gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::233 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121483 Archived-At: Amin Bandali =E4=BA=8E2019=E5=B9=B49=E6=9C=888=E6=97=A5= =E5=91=A8=E6=97=A5 =E4=B8=8B=E5=8D=888:57=E5=86=99=E9=81=93=EF=BC=9A > Hi, > > =E6=9D=8E=E4=B8=8D=E6=98=BE writes: > > > Marcin Borkowski =E4=BA=8E2019=E5=B9=B49=E6=9C=882=E6= =97=A5=E5=91=A8=E4=B8=80 =E4=B8=8B=E5=8D=8811:30=E5=86=99=E9=81=93=EF=BC=9A > [...] > >> 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=E2=80=99s a typo; notice that there needs to be two dashes between > =E2=80=9Cstartup=E2=80=9D and =E2=80=9Cget=E2=80=9D. > > 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!