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

* Re: bug: org-decrypt-entry and org-refile
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Bernt Hansen @ 2010-04-20  0:05 UTC (permalink / raw)
  To: Carsten Dominik, Richard Riley; +Cc: emacs-orgmode

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

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

* Re: bug: org-decrypt-entry and org-refile
  2010-04-20  0:05 ` Bernt Hansen
@ 2010-04-20 13:37   ` Carsten Dominik
  0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2010-04-20 13:37 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Richard Riley, Carsten Dominik, emacs-orgmode

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

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