From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Patch that enables visibility settings in org-mode iCalendar export Date: Thu, 17 Aug 2017 18:09:19 +0200 Message-ID: <87valmnplc.fsf@nicolasgoaziou.fr> References: <1ae60860-50ff-31a4-7e2c-1e71c4df0f22@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diNMJ-0005mo-SX for emacs-orgmode@gnu.org; Thu, 17 Aug 2017 12:09:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1diNMI-0005JB-TV for emacs-orgmode@gnu.org; Thu, 17 Aug 2017 12:09:23 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:40842) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1diNMI-0005If-Mk for emacs-orgmode@gnu.org; Thu, 17 Aug 2017 12:09:22 -0400 In-Reply-To: <1ae60860-50ff-31a4-7e2c-1e71c4df0f22@gmail.com> (Tobias Schlemmer's message of "Mon, 14 Aug 2017 20:49:50 +0200") 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: Tobias Schlemmer Cc: emacs-orgmode@gnu.org Hello, Tobias Schlemmer writes: > for some reasons I need to control the visibility of individual entries > of my caldav calendars. I have implemented a small patch that passes the > `CLASS' propery to the iCalendar export: > > https://github.com/keinstein/org-mode/pull/1 > > I'd like to have this patch integrated in the short term. It is mostly > done by cut and paste from the same file. Thank you! Could you send a patch on this mailing list using git's "format-patch" sub-command? Also, could you document the feature in org.texi. > For long term I think a configurable framework would be more useful: > > =E2=80=A2 It would be helpful to have a configuration variable that tells= which > properties are passed more or less verbatim as iCalendar fields This doesn't sound too hard, if you have a list of such properties and are willing to document them. > =E2=80=A2 It would be helpful to save some/all other fields with some pre= fix > (X-ORG-MODE-=E2=80=A6) in the calendar file/service. The prefix should be > configurable as well as the list of saved properties. What use-case do you have in mind ? > =E2=80=A2 A mapping between org-mode properties and iCalendar fields coul= d be > helpful. Together with some default action all of the above could be > realized with only two variables. Could you elaborate a bit? Regards, --=20 Nicolas Goaziou