emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: adding a footnote munches newlines at the end of a section
Date: Thu, 02 Feb 2012 18:25:11 +0800	[thread overview]
Message-ID: <87obth5y7s.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87d39xr4bf.fsf@gmail.com

On Thu, Feb 02 2012, Nicolas Goaziou wrote:

> Hello,
>
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> I use `org-footnote-action' (C-c C-x f) to add a footnote, and don't
>> have any "org-footnote-section" set, so it adds them at the end of the
>> current subtree. This progressively eats up newlines, so that if I add
>> two footnotes in a row, it intrudes on the headline of the next
>> section.
>
> I have pushed a fix for that problem, and another one related to the
> absence of org-footnote-section (normalizing footnotes would put them
> all in the same section).
>
> Does it work for you?

Thanks for your attention, Nicolas, but I'm still seeing the same
behavior. I went pawing through the code to see if I could track down
the exact spot where it goes wrong, and can only come up with what is
now line 550 in "org-footnote.el". Shouldn't the call to `insert'
include a trailing newline?

Thanks again,
Eric

-- 
GNU Emacs 24.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.24.9)
 of 2012-01-26 on pellet
Org-mode version 7.8.03 (release_7.8.03.293.g36cc)

  reply	other threads:[~2012-02-02 10:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-02  6:21 adding a footnote munches newlines at the end of a section Eric Abrahamsen
2012-02-02  6:49 ` Achim Gratz
2012-02-02  9:07 ` Nicolas Goaziou
2012-02-02 10:25   ` Eric Abrahamsen [this message]
2012-02-02 11:43     ` Nicolas Goaziou
2012-02-02 13:48       ` Eric Abrahamsen
2012-02-02 15:38         ` Nicolas Goaziou
2012-02-02 18:46           ` Achim Gratz
2012-02-02 20:32             ` Nicolas Goaziou
2012-02-02 20:45               ` Achim Gratz
2012-02-03  4:32                 ` Eric Abrahamsen

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=87obth5y7s.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).