emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Proposal: adjust CLOCK directly in agenda
@ 2012-08-30  9:02 Rainer Stengele
  2012-08-30 14:44 ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer Stengele @ 2012-08-30  9:02 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I use the agenda most of the day.
Many times I have to adjust clock entries:
Adding a quarter of an hour or more to an entry and subtracting that
time from a preceding or following entry in the agenda. In order to do
that I have to leave the agenda, go to the CLOCK entry of the item
(having to open the LOGBOOK drawer ..) and adjust with org-shiftup
(Increase item in timestamp or increase priority of current headline) or
org-shiftdown.

My proposal is to allow that operation directly in the agenda CLOCK
entry. Having point on the starting or ending clock of the CLOCK entry
would adjust the CLOCK without having to enter the item and going back
to the agenda, having to reload it to see the effect.
I would propose to also use context dependant org-shiftup and org-shiftdown.
As we already have operations allowed directly in the agenda (change
priority etc.) this would not be an inconsistent behaviour.

For me this would save lots of keystrokes and also waiting time saving
the agenda reload time (which in my case is not insignificant).

Any thoughts?

Cheers,
Rainer

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Proposal: adjust CLOCK directly in agenda
  2012-08-30  9:02 Proposal: adjust CLOCK directly in agenda Rainer Stengele
@ 2012-08-30 14:44 ` Bastien
  2012-08-30 15:29   ` Rainer Stengele
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2012-08-30 14:44 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode

Hi Rainer,

not exactly what you suggested, but still an improvement:

Now S-<left/right> on the CLOCKSUM column will update the
last clocks.  Since the column view is both available from
org-mode and org-agenda-mode, I think it is useful.

As for something more complex without column view, I'm not
yet convinced this is necessary.

Please have a try and let me know what you think,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Proposal: adjust CLOCK directly in agenda
  2012-08-30 14:44 ` Bastien
@ 2012-08-30 15:29   ` Rainer Stengele
  2012-09-02  8:46     ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer Stengele @ 2012-08-30 15:29 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Am 30.08.2012 16:44, schrieb Bastien:
> Hi Rainer,
> 
> not exactly what you suggested, but still an improvement:
> 
> Now S-<left/right> on the CLOCKSUM column will update the
> last clocks.  Since the column view is both available from
> org-mode and org-agenda-mode, I think it is useful.
> 
> As for something more complex without column view, I'm not
> yet convinced this is necessary.
> 
> Please have a try and let me know what you think,
> 
I cannot find a property which shows the start and ending time of an
entry, so changing the total time is useless for me as I do not see
where the task started or ended.
I still consider the ability to edit values in the normal agenda view as
an advantage.

Thanks,
Rainer

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Proposal: adjust CLOCK directly in agenda
  2012-08-30 15:29   ` Rainer Stengele
@ 2012-09-02  8:46     ` Bastien
  2013-12-09 12:21       ` Rainer Stengele
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2012-09-02  8:46 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode

Hi Rainer,

Rainer Stengele <rainer.stengele@online.de> writes:

> I cannot find a property which shows the start and ending time of an
> entry, so changing the total time is useless for me as I do not see
> where the task started or ended.
> I still consider the ability to edit values in the normal agenda view as
> an advantage.

The change I implemented allows you to adjust the last clock of an entry
from the agenda column view.

Just go to such a view, S-<up> in a CLOCKSUM field and this will add
minutes to your clock.

I didn't implement adjusting clocks in cascade yet, as this needs to
be clearly presented to the user, but I had a look and will suggest
something.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Proposal: adjust CLOCK directly in agenda
  2012-09-02  8:46     ` Bastien
@ 2013-12-09 12:21       ` Rainer Stengele
  2014-01-03 16:41         ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer Stengele @ 2013-12-09 12:21 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Am 02.09.2012 10:46, schrieb Bastien:
> Hi Rainer,
> 
> Rainer Stengele <rainer.stengele@online.de> writes:
> 
>> I cannot find a property which shows the start and ending time of an
>> entry, so changing the total time is useless for me as I do not see
>> where the task started or ended.
>> I still consider the ability to edit values in the normal agenda view as
>> an advantage.
> 
> The change I implemented allows you to adjust the last clock of an entry
> from the agenda column view.
> 
> Just go to such a view, S-<up> in a CLOCKSUM field and this will add
> minutes to your clock.
> 
> I didn't implement adjusting clocks in cascade yet, as this needs to
> be clearly presented to the user, but I had a look and will suggest
> something.
> 
> Thanks,
> 
Bastien,

I still do a lot of adjustments to clocks after some time through the day
or even after checking the weeks or months past agenda.
I live in the agenda and there I find I have to adjust clocks.
For now I have to visit the org buffer, go to the clock entry, adjust the entry,
go back to agenda and reload (I work with sticky agendas).
I would very much like to stay in the agenda and simply S-<up> or S-<down> being on a clock entry.
That operation would update the clocks in the org buffer.
Any chance to get this as on a enhancement wish list?
if not could you please direct me to a way how I could possibly begin to program such a feature.

Thank you!

Rainer

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Proposal: adjust CLOCK directly in agenda
  2013-12-09 12:21       ` Rainer Stengele
@ 2014-01-03 16:41         ` Bastien
  0 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2014-01-03 16:41 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode

Hi Rainer,

Rainer Stengele <rainer.stengele@online.de> writes:

> I would very much like to stay in the agenda and simply S-<up> or
> S-<down> being on a clock entry.

The problem is that clock logs are not displayed in the agenda.
When they are, this is through `E', and the clock log do not carry
the necessary text properties that enable timestamp changes.

> That operation would update the clocks in the org buffer.
> Any chance to get this as on a enhancement wish list?
> if not could you please direct me to a way how I could possibly
> begin to program such a feature.

You can start by looking at org-agenda-clock-in and the way it wraps
org-clock-in within org-with-remote-undo -- but beware that a new
command org-agenda-clock-timestamps-up needs to be very robust since
it will modify hidden text.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-03 16:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-30  9:02 Proposal: adjust CLOCK directly in agenda Rainer Stengele
2012-08-30 14:44 ` Bastien
2012-08-30 15:29   ` Rainer Stengele
2012-09-02  8:46     ` Bastien
2013-12-09 12:21       ` Rainer Stengele
2014-01-03 16:41         ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).