On Tue, 23 Dec 2025 at 17:27, Ihor Radchenko wrote:

> Roland Fehrenbacher writes:
>
> > using org-mode 9.7.39 emacs 30.2 I have defined clock entries to go into
> a
> > CLOCK drawer with
> > (setq org-clock-into-drawer "CLOCK")
> >
> > When on a head-line and executing org-clock-in everything works as
> > expected, the CLOCK drawer remains unfolded and the clock entry goes in
> > there. However, when I press 'O' (org-agenda-clock-in) in the agenda to
> > clock in  for a head-line from there, in addition, to adding an entry
> into
> > the CLOCK drawer, the drawer also is unfolded. This is pretty annoying,
> > especially when there are many entries in the drawer. Is there anyway to
> > prevent this? Have been searching and experimenting unsuccessfully for
> > hours ...
>
> See `org-fold-show-context-detail'


Many thanks for the quick reply. I tried with
org-fold-show-context-detail as
((agenda . minimal) (bookmark-jump . lineage) (isearch . lineage) (default
. ancestors))
but didn't make any difference. So I ended up to bind my own
modified org-agenda-clock-in with
(org-fold-show-context 'agenda)
removed.

Reply via email to