From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Liu Subject: Re: end-of-defun odd behaviour in org mode Date: Tue, 22 Apr 2014 09:58:46 +0800 Message-ID: References: <87ppka7fvk.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcPzC-00015J-Kk for emacs-orgmode@gnu.org; Mon, 21 Apr 2014 21:59:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WcPz6-0008Ow-Qw for emacs-orgmode@gnu.org; Mon, 21 Apr 2014 21:59:02 -0400 In-Reply-To: <87ppka7fvk.fsf@bzg.ath.cx> (Bastien's message of "Mon, 21 Apr 2014 19:26:55 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org On 2014-04-21 19:26 +0200, Bastien wrote: > Commit 76fa97922 changed C-M-a and C-M-e to `org-backward-element' > and `org-forward-element' but I know see it was wrong, so I partially > reverted it, the old behavior makes more sense. Thanks. > Thanks for reporting this, > > http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=76fa97922 Seems there is another bug after this change: C-M-e moves forward 1 and C-M-a moves back 0. org-back-to-heading does not fully satisfy the protocol of beginning-of-defun-function. Leo