From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Re: Annoying positioning of point when writing footnotes Date: Fri, 14 Aug 2015 01:22:37 +0200 Message-ID: <87egj6g4ea.fsf@nicolasgoaziou.fr> References: <87wpwzp7oj.fsf@unibas.ch> <87h9o3jhk6.fsf@fastmail.fm> <87vbcjp2b0.fsf@unibas.ch> <87io8jrrx6.fsf@fastmail.fm> <87egj7rr49.fsf_-_@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ1o0-0003r4-9B for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 19:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQ1nz-0006kl-Hb for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 19:21:04 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:50343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ1nz-0006ig-Ao for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 19:21:03 -0400 In-Reply-To: <87egj7rr49.fsf_-_@fastmail.fm> (Matt Lundin's message of "Thu, 13 Aug 2015 13:16:22 -0500") 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: Matt Lundin Cc: Gerald Wildgruber , orgmode list Hello, Matt Lundin writes: > This patch should fix the issue. Testing is welcome. Thanks for the patch. However, `org-footnote-auto-adjust-maybe' needs to be called before `org-edit-reference'. Otherwise, the footnote number in the remote buffer is incorrect. The marker information is not reliable anymore after sorting footnotes, so it should be dropped. I applied a patch along this line. Regards, -- Nicolas Goaziou