From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: [PATCH] narrowing in agenda file Date: Mon, 23 Jan 2012 13:04:20 -0500 Message-ID: <8739b6jnx7.fsf@norang.ca> References: <5r1uqq4h2u.fsf@kana.aer.mw.tum.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpOFo-0006yh-4g for emacs-orgmode@gnu.org; Mon, 23 Jan 2012 13:04:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpOFj-0007dY-T1 for emacs-orgmode@gnu.org; Mon, 23 Jan 2012 13:04:28 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:63827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpOFj-0007dS-RA for emacs-orgmode@gnu.org; Mon, 23 Jan 2012 13:04:23 -0500 In-Reply-To: <5r1uqq4h2u.fsf@kana.aer.mw.tum.de> (Litvinov Sergey's message of "Mon, 23 Jan 2012 15:41:13 +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: Litvinov Sergey Cc: emacs-orgmode@gnu.org Litvinov Sergey writes: > "Narrowing" in the agenda file does not "survive" agenda redo. Please > see an example in the first patch. I think the second patch fixes this > problem. Hi Sergey, I haven't had a chance to try your patch yet but I recently tried to fix this behaviour as well but there are other issues that crop up when you keep the narrowed region. Please make sure that at least the following work as expected with your patch: - org agenda clock reports are correct - You don't have the LOGBOOK drawer aligned with tags when clocking in from the agenda (this was with emacs -q (no org-indent-mode) - Column view in the agenda shows correct clocking amounts for each task - Visiting a task with RET or SPC goes to the task when outside the narrowed region - Remote editing of a task outside the narrowed region changes the target task and not something in your narrowed region instead I'm hoping your patch works since I also want this desired behaviour but so far my attempts to achieve this failed miserably :( Regards, Bernt