From mboxrd@z Thu Jan 1 00:00:00 1970 From: James K. Lin Subject: Re: Small bug? org-narrow-to-subtree and open file link Date: Fri, 6 Mar 2015 16:59:25 +0000 (UTC) Message-ID: References: <874mpydt3g.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTvgS-0001zw-R3 for emacs-orgmode@gnu.org; Fri, 06 Mar 2015 12:05:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTvgQ-000681-2B for emacs-orgmode@gnu.org; Fri, 06 Mar 2015 12:05:08 -0500 Received: from plane.gmane.org ([80.91.229.3]:42440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTvgP-00066K-S6 for emacs-orgmode@gnu.org; Fri, 06 Mar 2015 12:05:06 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YTvgN-0008DF-37 for emacs-orgmode@gnu.org; Fri, 06 Mar 2015 18:05:03 +0100 Received: from ip66-35-226-228.altera.com ([66.35.226.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Mar 2015 18:05:03 +0100 Received: from james2k2lin by ip66-35-226-228.altera.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Mar 2015 18:05:03 +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 Igor Sosa Mayor gmail.com> writes: > > Hi, > > maybe this is a small bug or something wrong in my config... > > But: if I use org-narrow-to-subtree and then use org-return to open a > file link the narrowed function get lost and I get the whole buffer > again. This happens at least if I get a question because the file is too > big and I have to decide whether I want to open it (this by the way > divides the window very unexpectedly...). > > I'm using Org-mode version 8.2.10. > > Any hint? > > Many thanks in advance! > > Igor, org-narrow-to-subtree creates a subtree buffer. Your org-return call within that new subtree buffer command operates on the base buffer. Many of Org's link navigation commands operate this way because they use the base buffer as their context.