emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [BUG?] Duplicate agenda entries when enabling archives-mode


From: Sebastien Vauban
Subject: [O] [BUG?] Duplicate agenda entries when enabling archives-mode
Date: Wed, 11 Sep 2013 12:50:30 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (windows-nt)

Hello,

If you use the following block of code, you'll see that all your entries are
duplicated.

For a clock review, this is much worse, as Org will warn about clocking
overlaps everywhere... (because multiple entries, then, happened at the same
time).

--8<---------------cut here---------------start------------->8---
    (setq org-agenda-custom-commands nil)

    (add-to-list 'org-agenda-custom-commands
                 '("C" "Clock Review"
                   ((agenda ""
                            (
                             (org-agenda-archives-mode t) ;; <<<
                             (org-agenda-clockreport-mode t)
                             (org-agenda-overriding-header "Clocking Review")
                             (org-agenda-show-log 'clockcheck)
                             (org-agenda-span 'day))) t)))
--8<---------------cut here---------------end--------------->8---

Putting the `archives-mode' line in comments does solve the problem.

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]