[Top][All Lists]
[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
pgpxPoWzaIcLe.pgp
Description: PGP signature
- Re: [O] New feature: loop over siblings for some commands,
David Maus <=
- Re: [O] New feature: loop over siblings for some commands, David Maus, 2011/08/12
- Re: [O] New feature: loop over siblings for some commands, Bastien, 2011/08/16
- [O] [PATCH 0/5] loop over headlines in active region, David Maus, 2011/08/25
- Re: [O] [PATCH 0/5] loop over headlines in active region, Carsten Dominik, 2011/08/25
- Re: [O] [PATCH 0/5] loop over headlines in active region, David Maus, 2011/08/28
- Re: [O] [PATCH 0/5] loop over headlines in active region, Carsten Dominik, 2011/08/29
- Re: [O] [PATCH 0/5] loop over headlines in active region, David Maus, 2011/08/30
- Re: [O] [PATCH 0/5] loop over headlines in active region, Štěpán Němec, 2011/08/25
- Re: [O] [PATCH 0/5] loop over headlines in active region, David Maus, 2011/08/28
- [O] [PATCH 1/5] Extend scope 'region to include body of last headline in active region, David Maus, 2011/08/25