From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Org-mode version 6.30trans (release_6.30d.19.g1db9); Last character in file not folded correctly Date: Tue, 08 Sep 2009 06:39:01 +0800 Message-ID: <87pra24by2.fsf@bzg.ath.cx> References: <20090907151606.9e372fcf.andy13@gmx.net> <87r5uisq3x.wl%maus.david@gmail.com> <20090907223439.ab06e893.andy13@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MksUA-00054N-Lz for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 00:39:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MksU6-00052Q-Ev for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 00:39:18 -0400 Received: from [199.232.76.173] (port=39582 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MksU6-00052C-7F for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 00:39:14 -0400 Received: from mail-bw0-f220.google.com ([209.85.218.220]:58525) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MksU5-0004E7-QP for emacs-orgmode@gnu.org; Tue, 08 Sep 2009 00:39:14 -0400 Received: by bwz20 with SMTP id 20so306674bwz.42 for ; Mon, 07 Sep 2009 21:39:11 -0700 (PDT) In-Reply-To: <20090907223439.ab06e893.andy13@gmx.net> (Andreas Burtzlaff's message of "Mon, 7 Sep 2009 22:34:39 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Burtzlaff Cc: emacs-orgmode@gnu.org Applied, thanks. Andreas Burtzlaff writes: > It was indeed org-modes rewrite of outline-end-of-subtree that > triggered the misbehaviour. > > Here's the patch: > > diff --git a/lisp/org.el b/lisp/org.el > index 74d7f78..c75f1b9 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -16880,7 +16880,7 @@ If there is no such heading, return nil." > (if (eq major-mode 'org-mode) > (progn > (org-end-of-subtree nil t) > - (backward-char 1)) > + (if (not (eobp)) (backward-char 1))) > ad-do-it)) > > (defun org-forward-same-level (arg &optional invisible-ok) > > Andreas > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Bastien