emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gerald Wildgruber <Gerald.Wildgruber@unibas.ch>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Matt Lundin <mdl@imapmail.org>, orgmode list <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] Re: Annoying positioning of point when writing footnotes
Date: Fri, 14 Aug 2015 08:11:22 +0200	[thread overview]
Message-ID: <m21tf6csc5.fsf@unibas.ch> (raw)
In-Reply-To: <87egj6g4ea.fsf@nicolasgoaziou.fr>


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 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 the marker of the LAST footnote!

Can this be fixed as well?

Thanks

Gerald.

On Fr, Aug 14 2015, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

> Hello,
>
> Matt Lundin <mdl@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 information is not reliable anymore after sorting footnotes,
> so it should be dropped. I applied a patch along this line.
>
>
> Regards,

-- 
Dr.Gerald Wildgruber
eikones NFS Bildkritik
NCCR Iconic Criticism
Universität Basel
Rheinsprung 11
CH-4051 Basel
www.eikones.ch
T. +41 (0)61 267 18 02
F. +41 (0)61 267 18 11
---------------------
Sent with mu4e

  reply	other threads:[~2015-08-14  6:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-13 14:46 Annoying positioning of point when writing footnotes Gerald Wildgruber
2015-08-13 16:10 ` [BUG] " Matt Lundin
2015-08-13 16:42   ` Gerald Wildgruber
2015-08-13 17:19     ` Kaushal
2015-08-13 17:59     ` Matt Lundin
2015-08-13 18:16       ` [PATCH] " Matt Lundin
2015-08-13 18:49         ` Kaushal
2015-08-13 23:22         ` Nicolas Goaziou
2015-08-14  6:11           ` Gerald Wildgruber [this message]
2015-08-14 14:24             ` Nicolas Goaziou
2015-08-15  5:45               ` Gerald Wildgruber
2015-08-14  6:02       ` [BUG] " Gerald Wildgruber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m21tf6csc5.fsf@unibas.ch \
    --to=gerald.wildgruber@unibas.ch \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=mdl@imapmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).