From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?U8O4cmVuIE1pa2tlbHNlbg==?= Subject: Re: [bug] ox-taskjuggler Date: Fri, 23 Jan 2015 12:31:23 +0100 Message-ID: References: <87iog1xj52.fsf@nicolasgoaziou.fr> <87d267ru9c.fsf@sbs.ch> <878ugtswhg.fsf@sbs.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEcSh-0003Th-TV for emacs-orgmode@gnu.org; Fri, 23 Jan 2015 06:31:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEcSf-0003yx-6w for emacs-orgmode@gnu.org; Fri, 23 Jan 2015 06:31:39 -0500 Received: from plane.gmane.org ([80.91.229.3]:37212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEcSe-0003yk-Vv for emacs-orgmode@gnu.org; Fri, 23 Jan 2015 06:31:37 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YEcSW-0000tX-Se for emacs-orgmode@gnu.org; Fri, 23 Jan 2015 12:31:28 +0100 Received: from iha-nat.iha.dk ([130.225.184.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Jan 2015 12:31:28 +0100 Received: from soren by iha-nat.iha.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Jan 2015 12:31:28 +0100 In-Reply-To: <878ugtswhg.fsf@sbs.ch> 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2015-01-23 09:59, Christian Egli wrote: > Søren Mikkelsen writes: > >> It works, but only for tasks that aren't having a start >> attribute. It is possible to give a warning if the start >> attribute already exists and make the default one, the one >> specified in the attributes (drawer)? > > What exactly doesn't work? Are there two start entries in the task? > One because of the SCHEDULED property and one because of the the > start property? > > Then you might have to remove the start property from > org-taskjuggler-valid-task-attributes before adding the other > valid attributes i.e. > > ;; Add other valid attributes. (org-taskjuggler--indent-string > (org-taskjuggler--build-attributes task > org-taskjuggler-valid-task-attributes)) > > Might have to become (untested) > > ;; Add other valid attributes. (org-taskjuggler--indent-string > (org-taskjuggler--build-attributes task (remq 'start > org-taskjuggler-valid-task-attributes))) > > HTH Christian > The problem by removing the start attribute is that it destroys the backward compatibility. I want ox-taskjuggler to accept both methods, where the start property attribute overrules the scheduled attribute, if this is present. - -- Best regards, Søren Mikkelsen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUwjEEAAoJECUE7rt2jWDw5WQH/AhkKBjfWZLryYG+Zqj1D5Re +JXahe52HYf5oBXeSJHF250wKxF4KSme6JXHBfO5lfT5IZY+YwZTeUxm0a2KXod3 y9bxrWKqNglkqLLHxpwsZMpTGfcy4LOGJwxqL+brcRSJzftf17bpKnD1pcj62/uT UxLQlWbmmj0WqP4f0xLMtyvkRc5OWDz6T/mylxM0/26cK2xIhdigV42dTXvwFu13 NZdfhL5lUgORHOYseSfV23e/89pnw3V9PIO/4QA/6HEBP7icsSlMb4qiAOMf6wdE JbPVf4hkYfDmBKcFuWeWKAdz94I/Xcov2/0XoCc/qOFEhhlAvxrFm+KzI/Xjr30= =EpK7 -----END PGP SIGNATURE-----