From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Dudebout Subject: Bug: Tag set in agenda need a refresh to be used in a filter [7.4] Date: Thu, 21 Jul 2011 13:01:56 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0023545bde246da41004a8974eae Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjwdQ-0002mu-Qm for emacs-orgmode@gnu.org; Thu, 21 Jul 2011 13:02:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjwdO-0007c8-Rw for emacs-orgmode@gnu.org; Thu, 21 Jul 2011 13:02:04 -0400 Received: from deliverator6.gatech.edu ([130.207.160.71]:47344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjwdO-0007bt-NM for emacs-orgmode@gnu.org; Thu, 21 Jul 2011 13:02:02 -0400 Received: from deliverator6.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 74DDF20C139 for ; Thu, 21 Jul 2011 13:02:00 -0400 (EDT) Received: from mail7.gatech.edu (mail7.gatech.edu [130.207.185.167]) by deliverator6.gatech.edu (Postfix) with ESMTP id 61FF920C149 for ; Thu, 21 Jul 2011 13:01:59 -0400 (EDT) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) (Authenticated sender: ndudebout3) by mail7.gatech.edu (Postfix) with ESMTPSA id 0CAB52C8980 for ; Thu, 21 Jul 2011 13:01:58 -0400 (EDT) Received: by fxd18 with SMTP id 18so3091329fxd.39 for ; Thu, 21 Jul 2011 10:01:56 -0700 (PDT) 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 --0023545bde246da41004a8974eae Content-Type: text/plain; charset=UTF-8 When filtering with a tag that was just added, the result is not as expected. * Steps * 1 - Go in the agenda view. 2 - Attach a tag to an entry . 3 - Filter using tag . (4 - Refresh the view) * Expected behavior * by doing steps 1-3, entry should appear in the filtered output. * Actual behavior* step 4 is needed to have entry appear. * Systems on which tests were performed * + emacs 23 with the included version of org-mode and zero configuration + emacs 24 with the included version of org-mode and zero configuration + emacs 24 with the git version of org-mode and some configuration I tried to find the problem in org-agenda.el but got a little lost. Regards, Nicolas Emacs : GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.5) of 2011-07-21 on cigue, modified by Debian Package: Org-mode version 7.4 current state: ============== (setq org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-metaup-hook '(org-babel-load-in-session-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-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-babel-pre-tangle-hook '(save-buffer) org-export-first-hook '(org-beamer-initialize-open-trackers) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-confirm-shell-link-function 'yes-or-no-p org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-metadown-hook '(org-babel-pop-to-session-maybe) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-occur-hook '(org-first-headline-recenter) org-export-blocks '((src org-babel-exp-src-blocks nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) org-agenda-files '("~/foo.org") 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-agenda-before-write-hook '(org-agenda-add-entry-text) org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) ) --0023545bde246da41004a8974eae Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable When filtering with a tag that was just added, the result is not as expecte= d.

* Steps *
1 - Go in the agenda view.
2 - Attach a tag <T= > to an entry <E>.
3 - Filter using tag <T>.
(4 - Refr= esh the view)

* Expected behavior *
by doing steps 1-3, entry <E> should app= ear in the filtered output.

* Actual behavior*
step 4 is needed t= o have entry <E> appear.

* Systems on which tests were perform= ed *
+ emacs 23 with the included version of org-mode and zero configuration
= + emacs 24 with the included version of org-mode and zero configuration
= + emacs 24 with the git version of org-mode and some configuration

I tried to find the problem in org-agenda.el but got a little lost.

= Regards,
Nicolas

Emacs=C2=A0 : GNU Emacs 24.0.50.1 (x86_64-pc-lin= ux-gnu, GTK+ Version 2.24.5)
=C2=A0of 2011-07-21 on cigue, modified by D= ebian
Package: Org-mode version 7.4

current state:
=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D
(setq
=C2=A0org-export-latex-format-toc-func= tion 'org-export-latex-format-toc-default
=C2=A0org-tab-first-hook &= #39;(org-hide-block-toggle-maybe org-src-native-tab-command-maybe
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 org-ba= bel-hide-result-toggle-maybe)
=C2=A0org-after-todo-state-change-hook = 9;(org-clock-out-if-current)
=C2=A0org-export-blocks-postblock-hook '= ;(org-exp-res/src-name-cleanup)
=C2=A0org-metaup-hook '(org-babel-lo= ad-in-session-maybe)
=C2=A0org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-m= ode-configure-edit-buffer)
=C2=A0org-export-interblocks '((lob org-b= abel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks))
=C2=A0or= g-mode-hook '(#[nil "\300\301\302\303\304$\207"
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 [org-add-hook change-maj= or-mode-hook org-show-block-all append local] 5]
=C2=A0=C2=A0=C2=A0 =C2= =A0=C2=A0=C2=A0 =C2=A0#[nil "\300\301\302\303\304$\207"
=C2=A0= =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 [org-add-hook change-major-mod= e-hook org-babel-show-result-all append local] 5]
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0org-babel-result-hide-spec org-= babel-hide-all-hashes)
=C2=A0org-babel-pre-tangle-hook '(save-buffer= )
=C2=A0org-export-first-hook '(org-beamer-initialize-open-trackers)=
=C2=A0org-export-preprocess-before-normalizing-links-hook '(org-rem= ove-file-link-modifiers)
=C2=A0org-export-preprocess-before-selecting-backend-code-hook '(org-be= amer-select-beamer-code)
=C2=A0org-confirm-shell-link-function 'yes-= or-no-p
=C2=A0org-export-latex-final-hook '(org-beamer-amend-header = org-beamer-fix-toc org-beamer-auto-fragile-frames
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 org-beamer-place-default-actions-for-lists)
=C2=A0org= -speed-command-hook '(org-speed-command-default-hook org-babel-speed-co= mmand-hook)
=C2=A0org-metadown-hook '(org-babel-pop-to-session-maybe= )
=C2=A0org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-e= xecute-safely-maybe)
=C2=A0org-occur-hook '(org-first-headline-recenter)
=C2=A0org-export= -blocks '((src org-babel-exp-src-blocks nil) (comment org-export-blocks= -format-comment t)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0=C2=A0 (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks= -format-dot nil))
=C2=A0org-agenda-files '("~/foo.org= ")
=C2=A0org-cycle-hook '(org-cycle-hide-archived-subtrees org-= cycle-hide-drawers org-cycle-show-empty-lines
=C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0 =C2=A0 org-optimize-window-after-visibility-change)
=C2=A0org-confirm-elisp-link-function 'yes-or-no-p
=C2=A0org-agenda-= before-write-hook '(org-agenda-add-entry-text)
=C2=A0org-export-late= x-after-initial-vars-hook '(org-beamer-after-initial-vars)
=C2=A0)
--0023545bde246da41004a8974eae--