emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-deadline-warning-days per file
@ 2019-12-29 14:29 Colin Baxter
  2020-01-01  2:53 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Colin Baxter @ 2019-12-29 14:29 UTC (permalink / raw)
  To: emacs-orgmode


I have my org-deadline-warning-days set to 60 via

#+begin_src elisp
(setq org-deadline-warning-days 60)
#+end_src

in my ~/.emacs. How can I set it individually for each deadline in an
org-mode file?

Thanks.

-- 
Colin Baxter
www.Colin-Baxter.com

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

* Re: org-deadline-warning-days per file
  2019-12-29 14:29 org-deadline-warning-days per file Colin Baxter
@ 2020-01-01  2:53 ` Nick Dokos
  2020-01-01  7:25   ` Colin Baxter
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2020-01-01  2:53 UTC (permalink / raw)
  To: emacs-orgmode

Colin Baxter <m43cap@yandex.com> writes:

> I have my org-deadline-warning-days set to 60 via
>
> #+begin_src elisp
> (setq org-deadline-warning-days 60)
> #+end_src
>
> in my ~/.emacs. How can I set it individually for each deadline in an
> org-mode file?
>

The manual says:

,----
|      You can specify a different lead time for warnings for a specific
|      deadlines[sic] using the following syntax.  Here is an example with a
|      warning period of 5 days ‘DEADLINE: <2004-02-29 Sun -5d>’.  This
|      warning is deactivated if the task gets scheduled and you set
|      ‘org-agenda-skip-deadline-prewarning-if-scheduled’ to ‘t’.
`----

HTH.
-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler

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

* Re: org-deadline-warning-days per file
  2020-01-01  2:53 ` Nick Dokos
@ 2020-01-01  7:25   ` Colin Baxter
  0 siblings, 0 replies; 3+ messages in thread
From: Colin Baxter @ 2020-01-01  7:25 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

>>>>> Nick Dokos <ndokos@gmail.com> writes:

    > Colin Baxter <m43cap@yandex.com> writes:
    >> I have my org-deadline-warning-days set to 60 via
    >> 
    >> #+begin_src elisp (setq org-deadline-warning-days 60) #+end_src
    >> 
    >> in my ~/.emacs. How can I set it individually for each deadline
    >> in an org-mode file?
    >> 

    > The manual says:

    > ,---- | You can specify a different lead time for warnings for a
    > specific | deadlines[sic] using the following syntax.  Here is an
    > example with a | warning period of 5 days ‘DEADLINE: <2004-02-29
    > Sun -5d>’.  This | warning is deactivated if the task gets
    > scheduled and you set |
    > ‘org-agenda-skip-deadline-prewarning-if-scheduled’ to ‘t’.  `----

Thank you. Read the manual? Now that's a revolutionary idea I'll adopt
as my New Year resolution.

Best wishes,

-- 
Colin Baxter
www.Colin-Baxter.com

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

end of thread, other threads:[~2020-01-01  7:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-29 14:29 org-deadline-warning-days per file Colin Baxter
2020-01-01  2:53 ` Nick Dokos
2020-01-01  7:25   ` Colin Baxter

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).