emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James TD Smith <ahktenzero@mohorovi.cc>
To: emacs-orgmode@gnu.org
Subject: Re: Incompatible change in latest push
Date: Thu, 16 Oct 2008 11:02:57 +0100	[thread overview]
Message-ID: <20081016100257.GA19032@nyarlathotep.internal.mohorovi.cc> (raw)
In-Reply-To: <DB289645-A059-4972-918F-3B1CDFAE8C33@uva.nl>

Hi Carsten,

On 2008-10-16 06:55:02(+0200), Carsten Dominik wrote:
> Hi,
>
> after a request, I just added a new variable
> `org-log-state-notes-insert-after-drawers' with default nil.
> This means that state change notes are now by default
> inserted again *before* any drawers.  This was the
> original behaviour, which changed temporarily in version 6.08.

I'm trying to figure out why anyone would want this behaviour. I first noticed
it when the clock and properties drawers in some of my org entries seemed to
disappear. After working out what was going on I decided it was a bug and wrote
a patch to fix it.

It makes no sense to me for the drawers in an entry to be swallowed up by state
change notes. The drawers are not part of the entry, not the note, and should
remain outside of the note. While having the drawers in the notes does not stop
org from finding them, it does mean that you can't tell at a glance if an entry
has clocked times or properties set as the relevant drawers will be hidden in
one of the notes and not visible when the entry is first opened.

For example, say you have a task as below:

,----
| * TODO Test
|   SCHEDULED: <2008-10-16 Wed +1d>
|   :PROPERTIES:
|   :LOGGING:  lognoterepeat
|   :EFFORT:   2:00
|   :OtherProperty: fish
|   :END:
`----

When the entry is initially opened it appear as below:

,----
| * TODO Test
|   SCHEDULED: <2008-10-16 Wed +1d>
|   :PROPERTIES:...
`----

If filing notes before drawers is enabled, the first time this is marked done
the properties drawer will be included in the note, so the next time the user
looks at it they will see this:

,----
| * TODO Test
|   SCHEDULED: <2008-10-17 Wed +1d>
|   - State "DONE"       [2008-10-16 Thu 10:45]...
`----
 
I imagine new org users will find it confusing when adding a note to an entry
makes their drawers appear to vanish. It confused me and I've been using org for
quite a while.

I have no problem with keeping this a configurable option so anyone who wants
the old behaviour can have it, but I think the default should be t.

James

--
|-<James TD Smith>-<email/ahktenzero@mohorovi.cc>-|

  reply	other threads:[~2008-10-16 10:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16  4:55 Incompatible change in latest push Carsten Dominik
2008-10-16 10:02 ` James TD Smith [this message]
2008-10-16 11:21   ` Carsten Dominik
2008-10-16 12:28     ` Bernt Hansen
2008-10-16 14:23       ` James TD Smith
2008-10-16 14:58         ` Carsten Dominik
2008-10-16 15:34         ` Sebastian Rose
2008-10-16 15:40         ` Bernt Hansen

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=20081016100257.GA19032@nyarlathotep.internal.mohorovi.cc \
    --to=ahktenzero@mohorovi.cc \
    --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).