emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gour <gour@atmarama.net>
To: emacs-orgmode@gnu.org
Subject: Re: multiple calendars
Date: Wed, 15 Apr 2015 11:54:22 +0200	[thread overview]
Message-ID: <87lhhtogxd.fsf@atmarama.ddns.net> (raw)
In-Reply-To: <552E2F8D.6010304@free.fr>


0xFAb <0xfab@free.fr> 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	other threads:[~2015-04-15  9:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-15  9:29 multiple calendars 0xFAb
2015-04-15  9:54 ` Gour [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=87lhhtogxd.fsf@atmarama.ddns.net \
    --to=gour@atmarama.net \
    --cc=emacs-orgmode@gnu.org \
    /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).