emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [error] Capture template `m': number-or-marker-p


From: Sebastien Vauban
Subject: Re: [O] [error] Capture template `m': number-or-marker-p
Date: Fri, 19 Aug 2011 10:36:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

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

This seems closed with the last git of this morning (past-09:42).

Thanks!

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]