emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Rainer Stengele <rainer.stengele@diplan.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: deadlines with special option for warning days.
Date: Sat, 1 Sep 2007 12:29:47 +0200	[thread overview]
Message-ID: <4f2f4da7d145d46a6e15c80f1db0c655@science.uva.nl> (raw)
In-Reply-To: <fb9fp8$2su$1@sea.gmane.org>


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

  reply	other threads:[~2007-09-01 10:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2007-09-03 14:56       ` Rainer Stengele
2007-09-04  6:35         ` Carsten Dominik
2007-09-04  9:24           ` Rainer Stengele

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4f2f4da7d145d46a6e15c80f1db0c655@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=rainer.stengele@diplan.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).