emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* no annual agenda entries for repeater interval "year"
@ 2009-09-16 17:43 Steffen Prochnow
  2009-09-16 22:43 ` Sebastian Rose
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Steffen Prochnow @ 2009-09-16 17:43 UTC (permalink / raw)
  To: emacs-orgmode


Hi,

I defined a repeater interval of one year, e.g., <2009-09-16 Wed +1y>,
for an existing headline item. Opening the agenda view this headline is
shown for the 2009-09-16. But, it's missing for any annual repetition,
i.e., there is no entry on 2010-09-16, 2011-09-16, etc.

Regards
Steffen Prochnow


Emacs  : GNU Emacs 22.3.1 (i486-pc-linux-gnu, X toolkit, Xaw3d
scrollbars) of 2009-06-26 on rivendell, modified by Debian
Package: Org-mode version 6.30trans (release_6.30d.822.g738ba)

current state:
==============
(setq
 org-agenda-files '("~/tmp/tmp.org")
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-agenda-start-with-follow-mode t
 org-cycle-hook '(org-cycle-hide-archived-subtrees
 org-cycle-hide-drawers org-cycle-show-empty-lines
		  org-optimize-window-after-visibility-change)
 org-mode-hook '((lambda nil (org-add-hook (quote
 change-major-mode-hook) (quote org-show-block-all) (quote append)
 (quote local)))
		 (lambda nil (make-variable-buffer-local (quote
 yas/trigger-key)) (setq yas/trigger-key [tab])
		  (define-key yas/keymap [tab] (quote
 yas/next-field-group)) (flyspell-mode 1))
		 turn-on-font-lock)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-occur-hook '(org-first-headline-recenter)
 )

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

* Re: no annual agenda entries for repeater interval "year"
  2009-09-16 17:43 no annual agenda entries for repeater interval "year" Steffen Prochnow
@ 2009-09-16 22:43 ` Sebastian Rose
  2009-09-17 17:03   ` Steffen Prochnow
  2009-09-16 22:55 ` Carsten Dominik
  2009-09-17  1:19 ` Darlan Cavalcante Moreira
  2 siblings, 1 reply; 11+ messages in thread
From: Sebastian Rose @ 2009-09-16 22:43 UTC (permalink / raw)
  To: Steffen Prochnow; +Cc: emacs-orgmode

Steffen Prochnow <Steffen.Prochnow@imag.fr> writes:
> Hi,
>
> I defined a repeater interval of one year, e.g., <2009-09-16 Wed +1y>,
> for an existing headline item. Opening the agenda view this headline is
> shown for the 2009-09-16. But, it's missing for any annual repetition,
> i.e., there is no entry on 2010-09-16, 2011-09-16, etc.


...because you'll need to schedule the entry?
The entry has to be a TODO, and scheduled or a deadline. After you
switched it to DONE ('S-RIGHT'), the entry shows up as done this year,
and as TODO next year.
Note, that `S-RIGHT' will switch the state from TODO to STARTED to TODO again

    * TODO some headline
      SCHEDULED: <2009-09-16 Wed +1y>

C-RIGHT C-RIGHT

    * TODO Headline
      SCHEDULED: <2010-09-16 Do +1y> 
      - State "DONE"       from "STARTED"    [2009-09-17 Do 00:38]
      :LOGBOOK:
      :END:
      :PROPERTIES:
      :LAST_REPEAT: [2009-09-17 Do 00:38]
      :END:


Best wishes

   Sebastian

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

* Re: no annual agenda entries for repeater interval "year"
  2009-09-16 17:43 no annual agenda entries for repeater interval "year" Steffen Prochnow
  2009-09-16 22:43 ` Sebastian Rose
@ 2009-09-16 22:55 ` Carsten Dominik
  2009-09-17 13:09   ` Bernt Hansen
  2009-09-17 17:39   ` Steffen Prochnow
  2009-09-17  1:19 ` Darlan Cavalcante Moreira
  2 siblings, 2 replies; 11+ messages in thread
From: Carsten Dominik @ 2009-09-16 22:55 UTC (permalink / raw)
  To: Steffen Prochnow; +Cc: emacs-orgmode



Hi Steffen,

I cannot reproduce this, all those future dates show up just fine.
This behavior is regulated by the variable

org-agenda-repeating-timestamp-show-all

HTH

- Carsten

On Sep 16, 2009, at 6:43 PM, Steffen Prochnow wrote:

>
> Hi,
>
> I defined a repeater interval of one year, e.g., <2009-09-16 Wed +1y>,
> for an existing headline item. Opening the agenda view this headline  
> is
> shown for the 2009-09-16. But, it's missing for any annual repetition,
> i.e., there is no entry on 2010-09-16, 2011-09-16, etc.
>
> Regards
> Steffen Prochnow
>
>
> Emacs  : GNU Emacs 22.3.1 (i486-pc-linux-gnu, X toolkit, Xaw3d
> scrollbars) of 2009-06-26 on rivendell, modified by Debian
> Package: Org-mode version 6.30trans (release_6.30d.822.g738ba)
>
> current state:
> ==============
> (setq
> org-agenda-files '("~/tmp/tmp.org")
> org-after-todo-state-change-hook '(org-clock-out-if-current)
> org-export-preprocess-hook '(org-export-blocks-preprocess)
> org-tab-first-hook '(org-hide-block-toggle-maybe)
> org-src-mode-hook '(org-src-mode-configure-edit-buffer)
> org-confirm-shell-link-function 'yes-or-no-p
> org-agenda-before-write-hook '(org-agenda-add-entry-text)
> org-agenda-start-with-follow-mode t
> org-cycle-hook '(org-cycle-hide-archived-subtrees
> org-cycle-hide-drawers org-cycle-show-empty-lines
> 		  org-optimize-window-after-visibility-change)
> org-mode-hook '((lambda nil (org-add-hook (quote
> change-major-mode-hook) (quote org-show-block-all) (quote append)
> (quote local)))
> 		 (lambda nil (make-variable-buffer-local (quote
> yas/trigger-key)) (setq yas/trigger-key [tab])
> 		  (define-key yas/keymap [tab] (quote
> yas/next-field-group)) (flyspell-mode 1))
> 		 turn-on-font-lock)
> org-confirm-elisp-link-function 'yes-or-no-p
> org-occur-hook '(org-first-headline-recenter)
> )
>
>
>
> _______________________________________________
> 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

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

* Re: no annual agenda entries for repeater interval "year"
  2009-09-16 17:43 no annual agenda entries for repeater interval "year" Steffen Prochnow
  2009-09-16 22:43 ` Sebastian Rose
  2009-09-16 22:55 ` Carsten Dominik
@ 2009-09-17  1:19 ` Darlan Cavalcante Moreira
  2009-09-17 17:18   ` Steffen Prochnow
  2 siblings, 1 reply; 11+ messages in thread
From: Darlan Cavalcante Moreira @ 2009-09-17  1:19 UTC (permalink / raw)
  To: Steffen Prochnow; +Cc: emacs-orgmode


I'm using org-mode for only a month, but I also had this problem (version
6.28e). I created some headlines for birthdays and other special dates with
active timestamps (not in the headline) that had a repeater of ++1y, but it only
appeared on the current year. After changing to ++12m everything worked
fine. However, seeing your E-Mail I decided to change it back to ++1y and it
worked.
-- 
Darlan Cavalcante Moreira
darcamo@gmail.com

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

* Re: no annual agenda entries for repeater interval "year"
  2009-09-16 22:55 ` Carsten Dominik
@ 2009-09-17 13:09   ` Bernt Hansen
  2009-09-17 21:13     ` Carsten Dominik
  2009-09-17 17:39   ` Steffen Prochnow
  1 sibling, 1 reply; 11+ messages in thread
From: Bernt Hansen @ 2009-09-17 13:09 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Steffen Prochnow, emacs-orgmode

I have the same symptoms as Steffen.  All other repeaters seem to work
but not +1y.  Most of my annual repeaters are defined with
diary-anniversary and they work fine.

Org-mode version 6.30trans (release_6.30d.818.g9dcc)
GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09
on raven, modified by Debian

,----
| ** TODO Test task
|    SCHEDULED: <2009-09-17 Thu +1y>
`----

-Bernt

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

> Hi Steffen,
>
> I cannot reproduce this, all those future dates show up just fine.
> This behavior is regulated by the variable
>
> org-agenda-repeating-timestamp-show-all
>
> HTH
>
> - Carsten
>
> On Sep 16, 2009, at 6:43 PM, Steffen Prochnow wrote:
>
>>
>> Hi,
>>
>> I defined a repeater interval of one year, e.g., <2009-09-16 Wed +1y>,
>> for an existing headline item. Opening the agenda view this headline
>> is
>> shown for the 2009-09-16. But, it's missing for any annual repetition,
>> i.e., there is no entry on 2010-09-16, 2011-09-16, etc.
>>
>> Regards
>> Steffen Prochnow
>>
>>
>> Emacs  : GNU Emacs 22.3.1 (i486-pc-linux-gnu, X toolkit, Xaw3d
>> scrollbars) of 2009-06-26 on rivendell, modified by Debian
>> Package: Org-mode version 6.30trans (release_6.30d.822.g738ba)
>>
>> current state:
>> ==============
>> (setq
>> org-agenda-files '("~/tmp/tmp.org")
>> org-after-todo-state-change-hook '(org-clock-out-if-current)
>> org-export-preprocess-hook '(org-export-blocks-preprocess)
>> org-tab-first-hook '(org-hide-block-toggle-maybe)
>> org-src-mode-hook '(org-src-mode-configure-edit-buffer)
>> org-confirm-shell-link-function 'yes-or-no-p
>> org-agenda-before-write-hook '(org-agenda-add-entry-text)
>> org-agenda-start-with-follow-mode t
>> org-cycle-hook '(org-cycle-hide-archived-subtrees
>> org-cycle-hide-drawers org-cycle-show-empty-lines
>> 		  org-optimize-window-after-visibility-change)
>> org-mode-hook '((lambda nil (org-add-hook (quote
>> change-major-mode-hook) (quote org-show-block-all) (quote append)
>> (quote local)))
>> 		 (lambda nil (make-variable-buffer-local (quote
>> yas/trigger-key)) (setq yas/trigger-key [tab])
>> 		  (define-key yas/keymap [tab] (quote
>> yas/next-field-group)) (flyspell-mode 1))
>> 		 turn-on-font-lock)
>> org-confirm-elisp-link-function 'yes-or-no-p
>> org-occur-hook '(org-first-headline-recenter)
>> )
>>
>>
>>
>> _______________________________________________
>> 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
>
>
>
> _______________________________________________
> 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

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

* Re: no annual agenda entries for repeater interval "year"
  2009-09-16 22:43 ` Sebastian Rose
@ 2009-09-17 17:03   ` Steffen Prochnow
  0 siblings, 0 replies; 11+ messages in thread
From: Steffen Prochnow @ 2009-09-17 17:03 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: emacs-orgmode


> ...because you'll need to schedule the entry?
> The entry has to be a TODO, and scheduled or a deadline. After you
> switched it to DONE ('S-RIGHT'), the entry shows up as done this year,
> and as TODO next year.
> Note, that `S-RIGHT' will switch the state from TODO to STARTED to TODO again
> 
>     * TODO some headline
>       SCHEDULED: <2009-09-16 Wed +1y>
> 
> C-RIGHT C-RIGHT
> 
>     * TODO Headline
>       SCHEDULED: <2010-09-16 Do +1y> 
>       - State "DONE"       from "STARTED"    [2009-09-17 Do 00:38]
>       :LOGBOOK:
>       :END:
>       :PROPERTIES:
>       :LAST_REPEAT: [2009-09-17 Do 00:38]
>       :END:

Shifting the date by the specified time interval
(marking DONE) works for me!

I'm missing the repeated year entry in the agenda. E.g.,

* headline
SCHEDULED: <2009-09-17 Thu +12m>

produces repeated agenda entries for 2010-09-17, etc. But,

* headline
SCHEDULED: <2009-09-17 Thu +1y>

does not.

-- Steffen

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

* Re: no annual agenda entries for repeater interval "year"
  2009-09-17  1:19 ` Darlan Cavalcante Moreira
@ 2009-09-17 17:18   ` Steffen Prochnow
  0 siblings, 0 replies; 11+ messages in thread
From: Steffen Prochnow @ 2009-09-17 17:18 UTC (permalink / raw)
  To: Darlan Cavalcante Moreira; +Cc: emacs-orgmode

Darlan Cavalcante Moreira wrote:
> I'm using org-mode for only a month, but I also had this problem (version
> 6.28e). I created some headlines for birthdays and other special dates with
> active timestamps (not in the headline) that had a repeater of ++1y, but it only
> appeared on the current year. After changing to ++12m everything worked
> fine. However, seeing your E-Mail I decided to change it back to ++1y and it
> worked.

I also changed the repeater interval from +1y to +12m and reverse. But,
unfortunately without any effect on the agenda for expressions like +1y.

(Following the org-mode manual specifications like ++1y are different
from +1y. I do indeed want to express +1y.)

-- Steffen

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

* Re: no annual agenda entries for repeater interval "year"
  2009-09-16 22:55 ` Carsten Dominik
  2009-09-17 13:09   ` Bernt Hansen
@ 2009-09-17 17:39   ` Steffen Prochnow
  1 sibling, 0 replies; 11+ messages in thread
From: Steffen Prochnow @ 2009-09-17 17:39 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Carsten Dominik wrote:
> 
> I cannot reproduce this, all those future dates show up just fine.
> This behavior is regulated by the variable
> 
> org-agenda-repeating-timestamp-show-all

I set the variable to "t". But, the behavior didn't change and the
expected agenda repetitions are not shown for +1y. (All works fine for
+12m and for diary-anniversary entries).

Bernt obeserved the same point (he also uses Debian emacs).

-- Steffen

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

* Re: no annual agenda entries for repeater interval "year"
  2009-09-17 13:09   ` Bernt Hansen
@ 2009-09-17 21:13     ` Carsten Dominik
  2009-09-18  1:25       ` Bernt Hansen
  2009-09-18  7:55       ` Steffen Prochnow
  0 siblings, 2 replies; 11+ messages in thread
From: Carsten Dominik @ 2009-09-17 21:13 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Steffen Prochnow, emacs-orgmode


On Sep 17, 2009, at 2:09 PM, Bernt Hansen wrote:

> I have the same symptoms as Steffen.  All other repeaters seem to work
> but not +1y.

Indeed, I believe now there was a bug, which is fixed now.  Please  
verify,
and also keep your eyes open if this change does break anything.

You too, Steffen, please!

- Carsten


> Most of my annual repeaters are defined with
> diary-anniversary and they work fine.

>
> Org-mode version 6.30trans (release_6.30d.818.g9dcc)
> GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of  
> 2008-11-09
> on raven, modified by Debian
>
> ,----
> | ** TODO Test task
> |    SCHEDULED: <2009-09-17 Thu +1y>
> `----
>
> -Bernt
>
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> Hi Steffen,
>>
>> I cannot reproduce this, all those future dates show up just fine.
>> This behavior is regulated by the variable
>>
>> org-agenda-repeating-timestamp-show-all
>>
>> HTH
>>
>> - Carsten
>>
>> On Sep 16, 2009, at 6:43 PM, Steffen Prochnow wrote:
>>
>>>
>>> Hi,
>>>
>>> I defined a repeater interval of one year, e.g., <2009-09-16 Wed  
>>> +1y>,
>>> for an existing headline item. Opening the agenda view this headline
>>> is
>>> shown for the 2009-09-16. But, it's missing for any annual  
>>> repetition,
>>> i.e., there is no entry on 2010-09-16, 2011-09-16, etc.
>>>
>>> Regards
>>> Steffen Prochnow
>>>
>>>
>>> Emacs  : GNU Emacs 22.3.1 (i486-pc-linux-gnu, X toolkit, Xaw3d
>>> scrollbars) of 2009-06-26 on rivendell, modified by Debian
>>> Package: Org-mode version 6.30trans (release_6.30d.822.g738ba)
>>>
>>> current state:
>>> ==============
>>> (setq
>>> org-agenda-files '("~/tmp/tmp.org")
>>> org-after-todo-state-change-hook '(org-clock-out-if-current)
>>> org-export-preprocess-hook '(org-export-blocks-preprocess)
>>> org-tab-first-hook '(org-hide-block-toggle-maybe)
>>> org-src-mode-hook '(org-src-mode-configure-edit-buffer)
>>> org-confirm-shell-link-function 'yes-or-no-p
>>> org-agenda-before-write-hook '(org-agenda-add-entry-text)
>>> org-agenda-start-with-follow-mode t
>>> org-cycle-hook '(org-cycle-hide-archived-subtrees
>>> org-cycle-hide-drawers org-cycle-show-empty-lines
>>> 		  org-optimize-window-after-visibility-change)
>>> org-mode-hook '((lambda nil (org-add-hook (quote
>>> change-major-mode-hook) (quote org-show-block-all) (quote append)
>>> (quote local)))
>>> 		 (lambda nil (make-variable-buffer-local (quote
>>> yas/trigger-key)) (setq yas/trigger-key [tab])
>>> 		  (define-key yas/keymap [tab] (quote
>>> yas/next-field-group)) (flyspell-mode 1))
>>> 		 turn-on-font-lock)
>>> org-confirm-elisp-link-function 'yes-or-no-p
>>> org-occur-hook '(org-first-headline-recenter)
>>> )
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>>
>> _______________________________________________
>> 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

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

* Re: no annual agenda entries for repeater interval "year"
  2009-09-17 21:13     ` Carsten Dominik
@ 2009-09-18  1:25       ` Bernt Hansen
  2009-09-18  7:55       ` Steffen Prochnow
  1 sibling, 0 replies; 11+ messages in thread
From: Bernt Hansen @ 2009-09-18  1:25 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Steffen Prochnow, emacs-orgmode

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

> On Sep 17, 2009, at 2:09 PM, Bernt Hansen wrote:
>
>> I have the same symptoms as Steffen.  All other repeaters seem to work
>> but not +1y.
>
> Indeed, I believe now there was a bug, which is fixed now.  Please
> verify,
> and also keep your eyes open if this change does break anything.
>
> You too, Steffen, please!

This works for me.  Thanks!

-Bernt

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

* Re: no annual agenda entries for repeater interval "year"
  2009-09-17 21:13     ` Carsten Dominik
  2009-09-18  1:25       ` Bernt Hansen
@ 2009-09-18  7:55       ` Steffen Prochnow
  1 sibling, 0 replies; 11+ messages in thread
From: Steffen Prochnow @ 2009-09-18  7:55 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Carsten Dominik wrote:
> 
> Indeed, I believe now there was a bug, which is fixed now.  Please verify,
> and also keep your eyes open if this change does break anything.
> 
> You too, Steffen, please!
> 

Works fine -- thanks a lot!

-- Steffen

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

end of thread, other threads:[~2009-09-18  7:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-16 17:43 no annual agenda entries for repeater interval "year" Steffen Prochnow
2009-09-16 22:43 ` Sebastian Rose
2009-09-17 17:03   ` Steffen Prochnow
2009-09-16 22:55 ` Carsten Dominik
2009-09-17 13:09   ` Bernt Hansen
2009-09-17 21:13     ` Carsten Dominik
2009-09-18  1:25       ` Bernt Hansen
2009-09-18  7:55       ` Steffen Prochnow
2009-09-17 17:39   ` Steffen Prochnow
2009-09-17  1:19 ` Darlan Cavalcante Moreira
2009-09-17 17:18   ` Steffen Prochnow

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