all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Allen Li <vianchielfaura@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Should org-insert-todo-heading be a state change?
Date: Thu, 13 Jul 2017 23:51:16 -0700	[thread overview]
Message-ID: <CAJr1M6ehBcA_oBgjm_yo+X9T31+PyeY8O1XF=MFBFehF-f+b1Q@mail.gmail.com> (raw)

Org mode allows logging timestamps and making notes when changing to a
TODO keyword:

   TODO(!) | DONE(!)

However, org-insert-todo-heading does not respect this.

I'm wondering whether it should.  For example, given the above
keywords, the intent would most likely be to log when TODO headings
are created and when they are marked finished.

If one were to create a heading and mark it TODO using C-c C-t, then
the state change would be logged.  In other words, making a heading a
TODO entry is considered a state change from " " to "some todo
keyword".

However, if one were to use C-S-RET, the new TODO heading would not
have a timestamp logged.

I can't think of a situation where the current behavior is desirable,
so I am inclined to think that treating the creation of a TODO heading
as a state change from a normal heading to a TODO heading would be
more convenient.

             reply	other threads:[~2017-07-14  6:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-14  6:51 Allen Li [this message]
2017-07-14  9:22 ` Should org-insert-todo-heading be a state change? Nicolas Goaziou

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

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

  git send-email \
    --in-reply-to='CAJr1M6ehBcA_oBgjm_yo+X9T31+PyeY8O1XF=MFBFehF-f+b1Q@mail.gmail.com' \
    --to=vianchielfaura@gmail.com \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.