From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: [bug, org] footnote-action broken with narrowed buffer Date: Fri, 24 Apr 2015 18:41:50 +0200 Message-ID: <87lhhhzdf5.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ylgg6-0006xn-VC for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 12:42:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ylgg1-000652-Vt for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 12:42:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:48871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ylgg1-00064l-P2 for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 12:42:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ylgg0-0007ga-64 for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 18:42:04 +0200 Received: from tsn109-201-152-241.dyn.nltelcom.net ([109.201.152.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Apr 2015 18:42:04 +0200 Received: from rasmus by tsn109-201-152-241.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Apr 2015 18:42:04 +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 Hi, Narrow to h1 in the following example and run org-footnote-action on the footnote-reference. Expected behavior is IMO to go to the definition. This does not happen. Ideally, it should be possible to get back to the narrowed stage again, but I'm not sure how this would work. Perhaps hooking into next C-& or org-footnote-action if it's performed from within the [:begin, :end] range of the footnote-definition... * h1 foo[fn:1] * Footnotes [fn:1] bar —Rasmus -- Er du tosset for noge' lårt!