From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Li Subject: Should org-insert-todo-heading be a state change? Date: Thu, 13 Jul 2017 23:51:16 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVuRc-0007Cm-9n for emacs-orgmode@gnu.org; Fri, 14 Jul 2017 02:51:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVuRb-0002Dh-LI for emacs-orgmode@gnu.org; Fri, 14 Jul 2017 02:51:20 -0400 Received: from mail-qk0-x232.google.com ([2607:f8b0:400d:c09::232]:34909) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVuRb-0002D5-Gd for emacs-orgmode@gnu.org; Fri, 14 Jul 2017 02:51:19 -0400 Received: by mail-qk0-x232.google.com with SMTP id p73so5195029qka.2 for ; Thu, 13 Jul 2017 23:51:17 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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.