From mboxrd@z Thu Jan 1 00:00:00 1970 From: Toby Cubitt Subject: Re: [PATCH] Make org-[beginning|end]-of-line respect visual-line-mode Date: Tue, 6 Nov 2012 13:47:30 +0100 Message-ID: <20121106124730.GA7699@c3po> References: <87wqxy9aky.fsf@gmail.com> Reply-To: Toby Cubitt Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TViYm-0007KB-0l for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 07:47:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TViYj-0006Qr-BC for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 07:47:15 -0500 Received: from starfish.geekisp.com ([216.168.135.166]:5368) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TViYj-0006Qh-6c for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 07:47:13 -0500 Content-Disposition: inline In-Reply-To: <87wqxy9aky.fsf@gmail.com> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Tue, Nov 06, 2012 at 01:31:41PM +0100, Nicolas Goaziou wrote: > Toby Cubitt writes: > > > Subject line and commit message says it all. > > `org-end-of-line' has been patched already. Is there a bug in > `org-beginning-of-line'? I forgot to pull and rebase before posting, so missed the recent fix. Sorry for the noise. org-beginning-of-line uses org-beginning-of-visual-line when line-move-visual is enabled. I'm not sure if line-mode-visual can be disabled when visual-line-mode is enabled. If so, org-beginning-of-line should maybe test for either line-mode-visual *or* visual-line-mode. Toby -- Dr T. S. Cubitt Mathematics and Quantum Information group Department of Mathematics Complutense University Madrid, Spain email: tsc25@cantab.net web: www.dr-qubit.org