emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Jost Burkardt <jost.burkardt@web.de>
Cc: emacs-org <emacs-orgmode@gnu.org>
Subject: Re: problem with org-refile remains in 5.20
Date: Fri, 8 Feb 2008 11:43:01 +0100	[thread overview]
Message-ID: <92867819-9F85-4D17-BAE2-9D26500D014F@science.uva.nl> (raw)
In-Reply-To: <87k5lg4nms.fsf@web.de>


On Feb 7, 2008, at 7:39 PM, Jost Burkardt wrote:

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


Thanks, I can see it now - I am using reversed notes, so that is why I  
could
not reproduce the problem.

This is fixed in the git repository, will be in the next release.

Thanks for being persistent.

- Carsten

      reply	other threads:[~2008-02-08 10:43 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
2008-02-08 10:43     ` Carsten Dominik [this message]

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=92867819-9F85-4D17-BAE2-9D26500D014F@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=jost.burkardt@web.de \
    /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).