emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Hide some timestamp repetitions; timestamp property in agenda
@ 2013-10-05 14:45 Jarmo Hurri
  2013-10-05 15:48 ` recurring events with different notes for each occurrence (was: Hide some timestamp repetitions; timestamp property in agenda) Karl Voit
  2013-10-06  9:35 ` Hide some timestamp repetitions; timestamp property in agenda Suvayu Ali
  0 siblings, 2 replies; 9+ messages in thread
From: Jarmo Hurri @ 2013-10-05 14:45 UTC (permalink / raw)
  To: emacs-orgmode


Greetings.

I am pretty sure that the following can be done, I just do not know how.

1. In general I want to see repeated timestamps, TODOs etc. appear at
   every repeat, so I need to have the value of
   org-agenda-repeating-timestamp-show-all set to t. However, for *some*
   repeated timestamps I would only like to see only the next repeated
   instance. How do I accomplish this?

2. I have some events that take place multiple times in a week. This is
   easy to accomplish:

   * Learn something new about org-mode
     <2013-10-05 Sat 17:00-18:00 +1w>
     <2013-10-06 Sun 12:00-14:00 +1w>

   However, I would also like to associate, with each of these
   timestamps, a different piece of text. Most often this text is a
   location. I want to see this text in my agenda. How can this be done?

I would also like to say that org is gradually allowing me to better
control an increasing proportion of my activities.

All the best,

Jarmo

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

* recurring events with different notes for each occurrence (was: Hide some timestamp repetitions; timestamp property in agenda)
  2013-10-05 14:45 Hide some timestamp repetitions; timestamp property in agenda Jarmo Hurri
@ 2013-10-05 15:48 ` Karl Voit
  2013-10-06 10:49   ` recurring events with different notes for each occurrence Jarmo Hurri
  2013-10-06  9:35 ` Hide some timestamp repetitions; timestamp property in agenda Suvayu Ali
  1 sibling, 1 reply; 9+ messages in thread
From: Karl Voit @ 2013-10-05 15:48 UTC (permalink / raw)
  To: emacs-orgmode

* Jarmo Hurri <jarmo.hurri@syk.fi> wrote:
>
> Greetings.

Hi Jarmo!

> I am pretty sure that the following can be done, I just do not know how.

Is there a T-Shirt with this sentence available somewhere? *SCNR*

> 1. In general I want to see repeated timestamps, TODOs etc. appear at
>    every repeat, so I need to have the value of
>    org-agenda-repeating-timestamp-show-all set to t. However, for *some*
>    repeated timestamps I would only like to see only the next repeated
>    instance. How do I accomplish this?

Sorry, no idea but interested as well.

> 2. I have some events that take place multiple times in a week. This is
>    easy to accomplish:
>
>    * Learn something new about org-mode
>      <2013-10-05 Sat 17:00-18:00 +1w>
>      <2013-10-06 Sun 12:00-14:00 +1w>
>
>    However, I would also like to associate, with each of these
>    timestamps, a different piece of text. Most often this text is a
>    location. I want to see this text in my agenda. How can this be done?

When I switched to Org-mode I was disappointed on the limited ways
to do recurring events (without sexp): every 2nd Tuesday of a month,
single exceptions, ... not possible.

However, when I was told about org-clone-subtree-with-time-shift
this changed :-) 

Now, I create a recurring event (let's say Linux User Group):

** <2013-10-07 17:00-19:00 +4w> LUGG    @City

(you can even skip the "+4w" here)

Next, I invoke org-clone-subtree-with-time-shift and multiply the
event for the next year or so. This gets me a copy of the event for
each occurrence. Those distinct events I can delete, cancel, move,
add notes to, and so forth.

I like this much better than one heading for all occurrences.

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

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

* Re: Hide some timestamp repetitions; timestamp property in agenda
  2013-10-05 14:45 Hide some timestamp repetitions; timestamp property in agenda Jarmo Hurri
  2013-10-05 15:48 ` recurring events with different notes for each occurrence (was: Hide some timestamp repetitions; timestamp property in agenda) Karl Voit
@ 2013-10-06  9:35 ` Suvayu Ali
  2013-10-06 10:37   ` Jarmo Hurri
  1 sibling, 1 reply; 9+ messages in thread
From: Suvayu Ali @ 2013-10-06  9:35 UTC (permalink / raw)
  To: emacs-orgmode

On Sat, Oct 05, 2013 at 05:45:28PM +0300, Jarmo Hurri wrote:
> 
> Greetings.
> 
> I am pretty sure that the following can be done, I just do not know how.
> 
> 1. In general I want to see repeated timestamps, TODOs etc. appear at
>    every repeat, so I need to have the value of
>    org-agenda-repeating-timestamp-show-all set to t. However, for *some*
>    repeated timestamps I would only like to see only the next repeated
>    instance. How do I accomplish this?

Maybe habits can help here: (info "(org) Tracking your habits")

-- 
Suvayu

Open source is the future. It sets us free.

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

* Re: Hide some timestamp repetitions; timestamp property in agenda
  2013-10-06  9:35 ` Hide some timestamp repetitions; timestamp property in agenda Suvayu Ali
@ 2013-10-06 10:37   ` Jarmo Hurri
  0 siblings, 0 replies; 9+ messages in thread
From: Jarmo Hurri @ 2013-10-06 10:37 UTC (permalink / raw)
  To: emacs-orgmode

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> On Sat, Oct 05, 2013 at 05:45:28PM +0300, Jarmo Hurri wrote:
>> 1. In general I want to see repeated timestamps, TODOs etc. appear at
>>    every repeat, so I need to have the value of
>>    org-agenda-repeating-timestamp-show-all set to t. However, for
>>    *some* repeated timestamps I would only like to see only the next
>>    repeated instance. How do I accomplish this?
>
> Maybe habits can help here: (info "(org) Tracking your habits")

Yep, that was the solution I was looking for. Thanks!

Jarmo

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

* Re: recurring events with different notes for each occurrence
  2013-10-05 15:48 ` recurring events with different notes for each occurrence (was: Hide some timestamp repetitions; timestamp property in agenda) Karl Voit
@ 2013-10-06 10:49   ` Jarmo Hurri
  2013-10-06 11:40     ` Karl Voit
  0 siblings, 1 reply; 9+ messages in thread
From: Jarmo Hurri @ 2013-10-06 10:49 UTC (permalink / raw)
  To: emacs-orgmode


Greetings Karl.

Karl Voit <devnull@Karl-Voit.at> writes:

> * Jarmo Hurri <jarmo.hurri@syk.fi> wrote:
>> 2. I have some events that take place multiple times in a week. This is
>>    easy to accomplish:
>>
>>    * Learn something new about org-mode
>>      <2013-10-05 Sat 17:00-18:00 +1w>
>>      <2013-10-06 Sun 12:00-14:00 +1w>
>>
>>    However, I would also like to associate, with each of these
>>    timestamps, a different piece of text.
>
> Now, I create a recurring event (let's say Linux User Group):
>
> ** <2013-10-07 17:00-19:00 +4w> LUGG    @City
>
> Next, I invoke org-clone-subtree-with-time-shift and multiply the
> event for the next year or so. This gets me a copy of the event for
> each occurrence. Those distinct events I can delete, cancel, move,
> add notes to, and so forth.
>
> I like this much better than one heading for all occurrences.

That will do the work, but as a programmer I must say that I do not
really like this technique, since it involves copying the same
information to a large number of places. If I want to change information
common to all occurrences, I can of course do a replace-string, but
still...

In any case, thanks for the tip! I learned something new, and may have
to resort to using the approach anyway.

Jarmo

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

* Re: recurring events with different notes for each occurrence
  2013-10-06 10:49   ` recurring events with different notes for each occurrence Jarmo Hurri
@ 2013-10-06 11:40     ` Karl Voit
  2013-10-11 16:27       ` Jarmo Hurri
  0 siblings, 1 reply; 9+ messages in thread
From: Karl Voit @ 2013-10-06 11:40 UTC (permalink / raw)
  To: emacs-orgmode

* Jarmo Hurri <jarmo.hurri@syk.fi> wrote:
>
> Greetings Karl.

Hi!

> Karl Voit <devnull@Karl-Voit.at> writes:
>
>> org-clone-subtree-with-time-shift
>
> That will do the work, but as a programmer I must say that I do not
> really like this technique, since it involves copying the same
> information to a large number of places. 

:-)

I thought you wanted to get different instances per occurrence in
order to add different notes to it.

As a programmer, I do understand your objection. However, I tend to
have following structure:

    * Events
    ** LUGG meetings                  :LUGG:common:tags:
    
       - common information about this event
    
    *** <...> single occurrence
    *** <...> another occurrence
    [...]

For other purposes, I am also using the following approach:

    * Events
    ** LUGG meetings                  :LUGG:common:tags:
    
       - common information about this event

       - <2013-09-30 Sun 18:00-20:00> 
       - <2013-10-06 Sun 18:00-20:00> 
       - [...]

This is a rather minimal approach and works only if you do show
each time-stamp in your agenda. You can still add notes as a
sub-list to any occurrence. 

However, AFIAK you can not use org-clone-subtree-with-time-shift
with it. (... except by using the first method above and convert the
heading to list items - the opposite to C-c C-*) 

> In any case, thanks for the tip! I learned something new, and may have
> to resort to using the approach anyway.

You're welcome.

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

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

* Re: recurring events with different notes for each occurrence
  2013-10-06 11:40     ` Karl Voit
@ 2013-10-11 16:27       ` Jarmo Hurri
  2013-10-12  7:42         ` Karl Voit
  0 siblings, 1 reply; 9+ messages in thread
From: Jarmo Hurri @ 2013-10-11 16:27 UTC (permalink / raw)
  To: emacs-orgmode

Karl Voit <devnull@Karl-Voit.at> writes:

> As a programmer, I do understand your objection. However, I tend to
> have following structure:
>
>     * Events
>     ** LUGG meetings                  :LUGG:common:tags:
>     
>        - common information about this event
>     
>     *** <...> single occurrence
>     *** <...> another occurrence
>     [...]
>
> For other purposes, I am also using the following approach:
>
>     * Events
>     ** LUGG meetings                  :LUGG:common:tags:
>     
>        - common information about this event
>
>        - <2013-09-30 Sun 18:00-20:00> 
>        - <2013-10-06 Sun 18:00-20:00> 
>        - [...]

I tried to play with these, but did not get the extra info in the
agenda.

Maybe I need to get better acquainted with agendas. Is there a way to
associate a property with each repeating timestamp and show this
property in the agenda? (There most likely is.)

Jarmo

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

* Re: recurring events with different notes for each occurrence
  2013-10-11 16:27       ` Jarmo Hurri
@ 2013-10-12  7:42         ` Karl Voit
  2013-10-13  7:16           ` Jarmo Hurri
  0 siblings, 1 reply; 9+ messages in thread
From: Karl Voit @ 2013-10-12  7:42 UTC (permalink / raw)
  To: emacs-orgmode

* Jarmo Hurri <jarmo.hurri@syk.fi> wrote:
>
> I tried to play with these, but did not get the extra info in the
> agenda.
>
> Maybe I need to get better acquainted with agendas. Is there a way to
> associate a property with each repeating timestamp and show this
> property in the agenda? (There most likely is.)

Try one of these[1]:

;;; http://orgmode.org/worg/org-faq.html
(setq org-agenda-skip-additional-timestamps-same-entry nil)

... most probably fixing your issue IMHO.

;; Show all future entries for repeating tasks
(setq org-agenda-repeating-timestamp-show-all t)

;; Show all agenda dates - even if they are empty
(setq org-agenda-show-all-dates t)



  1. https://github.com/novoid/dot-emacs/blob/master/org-mode.el
-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

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

* Re: recurring events with different notes for each occurrence
  2013-10-12  7:42         ` Karl Voit
@ 2013-10-13  7:16           ` Jarmo Hurri
  0 siblings, 0 replies; 9+ messages in thread
From: Jarmo Hurri @ 2013-10-13  7:16 UTC (permalink / raw)
  To: emacs-orgmode


Karl Voit <devnull@Karl-Voit.at> writes:

Greetings again.

>> Is there a way to associate a property with each repeating timestamp
>> and show this property in the agenda? (There most likely is.)
>
> (setq org-agenda-skip-additional-timestamps-same-entry nil)
> ... most probably fixing your issue IMHO.
>
> ;; Show all future entries for repeating tasks
> (setq org-agenda-repeating-timestamp-show-all t)
>
> ;; Show all agenda dates - even if they are empty
> (setq org-agenda-show-all-dates t)

Hmm, I don't think its one of these I might be looking for. But I did
learn some more parameters in this lifelong process. So thanks!

All the best,

Jarmo

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

end of thread, other threads:[~2013-10-13  7:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-05 14:45 Hide some timestamp repetitions; timestamp property in agenda Jarmo Hurri
2013-10-05 15:48 ` recurring events with different notes for each occurrence (was: Hide some timestamp repetitions; timestamp property in agenda) Karl Voit
2013-10-06 10:49   ` recurring events with different notes for each occurrence Jarmo Hurri
2013-10-06 11:40     ` Karl Voit
2013-10-11 16:27       ` Jarmo Hurri
2013-10-12  7:42         ` Karl Voit
2013-10-13  7:16           ` Jarmo Hurri
2013-10-06  9:35 ` Hide some timestamp repetitions; timestamp property in agenda Suvayu Ali
2013-10-06 10:37   ` Jarmo Hurri

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