emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: Richard Riley <rileyrgdev@gmail.com>,
	Carsten Dominik <carsten@orgmode.org>,
	emacs-orgmode@gnu.org
Subject: Re: bug: org-decrypt-entry and org-refile
Date: Tue, 20 Apr 2010 15:37:57 +0200	[thread overview]
Message-ID: <507E332D-C413-49AD-870D-27AEFE49BB62@gmail.com> (raw)
In-Reply-To: <87r5mbrnt0.fsf@gollum.intra.norang.ca>

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 <rileyrgdev@gmail.com> 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 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  
>> #<buffer *Remember*>)
>> |   byte-code("\x01`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.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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

      reply	other threads:[~2010-04-20 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-19  9:26 bug: org-decrypt-entry and org-refile Richard Riley
2010-04-20  0:05 ` Bernt Hansen
2010-04-20 13:37   ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=507E332D-C413-49AD-870D-27AEFE49BB62@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=bernt@norang.ca \
    --cc=carsten@orgmode.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrgdev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).