From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [8.2.7b (release_8.2.7b-6-g07d470 @ /home/youngfrog/sourcetrees/org-mode/lisp/)] Date: Mon, 28 Jul 2014 16:15:04 +0200 Message-ID: <87sillxuoc.fsf@bzg.ath.cx> References: <87fvht9tdo.fsf@yahoo.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBofx-0007kW-B6 for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 13:25:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBoff-0005wU-DA for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 13:25:29 -0400 Received: from mail-s76.mailgun.info ([184.173.153.204]:46713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBoff-0005nv-AV for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 13:25:11 -0400 In-Reply-To: <87fvht9tdo.fsf@yahoo.fr> (Nicolas Richard's message of "Tue, 22 Jul 2014 19:48:51 +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: Nicolas Richard Cc: emacs-orgmode@gnu.org Hi Nicolas, Nicolas Richard writes: > org-narrow-to-subtree is very nice, and I now have C-x n s hard-wired > into my fingers, but it doesn't work when outline-regexp is too > different from org-outline-regexp in Outline-but-non-Org mode buffers. > > It looked pretty easy to fix, so here is my suggestion, below. It should > be rather harmless since it only affects non-Org buffers (and might have > the nice side effect of allowing other commands to run in those buffers > -- but I haven't checked.) Applied in master, thanks, -- Bastien