From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [bug, org] footnote-action broken with narrowed buffer Date: Tue, 28 Apr 2015 00:11:43 +0200 Message-ID: <87oam99q74.fsf@gmx.us> References: <87lhhhzdf5.fsf@gmx.us> <87bnidcnfq.fsf@nicolasgoaziou.fr> <87h9s5z2kx.fsf@gmx.us> <87fv7obnyb.fsf@nicolasgoaziou.fr> <87tww4xz4i.fsf@gmx.us> <877ft0bdw0.fsf@nicolasgoaziou.fr> <87bnicxeax.fsf@gmx.us> <87oambrz4d.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmrFo-0006JY-FT for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 18:11:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmrFk-0000GC-G2 for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 18:11:52 -0400 Received: from mout.gmx.net ([212.227.17.22]:50828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmrFk-0000G3-72 for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 18:11:48 -0400 Received: from x200s ([77.247.182.241]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MdnN3-1Yx5cE0gmL-00PeOV for ; Tue, 28 Apr 2015 00:11:47 +0200 In-Reply-To: <87oambrz4d.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 26 Apr 2015 11:57:06 +0200") 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 Nicolas Goaziou writes: >> Wouldn't it only find definition in the same file? If you use a popup >> indirect buffer narrowed to the footnote-definition in question I don't >> think these problems can exist. In any case, this would seem similar to >> the way ob handles code blocks. > > Good idea. I didn't thought about using "org-src.el", but, albeit not > perfect, it goes a long way towards avoiding these problems. > > I toyed a bit with that. Now C-' on a (non inline) footnote reference > should edit it in a dedicated buffer. > > Feedback welcome. I added this to org.texi. Note, C-c ' will fail in the following example 'cause the fn definition does not have contents-end. I started to try fix this but feel free to beat me to it. I likely will not have time to look more into it until the weekend. foo[fn:1] * Footnotes [fn:1] =E2=80=94Rasmus --=20 This is the kind of tedious nonsense up with which I will not put