GNU bug report logs - #25656
25.1; remember-notes-mode makes every temporary buffer created from it unkillable

Previous Next

Package: emacs;

Reported by: Vasilij Schneidermann <v.schneidermann <at> gmail.com>

Date: Wed, 8 Feb 2017 23:13:01 UTC

Severity: normal

Found in version 25.1

Done: Vasilij Schneidermann <v.schneidermann <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Vasilij Schneidermann <v.schneidermann <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#25656: closed (25.1; remember-notes-mode makes every
 temporary buffer created from it unkillable)
Date: Sat, 25 Feb 2017 12:16:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 25 Feb 2017 13:15:45 +0100
with message-id <20170225121545.GC669 <at> odonien.localdomain>
and subject line Re: bug#25656: [PATCH] 25.1; remember-notes-mode makes every temporary buffer created from it unkillable
has caused the debbugs.gnu.org bug report #25656,
regarding 25.1; remember-notes-mode makes every temporary buffer created from it unkillable
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
25656: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25656
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Vasilij Schneidermann <v.schneidermann <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; remember-notes-mode makes every temporary buffer created from
 it unkillable
Date: Thu, 9 Feb 2017 00:12:32 +0100
I wrote an Emacs package that takes an Org file, processes it with Org's
element API and exports to a file.  Later I've noticed that if I use it
on an Org buffer created with remember-notes-mode, it creates ~500
temporary buffers that cannot be killed.  Bisection reveals that this is
the fault of `remember-notes--kill-buffer-query` which is added locally
to `kill-buffer-query-functions` and returns nil if
`remember-notes-bury-on-kill` hasn't been customized.

This raises an interesting question, should a temporary buffer as
created by `with-temp-buffer` let-bind potentially troublesome hooks
including, but not limited to `kill-buffer-query-functions`?  Another
example coming to mind is `buffer-list-update-hook`, adding a function
to it that scans the buffer list makes creating and killing temporary
buffers an expensive action.


[Message part 3 (message/rfc822, inline)]
From: Vasilij Schneidermann <v.schneidermann <at> gmail.com>
To: 25656-done <at> debbugs.gnu.org
Subject: Re: bug#25656: [PATCH] 25.1; remember-notes-mode makes every
 temporary buffer created from it unkillable
Date: Sat, 25 Feb 2017 13:15:45 +0100
Bug reason found in Org, resubmitting issue on their bug tracker.


This bug report was last modified 8 years and 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.