emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Avoid folding drawers using `org-clock-goto'
@ 2022-07-23 22:37 Tor Kringeland
  2022-07-24  1:20 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Tor Kringeland @ 2022-07-23 22:37 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

When calling `org-clock-goto' the drawers of the heading it goes to are
closed, if they're open.

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

* Re: [BUG] Avoid folding drawers using `org-clock-goto'
  2022-07-23 22:37 [BUG] Avoid folding drawers using `org-clock-goto' Tor Kringeland
@ 2022-07-24  1:20 ` Ihor Radchenko
  2022-07-24  1:41   ` Tor Kringeland
  0 siblings, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2022-07-24  1:20 UTC (permalink / raw)
  To: Tor Kringeland; +Cc: emacs-orgmode@gnu.org

Tor Kringeland <tor.kringeland@ntnu.no> writes:

> When calling `org-clock-goto' the drawers of the heading it goes to are
> closed, if they're open.

It may or may not be a bug depending on your preferences.
Though we indeed changed this default as a side effect of other change.
See https://orgmode.org/list/87tu9tpnbt.fsf@localhost

Could you please elaborate why you prefer not folding drawers in
`org-clock-goto'?

Best,
Ihor


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

* Re: [BUG] Avoid folding drawers using `org-clock-goto'
  2022-07-24  1:20 ` Ihor Radchenko
@ 2022-07-24  1:41   ` Tor Kringeland
  2022-07-31  2:22     ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Tor Kringeland @ 2022-07-24  1:41 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode@gnu.org

Ihor Radchenko <yantar92@gmail.com> writes:

> Could you please elaborate why you prefer not folding drawers in
> `org-clock-goto'?

If I already unfolded a drawer (for example with notes), then I want to
keep it open, at least as long as the heading itself is unfolded.  For
example if I have

#+begin_example
* some text
  :LOGBOOK:
  CLOCK: [2022-07-24 Sun 03:33]
  - Note taken on [2022-07-24 Sun 03:33] \\
    a note
  :END:
#+end_example

and I jump back to this (unfolded) heading, I want to have the same
overview.  Currently `org-clock-goto' folds the drawer, so instead I get

#+begin_example
* some text
  :LOGBOOK:...
#+end_example

which is unexpected.  If someone wants this behavior I think it'd be
more prudent to add it to `org-clock-goto-hook'.

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

* Re: [BUG] Avoid folding drawers using `org-clock-goto'
  2022-07-24  1:41   ` Tor Kringeland
@ 2022-07-31  2:22     ` Ihor Radchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Ihor Radchenko @ 2022-07-31  2:22 UTC (permalink / raw)
  To: Tor Kringeland; +Cc: emacs-orgmode@gnu.org

Tor Kringeland <tor.kringeland@ntnu.no> writes:

> Ihor Radchenko <yantar92@gmail.com> writes:
>
>> Could you please elaborate why you prefer not folding drawers in
>> `org-clock-goto'?
>
> If I already unfolded a drawer (for example with notes), then I want to
> keep it open, at least as long as the heading itself is unfolded.

Should be fixed on main now.

Best,
Ihor


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

end of thread, other threads:[~2022-07-31  2:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-23 22:37 [BUG] Avoid folding drawers using `org-clock-goto' Tor Kringeland
2022-07-24  1:20 ` Ihor Radchenko
2022-07-24  1:41   ` Tor Kringeland
2022-07-31  2:22     ` Ihor Radchenko

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