emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] problem with org-refile remains in 5.20


From: Jost Burkardt
Subject: Re: [Orgmode] problem with org-refile remains in 5.20
Date: Thu, 07 Feb 2008 19:39:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

I think the reason, I get this behaviour is the following code in
org-refile:
...
(goto-char (or (save-excursion
                 (if reversed
                     (outline-next-heading)
                   (outline-get-next-sibling)))
               (point-max))) 
...

before org-refile moves the point to the correct position, as I have not
set `reversed', outline-get-next-sibling is called, as there is no
sibling to "*** Notes" the point is moved to "** B", but the call
returns nil, so finally (point-max) moves to the end of the file.

So the similar "*** Notes"-item below Project B was misleading me. Can
you reproduce this one? 

I tested it on:
GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2007-12-31 on 
wodka
Org-mode version 5.21

--
 Jost

Carsten Dominik <address@hidden> writes:

> I cannot reproduce this problem anymore, it works fine for me.
> Could someone else please try?
>
> - Carsten
>
> On Feb 6, 2008, at 8:23 PM, Jost Burkardt wrote:
>
>> Hi,
>>
>> org-refile still does not work correctly for me. it seems that the
>> refiling-bug from 5.19 still remains in 5.20. When refiling the entry
>> "something to refile to Project/A/Notes" to "Project/A/Notes",
>> org-refile sitll puts it to "Project/B/Notes" instead to "Project/A/
>> Notes"
>>
>>
>> ----- BEGIN TEST.org ---
>> * Stuff
>> ** something to refile to Project/A/Notes
>> * Projects
>> ** A
>> *** Notes
>> ** B
>> *** Notes
>> ----- END TEST.org -----
>>
>> --
>> Jost
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]