From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: bug: org-decrypt-entry and org-refile Date: Mon, 19 Apr 2010 20:05:15 -0400 Message-ID: <87r5mbrnt0.fsf@gollum.intra.norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O40zY-0003pz-92 for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 20:07:04 -0400 Received: from [140.186.70.92] (port=46946 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O40z2-0003ao-6R for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 20:07:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O40y2-0004i7-Nw for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 20:05:33 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:55363) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O40y2-0004gP-La for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 20:05:30 -0400 In-Reply-To: (Richard Riley's message of "Mon\, 19 Apr 2010 11\:26\:20 +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: Carsten Dominik , Richard Riley Cc: emacs-orgmode@gnu.org That was me trying to make things better and failing miserably :) Carsten: Please revert commit a30955. This also fixes the same message when I refile the last entry out of refile.org so that it has only the #+FILETAGS: line left. Thanks, Bernt Richard Riley writes: > 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 usi= ng 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 *Remem= ber*")) > | error("Before first headline at position %d in buffer %s" 375 #) > | byte-code("=01`p#=C2=87" [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. > > > > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode