[Orgmode] Re: Release 6.28

2009-07-03 Thread Ulf Stegemann
Carsten Dominik  wrote:

> On Jul 1, 2009, at 12:26 PM, Christian Egli wrote:
>
>>
>> Hi all
>>
>> Carsten Dominik  writes:
>>
>>> On Jul 1, 2009, at 9:20 AM, Ulf Stegemann wrote:
 Carsten Dominik  wrote:
> Bulk action
> 
>
> We can add more actions, if you convince me they make sense.

 IMHO setting scheduled (and maybe deadline) date would make sense.
>>>
>>> In what sense?  Shifting all dates by the same amount, or setting them
>>> all to a fixed date?
>>
>> I usually display unscheduled TODO items in my agenda as well
>> (org-agenda-include-all-todo), so if I decide that I should work on some
>> of them next week then a bulk action to schedule them might come in
>> handy.
>>
>> So one use case is to set a fixed scheduled date for a number of TODOs.
>> In my case these are tasks that have not been scheduled yet.
>>
>> Another use case is when I decide that there will not be enough time
>> this week to complete all scheduled tasks. I want to move some of the
>> tasks to next week. This could be either a shift by 7 days or a
>> rescheduling to next monday (a fixed date).
>
> This should work now, I added "s" and "d" as bulk commands.
> Both commands will prompt for a date, and that date will be set for all
> entries.
>
> If you specify something like "++2d" at the prompt, all
> dates will be shifted by the same amount.

Works like a charm and proves to be a useful time-saver from the very
fist moment on. Thanks for implementing it :)

Ulf



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Release 6.28

2009-07-02 Thread Carsten Dominik


On Jul 1, 2009, at 12:26 PM, Christian Egli wrote:



Hi all

Carsten Dominik  writes:


On Jul 1, 2009, at 9:20 AM, Ulf Stegemann wrote:

Carsten Dominik  wrote:

Bulk action


We can add more actions, if you convince me they make sense.


IMHO setting scheduled (and maybe deadline) date would make sense.


In what sense?  Shifting all dates by the same amount, or setting  
them

all to a fixed date?


I usually display unscheduled TODO items in my agenda as well
(org-agenda-include-all-todo), so if I decide that I should work on  
some

of them next week then a bulk action to schedule them might come in
handy.

So one use case is to set a fixed scheduled date for a number of  
TODOs.

In my case these are tasks that have not been scheduled yet.

Another use case is when I decide that there will not be enough time
this week to complete all scheduled tasks. I want to move some of the
tasks to next week. This could be either a shift by 7 days or a
rescheduling to next monday (a fixed date).


This should work now, I added "s" and "d" as bulk commands.
Both commands will prompt for a date, and that date will be set for  
all entries.


If you specify something like "++2d" at the prompt, all
dates will be shifted by the same amount.

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Release 6.28

2009-07-02 Thread Carsten Dominik


On Jul 2, 2009, at 1:14 PM, Ulf Stegemann wrote:


Carsten Dominik  wrote:


On Jul 1, 2009, at 1:17 PM, Ulf Stegemann wrote:
Yes, both shifting by the same amount and setting a fixed date can  
be

useful. I usually re-schedule leftover todos by shifting them by one
or two working days to the future. So originally I had a bulk  
version of

`org-agenda-do-date-later' and friends in mind as opposed to
`org-agenda-schedule'. But the latter one would be useful to.  
Ideally,
S-left, C-cC-s et al. would trigger a bulk shift/bulk schedule  
whenever

there are marked agenda items.


I am not so sure about this last point.  I am not a
fan of automatic bulk action if several items are selected.

- these lists can become long, and selected entries might
 be off the screen
- for this to make sense, selected entries should remain
 selected after action, increasing the danger of unwanted action
- you might be in the process of selecting some entries, when you
 want to do a quick action on an individual entry you come across.
 But you cannot, because any action will act on all selected ones.

So I do prefer a special command like "B" to introduce bulk action.


I undecided on this, too. Automagically working on marked entries  
should

they exists seems more natural to me but you are right more dangerous,
too. So I'm perfectly with you except that I'd say that marked entries
should be unmarked after the action.


The reason why I said they would have to stay marked is that when
you use S-right to reschedule, you want to be able to repeat
this command several times to reach the desired date.

OK, settled, we will use the special command.

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Release 6.28

2009-07-02 Thread Ulf Stegemann
Carsten Dominik  wrote:

> On Jul 1, 2009, at 1:17 PM, Ulf Stegemann wrote:
>> Yes, both shifting by the same amount and setting a fixed date can be
>> useful. I usually re-schedule leftover todos by shifting them by one
>> or two working days to the future. So originally I had a bulk version of
>> `org-agenda-do-date-later' and friends in mind as opposed to
>> `org-agenda-schedule'. But the latter one would be useful to. Ideally,
>> S-left, C-cC-s et al. would trigger a bulk shift/bulk schedule whenever
>> there are marked agenda items.
>
> I am not so sure about this last point.  I am not a
> fan of automatic bulk action if several items are selected.
>
> - these lists can become long, and selected entries might
>   be off the screen
> - for this to make sense, selected entries should remain
>   selected after action, increasing the danger of unwanted action
> - you might be in the process of selecting some entries, when you
>   want to do a quick action on an individual entry you come across.
>   But you cannot, because any action will act on all selected ones.
>
> So I do prefer a special command like "B" to introduce bulk action.

I undecided on this, too. Automagically working on marked entries should
they exists seems more natural to me but you are right more dangerous,
too. So I'm perfectly with you except that I'd say that marked entries
should be unmarked after the action. But anyway, triggering bulk actions
with a special command appears absolutely fine to me.

Ulf



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Release 6.28

2009-07-02 Thread Carsten Dominik


On Jul 1, 2009, at 1:17 PM, Ulf Stegemann wrote:

Yes, both shifting by the same amount and setting a fixed date can be
useful. I usually re-schedule leftover todos by shifting them by one
or two working days to the future. So originally I had a bulk  
version of

`org-agenda-do-date-later' and friends in mind as opposed to
`org-agenda-schedule'. But the latter one would be useful to. Ideally,
S-left, C-cC-s et al. would trigger a bulk shift/bulk schedule  
whenever

there are marked agenda items.


I am not so sure about this last point.  I am not a
fan of automatic bulk action if several items are selected.

- these lists can become long, and selected entries might
  be off the screen
- for this to make sense, selected entries should remain
  selected after action, increasing the danger of unwanted action
- you might be in the process of selecting some entries, when you
  want to do a quick action on an individual entry you come across.
  But you cannot, because any action will act on all selected ones.

So I do prefer a special command like "B" to introduce bulk action.

Opinions?

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Release 6.28

2009-07-01 Thread Ulf Stegemann
Christian Egli  wrote:

> Carsten Dominik  writes:
>
>> On Jul 1, 2009, at 9:20 AM, Ulf Stegemann wrote:
>>> Carsten Dominik  wrote:
 Bulk action
 

 We can add more actions, if you convince me they make sense.
>>>
>>> IMHO setting scheduled (and maybe deadline) date would make sense.
>>
>> In what sense?  Shifting all dates by the same amount, or setting them
>> all to a fixed date?
>
> I usually display unscheduled TODO items in my agenda as well
> (org-agenda-include-all-todo), so if I decide that I should work on some
> of them next week then a bulk action to schedule them might come in
> handy.
>
> So one use case is to set a fixed scheduled date for a number of TODOs.
> In my case these are tasks that have not been scheduled yet.
>
> Another use case is when I decide that there will not be enough time
> this week to complete all scheduled tasks. I want to move some of the
> tasks to next week. This could be either a shift by 7 days or a
> rescheduling to next monday (a fixed date).

Yes, both shifting by the same amount and setting a fixed date can be
useful. I usually re-schedule leftover todos by shifting them by one
or two working days to the future. So originally I had a bulk version of
`org-agenda-do-date-later' and friends in mind as opposed to
`org-agenda-schedule'. But the latter one would be useful to. Ideally,
S-left, C-cC-s et al. would trigger a bulk shift/bulk schedule whenever
there are marked agenda items.

Ulf



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Release 6.28

2009-07-01 Thread Christian Egli

Hi all

Carsten Dominik  writes:

> On Jul 1, 2009, at 9:20 AM, Ulf Stegemann wrote:
>> Carsten Dominik  wrote:
>>> Bulk action
>>> 
>>>
>>> We can add more actions, if you convince me they make sense.
>>
>> IMHO setting scheduled (and maybe deadline) date would make sense.
>
> In what sense?  Shifting all dates by the same amount, or setting them
> all to a fixed date?

I usually display unscheduled TODO items in my agenda as well
(org-agenda-include-all-todo), so if I decide that I should work on some
of them next week then a bulk action to schedule them might come in
handy.

So one use case is to set a fixed scheduled date for a number of TODOs.
In my case these are tasks that have not been scheduled yet.

Another use case is when I decide that there will not be enough time
this week to complete all scheduled tasks. I want to move some of the
tasks to next week. This could be either a shift by 7 days or a
rescheduling to next monday (a fixed date).

Thanks
Christian





___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Release 6.28

2009-07-01 Thread Carsten Dominik


On Jul 1, 2009, at 9:20 AM, Ulf Stegemann wrote:


Carsten Dominik  wrote:


Bulk action


You can now use the `s' key to select entries in the agenda.
When one or more entries have been selected, the `B' key will
execute an action on all selected entries.  I believe this bulk
action makes mainly sense for the commands that require answering
interactive prompts.  So far the supported actions are

- Refile all selected entries to a single destination
- Archive all selected entries
- Set the TODO state of all selected entries, bypassing any
  blocking or note-taking.
- Add or remove a tag to/from all selected entries

We can add more actions, if you convince me they make sense.


IMHO setting scheduled (and maybe deadline) date would make sense.


In what sense?  Shifting all dates by the same amount, or setting them  
all to a fixed date?


- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Release 6.28

2009-07-01 Thread Ulf Stegemann
Carsten Dominik  wrote:

> Bulk action
> 
>
> You can now use the `s' key to select entries in the agenda.
> When one or more entries have been selected, the `B' key will
> execute an action on all selected entries.  I believe this bulk
> action makes mainly sense for the commands that require answering
> interactive prompts.  So far the supported actions are
>
>  - Refile all selected entries to a single destination
>  - Archive all selected entries
>  - Set the TODO state of all selected entries, bypassing any
>blocking or note-taking.
>  - Add or remove a tag to/from all selected entries
>
> We can add more actions, if you convince me they make sense.

IMHO setting scheduled (and maybe deadline) date would make sense.

Ulf



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Release 6.28

2009-06-26 Thread Bernt Hansen
Carsten Dominik  writes:

> I have changed the key bindings now:
>
> sback to save files, even tough I think C-x C-s is fine
>  If I find a use for "s" later, I will probably take it
> vd
> vw
> vm
> vy  for the day, week, month, year views
>
> d
> w   still available shortcuts for day and week view
>
> vl  for log mode, "l" still available as shortcut
> va  include :ARCHIVE: tree stuff
> vA  include :ARCHIVE: tree stuff and archive files
>
> m   mark
> u   unmark
> U   unmark all
> B   execute bulk action
>

That'll work :)

-Bernt


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Release 6.28

2009-06-25 Thread Matthew Lundin
Carsten Dominik  writes:

> Hi,
>
> I have uploaded release 6.28.  Once more I urge you to read
> the release notes carefully, there are many very interesting changes.

Thanks, as ever, for this fantastic update! I'm looking forward to using
the new batch agenda operations. 

- Matt


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Release 6.28

2009-06-25 Thread Carsten Dominik


On Jun 25, 2009, at 4:57 PM, Bernt Hansen wrote:


Carsten Dominik  writes:


With `d' and `w' in place, `m' and `y' are consistent, logical.
However, I don't believe anyone uses monthly views, I am sure
that no-one uses yearly views, right?  So I will negotiate over
`m', i someone can propose a viable alternative that makes sense.


I use monthly view... monthly :)  To get my clock report usage for the
file over the past month.  I restrict the agenda to the single file  
when
doing this monthly view to get clock time just for this project and  
that

could possibly be done with a dynamic block.

I've been enjoying not having my generated clock reports in my git
history though and the agenda monthly view is perfect for that.


Nobody is talking about abandoning monthly view - only about putting  
it on a different key.


- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Release 6.28

2009-06-25 Thread Bernt Hansen
Carsten Dominik  writes:

> With `d' and `w' in place, `m' and `y' are consistent, logical.
> However, I don't believe anyone uses monthly views, I am sure
> that no-one uses yearly views, right?  So I will negotiate over
> `m', i someone can propose a viable alternative that makes sense.

I use monthly view... monthly :)  To get my clock report usage for the
file over the past month.  I restrict the agenda to the single file when
doing this monthly view to get clock time just for this project and that
could possibly be done with a dynamic block.

I've been enjoying not having my generated clock reports in my git
history though and the agenda monthly view is perfect for that.

-Bernt


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Release 6.28

2009-06-25 Thread Carsten Dominik


On Jun 25, 2009, at 9:10 AM, Carsten Dominik wrote:


Changes in Version 6.28
===

Bulk action


You can now use the `s' key to select entries in the agenda.
When one or more entries have been selected, the `B' key will
execute an action on all selected entries.  I believe this bulk
action makes mainly sense for the commands that require answering
interactive prompts.  So far the supported actions are

- Refile all selected entries to a single destination
- Archive all selected entries
- Set the TODO state of all selected entries, bypassing any
  blocking or note-taking.
- Add or remove a tag to/from all selected entries

We can add more actions, if you convince me they make sense.


Note that this new command is not yet tested well and has
destructive potential.  Please test it under appropriate
security measures, i.e. backups or git-protected files.

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode