emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug: org-decrypt-entry and org-refile
@ 2010-04-19  9:26 Richard Riley
  2010-04-20  0:05 ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Riley @ 2010-04-19  9:26 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-20 13:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).