From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Subject: Re: [PATCH] Re: Annoying positioning of point when writing footnotes Date: Thu, 13 Aug 2015 18:49:19 +0000 Message-ID: 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: multipart/alternative; boundary=001a1140fcc89d72d6051d35cb29 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPxZD-00052r-V0 for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 14:49:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPxZC-0004vy-SO for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 14:49:31 -0400 Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:35782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPxZC-0004vo-O3 for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 14:49:30 -0400 Received: by oiew67 with SMTP id w67so13131532oie.2 for ; Thu, 13 Aug 2015 11:49:30 -0700 (PDT) In-Reply-To: <87egj7rr49.fsf_-_@fastmail.fm> 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 , Gerald Wildgruber Cc: orgmode list --001a1140fcc89d72d6051d35cb29 Content-Type: text/plain; charset=UTF-8 @Matt Correct. I have set org-footnote-auto-adjust to t. On Thu, Aug 13, 2015 at 2:16 PM Matt Lundin wrote: > Matt Lundin writes: > > > Gerald Wildgruber writes: > > > >> Matt, thanks! looking forward to any elucidation you can give on the > >> problem at hand! > > > > Could you tell me what the value of org-footnote-auto-adjust is on your > > machine? > > > > It seems on my end that the problem only occurs when > > org-footnote-auto-adjust is set to t. The problem seems to be line 556 > > of org-footnote.el, which reorders the footnotes *after* the position of > > the footnote definition has been saved. When I remove that line or set > > org-footnote-auto-adjust to nil, the cursor is positioned correctly. > > This patch should fix the issue. Testing is welcome. > > Matt > > --001a1140fcc89d72d6051d35cb29 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
@Matt Correct. I have set org-footnote-auto-adjust to t.
On Thu, Aug 13, 2015 at= 2:16 PM Matt Lundin <mdl@imapmail.o= rg> wrote:
Matt Lundin <<= a href=3D"mailto:mdl@imapmail.org" target=3D"_blank">mdl@imapmail.org&g= t; writes:

> Gerald Wildgruber <Gerald.Wildgruber@unibas.ch> writes:
>
>> Matt, thanks! looking forward to any elucidation you can give on t= he
>> problem at hand!
>
> Could you tell me what the value of org-footnote-auto-adjust is on you= r
> machine?
>
> It seems on my end that the problem only occurs when
> org-footnote-auto-adjust is set to t. The problem seems to be line 556=
> of org-footnote.el, which reorders the footnotes *after* the position = of
> the footnote definition has been saved. When I remove that line or set=
> org-footnote-auto-adjust to nil, the cursor is positioned correctly.
This patch should fix the issue. Testing is welcome.

Matt

--001a1140fcc89d72d6051d35cb29--