From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: YUE Daian Newsgroups: gmane.emacs.help Subject: Re: How can I restart *scratch* buffer? Date: Mon, 02 Sep 2019 20:24:19 +0800 Message-ID: <87h85usx70.fsf@home.i-did-not-set--mail-host-address--so-tickle-me> References: <87k1aqsxa3.fsf@home.i-did-not-set--mail-host-address--so-tickle-me> 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="140525"; mail-complaints-to="usenet@blaine.gmane.org" To: =?utf-8?B?5p2O5re8?= , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 02 14:24:37 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 1i4lNt-000aSa-JY for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Sep 2019 14:24:37 +0200 Original-Received: from localhost ([::1]:36006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4lNs-0004Nk-Gu for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Sep 2019 08:24:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42712) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4lNh-0004Na-8J for help-gnu-emacs@gnu.org; Mon, 02 Sep 2019 08:24:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i4lNg-0002xt-9l for help-gnu-emacs@gnu.org; Mon, 02 Sep 2019 08:24:25 -0400 Original-Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:46138) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i4lNg-0002wJ-32 for help-gnu-emacs@gnu.org; Mon, 02 Sep 2019 08:24:24 -0400 Original-Received: by mail-pf1-x42b.google.com with SMTP id q5so1065408pfg.13 for ; Mon, 02 Sep 2019 05:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=vPIgX1GhQJzAN0/uFnWT789wArCf0J3vACL+QqMl2KU=; b=cYgdkiC8TEKnskJRNg6EawW435pPgrjF8NnN2iIc+nSBcS7YJYxLK0vJEqF2cNhXI0 TJZrU2HglNELGOvdHVi8Ldu3d4moJLnyOss7TQbb4bXjjOl+2js1NP6xMviN4wi0HOtp wP8Hnf6feK/obc0lWxpOa0CxeeoqdQLJeHdN/dTYzqRUlw8ncP6RVGuJWj9TUX9OB5A4 wCzaWfrrBq8hAJflPZAfcNIs9KTP98ujOPS42mu1kdwHhA3s73Q2gxpjvwBsuyXyWqhN j6G9xhwf2ygYVRuoUzv8ItCLT1y5YqApwCMqCOV6t8PBAzOsxQGEjRLui0B6f2RD7u6X b5MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=vPIgX1GhQJzAN0/uFnWT789wArCf0J3vACL+QqMl2KU=; b=SLS3E368FuWjfNTmRyYy1iMi8XLQwxFBoR+QrrrmciNVO7sDeh0TJMmp20hs1F95sT 0TR5JCGLq15iOL8etlMhuKVaq2yWMnUTSCBACvdYwrTx7TpAhA5XwBvozMm5ceSyDcyz c+cutgkHQ0qyMdIjT6JNMrsOp9rf/gN7K9/jfMLqhUvRo5TnP/VPTQPsY796y+bRaGdR AX8lMVCEFaddMbtyHTj9nUyZnGevz2mG68H/Einr6WeDb1jv1fl9GMDX0S+sEjxuziB0 P9oxha/800fWbpTXv9egeJ62zG+ewDmxsh0W+kRiz82Bf2FJz7eX0IoqZTHYgKlTQSbs jnog== X-Gm-Message-State: APjAAAUtrrQi2yMs0pGU47nPFUPNtBSOumw7/ABG4zVwjpM1i6MsX96P XQAcwc3YDd9W1U48GSO1cGc= X-Google-Smtp-Source: APXvYqzRg5ZPxZ53sfzpkEAqclhCLNKal6JX3NbHK15tY+tcDX9ITE+ecs3TeNCCiGpfeDUKGx9l+A== X-Received: by 2002:aa7:8a83:: with SMTP id a3mr33762437pfc.115.1567427063166; Mon, 02 Sep 2019 05:24:23 -0700 (PDT) Original-Received: from localhost ([47.52.30.246]) by smtp.gmail.com with ESMTPSA id l6sm23560365pje.28.2019.09.02.05.24.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 05:24:22 -0700 (PDT) In-Reply-To: <87k1aqsxa3.fsf@home.i-did-not-set--mail-host-address--so-tickle-me> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42b 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:121417 Archived-At: On 2019-09-02 20:22, YUE Daian wrote: > On 2019-09-02 20:10, =E6=9D=8E=E6=B7=BC wrote: >> Sometimes I accidentally turn off the *scratch* buffer while I'm using >> emacs. How can I restart *scratch* buffer without restarting emacs? > > Simply create a new buffer named *scratch*. Oh, and make it emacs-lisp-mode.