From: Oliver Taylor <olivertaylor@me.com>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Variable for Confirming Killing a Buffer
Date: Thu, 2 Dec 2021 15:25:49 -0800 [thread overview]
Message-ID: <9FD6ACE5-B71A-4280-A354-294AFA57692F@me.com> (raw)
In-Reply-To: <CADwFkm=FJLbU+aHc2nqMpj3OHWNLg+K-wiRnY4ZBksyMJ1w_yA@mail.gmail.com>
> On Dec 2, 2021, at 2:41 PM, Stefan Kangas <stefankangas@gmail.com> wrote:
>
> Oliver Taylor <olivertaylor@me.com> writes:
>
>> Now, doing (setq-local buffer-confirm-kill t) will prevent accidental data
>> loss.
>
> Could you describe the scenario(s) under which you have experienced
> accidental data loss in more detail? Which modes were you using?
I create new buffers all the time to cleanup text from outside Emacs, or simply as an easy way to quickly jot something down. Those buffers are easy to forget about and lose if you quit Emacs without remembering to save them.
There are also a number of scratch buffer packages which also might benefit from this.
next prev parent reply other threads:[~2021-12-02 23:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-02 21:06 Variable for Confirming Killing a Buffer Oliver Taylor
2021-12-02 22:41 ` Stefan Kangas
2021-12-02 23:17 ` Philip Kaludercic
2021-12-02 23:25 ` Oliver Taylor [this message]
2021-12-03 16:58 ` Lars Ingebrigtsen
2021-12-03 19:24 ` Michael Heerdegen
2021-12-03 21:35 ` Lars Ingebrigtsen
2021-12-03 22:27 ` Michael Heerdegen
2021-12-03 22:33 ` Lars Ingebrigtsen
2021-12-03 19:45 ` Oliver Taylor
2021-12-03 21:32 ` Lars Ingebrigtsen
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=9FD6ACE5-B71A-4280-A354-294AFA57692F@me.com \
--to=olivertaylor@me.com \
--cc=emacs-devel@gnu.org \
--cc=stefankangas@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.