all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Help! problem with org-capture-templates
@ 2012-09-26  0:14 Bill Day
  2012-09-26  2:13 ` Nick Dokos
  0 siblings, 1 reply; 4+ messages in thread
From: Bill Day @ 2012-09-26  0:14 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1600 bytes --]

release_7.9.1-348-gea7baa emacs 24.2.1

When trying to apply a capture template, org-mode gives the error
void-function org-at-encypted-entry-p

Org templates:


(setq org-capture-templates
      (quote (("t" "todo" entry (file "~/git/org-mode/org/refile.org")
               "* TODO %^{Task} %^G %? Added: %U\n%a\n  %i" :clock-in t
:clock-resume t)
              ("n" "note" entry (file+headline "~/git/org-mode/org/
refile.org" "")
               "* %? :NOTE:\n%U\n%a\n  %i" :clock-in t :clock-resume t)
              ("j" "Journal" entry (file+datetree "~/git/org-mode/org/
diary.org")
               "* %?\n%U\n  %i" :clock-in t :clock-resume t)
              ("w" "org-protocol" entry (file "~/git/org-mode/org/refile.org
")
               "* TODO Review %c\n%U\n  %i" :immediate-finish t)
              ("p" "Phone call" entry (file "~/git/org-mode/org/refile.org")
               "* PHONE %? :PHONE:\n%U" :clock-in t :clock-resume t)
              ("h" "Habit" entry (file "~/git/org-mode/org/refile.org")
            "* NEXT %?\n%U\n%a\nSCHEDULED: %t
.+1d/3d\n:PROPERTIES:\n:STYLE: habit\n:REPEAT_TO_STATE: NEXT\n:END:\n
%i"))))

Error:


Debugger entered--Lisp error: (void-function org-at-encrypted-entry-p)
  org-at-encrypted-entry-p()
  org-capture-set-target-location()
  org-capture(nil)
  call-interactively(org-capture nil nil)

Messages:

Debug on Error enabled globally
Template key:
OVERVIEW
Restoring clock data
Loading /home/billday/.emacs.d/org-clock-save.el (source)...done
OVERVIEW
Loading vc-git...done
OVERVIEW
Entering debugger...




-- 
Bill Day
williamson.day@gmail.com

[-- Attachment #2: Type: text/html, Size: 2260 bytes --]

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

* Re: Help! problem with org-capture-templates
  2012-09-26  0:14 Help! problem with org-capture-templates Bill Day
@ 2012-09-26  2:13 ` Nick Dokos
  2012-09-26  4:52   ` Bill Day
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2012-09-26  2:13 UTC (permalink / raw)
  To: Bill Day; +Cc: emacs-orgmode

Bill Day <williamson.day@gmail.com> wrote:

> release_7.9.1-348-gea7baa emacs 24.2.1
> ... 
> Error:
> 
> Debugger entered--Lisp error: (void-function org-at-encrypted-entry-p)
>   org-at-encrypted-entry-p()
>   org-capture-set-target-location()
>   org-capture(nil)
>   call-interactively(org-capture nil nil)
> 

Probably a missing autoload - as a temporary workaround, add

(require 'org-crypt)

to your .emacs, after the point where you load org.

Nick

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

* Re: Help! problem with org-capture-templates
  2012-09-26  2:13 ` Nick Dokos
@ 2012-09-26  4:52   ` Bill Day
  2012-09-26  6:29     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Bill Day @ 2012-09-26  4:52 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]

Thanks for your reply.  I tried that and I got this:

When done with this frame, type C-x 5 0
Template key:
OVERVIEW
Restoring clock data
Loading /home/billday/.emacs.d/org-clock-save.el (source)...done
OVERVIEW
Loading vc-git...done
OVERVIEW [3 times]
byte-code: Before first headline at position 1 in buffer refile.org

On Tue, Sep 25, 2012 at 10:13 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:

> Bill Day <williamson.day@gmail.com> wrote:
>
> > release_7.9.1-348-gea7baa emacs 24.2.1
> > ...
> > Error:
> >
> > Debugger entered--Lisp error: (void-function org-at-encrypted-entry-p)
> >   org-at-encrypted-entry-p()
> >   org-capture-set-target-location()
> >   org-capture(nil)
> >   call-interactively(org-capture nil nil)
> >
>
> Probably a missing autoload - as a temporary workaround, add
>
> (require 'org-crypt)
>
> to your .emacs, after the point where you load org.
>
> Nick
>



-- 
Bill Day
williamson.day@gmail.com

[-- Attachment #2: Type: text/html, Size: 1546 bytes --]

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

* Re: Help! problem with org-capture-templates
  2012-09-26  4:52   ` Bill Day
@ 2012-09-26  6:29     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2012-09-26  6:29 UTC (permalink / raw)
  To: Bill Day; +Cc: nicholas.dokos, emacs-orgmode

Hi Bill,

Bill Day <williamson.day@gmail.com> writes:

> Thanks for your reply.  I tried that and I got this:
>
> When done with this frame, type C-x 5 0
> Template key:
> OVERVIEW
> Restoring clock data
> Loading /home/billday/.emacs.d/org-clock-save.el (source)...done
> OVERVIEW
> Loading vc-git...done
> OVERVIEW [3 times]
> byte-code: Before first headline at position 1 in buffer refile.org

This should now be fixed, thanks.

-- 
 Bastien

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

end of thread, other threads:[~2012-09-26  6:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-26  0:14 Help! problem with org-capture-templates Bill Day
2012-09-26  2:13 ` Nick Dokos
2012-09-26  4:52   ` Bill Day
2012-09-26  6:29     ` Bastien

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.