From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: Re: deadlines with special option for warning days. Date: Tue, 04 Sep 2007 11:24:36 +0200 Message-ID: <46DD2454.6020207@diplan.de> References: <23372cba80445dfe250116930c1ad0c5@science.uva.nl> <4f2f4da7d145d46a6e15c80f1db0c655@science.uva.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080102030708090707040006" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISUeJ-0001UF-0s for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 05:24:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISUeH-0001U2-66 for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 05:24:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISUeG-0001Tz-Tp for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 05:24:40 -0400 Received: from ns.diplan.de ([212.34.188.4] helo=mail.diplan.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ISUeG-00089w-C2 for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 05:24:40 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------080102030708090707040006 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Carsten Dominik schrieb: > > On Sep 3, 2007, at 16:56, Rainer Stengele wrote: > >> Carsten Dominik schrieb: >>> >>> On Aug 31, 2007, at 18:31, Rainer Stengele wrote: >>>>> How about the following solution. >>>>> >>>>> If you bind org-deadline-warning-days to 0 or a negative number, >>>>> this value (the absolute value of that number) will be enforced >>>>> no matter what. If it is a positive number, individual lead >>>>> times will overrule it. >>>>> >>>>> - Carsten >>>> >>>> OK - so how would I bind the value for different custom agenda views >>>> to different values? >>> >>> This would be using the options section of an agenda command. >>> >>> Here is a lisp example: >>> >>> (setq org-agenda-custom-commands >>> '(("a" agenda "" ((org-deadline-warning-days -5))))) >>> >>> It is much easier to work on these custom views through the customize >>> interface, so do M-x customize-variable RET >>> org-agenda-custom-commands RET >>> or even easier `C-c a C' >>> >>> There you can click INS in the options field and then fill in >>> the variable name and the value you would like it to have. >>> >>> In the Manual, take a look at section 9.6.3 which has examples for >>> this. >>> Also John Wiegley shows in his document some examples for custom views >>> with local variable settings and how these are made using the customize >>> interface. >>> >>> Hope this helps. >>> >>> - Carsten >> >> Hi Carsten, >> >> this is maybe a misunderstanding. I already use a lot of the custom >> agenda views. >> Example: > > Well, your question read > >> OK - so how would I bind the value for different custom agenda views >> to different values? > > Don;t know how to interpret it differently. > >> ... >> ("d" agenda "X-Agenda 0 days deadline preview" >> ((org-deadline-warning-days 0)) >> nil >> ("~/org/agenda0.txt")) >> ... > > This will work in 5.08. Setting org-deadline-warning-days > to 0 or a negative number will overrule any individual lead times > set with the -5d syntax. >> >> I do not want this one to appear because my custom >> org-deadline-warning-days is 0. >> Did I misunderstand you or is this a bug? > > It is not a bug, but the change I describe above is not yet in any > release. > > - Carsten > excellent. thanks. Looking forward to 5.08. Rainer --------------080102030708090707040006 Content-Type: text/x-vcard; charset=utf-8; name="rainer.stengele.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="rainer.stengele.vcf" begin:vcard fn:Rainer Stengele n:Stengele;Rainer org:diplan GmbH;Administration adr:;;Wetterkreuz 27;Erlangen;;91058;Germany email;internet:rainer.stengele@diplan.de title:Technical Control - Senior Administrator tel;work:+49(0)9131 777 885 tel;fax:+49(0)9131 777 888 url:http://www.diplan.de version:2.1 end:vcard --------------080102030708090707040006 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --------------080102030708090707040006--