From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Bug: Docstrings of =org-agenda-todo-ignore-with-date= and =org-agenda-todo-ignore-timestamp= unclear [9.2 (release_9.2-215-g5b39d8 @ /home/mbork/others-works/emacs/org-mode/lisp/)] Date: Sun, 14 Jul 2019 22:30:52 +0200 Message-ID: <87h87o5pfn.fsf@mbork.pl> References: <87k1dj2xiq.fsf@mbork.pl> <87d0j9pelr.fsf@nicolasgoaziou.fr> <87wohck0jf.fsf@mbork.pl> <87blymyf4b.fsf@mbork.pl> <877e8u9tao.fsf@mbork.pl> <87o923tsme.fsf@nicolasgoaziou.fr> <87k1comlv7.fsf@mbork.pl> <8736jbljl3.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53738) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmlBB-0008J4-Dk for emacs-orgmode@gnu.org; Sun, 14 Jul 2019 16:33:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmlBA-0001Sr-3f for emacs-orgmode@gnu.org; Sun, 14 Jul 2019 16:33:05 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]:39556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hmlB9-0001O5-Qt for emacs-orgmode@gnu.org; Sun, 14 Jul 2019 16:33:04 -0400 In-reply-to: <8736jbljl3.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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain On 2019-07-12, at 10:53, Nicolas Goaziou wrote: > Hello, > > Marcin Borkowski writes: > >> Thanks. I meant that - according to the manual - `t' should be >> synonymous with `near' and not `all'. I can fix the commit message, but >> could you confirm that I'm right first? > > AFAICT, your guess sounds right. Thanks. How about this? Best, -- Marcin Borkowski http://mbork.pl --=-=-= Content-Type: text/x-patch; size=996B Content-Disposition: attachment; filename=0001-Fix-a-bug-when-org-agenda-todo-ignore-deadlines-is-s.patch >From 669b4347f35dd87815e9f232ab72533d6514d7d1 Mon Sep 17 00:00:00 2001 From: Marcin Borkowski Date: Mon, 24 Jun 2019 21:05:56 +0200 Subject: [PATCH] Fix a bug when `org-agenda-todo-ignore-deadlines` is set to t Make `t' synonymous with `near' instead of `all' (as is stated in the docstring). --- lisp/org-agenda.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index daf51601d..673c3c311 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -5444,7 +5444,7 @@ This function is invoked if `org-agenda-todo-ignore-deadlines', (and org-agenda-todo-ignore-deadlines (re-search-forward org-deadline-time-regexp end t) (cond - ((memq org-agenda-todo-ignore-deadlines '(t all)) t) + ((eq org-agenda-todo-ignore-deadlines 'all) t) ((eq org-agenda-todo-ignore-deadlines 'far) (not (org-deadline-close-p (match-string 1)))) ((eq org-agenda-todo-ignore-deadlines 'future) -- 2.22.0 --=-=-=--