From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregory@dynapse.com (Gregory J. Grubbs) Subject: Request: org-display-outline-path report full file path even when narrowed Date: Sat, 14 Nov 2009 10:58:37 -0700 Message-ID: <87eio1yomq.fsf@dynapse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N9Mtz-0007CC-WB for emacs-orgmode@gnu.org; Sat, 14 Nov 2009 12:59:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N9Mtv-0007BO-I3 for emacs-orgmode@gnu.org; Sat, 14 Nov 2009 12:59:11 -0500 Received: from [199.232.76.173] (port=52527 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9Mtv-0007BL-FV for emacs-orgmode@gnu.org; Sat, 14 Nov 2009 12:59:07 -0500 Received: from lo.gmane.org ([80.91.229.12]:38909) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N9Mtu-0001US-Sq for emacs-orgmode@gnu.org; Sat, 14 Nov 2009 12:59:07 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N9Mts-0008FX-Iu for emacs-orgmode@gnu.org; Sat, 14 Nov 2009 18:59:04 +0100 Received: from 72.42.83.192 ([72.42.83.192]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Nov 2009 18:59:04 +0100 Received: from gregory by 72.42.83.192 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Nov 2009 18:59:04 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org When the following file is narrowed to the "Sub Two" tree, org-display-outline reports the path relative to "Sub Two". It would be more useful to report, e.g. "Top One/Sub Two/Blah" Obviously, if you are narrowed further down the hierarchy, the current function becomes even less useful. --8<---------------cut here---------------start------------->8--- * Top One ** Sub One *** Sub Sub One *** Sub Sub Two ** Sub Two *** Blah **** Forget following this pattern *** Blah Blah * Top Two --8<---------------cut here---------------end--------------->8--- I would have submitted a patch, but my naive attempts to use (widen) within a (save-excursion) did not work! Cheers, -Greg