From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: [error] Capture template `m': number-or-marker-p Date: Thu, 18 Aug 2011 23:26:47 +0200 Message-ID: <80r54ipg14.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, With the update of 20 mins ago or so, that is [2011-08-18 Thu 23:00] (CET), I've got the following error when trying to use a capture template I use many times every day. --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (error "Capture template `m': number-or-marker-p") signal(error ("Capture template `m': number-or-marker-p")) error("Capture template `%s': %s" "m" number-or-marker-p) (condition-case error (org-capture-place-template) ((error quit) (if ... ...) (set-window-configuration ...) (error "Capture template `%s': %s" ... ...))) (if (equal goto 0) (org-capture-insert-template-here) (condition-case error (org-capture-place-template) (... ... ... ...)) (if (and ... ...) (condition-case nil ... ...)) (if (org-capture-get :immediate-finish) (org-capture-finalize nil))) (cond ((equal entry "C") (customize-variable ...)) ((equal entry "q") (error "Abort")) (t (org-capture-set-plist entry) (org-capture-get-template) (org-capture-put :original-buffer orig-buf :original-file ... :original-file-nondirectory ... :annotation annotation :initial initial) (org-capture-put :default-time ...) (org-capture-set-target-location) (condition-case error ... ...) (setq org-capture-clock-keep ...) (if ... ... ... ... ...))) (let* ((orig-buf ...) (annotation ...) (initial ...) (entry ...)) (when (stringp initial) (remove-text-properties 0 ... ... initial)) (when (stringp annotation) (remove-text-properties 0 ... ... annotation)) (cond (... ...) (... ...) (t ... ... ... ... ... ... ... ...))) (cond ((equal goto ...) (org-capture-goto-target)) ((equal goto ...) (org-capture-goto-last-stored)) (t (let* ... ... ... ...))) org-capture(nil) call-interactively(org-capture nil nil) --8<---------------cut here---------------end--------------->8--- FYI, the capture template in question: #+begin_src emacs-lisp (setq org-capture-templates `(("m" "Mail" entry (file+headline ,org-default-notes-file "Tasks") "* TODO %:subject%? (from %:fromname) :mail: SCHEDULED: %t %:date-timestamp-inactive #+begin_verse %i #+end_verse >From %a" :empty-lines 1 :immediate-finish))) #+end_src Best regards, Seb PS- BTW, I still don't understand how to get real data instead of those useless ellipses in the above stack trace. I've the following in my .emacs file, but it clearly seems without any effect!?? #+begin_src emacs-lisp ;; maximum depth of lists to print in the result of the evaluation commands ;; before abbreviating them: no limit (setq eval-expression-print-level nil) ;; maximum length of lists to print in the result of the evaluation commands ;; before abbreviating them: no limit (setq eval-expression-print-length nil) #+end_src -- Sebastien Vauban