emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: Bug: Recurring items NEVER show up in timeline unaccompanied
@ 2011-03-23 18:02 Mark S
  2011-03-23 18:56 ` Nick Dokos
  0 siblings, 1 reply; 12+ messages in thread
From: Mark S @ 2011-03-23 18:02 UTC (permalink / raw)
  To: emacs-orgmode

Hi Nick,

Lisp tends to bring out my inner dyslexic,  but is it possible to use a  
"while" or other construct instead of "mapcar" and then make the "if"  
construction inside of the lambda check for the :omitted symbol and return  
it as nil? And it would need to break out of the loop as soon as it  
encountered a date equal or greater to the present.

Philosophically, the way I think the calendar should work for recurring  
events is that they only occur until the last event in the calendar UNLESS  
an argument has been given to specify how far out the calendar is to be  
drawn OR there is a global end-date / end-range variable.

Mark


--- On Tue, 3/22/11, Nick Dokos <nicholas.dokos@hp.com> wrote:

> From: Nick Dokos <nicholas.dokos@hp.com>
> Subject: Re: [O] Bug: Recurring items NEVER show up in timeline  
> unaccompanied
> To: throaway@yahoo.com
> Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
> Date: Tuesday, March 22, 2011, 1:10 PM
> Some more comments and another bug in
> org-timeline:
>o a repeater always gets reported on its initial date - it
> only gets reported
>   on subsequent instances iff it coincides with some
> other entry that will be
>   reported on that date.
>o the initial comment of org-timeline says "Only entries
> with a time
>   stamp of today or later will be listed." However, in
> the let*, we have
>     (let* ((dopast t)
>            ...
>   so by default we get past dates as well.
>o [the additional bug] if dopast is set to nil in the let*,
> then we run the
>   following code to get rid of past dates:
>    (if (not dopast)
>     ;; Remove past dates from the list of
> dates.
>     (setq day-numbers (delq nil (mapcar
> (lambda(x)
>                       (if (>= x today) x nil))
>                     day-numbers))))
>  But day-numbers isn't just numbers: it's a list of
> day numbers
>   interspersed with gap information:
>   (733451 (:omitted . 28) 733479 (:omitted
> . 5) 733484 (:omitted . 21) 733505 (:omitted . 15) 733520
> ...)
>   and the mapcar function chokes when it has to deal
> with a gap argument.
>Since there is no way to set dopast from the outside,
> perhaps the thing
> to do is to remove both it and the above code (as well as
> one additional
> instance of the variable) and declare that org-timeline
> will always do
> both past and future. Or, given some global option
> variable, it can be
> set to that value, in which case the code above needs to be
> fixed to
> deal with the gaps.
>Also, some stopping point will need to be provided. Right
> now, that is
> the last explicit date in the file, but in the presence of
> repeaters
> (and assuming that org-timeline gets modified to deal with
> them), that
> natural stopping point gets pushed all the way to infinity,
> so some
> other way will need to be provided to stop the
> enumeration.
>Comments?
>Nick
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Bug: Recurring items NEVER show up in timeline unaccompanied
@ 2011-03-29 21:59 Mark S
  0 siblings, 0 replies; 12+ messages in thread
From: Mark S @ 2011-03-29 21:59 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Hello Carsten et al,

--- On Tue, 3/29/11, Carsten Dominik <carsten.dominik@gmail.com> wrote:

> > --- On Mon, 3/28/11, Carsten Dominik <carsten.dominik@gmail.com>
> > Maybe I spoke too soon. I tried the
> org-agenda-show-all-dates == nil. Although it worked,
> without the warning about the month-long gaps it was a bit
> hard to navigate. It was easier to navigate a full year of
> complete agenda weeks. Its a shame I'm the only one to have
> noticed how handy the (L) Timeline feature is ;-) Its output
> was (is) nice and clean. It was the first thing I tried when
> I was looking to set up an appointment several months down
> the road. I suppose I could do my own "recurrences" by
> hand.
>Can you be more specific on what is so handy about the
> timeline format, that you do not get in the agenda?  Is
> it only the notice about the left-out days?  Or other
> things as well?
>

Yes, the left-out days provide visual relief. However, probably some other  
sort of visual break -- for instance at the month boundaries -- would work  
as well. Either a space, or a month title. Something to keep the eye from  
sliding right past date changes.

I looked at the various agenda-view options, but didn't see any "month"  
setting other than to set how many days show up. By month I don't mean a  
full-blown grid calendar (though that would be nice!) but the weekly  
format with spacers (note or space) whenever the month changed.

And of course, being able to review the whole year from the start. But I  
understand I could achieve that with a customized view.

Thanks!
Mark

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Bug: Recurring items NEVER show up in timeline unaccompanied
@ 2011-03-29 17:38 Mark S
  2011-03-29 17:50 ` Carsten Dominik
  0 siblings, 1 reply; 12+ messages in thread
From: Mark S @ 2011-03-29 17:38 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Hello Carsten et al,


--- On Mon, 3/28/11, Carsten Dominik <carsten.dominik@gmail.com> wrote:

> > The ideal solution would be that the Timeline view
> > would process dates exactly like the agenda,
> including
> > multiple-files, but display them like the traditional
> > timeline, with ranges of dates omitted.
>This is already possible, by binding the variable
> org-agenda-show-all-dates to nil around the call to make
> the agenda (for examples using the options section of a
> custom agenda command).  So the only missing piece
> for
> your preferred solution is the determination of starting
> dates and end date in  a useful and automatic
> way.  Maybe
> I can take a look some time this week and see ifthere is a simple way to  
> replace the time line with
> something better.


Maybe I spoke too soon. I tried the org-agenda-show-all-dates == nil.  
Although it worked, without the warning about the month-long gaps it was a  
bit hard to navigate. It was easier to navigate a full year of complete  
agenda weeks. Its a shame I'm the only one to have noticed how handy the  
(L) Timeline feature is ;-) Its output was (is) nice and clean. It was the  
first thing I tried when I was looking to set up an appointment several  
months down the road. I suppose I could do my own "recurrences" by hand.

Mark



 

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Recurring items don't always show up in timeline
@ 2011-03-14 19:02 Mark S
  2011-03-14 22:55 ` Mark S
  0 siblings, 1 reply; 12+ messages in thread
From: Mark S @ 2011-03-14 19:02 UTC (permalink / raw)
  To: emacs-orgmode

I have a very simple calendar ORG file set up. A couple of the items have  
recurring days set to 90d. Like

  ** Do something periodically <2011-01-15 Sat +90d>

When I activate the agenda timeline, I see the first one of these (in  
January) but none of the other scheduled events show up. (I have other  
scheduled items to create a calendar that goes out further than the 90  
days). If I view this in the regular weekly agenda, using "f" to step  
through the weeks, the item does show up.

If I change the setting to +1w, I see several more entries, but not one  
for every week. Some weeks are skipped. It seems hit and miss. I haven't  
been able to establish the exact pattern, but it appears that I can not  
depend on recurring items to show up in the timeline.

Has anyone else seen this? Is there a way to make all activities show up  
in the timeline?

Thanks,
Mark
--------------------
Emacs 23.2.1
Win XP
Org-mode 7.5

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/

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

end of thread, other threads:[~2011-03-29 21:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23 18:02 Bug: Recurring items NEVER show up in timeline unaccompanied Mark S
2011-03-23 18:56 ` Nick Dokos
  -- strict thread matches above, loose matches on Subject: below --
2011-03-29 21:59 Mark S
2011-03-29 17:38 Mark S
2011-03-29 17:50 ` Carsten Dominik
2011-03-14 19:02 Recurring items don't always show up in timeline Mark S
2011-03-14 22:55 ` Mark S
2011-03-18 19:58   ` Bug: " Mark S
2011-03-22 18:43     ` Bug: Recurring items NEVER show up in timeline unaccompanied Mark S
2011-03-22 18:59       ` Nick Dokos
2011-03-22 20:10         ` Nick Dokos
2011-03-24  7:08           ` Carsten Dominik
2011-03-24 18:40             ` Nick Dokos
2011-03-24 17:31       ` Mark S
2011-03-28 17:05         ` Carsten Dominik

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