emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@gmail.com>
To: emacs-orgmode@gnu.org
Subject: bug: org-decrypt-entry and org-refile
Date: Mon, 19 Apr 2010 11:26:20 +0200	[thread overview]
Message-ID: <a7kt97-fnc.ln1@news.eternal-september.org> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1102 bytes --]


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("ÀÁ`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.

             reply	other threads:[~2010-04-19  9:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-19  9:26 Richard Riley [this message]
2010-04-20  0:05 ` bug: org-decrypt-entry and org-refile Bernt Hansen
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=a7kt97-fnc.ln1@news.eternal-september.org \
    --to=rileyrgdev@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).