emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [error] Capture template `m': number-or-marker-p
@ 2011-08-18 21:26 Sebastien Vauban
  2011-08-19  8:36 ` Sebastien Vauban
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastien Vauban @ 2011-08-18 21:26 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-19  8:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-18 21:26 [error] Capture template `m': number-or-marker-p Sebastien Vauban
2011-08-19  8:36 ` Sebastien Vauban

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).