emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: org-clone-subtree-with-time-shift not asking for time-shift


From: Nicolas Goaziou
Subject: Re: [O] Bug: org-clone-subtree-with-time-shift not asking for time-shift
Date: Tue, 17 Jan 2017 09:54:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello,

Karl Voit <address@hidden> writes:

> * Kyle Meyer <address@hidden> wrote:
>>
>> Thanks.  The additional check looks good, as it replaces an error with a
>> more appropriate user-error and gives an error message that is a bit
>> more specific.
>>
>> However, the re-positioning of the org-back-to-heading call seems
>> problematic because the call is now wrapped in a save-excursion, but the
>> downstream code expects point to be at the beginning of the heading.
>>
>> When I call org-clone-subtree-with-time-shift with point at the end of
>>
>>     *** heading <2017-02-28 Wed>
>> I get the following error:
>>     Debugger entered--Lisp error: (error "Before first headline at position 
>> 1 in buffer  *temp*")
> [...]
>> I think this is because beg isn't set to the beginning of the heading.
>>
>> But given Karl's recent email saying that the changes in maint fixed his
>> test cases, maybe I'm missing something ...
>
> I have to excuse myself: I tested not good enough: I only tested my
> cases for being asked for the time-shift and not finished executing
> the cases.
>
> You're right, I can confirm your issue. I get "Before first headline
> at position 1 in buffer  *temp*" as well.

Fixed (hopefully) this time.

Thank you.

Regards,

-- 
Nicolas Goaziou



reply via email to

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