Re: unwanted files found by what exactly?

2020-12-16 Thread Samuel Wales
perhaps the list of existing buffers can be bound, then set-difference
run on it before and after.  then kill-buffer on the ones that remain.
assuming no thread issues.

commit 37a5020bbec1887f954ea61855e17b409ee7c5d0
Author: Nicolas Goaziou 
Date:   2020-05-14 22:48:17 +0200


On 12/15/20, Samuel Wales  wrote:
> could it be 37a5020bbec1887f954ea61855e17b409ee7c5d0 that does this by
> finding instead of inserting into a temp buffer?
>
> On 12/15/20, Samuel Wales  wrote:
>> i suspect org-id-update-id-locations is finding but then failing to
>> kill the buffers.
>>
>
>
> --
> The Kafka Pandemic
>
> Please learn what misopathy is.
> https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html
>


-- 
The Kafka Pandemic

Please learn what misopathy is.
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html



Re: unwanted files found by what exactly?

2020-12-15 Thread Samuel Wales
could it be 37a5020bbec1887f954ea61855e17b409ee7c5d0 that does this by
finding instead of inserting into a temp buffer?

On 12/15/20, Samuel Wales  wrote:
> i suspect org-id-update-id-locations is finding but then failing to
> kill the buffers.
>


-- 
The Kafka Pandemic

Please learn what misopathy is.
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html



Re: unwanted files found by what exactly?

2020-12-15 Thread Samuel Wales
i suspect org-id-update-id-locations is finding but then failing to
kill the buffers.



unwanted files found by what exactly?

2020-12-15 Thread Samuel Wales
recent-ish org maint.

i frequently get all my .org_archive files and whatever.org files in
emacs as buffers, without my calling find-file.

i thought perhaps this was agenda, so

(defun alpha-org-kill-agenda-loaded-buffers ()
  (interactive)
  (org-release-buffers org-agenda-new-buffers)
  (setq org-agenda-new-buffers nil))

but that doesn't seem to always work.

so, is org-id loading buffers when it searches for an id target, or
something like that?

regardless of source, is there a timer i can set to delete all these things?

if it is the agenda i don't mind the occasional miss if i try to go to
a killed buffer.  whatever agenda habits i have aren't likly to change
and i'd rather not have the buffers not stick around.

if it is org-id or something else, could they all be killed once the
target has been found?

thanks.