From: Bernt Hansen <bernt@norang.ca>
To: Nathan Neff <nathan.neff@gmail.com>
Cc: Matt Lundin <mdl@imapmail.org>, emacs-orgmode@gnu.org
Subject: Re: Agenda repeats diary entries
Date: Wed, 30 Dec 2009 17:22:43 -0500 [thread overview]
Message-ID: <87d41wp0ek.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <211769420912301259s2b8b559v519426ee2b93c212@mail.gmail.com> (Nathan Neff's message of "Wed\, 30 Dec 2009 14\:59\:34 -0600")
Nathan Neff <nathan.neff@gmail.com> writes:
> On Wed, Dec 30, 2009 at 5:32 AM, Bernt Hansen <bernt@norang.ca> wrote:
>
> Your org-agenda-files need to be files in org-mode (normally ending in
> .org). Your org-agenda-diary-file should also be an org file (your
> journal.org). BUT the diary-file is a totally different animal. Mine
> is set to ~/diary which is a zero-length empty file. I don't use the
> standard Emacs diary at all. I have org-agenda-include-diary set to nil
> and just use my diary.org file (your journal.org) and my regular org
> files for all of my appointment information.
>
> HTH,
> Bernt
>
> Thank you very much. I finally got it to work, using only this setting:
>
> (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 to 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
next prev parent reply other threads:[~2009-12-30 22:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-14 19:52 Agenda repeats diary entries Nathan Neff
2009-12-16 19:18 ` Nathan Neff
2009-12-30 1:43 ` Bernt Hansen
2009-12-26 20:12 ` Nathan Neff
2009-12-27 20:33 ` Nathan Neff
2009-12-30 1:47 ` Matt Lundin
2009-12-30 5:33 ` Nathan Neff
2009-12-30 11:32 ` Bernt Hansen
2009-12-30 20:59 ` Nathan Neff
2009-12-30 22:22 ` Bernt Hansen [this message]
2009-12-31 2:05 ` Bernt Hansen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d41wp0ek.fsf@gollum.intra.norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=mdl@imapmail.org \
--cc=nathan.neff@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).