From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jorge Morais Neto Subject: Re: Bug: org-agenda-skip-deadline-prewarning-if-scheduled as pre-scheduled has no effect [9.0.5 (9.0.5-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20170210/)] Date: Sun, 5 Mar 2017 19:12:20 -0300 Message-ID: References: <87r32b61pl.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckeO7-0002Vc-NE for Emacs-orgmode@gnu.org; Sun, 05 Mar 2017 17:12:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckeO6-0005oq-Ir for Emacs-orgmode@gnu.org; Sun, 05 Mar 2017 17:12:23 -0500 Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:36849) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckeO6-0005m9-FA for Emacs-orgmode@gnu.org; Sun, 05 Mar 2017 17:12:22 -0500 Received: by mail-qk0-x236.google.com with SMTP id 1so128030470qkl.3 for ; Sun, 05 Mar 2017 14:12:20 -0800 (PST) In-Reply-To: <87r32b61pl.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: org mode On 5 March 2017 at 15:03, Nicolas Goaziou wrote: > It has an effect, but you are enforcing a pre-warning delay of 6 days. > in the time stamp above. > > I think local syntax overrides global settings. IOW, I don't think this > qualifies as a bug. It would have been useful for me if 'pre-scheduled would override the timestamp-specific lead time. I don't know if this would be useful widely enough (I myself don't remember having wished it in other occasions) to justify changing the behavior of 'pre-scheduled or adding another value (like 'pre-scheduled-override-local) that does override. Perhaps we should at least explicitly document the current situation in the docstring? Just add an observation at the end: Note that an eventual explicit lead time in the timestamp overrides the effect of setting this option to 'pre-scheduled or a number. "eventual" above means "if it exists"; "eventual" has this meaning (among others) in Portuguese; I am not sure if it also does in English. Regards --=20 =E2=80=A2 I am Brazilian. I hope my English is correct and I welcome corre= ctions. =E2=80=A2 Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM a= nd 7z. =E2=80=A2 Free (as in free speech) software for Android: https://f-droid.or= g/