From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Adam Porter <adam@alphapapa.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-clock-report/org-create-dblock breaks drawers with point on headine?
Date: Tue, 25 Apr 2017 13:29:46 +0200 [thread overview]
Message-ID: <87pog0zpw5.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87bmrkx5xg.fsf@alphapapa.net> (Adam Porter's message of "Tue, 25 Apr 2017 03:11:39 -0500")
Hello,
Adam Porter <adam@alphapapa.net> writes:
> I feel like I must be missing something obvious, but doesn't
> org-clock-report, which calls org-create-dblock, break drawers and
> planning lines when it's called with point on a heading? It inserts the
> clocktable above the existing drawers and planning line, making them
> invalid.
That's true, but so does `org-insert-drawer', for example.
I'm not a big fan of preventing users from shooting them on the foot.
Nevertheless, there are three possibilities to consider:
1. insert the dynamic block (or the drawer) at point, or below if it
would break planning line or property drawer;
2. raise an error when we try to insert it where it would break planning
line or property drawer;
3. insert it at point. Let the user sort it out as they know better than
us what they want.
Option 3 is already implemented (or is it a non-implementation?).
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2017-04-25 11:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-25 8:11 org-clock-report/org-create-dblock breaks drawers with point on headine? Adam Porter
2017-04-25 11:29 ` Nicolas Goaziou [this message]
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=87pog0zpw5.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=adam@alphapapa.net \
--cc=emacs-orgmode@gnu.org \
/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).