From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [BUG] org remember broken Date: Sun, 18 Jul 2010 11:52:51 +0200 Message-ID: References: <87zkxzdess.fsf@tux.homenetwork> <8739vjbg92.wl%dmaus@ictsoc.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=49462 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OaQYL-0003Wg-Cf for emacs-orgmode@gnu.org; Sun, 18 Jul 2010 05:52:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OaQYJ-00048b-Rw for emacs-orgmode@gnu.org; Sun, 18 Jul 2010 05:52:57 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:46290) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OaQYJ-00048R-L8 for emacs-orgmode@gnu.org; Sun, 18 Jul 2010 05:52:55 -0400 Received: by eydd26 with SMTP id d26so926882eyd.0 for ; Sun, 18 Jul 2010 02:52:54 -0700 (PDT) In-Reply-To: <8739vjbg92.wl%dmaus@ictsoc.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: emacs-orgmode@gnu.org, Thierry Volpiatto Applied, thanks. - Carsten On Jul 16, 2010, at 5:25 PM, David Maus wrote: > 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 > #) > | 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.... dmjena@jabber.org > Email..... dmaus@ictsoc.de > <0001-Don-t-throw-error-when-not-inside-a-subtree.patch> - Carsten