emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <carsten@orgmode.org>,
	Richard Riley <rileyrgdev@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: bug: org-decrypt-entry and org-refile
Date: Mon, 19 Apr 2010 20:05:15 -0400	[thread overview]
Message-ID: <87r5mbrnt0.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <a7kt97-fnc.ln1@news.eternal-september.org> (Richard Riley's message of "Mon\, 19 Apr 2010 11\:26\:20 +0200")

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

  reply	other threads:[~2010-04-20  0:07 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 [this message]
2010-04-20 13:37   ` Carsten Dominik

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=87r5mbrnt0.fsf@gollum.intra.norang.ca \
    --to=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).