[Top][All Lists]

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

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

From: John Hutchinson
Subject: Re: [O] Interaction between org-special-ctrl-a/e and visual-line-mode in Org 9.2?
Date: Tue, 22 Jan 2019 16:42:41 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

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,

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

John Hutchinson<address@hidden>  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
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.



John Hutchinson

reply via email to

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