emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Skipping multiple timestamps
@ 2013-12-27 18:42 Mandar Mitra
  2014-01-03 16:01 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Mandar Mitra @ 2013-12-27 18:42 UTC (permalink / raw)
  To: emacs-orgmode

I'm using 8.4.2. I have the following in my TODO:

*** [#1] Grading
    DEADLINE: <2013-12-30 Mon>
    <2013-12-27 Fri>--<2013-12-29 Sun>

In the custom-set-variables section, I have

 '(org-agenda-skip-additional-timestamps-same-entry t)
 '(org-agenda-skip-deadline-if-done t)
 '(org-agenda-skip-deadline-prewarning-if-scheduled t)
 '(org-agenda-skip-scheduled-if-deadline-is-shown t)
 '(org-agenda-skip-scheduled-if-done t)
 '(org-agenda-skip-timestamp-if-deadline-is-shown t)

Yet, the agenda view shows

      (2/3):        nil  [#1] Compiler grading
      In   2 d.:    nil  [#1] Compiler grading

I can't figure out why both the lines appear. Can someone please help?

Thanks,
Mandar.


M-x org-version gives: Org-mode version 8.2.4 (8.2.4-dist @
/home/mandar/.emacs.d/org/lisp/)

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

* Re: Skipping multiple timestamps
  2013-12-27 18:42 Skipping multiple timestamps Mandar Mitra
@ 2014-01-03 16:01 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2014-01-03 16:01 UTC (permalink / raw)
  To: Mandar Mitra; +Cc: emacs-orgmode

Hi Mandar,

Mandar Mitra <mandar.mitra@gmail.com> writes:

> I'm using 8.4.2. I have the following in my TODO:
>
> *** [#1] Grading
>     DEADLINE: <2013-12-30 Mon>
>     <2013-12-27 Fri>--<2013-12-29 Sun>

Actually, the <2013-12-27 Fri>--<2013-12-29 Sun> is not considered as
a timestamp, but as a "block".

When building the agenda, there are those two functions
`org-agenda-get-timestamps' and `org-agenda-get-blocks' and only
additional timestamps collected by the first one are ignored
whenever `org-agenda-skip-additional-timestamps-same-entry' is t.

Surely not entirely satisfactory, but this is how it works.

-- 
 Bastien

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

end of thread, other threads:[~2014-01-03 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-27 18:42 Skipping multiple timestamps Mandar Mitra
2014-01-03 16:01 ` 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).