emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH 0/5] loop over headlines in active region


From: David Maus
Subject: [O] [PATCH 0/5] loop over headlines in active region
Date: Thu, 25 Aug 2011 06:25:29 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]