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:32:06 +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="36271"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 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:32:48 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 1i73ra-0009Jd-Ey for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Sep 2019 22:32:46 +0200 Original-Received: from localhost ([::1]:50460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i73rY-0006XF-O9 for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Sep 2019 16:32:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37729) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i73rP-0006X8-Bx for help-gnu-emacs@gnu.org; Sun, 08 Sep 2019 16:32:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i73rO-00037V-8i for help-gnu-emacs@gnu.org; Sun, 08 Sep 2019 16:32:35 -0400 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:46513) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i73rO-000379-10 for help-gnu-emacs@gnu.org; Sun, 08 Sep 2019 16:32:34 -0400 Original-Received: by mail-lf1-x133.google.com with SMTP id t8so8830483lfc.13 for ; Sun, 08 Sep 2019 13:32:33 -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:cc; bh=r2KE4WFtm9IgyxQ6CJP4jzNvLYDsnLIQ+BZ+W+Ld/4A=; b=HALVeiDsx2F0z25GRvTL1jEziPkv/726l4LKQzLnaNJSstoSyCqmyMURJLA4PAHk4O q7zdGh0Rb5t1MUpFa8O1aL+GJdiZV/9lgMf7Uahmg404lJP0VQr7S1arG7ouVUa7gXxF VRBPDAAyBXkso9Vx0lnCJ7/g6C4y7kIWEHgTzOiI6HdeMX9EcPQiscrpCNHUfE1/quhv E1zHkaXdsSMGaIkthYakedAkPVz1MhKiKlzs76dHdhtkHaLlB2U1UqASvpDLNysIsPbg kIb/jXOobFIgO6VZf7PDJzZ9JbDUps6gfQqtfa+0EG3jyArYpPKUUnTHMDtj5DnUsiuE Kzbw== 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:cc; bh=r2KE4WFtm9IgyxQ6CJP4jzNvLYDsnLIQ+BZ+W+Ld/4A=; b=IQEGGjS+V9gGUvg9fagCRIx9jsbFLOuK2fWl53mISMemiXmPNDE0ewVD7J7A/j8hWQ O8eUC5VD1kPiiCOJfsit0nvj3Z4RUfsElkbZT5saXhQD1lPvczwPiFnqJEcZ6Y+dimUY 6FIkidxPvG0Ojo5AeURgZt9K+zfUyXobydiFFjmZIssjkE6OBr2c/61XCqnK7epfcFut z4Oo/BdkjUpBxyRKzHLbJTvLoSe10IvRm+J2QmPuvJzr5jLdvR/pbcmkwkBkkY+UbGMJ Afwknagd6frvGmKXsA/T+6SfQj4VEKGTIRN5jX2y50jFLW0KgUOs8Xrta1VjbtP8QeNU ydIg== X-Gm-Message-State: APjAAAVGeLUZ3DgyTP94UvY8lN/IdoiLxrHfPmkYrC2FDEeXWhWCShhM 2bXs6zuHYledhfXRpHMJYekbw+UkxKcEwohLYQUzL7hULzEY2A== X-Google-Smtp-Source: APXvYqyz9t4Zwbs5YzGWMM+cKF3k6qiCZU74y3laFGvW7Y/bztHJnIAC6wIwNISPyd5aoX0FcZpfoMFiry1Qd68s38A= X-Received: by 2002:a19:381a:: with SMTP id f26mr13847881lfa.168.1567974751928; Sun, 08 Sep 2019 13:32:31 -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::133 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:121482 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!