From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Agenda repeats diary entries Date: Wed, 30 Dec 2009 17:22:43 -0500 Message-ID: <87d41wp0ek.fsf@gollum.intra.norang.ca> References: <211769420912141152n547ecbeka37f0774e5054f42@mail.gmail.com> <211769420912271233h21c96ddfnb599c9755aa3327c@mail.gmail.com> <874on96xn6.fsf@fastmail.fm> <211769420912292133s284bb7b0oa7d8cbab322ea87@mail.gmail.com> <87oclgpuio.fsf@gollum.intra.norang.ca> <211769420912301259s2b8b559v519426ee2b93c212@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQ6wR-0005pU-QF for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 17:22:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQ6wN-0005nx-NF for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 17:22:55 -0500 Received: from [199.232.76.173] (port=46834 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQ6wN-0005nr-Ht for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 17:22:51 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:57484) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NQ6wN-0006GV-G0 for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 17:22:51 -0500 In-Reply-To: <211769420912301259s2b8b559v519426ee2b93c212@mail.gmail.com> (Nathan Neff's message of "Wed\, 30 Dec 2009 14\:59\:34 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nathan Neff Cc: Matt Lundin , emacs-orgmode@gnu.org Nathan Neff writes: > On Wed, Dec 30, 2009 at 5:32 AM, Bernt Hansen wrote: > > Your org-agenda-files need to be files in org-mode (normally ending in > .org). =C2=A0Your org-agenda-diary-file should also be an org file (y= our > journal.org). =C2=A0BUT the diary-file is a totally different animal.= =C2=A0Mine > is set to ~/diary which is a zero-length empty file. =C2=A0I don't us= e the > standard Emacs diary at all. =C2=A0I have org-agenda-include-diary se= t to nil > and just use my diary.org file (your journal.org) and my regular org > files for all of my appointment information. >=20=20=20=20 > HTH, > Bernt > > Thank you very much.=C2=A0 I finally got it to work, using only this sett= ing: > > (setq org-agenda-diary-file "~/Documents/personal/journal.org") > > Whenever I press "i" in agenda, org-mode puts date/timestamped entries in= the correct file, using > org mode formatting, which is what I want. > > Since I don't use the diary-file ~/Documents/journal file, it seems odd t= o have to define it, but oh > well :-) > > Thank you very much -- I will use the org-agenda-diary-file much more now. You can probably do (setq diary-file nil) I just did that. This variable seems to want to be a filename - and there's no way to customize it to nil on my version of emacs... but I never use it so it doesn't bother me and it can point to any non-existent or empty file. I used the diary eons ago and so I have a leftover empty ~/diary file in my setup. I have since moved to keeping my diary entries in the org-agenda-diary-file instead. I've just set diary-file to nil and nothing broke immediately so I'll just leave it that way until something bad happens :) I'm glad you got that issue fixed. Regards, Bernt