From: Carsten Dominik <carsten.dominik@gmail.com>
To: Doug Hellmann <doug.hellmann@gmail.com>
Cc: suckling@gmail.com, org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: org-mac-iCal.el uses hard-coded diary file name
Date: Sun, 1 Nov 2009 18:20:33 +0100 [thread overview]
Message-ID: <C295FEF1-158D-4823-B0A6-DC2D021CA78E@gmail.com> (raw)
In-Reply-To: <E0535D8F-7C38-4E6D-9037-1B2092A3C196@gmail.com>
Applied, thanks.
- Carsten
On Nov 1, 2009, at 5:15 PM, Doug Hellmann wrote:
>
> org-mac-iCal.el doesn't use the diary-file variable to save the
> diary it generates, so if the variable isn't set to the same path as
> the hard-coded value in the library the diary entries don't show up
> in your agenda view.
>
> I think the patch below fixes the problem.
>
> Thanks,
> Doug
>
>
>
> diff --git a/contrib/lisp/org-mac-iCal.el b/contrib/lisp/org-mac-
> iCal.el
> index 056d73d..fa4e763 100644
> --- a/contrib/lisp/org-mac-iCal.el
> +++ b/contrib/lisp/org-mac-iCal.el
> @@ -202,7 +202,8 @@ date range so that Emacs calendar view doesn't
> grind to a ha
> (goto-line 1)
> (write-region (point-min) (point-max) string))
>
> - (icalendar-import-file string (expand-file-name "~/.emacs.d/
> diary")))
> + (icalendar-import-file string diary-file))
> +;; (icalendar-import-file string (expand-file-name "~/.emacs.d/
> diary")))
>
> (defun omi-kill-diary-buffer (list)
> (mapc
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
prev parent reply other threads:[~2009-11-01 17:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-01 16:15 org-mac-iCal.el uses hard-coded diary file name Doug Hellmann
2009-11-01 17:20 ` Carsten Dominik [this message]
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=C295FEF1-158D-4823-B0A6-DC2D021CA78E@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=doug.hellmann@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=suckling@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).