From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: Default prewarning time for each deadline Date: Fri, 6 Apr 2012 11:25:34 +0200 Message-ID: References: <2012-04-05T10-39-20@devnull.Karl-Voit.at> <2012-04-05T22-30-25@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SG5QM-0005Fn-Gz for emacs-orgmode@gnu.org; Fri, 06 Apr 2012 05:25:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SG5QG-00037t-WB for emacs-orgmode@gnu.org; Fri, 06 Apr 2012 05:25:42 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:52393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SG5QG-00037j-MP for emacs-orgmode@gnu.org; Fri, 06 Apr 2012 05:25:36 -0400 Received: by wgbdr1 with SMTP id dr1so1520575wgb.30 for ; Fri, 06 Apr 2012 02:25:34 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: news1142@karl-voit.at Hi all myself on Thu, Apr 5, 2012 at 16:34: > But another solution is to > set org-deadline-warning-days to 0 and then 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. =A0I should have read the docstring again before posting. =A0It > 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. In the Org customization survey 0 was not used. http://orgmode.org/worg/org-configs/org-customization-survey.html I know, I know, I should read the manual but in this case already the exemplary variable name itself that documents even the unit of the value gives me expectations for the positive integers and 0. Michael