emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-archive-subtree should not include statitics counters for :ARCHIVE_OLPATH: [8.0.1 (release_8.0.1-10676-gd887b9 @ /home/mrb/dev/emacs/packages/org-mode/lisp/)]
@ 2013-04-29  8:50 Marcel van der Boom
  2013-05-02 10:17 ` Marcel van der Boom
  2013-05-04 19:40 ` Carsten Dominik
  0 siblings, 2 replies; 7+ messages in thread
From: Marcel van der Boom @ 2013-04-29  8:50 UTC (permalink / raw)
  To: emacs-orgmode


When using org-archive-subtree, any statistic counters present in the
header will be copied to
the :ARCHIVE_OLPATH: property.

Example:

The property  is set to:

  ':ARCHIVE_OLPATH: Development           [22%] [82/358]/Openobject  tasks/OpenERP 7.x Interne HSD implementatie [31%] [35/112]'

when the hierarchy is

* Development           [22%] [82/358]
** Openobject  tasks
*** OpenERP 7.x Interne HSD implementatie [31%] [35/112]'

These statistics should not be copied to the property.

Emacs  : GNU Emacs 24.3.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.0)
 of 2013-03-30 on mrb
Package: Org-mode version 8.0.1 (release_8.0.1-10676-gd887b9 @ /home/mrb/dev/emacs/packages/org-mode/lisp/)
-- 
Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
HS-Development BV    -- http://www.hsdev.com
We use bitcoin!      -- http://bitcoin.org

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

* Re: Bug: org-archive-subtree should not include statitics counters for :ARCHIVE_OLPATH: [8.0.1 (release_8.0.1-10676-gd887b9 @ /home/mrb/dev/emacs/packages/org-mode/lisp/)]
  2013-04-29  8:50 Bug: org-archive-subtree should not include statitics counters for :ARCHIVE_OLPATH: [8.0.1 (release_8.0.1-10676-gd887b9 @ /home/mrb/dev/emacs/packages/org-mode/lisp/)] Marcel van der Boom
@ 2013-05-02 10:17 ` Marcel van der Boom
  2013-05-04 19:40 ` Carsten Dominik
  1 sibling, 0 replies; 7+ messages in thread
From: Marcel van der Boom @ 2013-05-02 10:17 UTC (permalink / raw)
  To: emacs-orgmode

On ma 29-apr-2013 10:50
Marcel van der Boom <marcel@hsdev.com> wrote:

> 
> When using org-archive-subtree, any statistic counters present in the
> header will be copied to
> the :ARCHIVE_OLPATH: property.
> 

Can anyone else reproduce this? Do I need to provide more information?

Thx,
marcel
-- 
Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
HS-Development BV    -- http://www.hsdev.com
We use bitcoin!      -- http://bitcoin.org

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

* Re: Bug: org-archive-subtree should not include statitics counters for :ARCHIVE_OLPATH: [8.0.1 (release_8.0.1-10676-gd887b9 @ /home/mrb/dev/emacs/packages/org-mode/lisp/)]
  2013-04-29  8:50 Bug: org-archive-subtree should not include statitics counters for :ARCHIVE_OLPATH: [8.0.1 (release_8.0.1-10676-gd887b9 @ /home/mrb/dev/emacs/packages/org-mode/lisp/)] Marcel van der Boom
  2013-05-02 10:17 ` Marcel van der Boom
@ 2013-05-04 19:40 ` Carsten Dominik
  2013-05-07 13:12   ` Bastien
  1 sibling, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2013-05-04 19:40 UTC (permalink / raw)
  To: Marcel van der Boom; +Cc: emacs-orgmode


On 29.4.2013, at 10:50, Marcel van der Boom <marcel@hsdev.com> wrote:

> 
> When using org-archive-subtree, any statistic counters present in the
> header will be copied to
> the :ARCHIVE_OLPATH: property.
> 
> Example:
> 
> The property  is set to:
> 
>  ':ARCHIVE_OLPATH: Development           [22%] [82/358]/Openobject  tasks/OpenERP 7.x Interne HSD implementatie [31%] [35/112]'
> 
> when the hierarchy is
> 
> * Development           [22%] [82/358]
> ** Openobject  tasks
> *** OpenERP 7.x Interne HSD implementatie [31%] [35/112]'
> 
> These statistics should not be copied to the property.

I can reproduce this, and I agree that it might be useful to remove them when constructing the OLPATH.  I would accept a patch to this effect.

- Carsten

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

* Re: Bug: org-archive-subtree should not include statitics counters for :ARCHIVE_OLPATH: [8.0.1 (release_8.0.1-10676-gd887b9 @ /home/mrb/dev/emacs/packages/org-mode/lisp/)]
  2013-05-04 19:40 ` Carsten Dominik
@ 2013-05-07 13:12   ` Bastien
  2013-05-07 13:29     ` Carsten Dominik
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2013-05-07 13:12 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Marcel van der Boom, emacs-orgmode

Carsten Dominik <carsten.dominik@gmail.com> writes:

> I can reproduce this, and I agree that it might be useful to remove
> them when constructing the OLPATH.  I would accept a patch to this
> effect.

I just pushed a fix for this.

-- 
 Bastien

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

* Re: Bug: org-archive-subtree should not include statitics counters for :ARCHIVE_OLPATH: [8.0.1 (release_8.0.1-10676-gd887b9 @ /home/mrb/dev/emacs/packages/org-mode/lisp/)]
  2013-05-07 13:12   ` Bastien
@ 2013-05-07 13:29     ` Carsten Dominik
  2013-05-07 18:28       ` Marcel van der Boom
  0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2013-05-07 13:29 UTC (permalink / raw)
  To: Bastien; +Cc: Marcel van der Boom, emacs-orgmode


On 7 mei 2013, at 15:12, Bastien <bzg@gnu.org> wrote:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
> 
>> I can reproduce this, and I agree that it might be useful to remove
>> them when constructing the OLPATH.  I would accept a patch to this
>> effect.
> 
> I just pushed a fix for this.

Thanks you Bastien.  Marcel, can you please verify the change?  Thanks.

- Carsten

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

* Re: Bug: org-archive-subtree should not include statitics counters for :ARCHIVE_OLPATH: [8.0.1 (release_8.0.1-10676-gd887b9 @ /home/mrb/dev/emacs/packages/org-mode/lisp/)]
  2013-05-07 13:29     ` Carsten Dominik
@ 2013-05-07 18:28       ` Marcel van der Boom
  2013-05-07 20:10         ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Marcel van der Boom @ 2013-05-07 18:28 UTC (permalink / raw)
  To: emacs-orgmode



On di 07-mei-2013 15:29
Carsten Dominik <carsten.dominik@gmail.com> wrote:

> On 7 mei 2013, at 15:12, Bastien <bzg@gnu.org> wrote:
> 
>> Carsten Dominik <carsten.dominik@gmail.com> writes:
>>   
>>> I can reproduce this, and I agree that it might be useful to remove
>>> them when constructing the OLPATH.  I would accept a patch to this
>>> effect.  
>> 
>> I just pushed a fix for this.  
> 
> Thanks you Bastien.  Marcel, can you please verify the change?
> Thanks.

Thanks! I ran a couple of quick testcases and they all went ok!

marcel

PS
I first looked at the headers themselves in the archive and thought it
didn't work when I realized I was supposed to look at the ARCHIVE_OLPATH
property. It triggered the thought that it would make sense,
to me, to have the statistics also filtered from the header on
archiving? 
-- 
Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
HS-Development BV    -- http://www.hsdev.com
We use bitcoin!      -- http://bitcoin.org

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

* Re: Bug: org-archive-subtree should not include statitics counters for :ARCHIVE_OLPATH: [8.0.1 (release_8.0.1-10676-gd887b9 @ /home/mrb/dev/emacs/packages/org-mode/lisp/)]
  2013-05-07 18:28       ` Marcel van der Boom
@ 2013-05-07 20:10         ` Bastien
  0 siblings, 0 replies; 7+ messages in thread
From: Bastien @ 2013-05-07 20:10 UTC (permalink / raw)
  To: Marcel van der Boom; +Cc: emacs-orgmode

Marcel van der Boom <marcel@hsdev.com> writes:

> Thanks! I ran a couple of quick testcases and they all went ok!

Thanks for confirming!

> I first looked at the headers themselves in the archive and thought it
> didn't work when I realized I was supposed to look at the ARCHIVE_OLPATH
> property. It triggered the thought that it would make sense,
> to me, to have the statistics also filtered from the header on
> archiving? 

I think it's better to archive with statistics and checkbox cookies,
as they give information about the status of the task when archiving.

-- 
 Bastien

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

end of thread, other threads:[~2013-05-07 20:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-29  8:50 Bug: org-archive-subtree should not include statitics counters for :ARCHIVE_OLPATH: [8.0.1 (release_8.0.1-10676-gd887b9 @ /home/mrb/dev/emacs/packages/org-mode/lisp/)] Marcel van der Boom
2013-05-02 10:17 ` Marcel van der Boom
2013-05-04 19:40 ` Carsten Dominik
2013-05-07 13:12   ` Bastien
2013-05-07 13:29     ` Carsten Dominik
2013-05-07 18:28       ` Marcel van der Boom
2013-05-07 20:10         ` 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).