From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Agenda: Don't widen narrowed subtrees Date: Sat, 21 Apr 2012 02:16:42 +0200 Message-ID: <87397y7xcl.fsf@altern.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLNzE-0007NL-0t for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 20:15:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLNzC-0006sg-2J for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 20:15:35 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:41004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLNzB-0006sC-PT for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 20:15:33 -0400 Received: by wibhj13 with SMTP id hj13so887856wib.12 for ; Fri, 20 Apr 2012 17:15:31 -0700 (PDT) In-Reply-To: (Moritz Ulrich's message of "Wed, 11 Apr 2012 21:31:15 +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: Moritz Ulrich Cc: emacs-orgmode@gnu.org Hi Moritz, Moritz Ulrich writes: > When a file used in the org-agenda is in a narrowed state > (org-narrow-to-subtree or similar) and you refresh the agenda buffer > via `g', it becomes un-narrowed. This is a very annoying behavior as I > tend to narrow to subtrees while editing their contents. > > Is this a bug or desired behavior? This is a bug. It has been reported and Litvinov Sergey and Bernt Hansen tried to fix this issue. See this thread: http://thread.gmane.org/gmane.emacs.orgmode/51381/focus=51394 > If the latter, I'll try hunting the > missing `save-restriction' down tomorrow. A fix would be very welcome! Thanks, -- Bastien