From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Honour existing restrictions if possible when visiting tasks from the agenda Date: Fri, 30 Dec 2011 05:49:06 -0500 Message-ID: <1325242149-22487-1-git-send-email-bernt@norang.ca> Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rga1l-0006YM-Tf for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 05:49:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rga1l-000316-2B for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 05:49:33 -0500 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:25170 helo=mho-01-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rga1l-00030i-0O for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 05:49:33 -0500 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([72.136.255.45] helo=mail.norang.ca) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Rga1d-0001G5-4g for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 10:49:25 +0000 Received: from localhost.localdomain (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBUAnMsa022764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 30 Dec 2011 05:49:23 -0500 Received: from localhost.localdomain (gollum [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3/Debian-9.4) with ESMTP id pBUAnMxW022526 for ; Fri, 30 Dec 2011 05:49:22 -0500 Received: (from bernt@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id pBUAnMWd022525 for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 05:49:22 -0500 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 The following short patch series fixes org file restriction handling for me. I'm regularly narrowing to subtrees for a project from the agenda and then using the agenda to visit tasks in the subtree. Each time I visit a task, clock in, or regenerate the agenda my restriction is removed in the org file. The following patch series fixes this behaviour.