From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gour Subject: Re: multiple calendars Date: Wed, 15 Apr 2015 11:54:22 +0200 Message-ID: <87lhhtogxd.fsf@atmarama.ddns.net> References: <552E2F8D.6010304@free.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiK1l-0000XN-8D for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 05:54:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiK1h-0002fD-U7 for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 05:54:37 -0400 Received: from mail6.webfaction.com ([74.55.86.74]:42330 helo=smtp.webfaction.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiK1h-0002cS-BC for emacs-orgmode@gnu.org; Wed, 15 Apr 2015 05:54:33 -0400 Received: from localhost (unknown [94.250.169.81]) by smtp.webfaction.com (Postfix) with ESMTP id 24C3A2103942 for ; Wed, 15 Apr 2015 09:54:28 +0000 (UTC) In-reply-to: <552E2F8D.6010304@free.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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.