all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Weiner <rsw@gnu.org>
To: Robert Inder <robert@interactive.co.uk>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Wish List: support making *scratch* persistent
Date: Mon, 2 Oct 2017 09:32:14 -0400	[thread overview]
Message-ID: <CA+OMD9ichNNmKXBD22mJ6meqo5pfunE6TJ6s0JUOE3KQUjiuvw@mail.gmail.com> (raw)
In-Reply-To: <CAKqjJm8-PyLahoGLwCf5FjTp6NOQTD8JjHQ5V97S6v6JnLbpHw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 901 bytes --]

On Mon, Oct 2, 2017 at 7:01 AM, Robert Inder <robert@interactive.co.uk>
wrote:

>
> I'd like to be able to make the *scratch* buffer persist between sessions.
>
> I realise that it is meant for things I don't want to save.  But every few
> months, I get interrupted or distracted, and realise I have quit emacs or
> rebooted a machine while there was something significant in *scratch*.  To
> know that I wouldn't lose stuff when that happened, I'd happily pay the
> price of having to flush the buffer occasionally.
>
> I can't be the only one that is bitten by this from time to time.
>

​You are not.  The "persistent-scratch" package available from MELPA does
exactly what you want.  Simply install it and add this to your Emacs
initialization file:

;;; Persistent Scratch - make *scratch* buffer persist across Emacs
invocations
(persistent-scratch-setup-default)

Bob

[-- Attachment #2: Type: text/html, Size: 2072 bytes --]

  reply	other threads:[~2017-10-02 13:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-02 11:01 Wish List: support making *scratch* persistent Robert Inder
2017-10-02 13:32 ` Robert Weiner [this message]
2017-10-03 17:21   ` Richard Stallman
2017-10-03 17:33     ` Jorge A. Alfaro-Murillo
  -- strict thread matches above, loose matches on Subject: below --
2017-10-04 16:07 Fanael Linithien
2017-10-04 23:40 ` Jean-Christophe Helary

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+OMD9ichNNmKXBD22mJ6meqo5pfunE6TJ6s0JUOE3KQUjiuvw@mail.gmail.com \
    --to=rsw@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=robert@interactive.co.uk \
    --cc=rswgnu@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.