From: Jost Burkardt <jost.burkardt@web.de>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-org <emacs-orgmode@gnu.org>
Subject: Re: problem with org-refile remains in 5.20
Date: Thu, 07 Feb 2008 19:39:23 +0100 [thread overview]
Message-ID: <87k5lg4nms.fsf@web.de> (raw)
In-Reply-To: <D501FD9F-88C4-4145-AAF8-E5D37E262BE7@science.uva.nl> (Carsten Dominik's message of "Thu, 7 Feb 2008 08:38:28 +0100")
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 <dominik@science.uva.nl> 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
>
>
next prev parent reply other threads:[~2008-02-07 18:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-06 19:23 problem with org-refile remains in 5.20 Jost Burkardt
2008-02-07 7:38 ` Carsten Dominik
2008-02-07 18:39 ` Jost Burkardt [this message]
2008-02-08 10:43 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k5lg4nms.fsf@web.de \
--to=jost.burkardt@web.de \
--cc=dominik@science.uva.nl \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.