emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: [Bug] Movement of C-a under visible-mode


From: Bernt Hansen
Subject: [Orgmode] Re: [Bug] Movement of C-a under visible-mode
Date: Wed, 16 Jun 2010 17:25:20 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)


Sébastien Vauban <address@hidden>
writes:

> Hi Bernt,
>
> Bernt Hansen wrote:
>> Sébastien Vauban writes:
>>>
>>> I'm reporting some movement problem I've observed. When on any line, let's
>>> say the last clock one:
>>>
>>> - `C-e' moves the cursor to the end of it
>>> - `C-a' moves the cursor at the level of `LOGBOOK'.
>>>
>>> --8<---------------cut here---------------start------------->8---
>>> **** Emails and News
>>>      :PROPERTIES:
>>>      :ID:       62849012-ae7a-4885-a552-b34516d3fd06
>>>      :Effort:   1:00
>>>      :END:
>>>      :LOGBOOK:
>>>      CLOCK: [2010-06-01 Tue 08:35]--[2010-06-01 Tue 09:20] =>  0:45
>>>      CLOCK: [2010-06-03 Thu 09:25]--[2010-06-03 Thu 10:20] =>  0:55
>>>      CLOCK: [2010-06-11 Fri 09:15]--[2010-06-11 Fri 10:00] =>  0:45
>>>      CLOCK: [2010-06-14 Mon 09:15]--[2010-06-14 Mon 10:10] =>  0:55
>>>      :END:
>>> --8<---------------cut here---------------end--------------->8---
>>>
>>> This is -- at least -- true whenever `M-x visible-mode' is enabled.
>>
>> I saw something similar to this recently but for me C-a would go back to the
>> headline. Restarting emacs fixed it for me.
>
> I'm experiencing always, when enabling visible-mode. Even after an Emacs
> restart.
>
> I must admit it's not always going to the LOGBOOK line, even mainly there.
>
> Anyway, `C-a' is not anymore symmetric to `C-e'. Do you agree it's a
> bug?

Yes it feels wrong.  The problem seems to be that if you are visiting a
clocking line from log mode in the agenda you end up inside the folded
drawer the clock line is on.  I think what should really happen is that
line should be revealed.  If you didn't enable visible mode then C-a
would go to the beginning of the drawer which makes sense to me -- and
seems to be what is it currently doing.

I think we just need to reveal the clock drawer data if you visit it
from the agenda and that should fix the problem you are experiencing.

The other option is change C-a so that it notices that visible mode is
enabled and just navigates on the current line.

-Bernt





reply via email to

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