From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Day Subject: Help! problem with org-capture-templates Date: Tue, 25 Sep 2012 20:14:21 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf307f39aa59153104ca8fb40b Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGfGi-0004rl-4R for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 20:14:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGfGh-0000IP-1h for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 20:14:24 -0400 Received: from mail-vb0-f41.google.com ([209.85.212.41]:35155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGfGg-0000IL-Sl for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 20:14:22 -0400 Received: by vbkv13 with SMTP id v13so22927vbk.0 for ; Tue, 25 Sep 2012 17:14:21 -0700 (PDT) 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --20cf307f39aa59153104ca8fb40b Content-Type: text/plain; charset=ISO-8859-1 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 --20cf307f39aa59153104ca8fb40b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable release_7.9.1-348-gea7baa emacs 24.2.1

When trying to apply a captur= e template, org-mode gives the error void-function org-at-encypted-entry-p<= br>
Org templates:


(setq org-capture-templates
=A0=A0=A0= =A0=A0 (quote (("t" "todo" entry (file "~/git/org-= mode/org/refile.org")
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 "* TODO %^{Task} %^G %? Add= ed: %U\n%a\n=A0 %i" :clock-in t :clock-resume t)
=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 ("n" "note" entry (file+headline = "~/git/org-mode/org/refile.org"= "")
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 "* %? :NOTE:\n%U\n%a\n=A0 %= i" :clock-in t :clock-resume t)
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 ("j" "Journal" entry (file+datetree "~/git/= org-mode/org/diary.org")
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 "* %?\n%U\n=A0 %i" :cl= ock-in t :clock-resume t)
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ("= ;w" "org-protocol" entry (file "~/git/org-mode/org/refile.org")
=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 "* TODO Review %c\n%U\n=A0 %i" :immediate-fini= sh t)
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ("p" "Phone call&quo= t; entry (file "~/git/org-mode/org/refil= e.org")
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 "* PHON= E %? :PHONE:\n%U" :clock-in t :clock-resume t)
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ("h" "Habit" en= try (file "~/git/org-mode/org/refile.org= ")
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 "* NEXT %?\n%U\n%a\nS= CHEDULED: %t .+1d/3d\n:PROPERTIES:\n:STYLE: habit\n:REPEAT_TO_STATE: NEXT\n= :END:\n=A0 %i"))))

Error:


Debugger entered--Lisp error: (void-function org-at-e= ncrypted-entry-p)
=A0 org-at-encrypted-entry-p()
=A0 org-capture-set-= target-location()
=A0 org-capture(nil)
=A0 call-interactively(org-cap= ture nil nil)

Messages:

Debug on Error enabled globally
Template key:
O= VERVIEW
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
--20cf307f39aa59153104ca8fb40b-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Help! problem with org-capture-templates Date: Tue, 25 Sep 2012 22:13:11 -0400 Message-ID: <25542.1348625591@alphaville> References: Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGh7j-0006az-6A for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 22:13:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGh7i-0007tv-7T for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 22:13:15 -0400 Received: from g4t0016.houston.hp.com ([15.201.24.19]:7160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGh7i-0007tj-2E for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 22:13:14 -0400 In-Reply-To: Message from Bill Day of "Tue\, 25 Sep 2012 20\:14\:21 EDT." 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bill Day Cc: emacs-orgmode@gnu.org Bill Day wrote: > release_7.9.1-348-gea7baa emacs 24.2.1 > ...=20 > Error: >=20 > Debugger entered--Lisp error: (void-function org-at-encrypted-entry-p) > =C2=A0 org-at-encrypted-entry-p() > =C2=A0 org-capture-set-target-location() > =C2=A0 org-capture(nil) > =C2=A0 call-interactively(org-capture nil nil) >=20 Probably a missing autoload - as a temporary workaround, add (require 'org-crypt) to your .emacs, after the point where you load org. Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Day Subject: Re: Help! problem with org-capture-templates Date: Wed, 26 Sep 2012 00:52:22 -0400 Message-ID: References: <25542.1348625591@alphaville> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d043c82209725fd04ca9396e8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGjbk-00007G-HK for emacs-orgmode@gnu.org; Wed, 26 Sep 2012 00:52:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGjbj-0002cb-D8 for emacs-orgmode@gnu.org; Wed, 26 Sep 2012 00:52:24 -0400 Received: from mail-vb0-f41.google.com ([209.85.212.41]:59114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGjbj-0002cW-7v for emacs-orgmode@gnu.org; Wed, 26 Sep 2012 00:52:23 -0400 Received: by vbkv13 with SMTP id v13so200896vbk.0 for ; Tue, 25 Sep 2012 21:52:22 -0700 (PDT) In-Reply-To: <25542.1348625591@alphaville> 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org --f46d043c82209725fd04ca9396e8 Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > Bill Day 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 --f46d043c82209725fd04ca9396e8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for your reply.=A0 I tried that and I got this:

When done wit= h 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: Befor= e first headline at position 1 in buffer refi= le.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)=
> =A0 org-at-encrypted-entry-p()
> =A0 org-capture-set-target-location()
> =A0 org-capture(nil)
> =A0 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<= br>williamson.day@gmail.com=
--f46d043c82209725fd04ca9396e8-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Help! problem with org-capture-templates Date: Wed, 26 Sep 2012 08:29:09 +0200 Message-ID: <87ipb1e1qi.fsf@bzg.ath.cx> References: <25542.1348625591@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGl7L-0007Es-3J for emacs-orgmode@gnu.org; Wed, 26 Sep 2012 02:29:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGl7J-00010H-UH for emacs-orgmode@gnu.org; Wed, 26 Sep 2012 02:29:07 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:55628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGl7J-000109-Ne for emacs-orgmode@gnu.org; Wed, 26 Sep 2012 02:29:05 -0400 Received: by wgbdt14 with SMTP id dt14so135427wgb.30 for ; Tue, 25 Sep 2012 23:29:05 -0700 (PDT) In-Reply-To: (Bill Day's message of "Wed, 26 Sep 2012 00:52:22 -0400") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bill Day Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Hi Bill, Bill Day 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