emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG?] Duplicate agenda entries when enabling archives-mode
@ 2013-09-11 10:50 Sebastien Vauban
  0 siblings, 0 replies; only message in thread
From: Sebastien Vauban @ 2013-09-11 10:50 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-11 10:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-11 10:50 [BUG?] Duplicate agenda entries when enabling archives-mode Sebastien Vauban

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).