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 21:10:58 +0200 Message-ID: <87vbgg5arh.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> <87h9s2d28g.fsf@gmx.us> <87h9s1ry6i.fsf@nicolasgoaziou.fr> <87zj5t87e5.fsf@gmx.us> <87fv7kkvfs.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnAuR-0001J9-2t for emacs-orgmode@gnu.org; Tue, 28 Apr 2015 15:11:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnAuL-0006D5-Qd for emacs-orgmode@gnu.org; Tue, 28 Apr 2015 15:11:07 -0400 Received: from mout.gmx.net ([212.227.15.15]:62459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnAuL-0006Co-HE for emacs-orgmode@gnu.org; Tue, 28 Apr 2015 15:11:01 -0400 Received: from x200s ([79.52.133.121]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LqQzp-1ZHXiX1CpF-00e5l0 for ; Tue, 28 Apr 2015 21:11:00 +0200 In-Reply-To: <87fv7kkvfs.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 28 Apr 2015 19:35:19 +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: >> 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. Perhaps. Unless C-c C-c should reflect "my" preferred method. >>> 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]. Right. I had not thought of that. >> 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 '. I guess that's fine. Still, someone who never uses narrows may find jump better, especially for short documents. If the org-src window can be configured to show less than a fullscreen I guess I would have no concerns with this proposal. Thanks, Rasmus -- There are known knowns; there are things we know that we know