From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?G=FCnter?= Lichtenberg Subject: Re: Best strategy for sharing agenda between two machines? Date: Tue, 25 Feb 2020 18:12:31 +0100 Message-ID: <1758620.tdWV9SEqCh@krailli2.fritz.box> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52824) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6dnh-0003vI-HW for emacs-orgmode@gnu.org; Tue, 25 Feb 2020 12:15:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6dng-0005nn-Ay for emacs-orgmode@gnu.org; Tue, 25 Feb 2020 12:15:17 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:56883) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6dng-0005iH-16 for emacs-orgmode@gnu.org; Tue, 25 Feb 2020 12:15:16 -0500 Received: from krailli2.fritz.box ([62.216.207.7]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MxmBi-1jLXpO1TA6-00zBgE for ; Tue, 25 Feb 2020 18:15:12 +0100 In-Reply-To: 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org On Monday, 24 February 2020 22:04:52 CET Stig Brautaset wrote: > I could use a different default agenda file for each machine, since the > inbox.org is worst affected. Is anyone doing this? I could extend this > to use {work,home}_tasks.org too, but I kinda like having that "neither > @work nor @home" option... Decisions decisions. Hi probably not want you want, since it is not a pure emacs solution (maybe could be adapted). For my org agenda files I have the following set-up: 1. One directory ("DIR1") with a collection of org agenda files that are parsed at work and at home 2. One directory ("DIR2") I use only for work (since I am not allowed to store work related things on outside servers) 3. Host specific emacs config files that declare the agenda files separately for each host (home machines and work machines) The functions for these are more or less those from E. Schultes 24.1 emacs starter kit. in these config files only the settings that differ between hosts are in, all other config is identical for the different machines. 4. Sync only DIR1 via my nextcloud server with the desktop sync client. So, at work machine I have all agenda files DIR1 + DIR2. DIR1 also includes diary and the refile file (set-up similar to B. Hansen). At home I have only the DIR1 files synced So in a nut-shell, this set-up requires additional host specific config, separation of org directories work/home and a file syncer (the set-up might work with git, but I never tried that). Maybe this gives some idea, even if not what you look for gl