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, 25 Aug 2011 08:13:21 +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/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwTtS-0007Kq-SL for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 02:58:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwTtJ-0006FS-Nv for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 02:58:26 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:56897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwTtJ-0006FD-CU for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 02:58:17 -0400 Received: by ewy9 with SMTP id 9so914610ewy.0 for ; Wed, 24 Aug 2011 23:58:16 -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
On 25.8.2011, at 06:25, 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

Hi = David,

I am wondering, why did you choose to skip invisible = headlines?
I would worry that this introduces inconsistent behavior = and also
makes it hard to use this feature in a programmatic = way.

Regards 

- = Carsten



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



=