[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Fix: allow org-refile in goto mode from everywhere
From: |
Bastien |
Subject: |
Re: [O] [PATCH] Fix: allow org-refile in goto mode from everywhere |
Date: |
Sun, 20 Apr 2014 08:04:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Hi Markus,
Markus Hauck <address@hidden> writes:
> It seems like org-refile with the goto argument is no longer allowed
> From non org-mode buffers.
I reverted your patch.
> In commit 49da67d the condition was changed from:
>
> (unless goto ...)
>
> to:
>
> (unless (and goto (listp goto)) ...)
>
> where the condition of unless is only true for non-empty lists.
That's in fact on purpose. If you want to use org-refile to go to
a location, use (org-refile '(4)), the '(4) emulates the universal
prefix argument. Note that
With your patch, the prompt for org-refile (as (org-refile nil))
was asking "Goto: " because (listp nil) is `t'.
Let me know if I missed something.
--
Bastien