From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [PATCH 0/5] loop over headlines in active region Date: Thu, 6 Oct 2011 10:35:18 +0200 Message-ID: References: <87obzpl3ec.fsf@gnu.org> <1314246334-5053-1-git-send-email-dmaus@ictsoc.de> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBjQI-00065Y-2W for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 04:35:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBjQH-0008Pj-2e for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 04:35:22 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:40937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBjQG-0008PY-Tf for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 04:35:21 -0400 Received: by eye13 with SMTP id 13so2751113eye.0 for ; Thu, 06 Oct 2011 01:35:20 -0700 (PDT) In-Reply-To: <1314246334-5053-1-git-send-email-dmaus@ictsoc.de> 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: David Maus Cc: emacs-orgmode@gnu.org Hi David, I see that this patch is still on the patchwork server. What is the status, I remember that you dot a number of comments.... - Carsten On Aug 25, 2011, at 6:25 AM, David Maus wrote: > Hi Bastien, > >> Great -- can you submit a patch against current git head? > > Following 5 patches implement looping over headlines in active region > for org-schedule and org-deadline. Invisible headlines are skipped and > bulk-agenda commands work by binding the customization variable to nil > before executing a command. > > I've been running with this modification for 2 weeks now, using the > feature occassionally without a visibile problem. > > As for the macro: What stop me to implement a macro for the generic > operation is that for now the macro would depend on the global > customization variable. That's not a problem per se but according to > my readings about macros (mostly in context of Common Lisp, but that > shouldn't matter) it should be considered bad style. > > I did some experiments with defining an `org-map-entries' MATCH of > 'current that causes FUNC to be applied to the current heading > only, but I'm not sure if this would be a right thing (tm) to do. > > Best, > -- David > > David Maus (5): > Extend scope 'region to include body of last headline in active > region > Immediately return if scope is region but no region is active > New customization variable: Loop over headlines in active region > Skip invisible headlines when mapping over headlines in active region > Avoid conflict between bulk command and loop-over-headlines > > - Carsten