emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-refile bug? org-back-to-heading: before first heading
Date: Thu, 17 Jan 2008 12:14:09 +0100	[thread overview]
Message-ID: <E550EC11-21BA-40B7-8133-26E2AD5E637C@science.uva.nl> (raw)
In-Reply-To: <87wsq9fito.fsf@gollum.intra.norang.ca>

Same here, excellent report, just took me 5 minutes to find and fix  
the bug, thanks!

- Carsten

On Jan 17, 2008, at 12:32 AM, Bernt Hansen wrote:

> Hi Carsten,
>
> I'm playing with org-refile and in some cases it's not working for me.
>
> Here's a test.org file and minimal emacs setup you can try to use to
> reproduce the problem.
>
> Org-mode version 5.18a
> GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)  
> of 2007-11-03 on pacem, modified by Debian
>
> ,----[ ~/minimal.emacs ]
> | (global-font-lock-mode t)
> | (add-to-list 'load-path (expand-file-name "~/git/org-mode"))
> | (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
> | (require 'org-install)
> | (define-key global-map "\C-ca" 'org-agenda)
> | (custom-set-variables
> |  '(org-agenda-files (quote ("~/org/test.org"))))
> | (setq org-use-fast-todo-selection t)
> `----
>
> ,----[ test.org ]
> | #+STARTUP: contents
> | * one
> | ** TODO one-one
> | * Two
> | ** TODO Two-one
> |    SCHEDULED: <2008-01-16 Wed>
> | ** TODO Refile me to one
> `----
>
> Now do the following:
>
> $ emacs -q -l ~/minimal.emacs
>
> | Key Sequence           |  
> Description 
>                                                              |
> |------------------------ 
> + 
> -------------------------------------------------------------------------|
> | C-a a a                | Go to agenda for the  
> week                                               |
> | down arrow             | Move to scheduled task Two- 
> one                                          |
> | RETURN                 | Go to task in  
> test.org                                                  |
> | down arrow             | Go to task ** TODO Refile me to  
> one                                     |
> | C-c C-w                | org- 
> refile                                                              |
> | o TAB                  | Refile to *  
> one                                                         |
>
> I get the following error text:
>
> org-back-to-heading: before first heading
>
> If I try to move back to the org file from the agenda by hitting  
> return
> on the displayed scheduled task I get this error:
>
> call-interactively: Wrong type argument: integer-or-marker-p, nil
>
> ---
>
> If I don't display the agenda first... and just find-file to
> ~/org/test.org the org-refile works fine.
>
> Regards,
> Bernt
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2008-01-17 11:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16 23:32 org-refile bug? org-back-to-heading: before first heading Bernt Hansen
2008-01-17 11:14 ` 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=E550EC11-21BA-40B7-8133-26E2AD5E637C@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=bernt@norang.ca \
    --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 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).