From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: [BUG?] Duplicate agenda entries when enabling archives-mode Date: Wed, 11 Sep 2013 12:50:30 +0200 Message-ID: <864n9rbpjd.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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