emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem with org-capture
@ 2011-02-16  9:25 Chris Lowis
  2011-02-16 14:20 ` Bastien
  0 siblings, 1 reply; 18+ messages in thread
From: Chris Lowis @ 2011-02-16  9:25 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I'm having a problem with org-capture. When I M-x org-capture and then
choose a template I get:

   condition-case: Capture abort: (wrong-type-argument number-or-marker-p nil)

This is with a recent checkout of org-mode, further details below.

Any thoughts?

Chris



Emacs  : GNU Emacs 23.2.1 (x86_64-apple-darwin10.5.0, NS apple-appkit-1038.35)
 of 2011-01-31 on rd00051.local
Package: Org-mode version 7.4 (release_7.4.396.g4db5)

current state:
==============
(setq
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-speed-command-hook '(org-speed-command-default-hook
                          org-babel-speed-command-hook)
 org-agenda-custom-commands '(("d" "Deferred tasks" todo "DEFERRED" nil)
                              ("u" "Unscheduled TODO items" alltodo ""
                               ((org-agenda-skip-function
                                 (quote
                                  (org-agenda-skip-entry-if (quote deadline)
                                   (quote scheduled))
                                  )
                                 )
                                (org-agenda-overriding-header
                                 "Unscheduled TODO items:")
                                )
                               )
                              )
 org-agenda-files '("~/org/journal.org" "~/Projects/music_report/report.org")
 org-agenda-show-inherited-tags nil
 org-drill-add-random-noise-to-intervals-p t
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-capture-templates '(("d" "Done" entry
                          (file+headline "~/org/todo.org" "Tasks")
                          "* DONE %?\nSCHEDULED: %t CLOSED: %U")
                         ("t" "Todo" entry (file+datetree "~/org/journal.org")
                          "* TODO %?\n  %i\n%u")
                         ("j" "Journal" entry
                          (file+datetree "~/org/journal.org")
                          "* %U %?\n\n  %i\n")
                         ("v" "Vocab" entry
                          (file+headline "~/org/spanish.org" "")
                          "* Noun
:drill:\n\n:PROPERTIES:\n:DRILL_CARD_TYPE: twosided\n:END:\n\n
Translate this word\n\n** Spanish\n %^{Spanish}\n** English\n
%^{English} ")
                         )
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-babel-tangle-lang-exts '(("ruby" . "rb") ("emacs-lisp" . "el"))
 org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-drill-maximum-items-per-session 20
 org-tab-first-hook '(org-hide-block-toggle-maybe
                      org-src-native-tab-command-maybe
                      org-babel-hide-result-toggle-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
                     org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-learn-always-reschedule t
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-todo-keywords '((type "TODO" "WAITING" "" "DONE" "CANCELED"))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file "~/org//journal.org"
 org-directory "~/org/"
 org-capture-mode-hook '(delete-other-windows)
 org-babel-pre-tangle-hook '(save-buffer)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
                  org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-publish-project-alist '(("org-crl" :base-directory "~/blog/org/"
                              :base-extension "org" :publishing-directory
                              "~/blog/jekyll/" :recursive t :publishing-function
                              org-publish-org-to-html :headline-levels 4
                              :html-extension "html" :body-only t)
                             )
 org-export-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)
 org-drill-maximum-duration 10
 org-replace-disputed-keys t
 org-mode-hook '((lambda nil
                  (if org-drill-use-visible-cloze-face-p
                   (font-lock-add-keywords (quote org-mode)
                    org-drill-cloze-keywords t)
                   )
                  )
                 (lambda nil
                  (org-add-hook (quote change-major-mode-hook)
                   (quote org-show-block-all) (quote append) (quote local))
                  )
                 (lambda nil
                  (org-add-hook (quote change-major-mode-hook)
                   (quote org-babel-show-result-all) (quote append)
                   (quote local))
                  )
                 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-refile-targets '((org-agenda-files :tag . "project")
                      (org-agenda-files :level . 1))
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-export-interblocks '((lob org-babel-exp-lob-one-liners)
                          (src org-babel-exp-inline-src-blocks))
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp "\\<Chris Lowis\\>"
 org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
                               org-beamer-auto-fragile-frames
                               org-beamer-place-default-actions-for-lists)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-link-abbrev-alist '(("jira" . "https://jira.dev.bbc.co.uk/browse/")
                         ("google" . "http://www.google.com/search?q="))
 org-export-blocks '((src org-babel-exp-src-block nil)
                     (comment org-export-blocks-format-comment t)
                     (ditaa org-export-blocks-format-ditaa nil)
                     (dot org-export-blocks-format-dot nil))
 )

^ permalink raw reply	[flat|nested] 18+ messages in thread
* problem with org-capture
@ 2015-12-01  8:20 Eric S Fraga
  2015-12-01 20:51 ` Matt Lundin
  2015-12-01 22:22 ` Nicolas Goaziou
  0 siblings, 2 replies; 18+ messages in thread
From: Eric S Fraga @ 2015-12-01  8:20 UTC (permalink / raw)
  To: emacs-orgmode

Hello again,

at the risk of again raising an issue that is actually my fault :-(, I
am having a problem with org-capture.  I have been using the same
templates for yonks but, all of a sudden, my templates don't work.  For
instance,

#+begin_src emacs-lisp
  (setq org-capture-templates
        '(("t" "todo" entry (file+datetree "~/s/notes/tasks.org")
           "* TODO %^{Task} %^G\nSCHEDULED: %t\n%i%?")))
#+end_src

I do not get prompted for the task nor asked for tags.

I do see that there have been changes recently to org-capture and a few
emails flying by regarding recursive captures but I didn't think they
applied to my use cases...  I could be wrong.

Any pointers to what I need to change to get things working again would
be most welcome!

thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.2-355-g18f083

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

end of thread, other threads:[~2015-12-04  8:55 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16  9:25 Problem with org-capture Chris Lowis
2011-02-16 14:20 ` Bastien
  -- strict thread matches above, loose matches on Subject: below --
2015-12-01  8:20 problem " Eric S Fraga
2015-12-01 20:51 ` Matt Lundin
2015-12-01 21:35   ` Eric S Fraga
2015-12-01 22:22 ` Nicolas Goaziou
2015-12-02 12:26   ` Eric S Fraga
2015-12-02 21:24     ` Nicolas Goaziou
2015-12-02 22:57       ` Charles Millar
2015-12-03  9:02         ` Nicolas Goaziou
2015-12-03 12:12           ` Charles Millar
2015-12-03 10:02       ` Eric S Fraga
2015-12-03 17:05       ` Matt Lundin
2015-12-03 21:11         ` Mike McLean
2015-12-03 22:38           ` Nicolas Goaziou
2015-12-04  0:28             ` Charles Millar
2015-12-04  0:57             ` Mike McLean
2015-12-04  8:55             ` Eric S Fraga

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