emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Agenda bug: time conflict between headline and scheduled date
@ 2012-12-27  6:27 Huy
  2012-12-30  8:47 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Huy @ 2012-12-27  6:27 UTC (permalink / raw)
  To: emacs-orgmode

task
Reply-To: 

Hi,

there's a bug when I have a task like this:

    * Test [2012-12-26 Wed 22:24]
      SCHEDULED: <2012-12-25 Wed>

Note that the inactive date has a time in the headline, but the schedule
date doesn't.

When I run the agenda, I get this:

    Tuesday    25 December 2012
      GTD:        22:24...... Scheduled:  Test [2012-12-26 Wed 22:24]

The time should not be extracted from the non-scheduled timestamp,
right?

I'm running 7.9.2 on emacs 24.2.1 on OS X

Thanks,
Huy

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

* Re: Agenda bug: time conflict between headline and scheduled date
  2012-12-27  6:27 Agenda bug: time conflict between headline and scheduled date Huy
@ 2012-12-30  8:47 ` Bastien
  2012-12-30 20:36   ` Samuel Wales
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2012-12-30  8:47 UTC (permalink / raw)
  To: Huy; +Cc: emacs-orgmode

Hi Huy,

Huy <list-orgmode@reml.org> writes:

> there's a bug when I have a task like this:
>
>     * Test [2012-12-26 Wed 22:24]
>       SCHEDULED: <2012-12-25 Wed>
>
> Note that the inactive date has a time in the headline, but the schedule
> date doesn't.
>
> When I run the agenda, I get this:
>
>     Tuesday    25 December 2012
>       GTD:        22:24...... Scheduled:  Test [2012-12-26 Wed 22:24]
>
> The time should not be extracted from the non-scheduled timestamp,
> right?

Yes.  Mixing time-stamps for a single entry is known to cause problems,
and this is one of them.  Better to put the inactive time-stamp outside
of the headline.

Best,

-- 
 Bastien

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

* Re: Agenda bug: time conflict between headline and scheduled date
  2012-12-30  8:47 ` Bastien
@ 2012-12-30 20:36   ` Samuel Wales
  2012-12-30 22:35     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2012-12-30 20:36 UTC (permalink / raw)
  To: Bastien; +Cc: Huy, emacs-orgmode

Hi Huy,

I depend on inactive timestamps in headlines, because they are useful
when the entries are folded.  I sort by time, which eliminates the
need for date trees.

But the problem of grabbing a time from the headline is solvable:

  (setq org-agenda-search-headline-for-time nil)

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  There is no hope without action.

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

* Re: Agenda bug: time conflict between headline and scheduled date
  2012-12-30 20:36   ` Samuel Wales
@ 2012-12-30 22:35     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2012-12-30 22:35 UTC (permalink / raw)
  To: Samuel Wales; +Cc: Huy, emacs-orgmode

Samuel Wales <samologist@gmail.com> writes:

> But the problem of grabbing a time from the headline is solvable:
>
>   (setq org-agenda-search-headline-for-time nil)

Indeed, thanks a lot for the pointers!

-- 
 Bastien, who wonders why all metaphysical problems cannot be solved by
 setting an Org variable.

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

end of thread, other threads:[~2012-12-30 22:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-27  6:27 Agenda bug: time conflict between headline and scheduled date Huy
2012-12-30  8:47 ` Bastien
2012-12-30 20:36   ` Samuel Wales
2012-12-30 22:35     ` 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).