emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* (BUG?) Problem with proper time frame in agenda.
@ 2006-08-08 10:26 Juraj Kubelka
  2006-08-08 11:29 ` Carsten Dominik
  2006-08-08 14:06 ` Carsten Dominik
  0 siblings, 2 replies; 4+ messages in thread
From: Juraj Kubelka @ 2006-08-08 10:26 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi All!

I have org file like example below. But some time stamps are not
correctly displayed (see example below) in agenda view (org-agenda). I
use emacs snapshot (22.0.51.1) and Org-mode version 4.43. Is it
Org-mode bug or just my mistake?

Thanks
Juraj

== org file =================================
* Tasks
** Task1
   SCHEDULED: <2006-08-08 Út>
** Task2
   DEADLINE: <2006-08-08 Út>
** Task3
 + <2006-08-08 Út>
** Task4
 + <2006-08-08 Út 09:13>
** Task5
 + <2006-08-08 Út>--<2006-08-10 Čt>
** Task6
 + <2006-08-08 Út 09:14>--<2006-08-10 Čt 11:09>
** Task7
 + <2006-08-09 St>
 + <2006-08-11 Pá>
** Task8
 + <2006-08-13 Ne 07:45>
 + <2006-08-07 Čt 17:05>
** Task9
 + <2006-08-10 Čt>--<2006-08-13 Ne>
 + <2006-08-15 Út>--<2006-08-18 Pá>
   - doesn't work: it is not displayed in agenda.
** Task10
 + <2006-08-11 Pá 09:16>--<2006-08-12 So 13:20>
   - doesn't work: there is "2006-08-11 13:20" in agenda.
 + <2006-08-14 Po 10:08>--<2006-08-16 St 11:20>
   - doesn't work: it is not displayed in agenda.
** Task11
 + <2006-08-16 St 10:16>--<2006-08-18 Pá>
 + <2006-08-20 Ne>--<2006-08-22 Út 18:18>
   - doesn't work: it is not displayed in agenda.
=============================================

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: (BUG?) Problem with proper time frame in agenda.
  2006-08-08 10:26 (BUG?) Problem with proper time frame in agenda Juraj Kubelka
@ 2006-08-08 11:29 ` Carsten Dominik
  2006-08-08 14:08   ` Juraj Kubelka
  2006-08-08 14:06 ` Carsten Dominik
  1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2006-08-08 11:29 UTC (permalink / raw)
  To: Juraj Kubelka; +Cc: emacs-orgmode


On Aug 8, 2006, at 12:26, Juraj Kubelka wrote:

> Hi All!
>
> I have org file like example below. But some time stamps are not
> correctly displayed (see example below) in agenda view (org-agenda). I
> use emacs snapshot (22.0.51.1) and Org-mode version 4.43. Is it
> Org-mode bug or just my mistake?
> + <2006-08-11 Pá 09:16>--<2006-08-12 So 13:20>
>   - doesn't work: there is "2006-08-11 13:20" in agenda.

This is a bug in parsing, when looking for a time it just takes one, 
not checking if this is a range.  I'll see if I can do something, 
probably removing the time-of-day display for ranges entirely.

> + <2006-08-14 Po 10:08>--<2006-08-16 St 11:20>
>   - doesn't work: it is not displayed in agenda.

The agenda assumes that there is only one agenda-relevant time stamp or 
range associated with any headline in the buffer.  When it has found 
one, it jumps to the next headline, skipping anything in between, to 
speed up parsing.  That's why each time you have several stamps or 
ranges, only the first is taken seriously.   Hmmm. need to think about 
this, what the right course of action would be.  Comments welcome.

Thanks for the report.

- Carsten

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

* Re: (BUG?) Problem with proper time frame in agenda.
  2006-08-08 10:26 (BUG?) Problem with proper time frame in agenda Juraj Kubelka
  2006-08-08 11:29 ` Carsten Dominik
@ 2006-08-08 14:06 ` Carsten Dominik
  1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2006-08-08 14:06 UTC (permalink / raw)
  To: Juraj Kubelka; +Cc: emacs-orgmode

Juraj, can you tell us more about why you have several time ranges 
under a task?

- Carsten

On Aug 8, 2006, at 12:26, Juraj Kubelka wrote:

> Hi All!
>
> I have org file like example below. But some time stamps are not
> correctly displayed (see example below) in agenda view (org-agenda). I
> use emacs snapshot (22.0.51.1) and Org-mode version 4.43. Is it
> Org-mode bug or just my mistake?
>
> Thanks
> Juraj
>
> == org file =================================
> * Tasks
> ** Task1
>   SCHEDULED: <2006-08-08 Út>
> ** Task2
>   DEADLINE: <2006-08-08 Út>
> ** Task3
> + <2006-08-08 Út>
> ** Task4
> + <2006-08-08 Út 09:13>
> ** Task5
> + <2006-08-08 Út>--<2006-08-10 Čt>
> ** Task6
> + <2006-08-08 Út 09:14>--<2006-08-10 Čt 11:09>
> ** Task7
> + <2006-08-09 St>
> + <2006-08-11 Pá>
> ** Task8
> + <2006-08-13 Ne 07:45>
> + <2006-08-07 Čt 17:05>
> ** Task9
> + <2006-08-10 Čt>--<2006-08-13 Ne>
> + <2006-08-15 Út>--<2006-08-18 Pá>
>   - doesn't work: it is not displayed in agenda.
> ** Task10
> + <2006-08-11 Pá 09:16>--<2006-08-12 So 13:20>
>   - doesn't work: there is "2006-08-11 13:20" in agenda.
> + <2006-08-14 Po 10:08>--<2006-08-16 St 11:20>
>   - doesn't work: it is not displayed in agenda.
> ** Task11
> + <2006-08-16 St 10:16>--<2006-08-18 Pá>
> + <2006-08-20 Ne>--<2006-08-22 Út 18:18>
>   - doesn't work: it is not displayed in agenda.
> =============================================
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

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

* Re: (BUG?) Problem with proper time frame in agenda.
  2006-08-08 11:29 ` Carsten Dominik
@ 2006-08-08 14:08   ` Juraj Kubelka
  0 siblings, 0 replies; 4+ messages in thread
From: Juraj Kubelka @ 2006-08-08 14:08 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

On 8/8/06, Carsten Dominik <dominik@science.uva.nl> wrote:
>
> On Aug 8, 2006, at 12:26, Juraj Kubelka wrote:
>
> > Hi All!
> >
> > I have org file like example below. But some time stamps are not
> > correctly displayed (see example below) in agenda view (org-agenda). I
> > use emacs snapshot (22.0.51.1) and Org-mode version 4.43. Is it
> > Org-mode bug or just my mistake?
> > + <2006-08-11 Pá 09:16>--<2006-08-12 So 13:20>
> >   - doesn't work: there is "2006-08-11 13:20" in agenda.
>
> This is a bug in parsing, when looking for a time it just takes one,
> not checking if this is a range.  I'll see if I can do something,
> probably removing the time-of-day display for ranges entirely.

...or be sure it always takes the right one. In some cases it does.

>
> > + <2006-08-14 Po 10:08>--<2006-08-16 St 11:20>
> >   - doesn't work: it is not displayed in agenda.
>
> The agenda assumes that there is only one agenda-relevant time stamp or
> range associated with any headline in the buffer.  When it has found
> one, it jumps to the next headline, skipping anything in between, to
> speed up parsing.  That's why each time you have several stamps or
> ranges, only the first is taken seriously.   Hmmm. need to think about
> this, what the right course of action would be.  Comments welcome.

Thanks for your explanation. For me would be more useful to have this
possibility. Example:

1. An activity has two parts: one from Monday to Tuesday, second from
Thursday to Saturday... or more parts. (an course)

2. I have several possibilities for the same activity, but I want to
decide later according to other activities.

 + better to have all possibilities in agenda. Then I can look for collisions.
 + maybe have possibility to say this timestamp is not important (will
not be in agenda view). But it is likely better just remove <>
characters around.

3. Kick off meeting notes:

======
** kick off meeting
 + early ideas

 1. something
    + I have to ask John no late then DEADLINE: <2006-08-11 Fr>.
 2. something2
    + i will prepare it tomorrow  SCHEDULE: <2006-08-09 We>.
 3. something3
    + ........... <2006-08-14 Mo>
....
======

Of course all examples can be (re)written by headlines. But org file
without these restrictions can be more powerful. I don't have to
rewrite my notes from meeting just because of org mode limitations.

Thanks.
Juraj

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

end of thread, other threads:[~2006-08-08 14:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-08 10:26 (BUG?) Problem with proper time frame in agenda Juraj Kubelka
2006-08-08 11:29 ` Carsten Dominik
2006-08-08 14:08   ` Juraj Kubelka
2006-08-08 14:06 ` 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).