From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug] orgstruct++-mode breaks backward-sentence Date: Sun, 29 Mar 2015 14:15:39 +0200 Message-ID: <878uegdmok.fsf@nicolasgoaziou.fr> References: <87mw325is7.fsf@gmx.us> <87fv8u5ii2.fsf@gmx.us> <87d23yru77.fsf@nicolasgoaziou.fr> <87384uyrze.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcC6l-0006Nl-L8 for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 08:14:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcC6i-0000KF-FA for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 08:14:27 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:57171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcC6i-0000KB-9k for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 08:14:24 -0400 In-Reply-To: <87384uyrze.fsf@gmx.us> (rasmus@gmx.us's message of "Tue, 24 Mar 2015 23:01:57 +0100") 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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > Forget about fill-paragraph. Try this with test-org as nil and non-nil: > > (let ((test-org nil)) > (switch-to-buffer "test.org") > (if test-org (org-mode) (text-mode)) > (erase-buffer) > (insert "1. foo bar\n baz") > (backward-sentence)) > > When the buffer is in org-mode backward sentence behaves differently from > when it's in text-mode. I think text-mode behaves correctly. This should be fixed in 98ec17e204689f415200a2930fc148bf6a4dfe49. Thank you. Regards,