From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: adding a footnote munches newlines at the end of a section Date: Thu, 02 Feb 2012 21:48:52 +0800 Message-ID: <87fwetfirf.fsf@ericabrahamsen.net> References: <87fwetn4bx.fsf@ericabrahamsen.net> <87d39xr4bf.fsf@gmail.com> <87obth5y7s.fsf@ericabrahamsen.net> <874nv9tq8h.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rsx1q-0007BB-Mq for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 08:48:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rsx1j-00008S-R6 for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 08:48:46 -0500 Received: from plane.gmane.org ([80.91.229.3]:58725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rsx1j-00008O-Km for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 08:48:39 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rsx1h-0000Z7-86 for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 14:48:37 +0100 Received: from 114.250.131.40 ([114.250.131.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 14:48:37 +0100 Received: from eric by 114.250.131.40 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 14:48:37 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Thu, Feb 02 2012, Nicolas Goaziou wrote: > Eric Abrahamsen writes: > >> 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? > > Could you try reloading Org, or even Emacs and try again? I'm asking > that before I cannot reproduce the problem anymore since the patches. Nope, it's still doing it… I killed emacs, cleaned and re-make'd org, and it's still behaving the same on restart. Sorry! I still don't see where the additional newline would come from, if not at the end of `org-footnote-create-definition' (though obviously just tacking an extra newline on there would leave point in the wrong place). Anyway, maybe someone else will test… Thanks, 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)