emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-clock-in opens buffers for all agenda files
@ 2023-01-21 17:44 Tom Gillespie
  2023-01-21 18:04 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Gillespie @ 2023-01-21 17:44 UTC (permalink / raw)
  To: emacs-orgmode

I just tried to clock in to a task for the first time
in ... a while, and was immediately accosted with
hundreds of buffers being opened.

This seems to be because org-clock-in somehow
calls org-agenda or org-agenda-prepare or something
similar, however I cannot find the call site.

Is there a way to disable this so that clocking does not
destroy my emacs buffer state by starting org-agenda?

Thanks!
Tom


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] org-clock-in opens buffers for all agenda files
  2023-01-21 17:44 [BUG] org-clock-in opens buffers for all agenda files Tom Gillespie
@ 2023-01-21 18:04 ` Ihor Radchenko
  2023-01-21 18:24   ` Tom Gillespie
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2023-01-21 18:04 UTC (permalink / raw)
  To: Tom Gillespie; +Cc: emacs-orgmode

Tom Gillespie <tgbugs@gmail.com> writes:

> I just tried to clock in to a task for the first time
> in ... a while, and was immediately accosted with
> hundreds of buffers being opened.

This is because Org is checking if you have any dangling clocks present.

>
> Is there a way to disable this so that clocking does not
> destroy my emacs buffer state by starting org-agenda?

See org-clock-auto-clock-resolution

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] org-clock-in opens buffers for all agenda files
  2023-01-21 18:04 ` Ihor Radchenko
@ 2023-01-21 18:24   ` Tom Gillespie
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Gillespie @ 2023-01-21 18:24 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

> This is because Org is checking if you have any dangling clocks present.

Seems like a reasonable default.

> See org-clock-auto-clock-resolution

Perfect solution for my case. Thanks!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-21 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-21 17:44 [BUG] org-clock-in opens buffers for all agenda files Tom Gillespie
2023-01-21 18:04 ` Ihor Radchenko
2023-01-21 18:24   ` Tom Gillespie

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).