From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: bug: org-decrypt-entry and org-refile Date: Mon, 19 Apr 2010 11:26:20 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3nJ6-0000UJ-Bw for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 05:30:20 -0400 Received: from [140.186.70.92] (port=35492 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3nJ4-0000TT-QR for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 05:30:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3nIz-0004Th-BH for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 05:30:17 -0400 Received: from lo.gmane.org ([80.91.229.12]:45300) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3nIz-0004T3-5K for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 05:30:13 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O3nIv-0001i0-TN for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 11:30:09 +0200 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Apr 2010 11:30:09 +0200 Received: from rileyrgdev by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Apr 2010 11:30:09 +0200 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: emacs-orgmode@gnu.org If I create a new org-item using the following "web" template (from the firefox browser or from within emacs itself) ("bookmarks" 119 "* %T %c %i" "bookmarks.org" top nil) and then attempt to refile from within the creation *remember* buffer using C-c C-w I get:- ,---- | Debugger entered--Lisp error: (error "Before first headline at position 375 in buffer *Remember*") | signal(error ("Before first headline at position 375 in buffer *Remember*")) | error("Before first headline at position %d in buffer %s" 375 #) | byte-code("ÀÁ`p#‡" [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-refile(nil) | call-interactively(org-refile nil nil) `---- Simply removing the org-reveal from the org-refile call fixes this but I suspect some deeper work probably needs to be done in the org-refile part to make the code aware that the remember buffer is not the one to be concerned about after the refile so that org-back-to-heading works. regards r.