emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org clock cookies
@ 2014-04-07 16:46 Noah Slater
  2014-04-17  8:35 ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Noah Slater @ 2014-04-07 16:46 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

Hello,

I discovered you can use "[/]" and "[%]" as cookies and have them updated
as you complete subnodes. "[3/7]", or "[20%]" and so on.

Would it be possible to code a similar cookie ("[:]" to be expanded into
"01:10" for example) that you could update with C-c C-c, or better yet,
automatically!

Thanks,

Noah

[-- Attachment #2: Type: text/html, Size: 566 bytes --]

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

* Re: Org clock cookies
  2014-04-07 16:46 Org clock cookies Noah Slater
@ 2014-04-17  8:35 ` Bastien
  2014-04-17 10:17   ` Noah Slater
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2014-04-17  8:35 UTC (permalink / raw)
  To: Noah Slater; +Cc: emacs-orgmode

Hi Noah,

Noah Slater <nslater@tumbolia.org> writes:

> Would it be possible to code a similar cookie ("[:]" to be expanded
> into "01:10" for example) that you could update with C-c C-c, or
> better yet, automatically!

Would this [01:10] cookie mean that you spent one minute on ten
minutes of efforts?

The question is more to give you a chance to convince me,
because while I find the idea quite appealing, I think we're
growing a bit too fat cookie-wise.

-- 
 Bastien

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

* Re: Org clock cookies
  2014-04-17  8:35 ` Bastien
@ 2014-04-17 10:17   ` Noah Slater
  2014-04-17 10:23     ` Noah Slater
  2014-04-17 10:34     ` Bastien
  0 siblings, 2 replies; 7+ messages in thread
From: Noah Slater @ 2014-04-17 10:17 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 910 bytes --]

I don't use estimates, so I hadn't thought about that.

"[01:10]" would mean I had spent 1hr 10m on this node, and all subnodes.
Similarly, "[2d 01:10]" would mean I had spent 2d, 1hr, and 10m on this
node, and all subnodes.

I've already started hacking on this, and can share the patch if it's
something you're interested in reviewing/integrating.


On 17 April 2014 10:35, Bastien <bzg@gnu.org> wrote:

> Hi Noah,
>
> Noah Slater <nslater@tumbolia.org> writes:
>
> > Would it be possible to code a similar cookie ("[:]" to be expanded
> > into "01:10" for example) that you could update with C-c C-c, or
> > better yet, automatically!
>
> Would this [01:10] cookie mean that you spent one minute on ten
> minutes of efforts?
>
> The question is more to give you a chance to convince me,
> because while I find the idea quite appealing, I think we're
> growing a bit too fat cookie-wise.
>
> --
>  Bastien
>

[-- Attachment #2: Type: text/html, Size: 1780 bytes --]

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

* Re: Org clock cookies
  2014-04-17 10:17   ` Noah Slater
@ 2014-04-17 10:23     ` Noah Slater
  2014-04-17 10:31       ` Bastien
  2014-04-17 10:34     ` Bastien
  1 sibling, 1 reply; 7+ messages in thread
From: Noah Slater @ 2014-04-17 10:23 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1582 bytes --]

I should add: I'm doing this because I don't like the org-clock-display.

I have detailed this in another post, but in summary:

- It doesn't work very well with indent turned on (I have a sort of patch
for this)
- Alignment of the the numbers seems wrong
- It messes up the "..." when you fold a node
- Headlines are not editable

(I customised the font face after sending my previous email on this topic.)

Even if we manage to fix org-clock-display (and I am willing to help) I
think cookies feel very natural here also.

Not sure what to do about estimates.


On 17 April 2014 12:17, Noah Slater <nslater@tumbolia.org> wrote:

> I don't use estimates, so I hadn't thought about that.
>
> "[01:10]" would mean I had spent 1hr 10m on this node, and all subnodes.
> Similarly, "[2d 01:10]" would mean I had spent 2d, 1hr, and 10m on this
> node, and all subnodes.
>
> I've already started hacking on this, and can share the patch if it's
> something you're interested in reviewing/integrating.
>
>
> On 17 April 2014 10:35, Bastien <bzg@gnu.org> wrote:
>
>> Hi Noah,
>>
>> Noah Slater <nslater@tumbolia.org> writes:
>>
>> > Would it be possible to code a similar cookie ("[:]" to be expanded
>> > into "01:10" for example) that you could update with C-c C-c, or
>> > better yet, automatically!
>>
>> Would this [01:10] cookie mean that you spent one minute on ten
>> minutes of efforts?
>>
>> The question is more to give you a chance to convince me,
>> because while I find the idea quite appealing, I think we're
>> growing a bit too fat cookie-wise.
>>
>> --
>>  Bastien
>>
>
>

[-- Attachment #2: Type: text/html, Size: 3709 bytes --]

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

* Re: Org clock cookies
  2014-04-17 10:23     ` Noah Slater
@ 2014-04-17 10:31       ` Bastien
  0 siblings, 0 replies; 7+ messages in thread
From: Bastien @ 2014-04-17 10:31 UTC (permalink / raw)
  To: Noah Slater; +Cc: emacs-orgmode

Hi Noah,

Noah Slater <nslater@tumbolia.org> writes:

> I have detailed this in another post, but in summary:
>
> - It doesn't work very well with indent turned on (I have a sort of
> patch for this)

This has been fixed.

> - Alignment of the the numbers seems wrong

Fixed too.

> - It messes up the "..." when you fold a node

Not sure what it means.

> - Headlines are not editable

On purpose.

> Even if we manage to fix org-clock-display (and I am willing to help)
> I think cookies feel very natural here also.

See my other answer for this.

-- 
 Bastien

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

* Re: Org clock cookies
  2014-04-17 10:17   ` Noah Slater
  2014-04-17 10:23     ` Noah Slater
@ 2014-04-17 10:34     ` Bastien
  2014-04-20  9:15       ` Noah Slater
  1 sibling, 1 reply; 7+ messages in thread
From: Bastien @ 2014-04-17 10:34 UTC (permalink / raw)
  To: Noah Slater; +Cc: emacs-orgmode

Hi Noah,

Noah Slater <nslater@tumbolia.org> writes:

> "[01:10]" would mean I had spent 1hr 10m on this node, and all
> subnodes. Similarly, "[2d 01:10]" would mean I had spent 2d, 1hr, and
> 10m on this node, and all subnodes.

We can make `org-clock-display' display effort too.

Since `org-clock-display' has been fixed, can you first check
if the current behavior better fits your needs?

> I've already started hacking on this, and can share the patch if it's
> something you're interested in reviewing/integrating.

I'm reluctant adding more cookies because they add temporary
content to the headline.

-- 
 Bastien

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

* Re: Org clock cookies
  2014-04-17 10:34     ` Bastien
@ 2014-04-20  9:15       ` Noah Slater
  0 siblings, 0 replies; 7+ messages in thread
From: Noah Slater @ 2014-04-20  9:15 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

Okay, yep. I'm happy with the org-clock-display stuff for now. Thanks for
your responses on this thread.


On 17 April 2014 12:34, Bastien <bzg@gnu.org> wrote:

> Hi Noah,
>
> Noah Slater <nslater@tumbolia.org> writes:
>
> > "[01:10]" would mean I had spent 1hr 10m on this node, and all
> > subnodes. Similarly, "[2d 01:10]" would mean I had spent 2d, 1hr, and
> > 10m on this node, and all subnodes.
>
> We can make `org-clock-display' display effort too.
>
> Since `org-clock-display' has been fixed, can you first check
> if the current behavior better fits your needs?
>
> > I've already started hacking on this, and can share the patch if it's
> > something you're interested in reviewing/integrating.
>
> I'm reluctant adding more cookies because they add temporary
> content to the headline.
>
> --
>  Bastien
>

[-- Attachment #2: Type: text/html, Size: 1407 bytes --]

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

end of thread, other threads:[~2014-04-20  9:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-07 16:46 Org clock cookies Noah Slater
2014-04-17  8:35 ` Bastien
2014-04-17 10:17   ` Noah Slater
2014-04-17 10:23     ` Noah Slater
2014-04-17 10:31       ` Bastien
2014-04-17 10:34     ` Bastien
2014-04-20  9:15       ` Noah Slater

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).