From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug, org] footnote-action broken with narrowed buffer Date: Tue, 28 Apr 2015 19:35:19 +0200 Message-ID: <87fv7kkvfs.fsf@nicolasgoaziou.fr> 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> <87h9s2d28g.fsf@gmx.us> <87h9s1ry6i.fsf@nicolasgoaziou.fr> <87zj5t87e5.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn9OQ-0003pY-JP for emacs-orgmode@gnu.org; Tue, 28 Apr 2015 13:33:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yn9OP-0008IB-Ne for emacs-orgmode@gnu.org; Tue, 28 Apr 2015 13:33:58 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:43737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn9OP-0008I0-HJ for emacs-orgmode@gnu.org; Tue, 28 Apr 2015 13:33:57 -0400 In-Reply-To: <87zj5t87e5.fsf@gmx.us> (rasmus@gmx.us's message of "Tue, 28 Apr 2015 01:43:14 +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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > To have a defcustom that let you choose preferred method. Whether the > default should be changed I don't know. We don't need a defcustom if we can assign a different keybinding to each of them. >> This is not possible ATM because it doesn't handle inline footnotes at >> all (this requires some work in "org-src.el", since >> `org-src--edit-element' wasn't designed to edit inline objects), and, > > There's no need IMO. ATM it moves to the second colon and I don't see > other logical ways to handle it. You can reference inline footnotes too: [fn:label] refers to [fn:label:definition] and you may want to edit definition from [fn:label]. > C-c C-c would then depend on a defcustom, I guess. At least it's a pity > if C-c C-c only works in some cases, e.g. "if not narrowed". If remote editing is improved, it can become the default for C-c C-c when on a footnote reference. C-c C-o can jump between the definition and the reference. We can remove C-c '. WDYT? Regards,