From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-indent-mode with visual-line-mode breaks C-a and C-e Date: Sat, 01 Apr 2017 10:13:57 +0200 Message-ID: <8760ioo88q.fsf@nicolasgoaziou.fr> References: <87tw6a36gr.fsf@thb.lt> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuEAg-0000hb-Dx for emacs-orgmode@gnu.org; Sat, 01 Apr 2017 04:14:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuEAd-0000ee-A1 for emacs-orgmode@gnu.org; Sat, 01 Apr 2017 04:14:06 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:42505) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cuEAd-0000dK-2v for emacs-orgmode@gnu.org; Sat, 01 Apr 2017 04:14:03 -0400 In-Reply-To: <87tw6a36gr.fsf@thb.lt> (Thibault Polge's message of "Thu, 30 Mar 2017 21:33:24 +0200") 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: Thibault Polge Cc: emacs-orgmode@gnu.org Hello, Thibault Polge writes: > With visual-line-mode and org-indent-mode activated, C-a and C-e > misbehaves on indented text blocks. C-a and C-e sometimes start jumping > over lines (ie, go backwards or forward one extra line) and sometimes > even reverses direction (C-e goes backward). I can reproduce this from > emacs -Q with builtin Org 8.2.10. The issue can also be reproduced > without enabling org-indent-mode, although it is much less severe > without it. C-a, aka `org-beginning-of-line', merely calls `beginning-of-visual-line' when Visual Line mode is active. Would it be possible that the bug lies in that function? I.e., could you try reproducing the bug just calling `beginning-of-visual-line'? If my assumption is true, you could report the problem to Emacs devs instead. Regards, -- Nicolas Goaziou