emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: Agenda repeats diary entries


From: Nathan Neff
Subject: [Orgmode] Re: Agenda repeats diary entries
Date: Wed, 16 Dec 2009 13:18:36 -0600



On Mon, Dec 14, 2009 at 1:52 PM, Nathan Neff <address@hidden> wrote:
Hello,

I'm using org-agenda-diary-file. 

When I run agenda-mode with the attached configuration,
I see the same diary entry under each day.

Here's what my agenda shows.  Notice that the entry
from Dec. 08 shows up on Dec. 14's and Dec. 15's agenda.
Also, "2009" and "2009-12-December" headers
repeated under each day.

Monday     14 December 2009 W51
  Diary:      2009
  Diary:      2009-12 December
  Diary:      * 2009-12-08 Tuesday
  Diary:      ** Something else.
  Diary:      <2009-12-08 Tue>
Tuesday    15 December 2009
  Diary:      2009
  Diary:      2009-12 December
  Diary:      * 2009-12-08 Tuesday
  Diary:      ** Something else.
  Diary:      <2009-12-08 Tue>

Here's the contents of my diary file "journal.org"
* 2009
** 2009-12 December
*** 2009-12-08 Tuesday
**** Something else.
      <2009-12-08 Tue>

I've tried to include the bare-minimum in my .emacs file,
and I can provide it if necessary.  I'm submitting this
using M-x org-submit-bug-report, so hopefully, all necessary
info is included.

Thanks for any suggestions,

--Nate




mode
Emacs  : GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0)
 of 2009-09-27 on crested, modified by Debian
Package: Org-mode version 6.33trans (release_6.33f.113.ga3b7)

current state:
==============
(setq
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-agenda-files '("~/tmp/temp-org-dir/temp.org")
 org-agenda-include-diary t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-agenda-diary-file "~/Documents/journal.org"
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-directory "~/tmp/temp-org-dir"
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
          org-cycle-show-empty-lines
          org-optimize-window-after-visibility-change)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
           [org-add-hook change-major-mode-hook org-show-block-all
            append local]
           5]
         )
 org-confirm-elisp-link-function 'yes-or-no-p
 org-occur-hook '(org-first-headline-recenter)
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
                   org-beamer-auto-fragile-frames
                   org-beamer-place-default-actions-for-lists)
 )


I've tried getting rid of the above problem by using a bare-bones .emacs file
with only these lines in it:

(setq org-agenda-include-diary t)
(setq diary-file "~/Documents/personal/journal.org")
(setq org-agenda-diary-file diary-file)

I still see repeated diary entries like this in the agenda
Monday     14 December 2009 W51
  Diary:      2009-12 December
  Diary:      2009-12-15 Tuesday
  Diary:      * Foo bar
  Diary:      <2009-12-15 Tue>
Tuesday    15 December 2009
  Diary:      2009-12 December
  Diary:      2009-12-15 Tuesday
  Diary:      * Foo bar
  Diary:      <2009-12-15 Tue>

Am I doing something wrong when declaring the org-agenda-diary-file?

Thanks,
--Nate

reply via email to

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