From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Footnotes bug Date: Fri, 27 Mar 2009 22:34:32 -0500 Message-ID: <87eiwifhh3.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LnPJo-0003BY-DA for emacs-orgmode@gnu.org; Fri, 27 Mar 2009 23:34:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LnPJj-0003BK-IQ for emacs-orgmode@gnu.org; Fri, 27 Mar 2009 23:34:47 -0400 Received: from [199.232.76.173] (port=53555 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnPJj-0003BH-Cx for emacs-orgmode@gnu.org; Fri, 27 Mar 2009 23:34:43 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:50686) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LnPJi-00010N-Qc for emacs-orgmode@gnu.org; Fri, 27 Mar 2009 23:34:43 -0400 Received: from crunchbang (pool-96-248-128-134.sbndin.dsl-w.verizon.net [96.248.128.134]) by mail.messagingengine.com (Postfix) with ESMTPSA id A99913BF56 for ; Fri, 27 Mar 2009 23:34:33 -0400 (EDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode List 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), 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