emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] multiple calendars


From: Gour
Subject: Re: [O] multiple calendars
Date: Wed, 15 Apr 2015 11:54:22 +0200

0xFAb <address@hidden> writes:

> Does someone use multiple calendars ?
> I'd like to publish my tasks in my calendar and some tasks in some other
> calendars like one for my wife, another at office.

I do using similar setup...on the instance of my own ownCloud server I
created one commonuser for me & my wife and have separate calendars as well
as (org-)contacts for two of us and using org-vcard for contacts and
org-caldav for syncing of calendars.

On my Android phone, each one is in different color and at the org-mode side,
there is separate org file for each.

Here is the setup:

;; org-caldav
(require 'org-caldav)


;; store unique identifier
(setq org-icalendar-store-UID t)

;; The CalDAV URL with your full and primary email address at the end.
(setq org-caldav-url 
"https://owncloud.domain.tld/remote.php/caldav/calendars/commonuser";)

;; The name of your calendar, typically "Calendar" or similar
(setq org-caldav-calendar-id "my-calendar") ; my calendar

;; Local file that gets events from the server
(setq org-caldav-inbox "~/org/my-calendar.org")

(setq org-caldav-calendars
      '((:calendar-id "wife-calendar" :files ("~/org/my.org"
                                                 "~/org/mywife-calendar.org")
                      :inbox "~/org/mywife-calendar.org"
                      :url 
"https://owncloud.domain.tld/remote.php/caldav/calendars/commonuser";)
        (:calendar-id "my-calendar" :files ("~/org/my.org"
                                              "~/org/my-calendar.org")
                      :inbox "~/org/my-calendar.org"
                      :url 
"https://owncloud.domain.tld/remote.php/caldav/calendars/commonuser";)
        )
      )


Sincerely,
Gour

-- 
>From wherever the mind wanders due to its flickering and unsteady 
nature, one must certainly withdraw it and bring it back under 
the control of the self.




reply via email to

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