4

I have a book list contained which will be read or had done. Like this

* English books [0/2]
  - [ ] bible
  - [ ]

When I use C-c C-c to check, is it possible to add date behind or add low level automatically.

* English books [1/2]
  - [X] bible   :03/22/2016
  - [ ]

Or

* English books [1/2]
  - [X] bible
     - DONE:03/22/2016
  - [ ]

Or

* English books [1/2]
  - [X] bible
   :PROPERTIES:
   :DONE:03/22/2016
   :END: 
  - [ ]
1

Here is one solution.

(defun date-hook-fn ()
  (goto-char (line-end-position))
  (insert (format-time-string " :%m/%d/%Y")))

(add-hook 'org-checkbox-statistics-hook 'date-hook-fn)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.