emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: changing behavioral for org-deadline-warning-days (was: Default prewarning time for each deadline)
Date: Fri, 6 Apr 2012 12:29:09 +0200	[thread overview]
Message-ID: <2012-04-06T12-21-28@devnull.Karl-Voit.at> (raw)
In-Reply-To: CALn3zohU=bvz_zA+aQ=K2HcBmRoAh2Ck5aST0k-egxCnsQg84w@mail.gmail.com

* Michael Brand <michael.ch.brand@gmail.com> wrote:
> Hi all

Hi!

> Karl on Thu, Apr 5, 2012 at 22:31:
>> When I set org-deadline-warning-days to 0, I do not get warnings
>> even for DEADLINE strings containing a desired warning definition
>> like -3d :-(
>
> Manish on Fri, Apr 6, 2012 at 09:02:
>> My bad.  I should have read the docstring again before posting.  It
>> clearly states:
>>
>> "When 0 or negative, it means use this number (the absolute value of
>> it) even if a deadline has a different individual lead time
>> specified."
>
> Since at least Manish and me were surprised by 0 my suggestion is to
> use the yet unused nil for what 0 does now (never warn, even if
> deadline has an individual lead time) and 0 for what we expected (use
> 0 if deadline has no individual lead time). The change would break the
> customizations that already use 0. 

I see.

Is there a policy regarding to changing behavioral of settings in
Org-mode?

In my personal opinion, changing the code to differ between «nil»
and «0» is not that bad. People might enjoy the additional
feature[1] which does not seem to be implemented so far.

> In the Org customization survey 0 was not used.
> http://orgmode.org/worg/org-configs/org-customization-survey.html

Is there going to be another one? In 2009, I did not even use Emacs
and I'd happy to share my settings as well :-)


<just brainstorming>
Wouldn't it be nice to have a tool that scans for my settings,
compares it for changes/mentions in the changelogs and notifies me
upon matches? :-)
</just brainstorming>


[1] Allowing no warning for each timestamp without explizit warning
period *and/or* allowing warning for explizit warning periods within
timestamps.

-- 
Karl Voit

  reply	other threads:[~2012-04-06 10:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-05  8:42 Default prewarning time for each deadline Karl Voit
2012-04-05 14:34 ` Michael Brand
2012-04-05 14:54   ` Karl Voit
2012-04-05 18:56 ` Manish
2012-04-05 20:31   ` Karl Voit
2012-04-06  7:02     ` Manish
2012-04-06  9:25       ` Michael Brand
2012-04-06 10:29         ` Karl Voit [this message]
2012-04-09 13:52           ` changing behavioral for org-deadline-warning-days Bastien

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=2012-04-06T12-21-28@devnull.Karl-Voit.at \
    --to=devnull@karl-voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /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).