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, 2 Sep 2019 22:46:07 +0800 Message-ID: References: <87k1aqsxa3.fsf@home.i-did-not-set--mail-host-address--so-tickle-me> <87h85usx70.fsf@home.i-did-not-set--mail-host-address--so-tickle-me> <878sr6lvy5.fsf@fastmail.fm> <87tv9u6ay1.fsf@eps142.cdf.udc.es> 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="219600"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org To: Alberto Luaces Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 02 16:46:54 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 1i4nbZ-000v1y-DW for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Sep 2019 16:46:53 +0200 Original-Received: from localhost ([::1]:37128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4nbX-00058I-PC for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Sep 2019 10:46:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33392) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4nbE-00054I-NL for help-gnu-emacs@gnu.org; Mon, 02 Sep 2019 10:46:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i4nbB-0003qr-6D for help-gnu-emacs@gnu.org; Mon, 02 Sep 2019 10:46:30 -0400 Original-Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:45171) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i4nbA-0003nK-Ul for help-gnu-emacs@gnu.org; Mon, 02 Sep 2019 10:46:29 -0400 Original-Received: by mail-lj1-x229.google.com with SMTP id l1so13076946lji.12 for ; Mon, 02 Sep 2019 07:46:28 -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 :cc; bh=U/G4wOCTCWTu3HM/lvBtwDVF7vpCZ8G0NmdvI9hGsBo=; b=EIHv7cnWBWXuNIaT3r2t2V1vj7FQFdkSkCylUkg1nFEcCLygMot7a72iPph3vDsn21 znuP2R46Gda6dgol6msWDq1WYWKiroAXlTYluHmxG1WxcPLQJTIDDXDEut8yN9lVPTwf 0i5lX5jCbB1mAkbhJfqWH7dILhE/C7SKQr77GcCtm7rmVnbbjMtWtlkERz/w0vAvVeJo 161qzQFfWqOrn3IRkCn47N/CcWuv+Kn90WMcqdRxz0aVmzXWKZY/an1wj7BmMHt8eylv k3eEVawZtn3ES4RByXVgvO/nGUtkkwjFpAiKwXOd2zh2B7BsNVASiPa+WUOIKYxvESBD 03tg== 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:cc; bh=U/G4wOCTCWTu3HM/lvBtwDVF7vpCZ8G0NmdvI9hGsBo=; b=G0O56s2VXmvz6BvrCtWkWBSucuoBYFQiC6K/Ak+VKRtFSfxR+qNHF6x2Yl+8ivxPEd gWOoSvuKEaUkSgaTI6mmtUw0jrSkfUdGToJqGzYK2AsvetySzIwLIA/3DZdoRxy2lKFU BH/HUu3XQI1/9lUp6nsSgtz9TATIaSQkIyKX4XjuyB/O/V+vwq1sVbOwsq7ncd2GzVPN V0fJzWA9LT9JIbSPGKpMmOjemS+7FR5zyh0HjuXN7EvYpRbHAWiH4FOZ84gLTO7flPG5 F8r/S7oMjQrxwo1aP6ymsOtWKhK+czBdC+ir5zUyUPPtUfAepdiGKtf0R3s3eJ+mh2ao YWgw== X-Gm-Message-State: APjAAAVzIk6rDMQoy2B7y08MTb99X0bpUPmrIzgupt0RjcCcvVUFcqzi urO10K0NkfU02QCnFI4r6rUUHZLzdqS+BJhpXUY= X-Google-Smtp-Source: APXvYqw8fDhA0H9D34tN1DmZ+nPC6wP6+EehGei4O5ScRbkPPSRb4nv5mowJP/Jq3/PP3l4pKF0OufIUImIjPQGjzUo= X-Received: by 2002:a2e:85d7:: with SMTP id h23mr17298312ljj.129.1567435587336; Mon, 02 Sep 2019 07:46:27 -0700 (PDT) In-Reply-To: <87tv9u6ay1.fsf@eps142.cdf.udc.es> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::229 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:121425 Archived-At: Now I have figured out the difference between buffer and file, and have a new understanding of different modes. Thank you for your answers. :) Alberto Luaces =E4=BA=8E2019=E5=B9=B49=E6=9C=882=E6=97=A5= =E5=91=A8=E4=B8=80 =E4=B8=8B=E5=8D=8810:16=E5=86=99=E9=81=93=EF=BC=9A > Joost Kremers writes: > > > On Mon, Sep 02 2019, YUE Daian wrote: > >> 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. > > > > lisp-interaction-mode, to be precise. > > Sometimes is easier to remember to use normal-mode. > > -- > Alberto > > >