[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Fix renumbering for footnotes at BOL.
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [PATCH] Fix renumbering for footnotes at BOL. |
Date: |
Thu, 29 Sep 2011 13:41:05 +0200 |
Hello,
Tassilo Horn <address@hidden> writes:
> org-footnote-renumber-fn:N invalidates footnotes that appear as the
> first thing on a line. Here's a test file including the recipe.
>
> * Bla
>
> This is a line in which the following footnote that is inserted exactly
> [fn:1] is the first thing in that line. And now invoke
> org-footnote-renumber-fn:N and see it breaking.
>
> * Footnotes
>
> [fn:1] Test
>
> Note, that in larger org files, it's likely that you don't even notice
> that the footnotes break.
It looks like the original function isn't right in more than one way (it
doesn't even make sure the matched string is really a footnote). But
that's another topic.
About your patch, I have but one question: I don't get a situation in
which the assert would be triggered, may you give me such an example?
Regards,
--
Nicolas Goaziou