emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tor Kringeland <tor.kringeland@ntnu.no>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: [BUG] Avoid folding drawers using `org-clock-goto'
Date: Sun, 24 Jul 2022 01:41:45 +0000	[thread overview]
Message-ID: <m2a68zthgq.fsf@ntnu.no> (raw)
In-Reply-To: <87a68z9uhg.fsf@localhost>

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

  reply	other threads:[~2022-07-24  1:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2022-07-31  2:22     ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2a68zthgq.fsf@ntnu.no \
    --to=tor.kringeland@ntnu.no \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).