Bernt Hansen <be...@norang.ca> writes: > Carsten Dominik <domi...@science.uva.nl> writes: > >> Here are your options: >> >> 1. Leave an empty line after the heading, before you list >> >> 2. The most robust may be to use >> >> (setq org-clock-into-drawer t) >> >> which will create the drawer immediately, already for >> the first clock entry. > > Hi Carsten, > > I'll change my setting from 2 to this as well. > > I tried using the customize interface to set this to 't' and it > complains that it is expecting an integer. So I set it to 1 which I > assume means the same as t in this case (I didn't check the code to > prove that though).
Okay that doesn't work for me I have the following setup for clocking phone calls which are started by a remember template with :CLOCK-IN: in the text of the template ,----[ .emacs ] | (add-hook 'remember-mode-hook 'my-start-clock-if-needed 'append) | | (defun my-start-clock-if-needed () | (save-excursion | (goto-char (point-min)) | (when (re-search-forward " *:CLOCK-IN: *" nil t) | (replace-match "") | (org-clock-in)))) | `---- That breaks with org-clock-into-drawer set to 1 with the following error ,---- | org-clock-find-position: Wrong type argument: integer-or-marker-p, nil `---- I don't have time to dig into this more right now so I've just reverted back to the default for this variable. -Bernt _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode