From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Lindner Subject: Re: Set org-agenda-span per file Date: Wed, 31 May 2017 09:08:54 +0200 Message-ID: References: <87a85t1tz7.fsf@fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFxkj-00089J-6e for emacs-orgmode@gnu.org; Wed, 31 May 2017 03:09:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFxkf-0005V9-C4 for emacs-orgmode@gnu.org; Wed, 31 May 2017 03:09:09 -0400 Received: from [195.159.176.226] (port=46691 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFxkf-0005Ux-4Z for emacs-orgmode@gnu.org; Wed, 31 May 2017 03:09:05 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dFxkX-0007xr-IU for emacs-orgmode@gnu.org; Wed, 31 May 2017 09:08:57 +0200 In-Reply-To: <87a85t1tz7.fsf@fu-berlin.de> Content-Language: en-US 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" To: emacs-orgmode@gnu.org Am 31.05.2017 um 07:22 schrieb Loris Bennett: > Hi, > > Florian Lindner writes: > >> Hello, >> >> is it possible to set the number of days that are shown in the agenda, >> i.e. org-agenda-span on a per file basis? >> >> I want to show two weeks of deadlines in my own org file, and just 4 >> days of appointments in the org file synced from the department's >> calendar. > > I don't know the answer to your question, but I am interested in how you > are creating an org file synced from your departmental calendar. Could > you share some details of the setup? Sure! My department uses a shared ownCloud calendar and I use org-caldav to sync. https://github.com/dengste/org-caldav configuration is simple: (setq org-caldav-url "https://invalid.org/cloud/remote.php/dav/calendars/lindner" org-caldav-calendar-id "sgskalender" org-caldav-inbox "~/sgs.org" org-icalendar-timezone "Europe/Berlin" org-caldav-files nil) Best, Florian