From: npostavs@users.sourceforge.net
To: Vasilij Schneidermann <v.schneidermann@gmail.com>
Cc: 25656@debbugs.gnu.org
Subject: bug#25656: [PATCH] 25.1; remember-notes-mode makes every temporary buffer created from it unkillable
Date: Fri, 24 Feb 2017 20:16:02 -0500 [thread overview]
Message-ID: <87innzf4tp.fsf@users.sourceforge.net> (raw)
In-Reply-To: <20170224074034.GA615@odonien.localdomain> (Vasilij Schneidermann's message of "Fri, 24 Feb 2017 08:40:34 +0100")
Vasilij Schneidermann <v.schneidermann@gmail.com> writes:
> I wrote a simple patch for merely checking whether the buffer about to
> be killed happens to be the remember-notes buffer.
I think that's a sensible change, but doesn't the fact that
remember-mode adds the hook buffer-locally mean that temp buffers (or
any other buffers) aren't affected?
(add-hook 'kill-buffer-query-functions 'XXXX nil t)
(with-temp-buffer
kill-buffer-query-functions) ;=> (process-kill-buffer-query-function)
next prev parent reply other threads:[~2017-02-25 1:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-08 23:12 bug#25656: 25.1; remember-notes-mode makes every temporary buffer created from it unkillable Vasilij Schneidermann
2017-02-24 7:40 ` bug#25656: [PATCH] " Vasilij Schneidermann
2017-02-25 1:16 ` npostavs [this message]
2017-02-25 9:47 ` Vasilij Schneidermann
2017-02-25 12:12 ` Vasilij Schneidermann
2017-02-25 12:15 ` Vasilij Schneidermann
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=87innzf4tp.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=25656@debbugs.gnu.org \
--cc=v.schneidermann@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.