From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Footnotes bug Date: Mon, 30 Mar 2009 11:26:40 +0200 Message-ID: <107A9949-9720-479B-911A-CF41270E3219@gmail.com> References: <87eiwifhh3.fsf@fastmail.fm> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoDlZ-00056p-EC for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 05:26:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoDlT-00055Y-OU for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 05:26:47 -0400 Received: from [199.232.76.173] (port=34796 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoDlT-00055M-EG for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 05:26:43 -0400 Received: from mail-ew0-f160.google.com ([209.85.219.160]:52968) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LoDlS-0000wB-PW for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 05:26:43 -0400 Received: by ewy4 with SMTP id 4so2054255ewy.42 for ; Mon, 30 Mar 2009 02:26:41 -0700 (PDT) In-Reply-To: <87eiwifhh3.fsf@fastmail.fm> 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: Matthew Lundin Cc: Org Mode List 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