emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Bug] Movement of C-a under visible-mode
@ 2010-06-15  7:29 Sébastien Vauban
  2010-06-15 11:31 ` Bernt Hansen
  2010-06-25  6:23 ` Carsten Dominik
  0 siblings, 2 replies; 6+ messages in thread
From: Sébastien Vauban @ 2010-06-15  7:29 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

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-02 Wed 09:10]--[2010-06-02 Wed 10:20] =>  1:10
     CLOCK: [2010-06-03 Thu 09:25]--[2010-06-03 Thu 10:20] =>  0:55
     CLOCK: [2010-06-04 Fri 09:00]--[2010-06-04 Fri 10:00] =>  1:00
     CLOCK: [2010-06-07 Mon 09:05]--[2010-06-07 Mon 10:25] =>  1:20
     CLOCK: [2010-06-08 Tue 09:05]--[2010-06-08 Tue 10:30] =>  1:25
     CLOCK: [2010-06-09 Wed 09:05]--[2010-06-09 Wed 10:20] =>  1:15
     CLOCK: [2010-06-10 Thu 09:05]--[2010-06-10 Thu 10:20] =>  1:15
     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.

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bug] Movement of C-a under visible-mode
  2010-06-15  7:29 [Bug] Movement of C-a under visible-mode Sébastien Vauban
@ 2010-06-15 11:31 ` Bernt Hansen
  2010-06-16 20:40   ` Sébastien Vauban
  2010-06-25  6:23 ` Carsten Dominik
  1 sibling, 1 reply; 6+ messages in thread
From: Bernt Hansen @ 2010-06-15 11:31 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



Sébastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
writes:

> Hello,
>
> 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-02 Wed 09:10]--[2010-06-02 Wed 10:20] =>  1:10
>      CLOCK: [2010-06-03 Thu 09:25]--[2010-06-03 Thu 10:20] =>  0:55
>      CLOCK: [2010-06-04 Fri 09:00]--[2010-06-04 Fri 10:00] =>  1:00
>      CLOCK: [2010-06-07 Mon 09:05]--[2010-06-07 Mon 10:25] =>  1:20
>      CLOCK: [2010-06-08 Tue 09:05]--[2010-06-08 Tue 10:30] =>  1:25
>      CLOCK: [2010-06-09 Wed 09:05]--[2010-06-09 Wed 10:20] =>  1:15
>      CLOCK: [2010-06-10 Thu 09:05]--[2010-06-10 Thu 10:20] =>  1:15
>      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.
>
> Best regards,
>   Seb

I saw something similar to this recently but for me C-a would go back to
the headline.  Restarting emacs fixed it for me.

-Bernt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bug] Movement of C-a under visible-mode
  2010-06-15 11:31 ` Bernt Hansen
@ 2010-06-16 20:40   ` Sébastien Vauban
  2010-06-16 21:25     ` Bernt Hansen
  0 siblings, 1 reply; 6+ messages in thread
From: Sébastien Vauban @ 2010-06-16 20:40 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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?

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bug] Movement of C-a under visible-mode
  2010-06-16 20:40   ` Sébastien Vauban
@ 2010-06-16 21:25     ` Bernt Hansen
  0 siblings, 0 replies; 6+ messages in thread
From: Bernt Hansen @ 2010-06-16 21:25 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



Sébastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bug] Movement of C-a under visible-mode
  2010-06-15  7:29 [Bug] Movement of C-a under visible-mode Sébastien Vauban
  2010-06-15 11:31 ` Bernt Hansen
@ 2010-06-25  6:23 ` Carsten Dominik
  2010-06-28  8:52   ` Sébastien Vauban
  1 sibling, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2010-06-25  6:23 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode

Hi,

I have fixed this, at least for the case when it is caused by visible- 
mode.

Cheers

- Carsten

On Jun 15, 2010, at 9:29 AM, Sébastien Vauban wrote:

> Hello,
>
> 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-02 Wed 09:10]--[2010-06-02 Wed 10:20] =>  1:10
>     CLOCK: [2010-06-03 Thu 09:25]--[2010-06-03 Thu 10:20] =>  0:55
>     CLOCK: [2010-06-04 Fri 09:00]--[2010-06-04 Fri 10:00] =>  1:00
>     CLOCK: [2010-06-07 Mon 09:05]--[2010-06-07 Mon 10:25] =>  1:20
>     CLOCK: [2010-06-08 Tue 09:05]--[2010-06-08 Tue 10:30] =>  1:25
>     CLOCK: [2010-06-09 Wed 09:05]--[2010-06-09 Wed 10:20] =>  1:15
>     CLOCK: [2010-06-10 Thu 09:05]--[2010-06-10 Thu 10:20] =>  1:15
>     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.
>
> Best regards,
>  Seb
>
> -- 
> Sébastien Vauban
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bug] Movement of C-a under visible-mode
  2010-06-25  6:23 ` Carsten Dominik
@ 2010-06-28  8:52   ` Sébastien Vauban
  0 siblings, 0 replies; 6+ messages in thread
From: Sébastien Vauban @ 2010-06-28  8:52 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Carsten,

> I have fixed this, at least for the case when it is caused by visible-
> mode.

TTF: Tested, Thanks, Fixed.

Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-28  8:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-15  7:29 [Bug] Movement of C-a under visible-mode Sébastien Vauban
2010-06-15 11:31 ` Bernt Hansen
2010-06-16 20:40   ` Sébastien Vauban
2010-06-16 21:25     ` Bernt Hansen
2010-06-25  6:23 ` Carsten Dominik
2010-06-28  8:52   ` Sébastien Vauban

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