From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hutchinson Subject: Re: Interaction between org-special-ctrl-a/e and visual-line-mode in Org 9.2? Date: Tue, 22 Jan 2019 16:42:41 -0500 Message-ID: <332c4847-5de4-c036-bc4e-1b4f4c49efb1@att.net> References: <87ef99y7on.fsf@nicolasgoaziou.fr> <1a80daff-8ba9-34e1-4af8-e6af2b136830@att.net> <87munthjjd.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm3oq-0000RK-Tc for emacs-orgmode@gnu.org; Tue, 22 Jan 2019 16:42:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gm3om-0000hl-UW for emacs-orgmode@gnu.org; Tue, 22 Jan 2019 16:42:50 -0500 Received: from sonic308-6.consmr.mail.bf2.yahoo.com ([74.6.130.45]:35085) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gm3ok-0000aR-Tk for emacs-orgmode@gnu.org; Tue, 22 Jan 2019 16:42:47 -0500 Received: from pool-72-76-112-19.nwrknj.fios.verizon.net (EHLO [192.168.1.158]) ([72.76.112.19]) by smtp429.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID b6ae3034a00c3235672b0a13c0b08dbb for ; Tue, 22 Jan 2019 21:42:41 +0000 (UTC) In-Reply-To: <87munthjjd.fsf@nicolasgoaziou.fr> Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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 JohnRHutchinson@att.net