From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: changing behavioral for org-deadline-warning-days (was: Default prewarning time for each deadline) Date: Fri, 6 Apr 2012 12:29:09 +0200 Message-ID: <2012-04-06T12-21-28@devnull.Karl-Voit.at> References: <2012-04-05T10-39-20@devnull.Karl-Voit.at> <2012-04-05T22-30-25@devnull.Karl-Voit.at> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SG6Q7-0002uz-1G for emacs-orgmode@gnu.org; Fri, 06 Apr 2012 06:29:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SG6Q5-0002AY-51 for emacs-orgmode@gnu.org; Fri, 06 Apr 2012 06:29:30 -0400 Received: from plane.gmane.org ([80.91.229.3]:34273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SG6Q4-00027I-TH for emacs-orgmode@gnu.org; Fri, 06 Apr 2012 06:29:29 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SG6Px-00069W-CF for emacs-orgmode@gnu.org; Fri, 06 Apr 2012 12:29:21 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Apr 2012 12:29:21 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Apr 2012 12:29:21 +0200 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 * Michael Brand 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 :-) 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? :-) [1] Allowing no warning for each timestamp without explizit warning period *and/or* allowing warning for explizit warning periods within timestamps. -- Karl Voit