From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Highlighting bug with org-agenda-set-restriction-lock Date: Fri, 5 Apr 2013 16:50:39 +0200 Message-ID: References: <87bo9tyvdj.fsf@norang.ca> <890D099A-90BD-4AA5-AD86-E145AF8429A7@gmail.com> <8738v5yqzz.fsf@norang.ca> Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO7yU-00051u-4O for emacs-orgmode@gnu.org; Fri, 05 Apr 2013 10:50:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UO7yS-0000wa-PE for emacs-orgmode@gnu.org; Fri, 05 Apr 2013 10:50:42 -0400 Received: from ezel.ic.uva.nl ([146.50.108.158]:32897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO7yS-0000wC-Fq for emacs-orgmode@gnu.org; Fri, 05 Apr 2013 10:50:40 -0400 In-Reply-To: <8738v5yqzz.fsf@norang.ca> 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: Bernt Hansen Cc: emacs-orgmode@gnu.org On 5 apr. 2013, at 16:46, Bernt Hansen wrote: > Carsten Dominik writes: > >> I now also see that the patch did not achieve what the purpose of it >> was. The problem is not the end of the overlay, but the position of >> the org-agenda-restriction-end marker. Indeed, if you add tasks after >> this marker, they will not be included in the search. There is not >> good work-around for this I can think of, so it is a problem we will >> have to live with. >> >> - Carsten > > I would prefer the original highlighting behaviour as well. > I normally narrow the buffer to the subtree as well when working on it > -- and the entire narrowed buffer is bright gaudy yellow currently :). > > My workaround for the adding items to the ends is to remark the subtree > restriction. I have added speed keys P, F, W, and N in my setup for > narrow to project, narrow to file, widen, and narrow to subtree > respectively. > > I normally narrow to project with P (on any task in the project narrows > the current buffer to the project. In the agenda P sets the restriction > lock on the project -- so if I've added anything new at the end of the > project I can just hit P on any task in the agenda and the restriction > lock is reset appropriately including all of the (new) tasks in the > project. (My definition of a project is any todo keyword task that has > at least one subtask with a todo keyword.) Well, that kind of a work-around, yes. I meant something like telling the marker to insert any new text in front of it, but there is now good way. I like the speed keys! - Carsten