5

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 Answer 1

2

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)
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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