emacs-orgmode
[Top][All Lists]
Advanced

[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: Markus Hauck
Subject: Re: [O] [PATCH] Fix: allow org-refile in goto mode from everywhere
Date: Mon, 21 Apr 2014 19:59:32 +0200
User-agent: mu4e 0.9.9.6pre3; emacs 24.4.50.2

Hi Bastien,

I think you're right, sorry for any inconveniences ;)

Bastien <address@hidden> writes:

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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