From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: bug: org-decrypt-entry and org-refile Date: Tue, 20 Apr 2010 15:37:57 +0200 Message-ID: <507E332D-C413-49AD-870D-27AEFE49BB62@gmail.com> References: <87r5mbrnt0.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4DpN-0004V0-Ay for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 09:49:25 -0400 Received: from [140.186.70.92] (port=50073 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4DpA-0003xw-1g for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 09:49:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4DeJ-0004Qy-R6 for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 09:38:01 -0400 Received: from ey-out-1920.google.com ([74.125.78.148]:29300) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4DeJ-0004Qn-Mc for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 09:37:59 -0400 Received: by ey-out-1920.google.com with SMTP id 4so387385eyg.34 for ; Tue, 20 Apr 2010 06:37:58 -0700 (PDT) In-Reply-To: <87r5mbrnt0.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: Richard Riley , Carsten Dominik , emacs-orgmode@gnu.org Reverted, thanks. - Carsten On Apr 20, 2010, at 2:05 AM, Bernt Hansen wrote: > 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 =20= >> 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* =20 >> buffer using C-c C-w I get:- >> >> ,---- >> | Debugger entered--Lisp error: (error "Before first headline at =20 >> position 375 in buffer *Remember*") >> | signal(error ("Before first headline at position 375 in buffer =20= >> *Remember*")) >> | error("Before first headline at position %d in buffer %s" 375 =20 >> #) >> | byte-code("=01`p#=87" [error "Before first headline at position = %d =20 >> 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 =20= >> 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 =20= >> 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 - Carsten