* unwanted files found by what exactly?
@ 2020-12-16 2:59 Samuel Wales
2020-12-16 3:06 ` Samuel Wales
0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2020-12-16 2:59 UTC (permalink / raw)
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: unwanted files found by what exactly?
2020-12-16 2:59 unwanted files found by what exactly? Samuel Wales
@ 2020-12-16 3:06 ` Samuel Wales
2020-12-16 3:14 ` Samuel Wales
0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2020-12-16 3:06 UTC (permalink / raw)
To: emacs-orgmode
i suspect org-id-update-id-locations is finding but then failing to
kill the buffers.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: unwanted files found by what exactly?
2020-12-16 3:06 ` Samuel Wales
@ 2020-12-16 3:14 ` Samuel Wales
2020-12-17 3:35 ` Samuel Wales
0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2020-12-16 3:14 UTC (permalink / raw)
To: emacs-orgmode
could it be 37a5020bbec1887f954ea61855e17b409ee7c5d0 that does this by
finding instead of inserting into a temp buffer?
On 12/15/20, Samuel Wales <samologist@gmail.com> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: unwanted files found by what exactly?
2020-12-16 3:14 ` Samuel Wales
@ 2020-12-17 3:35 ` Samuel Wales
0 siblings, 0 replies; 4+ messages in thread
From: Samuel Wales @ 2020-12-17 3:35 UTC (permalink / raw)
To: emacs-orgmode
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 <mail@nicolasgoaziou.fr>
Date: 2020-05-14 22:48:17 +0200
On 12/15/20, Samuel Wales <samologist@gmail.com> wrote:
> could it be 37a5020bbec1887f954ea61855e17b409ee7c5d0 that does this by
> finding instead of inserting into a temp buffer?
>
> On 12/15/20, Samuel Wales <samologist@gmail.com> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-17 3:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16 2:59 unwanted files found by what exactly? Samuel Wales
2020-12-16 3:06 ` Samuel Wales
2020-12-16 3:14 ` Samuel Wales
2020-12-17 3:35 ` Samuel Wales
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).