From: Carsten Dominik <carsten.dominik@gmail.com>
To: Matthew Lundin <mdl@imapmail.org>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Footnotes bug
Date: Mon, 30 Mar 2009 11:26:40 +0200 [thread overview]
Message-ID: <107A9949-9720-479B-911A-CF41270E3219@gmail.com> (raw)
In-Reply-To: <87eiwifhh3.fsf@fastmail.fm>
Hi Matt,
On Mar 28, 2009, at 4:34 AM, Matthew Lundin wrote:
> Hi Carsten,
>
> I would like to report a bug in org-footnote. I have set
> org-footnote-define-inline to t. I also have the following settings:
>
> --8<---------------cut here---------------start------------->8---
> (setq org-footnote-section nil)
> (setq org-footnote-auto-label nil)
> --8<---------------cut here---------------end--------------->8---
>
> When I call org-footnote-action, footnotes are entered inline, as
> expected. But when I call org-footnote-action with an argument and
> then
> select "sort," footnote definitions are created at the bottom of the
> section (as expected),
I believe this expectation is wrong for inline footnotes which
should be left alone when only sorting footnotes. That was a
bug which I fixed now. Let me know if I am missing something here.
- Carsten
> but the inline footnote definition is not
> removed, leading to duplicate definitions. If I sort again, a
> duplicate
> set of definitions is created at the bottom of the file.
>
> The following progession should help to illustrate what I mean.
>
> 1. Inline footnotes
>
> ,----
> | #+startup: fninline
> |
> | * Test
> |
> | Footnote one.[fn:one: This is a footnote.] Footnote two.[fn:two:
> This
> | is another footnote.]
> `----
>
> 2. After the first sort
>
> ,----
> | #+startup: fninline
> |
> | * Test
> |
> | Footnote one.[fn:one: This is a footnote.] Footnote two.[fn:two:
> This
> | is another footnote.]
> |
> | [fn:one] This is a footnote.
> |
> | [fn:two] This
> | is another footnote.
> `----
>
> 3. After a second sort.
>
> ,----
> | #+startup: fninline
> |
> | * Test
> |
> | Footnote one.[fn:one: This is a footnote.] Footnote two.[fn:two:
> This
> | is another footnote.]
> |
> | [fn:one] This is a footnote.
> |
> | [fn:two] This
> | is another footnote.
> |
> | [fn:one] This is a footnote.
> |
> | [fn:two] This
> | is another footnote.
> `----
>
> Thanks,
> Matt
>
>
>
>
>
> _______________________________________________
> 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-03-30 9:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-28 3:34 Footnotes bug Matthew Lundin
2009-03-30 9:26 ` Carsten Dominik [this message]
2009-03-30 11:43 ` Matthew Lundin
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=107A9949-9720-479B-911A-CF41270E3219@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--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).