From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Foley Subject: Bug: Org Agenda Custom Search Excludes Non Active Keywords [9.0.5 (9.0.5-elpa @ c:/emacs/.emacs.d/elpa/org-20170210/)] Date: Sun, 5 Mar 2017 09:28:13 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045ea6b89442590549fc98f6 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckX9U-0005oS-O0 for emacs-orgmode@gnu.org; Sun, 05 Mar 2017 09:28:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckX9T-00027q-7h for emacs-orgmode@gnu.org; Sun, 05 Mar 2017 09:28:48 -0500 Received: from mail-wr0-x229.google.com ([2a00:1450:400c:c0c::229]:35344) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckX9S-00026s-S5 for emacs-orgmode@gnu.org; Sun, 05 Mar 2017 09:28:47 -0500 Received: by mail-wr0-x229.google.com with SMTP id g10so100705733wrg.2 for ; Sun, 05 Mar 2017 06:28:45 -0800 (PST) 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: emacs-orgmode@gnu.org --f403045ea6b89442590549fc98f6 Content-Type: text/plain; charset=UTF-8 I set an agenda command to search for "DONE" todo items using "/DONE". This search works when selecting "t" from org-agenda, however when using a custom command with tags-todo it seems non active TODO keywords are excluded. Per the advanced searching page at http://orgmode.org/worg/org-tutorials/advanced-searching.html non active keywords should only be excluded when an exclamation point is used, ie. "/!DONE". Apologies if I'm misunderstanding something here. Emacs : GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-11-15 Package: Org mode version 9.0.5 (9.0.5-elpa @ c:/emacs/.emacs.d/elpa/org-20170210/) current state: ============== (setq org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-agenda-custom-commands '(("d" "Done tasks" ((tags-todo "/DONE")))) org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-block-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("id" :follow org-id-open) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("doi" :follow org--open-doi-link) ("elisp" :follow org--open-elisp-link) ("file" :complete org-file-complete-link) ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path)))) ("help" :follow org--open-help-link) ("http" :follow (lambda (path) (browse-url (concat "http:" path)))) ("https" :follow (lambda (path) (browse-url (concat "https:" path)))) ("mailto" :follow (lambda (path) (browse-url (concat "mailto:" path)))) ("message" :follow (lambda (path) (browse-url (concat "message:" path)))) ("news" :follow (lambda (path) (browse-url (concat "news:" path)))) ("shell" :follow org--open-shell-link)) org-agenda-files '("~/Documents/Org/test.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) --f403045ea6b89442590549fc98f6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I set an agenda command to search for "DONE= " todo items
using "/DONE". This search works when= selecting "t" from
org-agenda, however when using a cu= stom command with tags-todo it seems non active TODO
keywords are= excluded.

Per the advanced searching page at
keywords should only be excluded when an exclamation point= is used, ie. "/!DONE".

Apologies if I&#= 39;m misunderstanding something here.

Emacs =C2=A0= : GNU Emacs 25.1.1 (x86_64-w64-mingw32)
=C2=A0of 2016-11-15
=
Package: Org mode version 9.0.5 (9.0.5-elpa @ c:/emacs/.emacs.d/elpa/o= rg-20170210/)

current state:
=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
=C2=A0org-tab-f= irst-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-exp= and)
=C2=A0org-speed-command-hook '(org-speed-command-default= -hook org-babel-speed-command-hook)
=C2=A0org-occur-hook '(or= g-first-headline-recenter)
=C2=A0org-metaup-hook '(org-babel-= load-in-session-maybe)
=C2=A0org-confirm-shell-link-function '= ;yes-or-no-p
=C2=A0org-agenda-custom-commands '(("d"= ; "Done tasks" ((tags-todo "/DONE"))))
=C2=A0= org-after-todo-state-change-hook '(org-clock-out-if-current)
= =C2=A0org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-m= ode-configure-edit-buffer)
=C2=A0org-agenda-before-write-hook = 9;(org-agenda-add-entry-text)
=C2=A0org-babel-pre-tangle-hook = 9;(save-buffer)
=C2=A0org-mode-hook '(#[0 "\300\301\302\= 303\304$\207" [add-hook change-major-mode-hook org-show-block-all appe= nd local] 5]
#[0 "\300\301\302\303\304$\207" [add-hook ch= ange-major-mode-hook org-babel-show-result-all append local] 5]
<= span class=3D"gmail-Apple-tab-span" style=3D"white-space:pre"> org= -babel-result-hide-spec org-babel-hide-all-hashes)
=C2=A0org-arch= ive-hook '(org-attach-archive-delete-maybe)
=C2=A0org-cycle-h= ook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle= -show-empty-lines
=C2=A0org-optimize-window-after-visibility-change= )
=C2=A0org-confirm-elisp-link-function 'yes-or-no-p
=C2=A0org-metadown-hook '(org-babel-pop-to-session-maybe)
= =C2=A0org-link-parameters '(("id" :follow org-id-open) ("= ;rmail" :follow org-rmail-open :store org-rmail-store-link)
= = =C2=A0 =C2=A0 =C2=A0 ("mhe" :follow org-mhe-open :store org-mhe-s= tore-link) ("irc" :follow org-irc-visit :store org-irc-store-link= )
= =C2=A0 =C2=A0 =C2=A0 ("info" :follow org-info-open :exp= ort org-info-export :store org-info-store-link)
=C2=A0 =C2=A0 =C2= =A0 ("gnus" :follow org-gnus-open :store org-gnus-store-link)
=C2=A0 =C2=A0 =C2=A0 ("docview" :follow org-docview-open :ex= port org-docview-export :store org-docview-store-link)
=C2=A0 =C2= =A0 =C2=A0 ("bibtex" :follow org-bibtex-open :store org-bibtex-st= ore-link)
=C2=A0 =C2=A0 =C2=A0 ("bbdb" :follow org-bbdb-o= pen :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbd= b-store-link)
=C2=A0 =C2=A0 =C2=A0 ("w3m" :store org-w3m-= store-link) ("file+sys") ("file+emacs") ("doi"= ; :follow org--open-doi-link)
=C2=A0 =C2=A0 =C2=A0 ("elisp&quo= t; :follow org--open-elisp-link) ("file" :complete org-file-compl= ete-link)
=C2=A0 =C2=A0 =C2=A0 ("ftp" :follow (lambda (pa= th) (browse-url (concat "ftp:" path)))) ("help" :follow= org--open-help-link)
=C2=A0 =C2=A0 =C2=A0 ("http" :foll= ow (lambda (path) (browse-url (concat "http:" path))))
= = =C2=A0 =C2=A0 =C2=A0 ("https" :follow (lambda (path) (browse-url = (concat "https:" path))))
=C2=A0 =C2=A0 =C2=A0 ("mai= lto" :follow (lambda (path) (browse-url (concat "mailto:" pa= th))))
=C2=A0 =C2=A0 =C2=A0 ("message" :follow (lambda (p= ath) (browse-url (concat "message:" path))))
=C2=A0 =C2= =A0 =C2=A0 ("news" :follow (lambda (path) (browse-url (concat &qu= ot;news:" path)))) ("shell" :follow org--open-shell-link))
=C2=A0org-agenda-files '("~/Documents/Org/test.org")
=C2=A0org-clock-out-hook '(o= rg-clock-remove-empty-clock-drawer)
=C2=A0)
--f403045ea6b89442590549fc98f6--