emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] New feature: loop over siblings for some commands


From: David Maus
Subject: Re: [O] New feature: loop over siblings for some commands
Date: Wed, 10 Aug 2011 10:34:14 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Hi Bastien,

I've created a dedicated topic branch on Github

git://github.com/dmj/dmj-org-mode.git feat/org-loop-over-headlines

And implemented looping over headlines in active region for
org-schedule und org-deadline. Differences between this branch and
your proposed patch:

1/ Extend the region to end of entry, not end of subtree


,----
| * One
|
|   X
|
| ** Two
|
| ** Three
|
| * Four
|
|   X
|
| ** Five
`----

If X marks beginning and end of region, using end of subtree would include 
heading 'Five'.

2/ Immediatly leave org-map-entries if SCOPE is 'region but no region is active.

3/ No need to factor out BODY, simply bind
org-loop-over-headlines-in-active-region to nil and map entries in
region.

Whats next: Handle folded subtrees. Currently org-schedule w/ active
region schedules hidden subtrees, too. Using a tags/prop/todo query
seems suboptimal because you would have to know the characteristics of
the region beforehand. To me this seems to defeat the conveniance of
using the region: If I already know the characteristics of which
headlines to schedule, I would have created a agenda command and use
bulk-schedule.


Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

Attachment: pgpxPoWzaIcLe.pgp
Description: PGP signature


reply via email to

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