From: Andreas Roehler <andreas.roehler@online.de>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: footnote renumber bug
Date: Sat, 04 Jul 2009 10:02:31 +0200 [thread overview]
Message-ID: <4A4F0C97.2090102@online.de> (raw)
In-Reply-To: <0D680B96-4638-44E1-8351-3E6E4F89A404@gmail.com>
Carsten Dominik wrote:
>
> On Jul 2, 2009, at 8:55 AM, Andreas Roehler wrote:
>
>>
>> Hi,
>>
>> after reopening a file with two footnotes inside,
>> inserting a third footnote between first and second, it
>> fails to renumber it.
>>
>> below the test-buffer
>>
>> Should I'm right so far --even seeing footnote reimplemented-- maybe
>> have a look at
>>
>> https://code.launchpad.net/~a-roehler/s-x-emacs-werkstatt/footnote-init.el
>>
>>
>> https://code.launchpad.net/~a-roehler/s-x-emacs-werkstatt/GNU-Emacs-footnote.diff
>>
>>
>> https://code.launchpad.net/~a-roehler/s-x-emacs-werkstatt/XEmacs-footnote.diff
>>
>>
>> Thanks all
>>
>>
>> Andreas Röhler
>
> Hi Andreas,
>
> you are the author of footnote-init.el, right? That was an important
> fix for footnote.el to make it usable for more than one-off documents.
>
Thanks. A hundred fold flowers back for writing org-node :)
> Let me re-enforce a few things that have already come up here,
> mainly in Matt's post.
>
> Org-mode started out using footnote.el, which I think is an
> excellent package for its original purpose - footnotes in emails.
>
> But after a lengthy discussion here on the list which you can
> find in the archive, I implemented a different mechanism.
>
> The main reasons were to allow for named footnotes and, most
> importantly, inline footnotes. These are very helpful
> when you are building documents using cut and paste,
> which is where footnote.el fails.
>
Yes, inline footnotes seem very useful indeed.
> Org did not implement automatic renumbering and sorting because
> it makes less sense to do so if footnotes are inline, or named
> and referenced multiple times.
>
IMHO renumbering should be able to cope with all this circumstances.
With named footnotes "renumbering" might no longer be the appropriate
term then...
> I can see that, when using footnotes in an isolated
> small document and automatic footnote lable generation,
> automatic renumbering and sorting is indeed useful.
>
> In this case, you could fall back to footnote.el.
> However, Org does internally have functions to sort
> and renumber footnotes, so there is no reason why we could
> not call them after generating or deleting a note.
> Lets see ... OK, in the latest git version of Org, use
>
> (setq org-footnote-auto-adjust t)
>
My suggestion:
Make it cope with inline, named and referenced multiple notes;
then set it to t by default.
> On a per-file basis you can also turn this on and off with
>
> #+STARTUP: fnadjust
> #+STARTUP: nofnadjust
>
> HTH
>
> - Carsten
>
Thanks a lot caring for the issue.
Andreas
>
>
>
>
>
>
>
>>
>> --
>> https://code.launchpad.net/s-x-emacs-werkstatt/
>> http://bazaar.launchpad.net/~a-roehler/python-mode/python-mode.el/
>>
>> GNU Emacs 23.0.94.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of
>> 2009-05-25
>>
>> ;;;;;;;;;;;;;;;;;;;;;;;;
>>
>> asdfs [fn:1]
>> [fnx:3]
>> sdfs
>> [fn:2]
>> * Footnotes
>>
>> [fn:1] asdfs d
>>
>> [fn:2] xdddd
>>
>> [fn:3] dddd
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
next prev parent reply other threads:[~2009-07-04 8:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-02 6:55 footnote renumber bug Andreas Roehler
2009-07-02 11:44 ` Karl Maihofer
2009-07-02 13:18 ` Andreas Röhler
2009-07-02 15:48 ` Matthew Lundin
2009-07-02 16:05 ` Matthew Lundin
2009-07-02 20:09 ` Andreas Röhler
2009-07-02 21:53 ` Matthew Lundin
2009-07-03 8:36 ` Scot Becker
2009-07-03 12:08 ` Andreas Röhler
2009-07-03 14:17 ` Paul R
2009-07-03 14:51 ` Andreas Röhler
2009-07-03 14:42 ` Matthew Lundin
2009-07-03 21:49 ` Carsten Dominik
2009-07-04 8:02 ` Andreas Roehler [this message]
2009-07-04 20:30 ` Matthew Lundin
2009-07-05 20:31 ` Carsten Dominik
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=4A4F0C97.2090102@online.de \
--to=andreas.roehler@online.de \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.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).