Re: [O] Interaction between org-special-ctrl-a/e and visual-line-mode in Org 9.2?

2019-01-22 Thread John Hutchinson

Thanks for helping me understand this.

For now, I think I'll just add a hook to "org-mode-hook" that rebinds 
"C-a" and "C-e" to their "org-" instances.


I'm not sure that this is a totally satisfactory solution, but I think 
it will work for me in the short-term at least.


Thanks again for your help,
=John

On 1/21/2019 14:56, Nicolas Goaziou wrote:

Hello,

John Hutchinson  writes:


Under org 9.1 (which works as expected), C-e is bound to "org-end-of-line".

In org 9.2 (which does not work as expected) it's bound to
"end-of-visual-line".

In Org 9.1, `org-end-of-line' is mapped to `C-e' whereas in Org 9.2, it
remaps [move-end-of-line], whatever its binding is. The issue is that
`visual-line-mode' does the same, hence the conflict.

Remapping [move-end-of-line] doesn't force `C-e' on the user, so the
current way has its advantages.


Restarting org-mode,  via "org-reload" or via "C-c C-c" in the initial
lines, does not change this behavior.

I think `M-x org-mode' should be sufficient to bind `C-e' back to
`org-end-of-line'. It is also possible to use `visual-line-mode-hook'
to always set

I'm not sure how to fix this from Org, tho.

Thoughts?

Regards,


--
John Hutchinson
johnrhutchin...@att.net




Re: [O] Interaction between org-special-ctrl-a/e and visual-line-mode in Org 9.2?

2019-01-21 Thread Nicolas Goaziou
Hello,

John Hutchinson  writes:

> Under org 9.1 (which works as expected), C-e is bound to "org-end-of-line".
>
> In org 9.2 (which does not work as expected) it's bound to
> "end-of-visual-line".

In Org 9.1, `org-end-of-line' is mapped to `C-e' whereas in Org 9.2, it
remaps [move-end-of-line], whatever its binding is. The issue is that
`visual-line-mode' does the same, hence the conflict.

Remapping [move-end-of-line] doesn't force `C-e' on the user, so the
current way has its advantages.

> Restarting org-mode,  via "org-reload" or via "C-c C-c" in the initial
> lines, does not change this behavior.

I think `M-x org-mode' should be sufficient to bind `C-e' back to
`org-end-of-line'. It is also possible to use `visual-line-mode-hook'
to always set

I'm not sure how to fix this from Org, tho.

Thoughts?

Regards,

-- 
Nicolas Goaziou



Re: [O] Interaction between org-special-ctrl-a/e and visual-line-mode in Org 9.2?

2019-01-21 Thread John Hutchinson

Hi, Nicolas:

Under org 9.1 (which works as expected), C-e is bound to "org-end-of-line".

In org 9.2 (which does not work as expected) it's bound to 
"end-of-visual-line".


Restarting org-mode,  via "org-reload" or via "C-c C-c" in the initial 
lines, does not change this behavior.



Hope this helps, and many thanks for all your efforts for the org community.

Regards,
=John

On 1/18/2019 16:31, Nicolas Goaziou wrote:

Hello,

John Hutchinson  writes:


Under Org 9.1.14 (Emacs 26.1) with org-special-ctrl-a/e set to t, and
visual-line-mode enabled, C-a and C-e worked as expected, switching
between the actual begin / end and the "meaningful" begin / end of
heading lines on repetitive key strokes.

This seems broken in 9.2, moving only to the actual begin / end.

Disabling visual-line-mode restores the prior, correct behavior.

I did not see anything that seemed related to this in the 9.2 release
notes, but I may have overlooked something, or it may be a bug.

Is anyone else noticing this?

What is C-e bound to?

You probably need to restart org-mode after visual-line-mode has been
launched.

Regards,


--
John Hutchinson
johnrhutchin...@att.net




Re: [O] Interaction between org-special-ctrl-a/e and visual-line-mode in Org 9.2?

2019-01-18 Thread Nicolas Goaziou
Hello,

John Hutchinson  writes:

> Under Org 9.1.14 (Emacs 26.1) with org-special-ctrl-a/e set to t, and
> visual-line-mode enabled, C-a and C-e worked as expected, switching
> between the actual begin / end and the "meaningful" begin / end of
> heading lines on repetitive key strokes.
>
> This seems broken in 9.2, moving only to the actual begin / end.
>
> Disabling visual-line-mode restores the prior, correct behavior.
>
> I did not see anything that seemed related to this in the 9.2 release
> notes, but I may have overlooked something, or it may be a bug.
>
> Is anyone else noticing this?

What is C-e bound to?

You probably need to restart org-mode after visual-line-mode has been
launched.

Regards,

-- 
Nicolas Goaziou