all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* deadlines with special option for warning days.
@ 2007-08-31 11:24 Rainer Stengele
  2007-08-31 15:49 ` Carsten Dominik
  0 siblings, 1 reply; 7+ messages in thread
From: Rainer Stengele @ 2007-08-31 11:24 UTC (permalink / raw)
  To: emacs-orgmode

Deadlines with speciual option like this:

 DEADLINE: <2007-09-04 Di -5d>

seem to overide custom agenda view parameter org-deadline-warning-days.
Is this entended? If I define a custom view with (org-deadline-warning-days 0) I'd like to not
appear any dealine which is due later.

Maybe an option?

Rainer

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: deadlines with special option for warning days.
  2007-08-31 11:24 deadlines with special option for warning days Rainer Stengele
@ 2007-08-31 15:49 ` Carsten Dominik
  2007-08-31 16:31   ` Rainer Stengele
  0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2007-08-31 15:49 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode


On Aug 31, 2007, at 13:24, Rainer Stengele wrote:

> Deadlines with speciual option like this:
>
>  DEADLINE: <2007-09-04 Di -5d>
>
> seem to overide custom agenda view parameter org-deadline-warning-days.
> Is this entended? If I define a custom view with 
> (org-deadline-warning-days 0) I'd like to not
> appear any dealine which is due later.
>
> Maybe an option?

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: deadlines with special option for warning days.
  2007-08-31 15:49 ` Carsten Dominik
@ 2007-08-31 16:31   ` Rainer Stengele
  2007-09-01 10:29     ` Carsten Dominik
  0 siblings, 1 reply; 7+ messages in thread
From: Rainer Stengele @ 2007-08-31 16:31 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik schrieb:
> 
> On Aug 31, 2007, at 13:24, Rainer Stengele wrote:
> 
>> Deadlines with speciual option like this:
>>
>>  DEADLINE: <2007-09-04 Di -5d>
>>
>> seem to overide custom agenda view parameter org-deadline-warning-days.
>> Is this entended? If I define a custom view with
>> (org-deadline-warning-days 0) I'd like to not
>> appear any dealine which is due later.
>>
>> Maybe an option?
> 
> 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?

Rainer

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: deadlines with special option for warning days.
  2007-08-31 16:31   ` Rainer Stengele
@ 2007-09-01 10:29     ` Carsten Dominik
  2007-09-03 14:56       ` Rainer Stengele
  0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2007-09-01 10:29 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: deadlines with special option for warning days.
  2007-09-01 10:29     ` Carsten Dominik
@ 2007-09-03 14:56       ` Rainer Stengele
  2007-09-04  6:35         ` Carsten Dominik
  0 siblings, 1 reply; 7+ messages in thread
From: Rainer Stengele @ 2007-09-03 14:56 UTC (permalink / raw)
  To: emacs-orgmode

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:

...
        ("d" agenda "X-Agenda 0 days deadline preview"
         ((org-deadline-warning-days 0))
         nil
         ("~/org/agenda0.txt"))
...

having a todo with a

DEADLINE: <2007-09-07 Fr -5d>

this one will show up as:

 CATEGORY:      In   4 d.:  TODO ....

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?

Rainer

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: deadlines with special option for warning days.
  2007-09-03 14:56       ` Rainer Stengele
@ 2007-09-04  6:35         ` Carsten Dominik
  2007-09-04  9:24           ` Rainer Stengele
  0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2007-09-04  6:35 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: deadlines with special option for warning days.
  2007-09-04  6:35         ` Carsten Dominik
@ 2007-09-04  9:24           ` Rainer Stengele
  0 siblings, 0 replies; 7+ messages in thread
From: Rainer Stengele @ 2007-09-04  9:24 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2308 bytes --]

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

[-- Attachment #2: rainer.stengele.vcf --]
[-- Type: text/x-vcard, Size: 316 bytes --]

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


[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-09-04  9:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-31 11:24 deadlines with special option for warning days Rainer Stengele
2007-08-31 15:49 ` Carsten Dominik
2007-08-31 16:31   ` Rainer Stengele
2007-09-01 10:29     ` Carsten Dominik
2007-09-03 14:56       ` Rainer Stengele
2007-09-04  6:35         ` Carsten Dominik
2007-09-04  9:24           ` Rainer Stengele

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.