Re: [O] [PATCH] Re: Annoying positioning of point when writing footnotes

2015-08-14 Thread Gerald Wildgruber
Thanks Matt and Nicolas! I still have org-footnote-auto-adjust set to t and the positioning of point near the footnote marker works now with the sources I checked out this morning! One thing though: if I insert a new footnote in a region of text that already has footnotes before and after, the

Re: [O] [PATCH] Re: Annoying positioning of point when writing footnotes

2015-08-14 Thread Nicolas Goaziou
Gerald Wildgruber gerald.wildgru...@unibas.ch writes: One thing though: if I insert a new footnote in a region of text that already has footnotes before and after, the auto adjust mechanism is triggered by C-c C-x f, but in this case point is set NOT near the NEW footnote marker but always at

Re: [O] [PATCH] Re: Annoying positioning of point when writing footnotes

2015-08-14 Thread Gerald Wildgruber
On Fr, Aug 14 2015, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Gerald Wildgruber gerald.wildgru...@unibas.ch writes: One thing though: if I insert a new footnote in a region of text that already has footnotes before and after, the auto adjust mechanism is triggered by C-c C-x f, but in

[O] [PATCH] Re: Annoying positioning of point when writing footnotes

2015-08-13 Thread Matt Lundin
Matt Lundin m...@imapmail.org writes: Gerald Wildgruber gerald.wildgru...@unibas.ch 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

Re: [O] [PATCH] Re: Annoying positioning of point when writing footnotes

2015-08-13 Thread Kaushal
@Matt Correct. I have set org-footnote-auto-adjust to t. On Thu, Aug 13, 2015 at 2:16 PM Matt Lundin m...@imapmail.org wrote: Matt Lundin m...@imapmail.org writes: Gerald Wildgruber gerald.wildgru...@unibas.ch writes: Matt, thanks! looking forward to any elucidation you can give on the

Re: [O] [PATCH] Re: Annoying positioning of point when writing footnotes

2015-08-13 Thread Nicolas Goaziou
Hello, Matt Lundin m...@imapmail.org 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