emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: emacs-orgmode@gnu.org
Subject: Minor bug in footnotes
Date: Sun, 04 Jan 2009 19:14:39 -0600	[thread overview]
Message-ID: <m28wpq8sg0.fsf@fastmail.fm> (raw)


Hi Carsten,

After some additional testing of footnote options, I discovered
another minor quirk. It occurs when org-footnote-section is set to a
value such as "Footnotes" (the default value). When
org-footnote-action is called for the very first time in an org
buffer, the "Footnotes" headline is automatically created, but the
footnote is placed above the headline.

I believe this occurs when the "Footnotes" headline is the last line
in the buffer, which is the case when the headline is automatically
created. Once an empty line is placed beneath the "Footnotes"
headline, new footnotes are correctly placed beneath it.

The example below illustrates the behavior.

Thanks,

Matt

----begin org file--------

* Headline one

The first footnote.[fn:1] The second footnote.[fn:2] Now I will add a
an empty line beneath the "Footnotes" section.[fn:3]

[fn:1] Notice that this footnote is inserted above the "Footnotes"
section.

[fn:2] The same behavior.

* Footnotes

[fn:3] Notice that the footnote is now placed below the footnote
section. 

-----end org file-----

             reply	other threads:[~2009-01-05  1:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05  1:14 Matthew Lundin [this message]
2009-01-05 12:28 ` Minor bug in footnotes 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=m28wpq8sg0.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --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).