[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [BUG] org remember broken
From: |
David Maus |
Subject: |
Re: [Orgmode] [BUG] org remember broken |
Date: |
Fri, 16 Jul 2010 17:25:45 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Carsten Dominik wrote:
>Hi Thierry,
>I cannot easily see why org-decrypt-entry is being called, and if it
>is being called in
>the remember buffer or where?
>Anyway, most of us are moving to org-capture, so I would be more
>inclined to look into this if this is still an issue in
>org-capture....
Looks like this is not a problem of org-remember. After archiving
DONE items (C-u C-c C-x C-s) I get a similar error:
,----
| Debugger entered--Lisp error: (error "Before first headline at position 1 in
buffer projects.org")
| signal(error ("Before first headline at position 1 in buffer projects.org"))
| error("Before first headline at position %d in buffer %s" 1 #<buffer
projects.org>)
| byte-code("\300\301`p#\207" [error "Before first headline at position %d in
buffer %s"] 4)
| org-back-to-heading(t)
| org-decrypt-entry()
| run-hooks(org-reveal-start-hook)
| org-reveal()
| org-advertized-archive-subtree((4))
| call-interactively(org-advertized-archive-subtree nil nil)
`----
Attached patch fixes this by modifying `org-decrypt-entry' to silently
do nothing if point is before first heading.
HTH
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden
0001-Don-t-throw-error-when-not-inside-a-subtree.patch
Description: Text document
pgpL1d1y_QOqD.pgp
Description: PGP signature