From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Morgan Subject: Preset filter sometimes persistent Date: Sun, 01 Jun 2014 20:58:39 -0400 Message-ID: <87vbsk86v4.fsf@azha.ziiuu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrGaa-0001U2-OW for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 20:59:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrGaT-0002bq-7z for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 20:59:00 -0400 Received: from mail-qa0-f44.google.com ([209.85.216.44]:37514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrGaT-0002bb-4B for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 20:58:53 -0400 Received: by mail-qa0-f44.google.com with SMTP id j7so1816506qaq.3 for ; Sun, 01 Jun 2014 17:58:50 -0700 (PDT) Received: from azha.ziiuu.com (cpe-68-173-37-126.nyc.res.rr.com. [68.173.37.126]) by mx.google.com with ESMTPSA id u7sm18880208qat.2.2014.06.01.17.58.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Jun 2014 17:58:48 -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 --=-=-= Content-Type: text/plain Hello, Org mode hackers, Here is a recipe for a bug on the maint branch that causes a preset tag filter to be carried over to another agenda view in some cases. 1. Change the load path setting in `setup.el'. 2. Start Emacs with `emacs -Q -l setup.el'. 3. Open a TODO list with `M-x org-agenda t'. 4. Move point to the TODO item with `C-s elisp RET'. 5. Evaluate the Elisp code link with `C-c C-o yes RET'. This brings up a custom TODO list with the `foo' tag filtered. This is a preset tag filter. The TODO list is empty, as expected. 6. Return to the first TODO list with `M-x org-agenda t'. 7. Refresh it with `r'. Now this TODO list is empty too and `{-foo}' appears in the mode line, indicating that the preset tag filter was carried over from one agenda view to another. Best, Thomas --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename=test-case.org * TODO [[elisp:(org-agenda%20nil%20"x")][elisp:(org-agenda nil "x")]] :foo: --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=setup.el Content-Transfer-Encoding: quoted-printable (add-to-list 'load-path "/src/org-mode/lisp") (require 'org) (setq org-agenda-files '("test-case.org") org-agenda-persistent-filter t org-agenda-sticky t org-agenda-custom-commands '(("x" alltodo "" ((org-agenda-tag-filter-preset '("-foo")))))) --=-=-=--