From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Raimund Berger" Subject: Bug: org-agenda-get-sexps and erroneous agenda tag filtering. [8.2.6 (8.2.6-dist @ /home/rberger/Emacs/share/emacs/site-lisp/org/)] Date: Fri, 06 Jun 2014 15:46:01 +0200 Message-ID: <8761keywva.fsf@gigli.quasi.internal> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsuTE-0003R6-1w for emacs-orgmode@gnu.org; Fri, 06 Jun 2014 09:46:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsuT8-0000oh-5P for emacs-orgmode@gnu.org; Fri, 06 Jun 2014 09:46:11 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:62053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsuT7-0000oU-Uc for emacs-orgmode@gnu.org; Fri, 06 Jun 2014 09:46:06 -0400 Received: by mail-wi0-f180.google.com with SMTP id ho1so1014404wib.13 for ; Fri, 06 Jun 2014 06:46:04 -0700 (PDT) Received: from mail.quasi.internal (pD958DED8.dip0.t-ipconnect.de. [217.88.222.216]) by mx.google.com with ESMTPSA id j44sm22935671eeg.30.2014.06.06.06.46.03 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 06 Jun 2014 06:46:03 -0700 (PDT) Received: from gigli.quasi.internal (gigli.quasi.internal [192.168.0.100]) by mail.quasi.internal (Postfix) with ESMTPS id B900C35B for ; Fri, 6 Jun 2014 15:46:01 +0200 (CEST) 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 Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ Hi there, there seems to be an error in org-agenda-get-sexps, in the way tags are stored for sexp diary entries. I noticed that when trying to filter in the agenda, for diary entries that inherited a file wide PERSONAL tag. The sexp entries just vanished when the filter was applied, while normal diary entries in the diary tree were displayed as expected. For each normal entry in the diary, the inherited tag was stored in lower case as an agenda text property of the specific entry, so the tag read "personal". Except for sexps, where the tag was stored "as is" in upper case, namely PERSONAL. By comparing with other functions, I noticed that deleting the 'tags tags part in code portion (org-add-props txt props 'org-marker marker 'org-category category 'date date 'todo-state todo-state 'org-category-position category-pos 'tags tags 'level level 'type "sexp" 'warntime warntime) of function org-agenda-get-sexps fixed the issue. Apparantly, the tags are aleady dealt with by the "org-add-props txt" call, and correctly so (in lower case). Regards, R. Emacs : GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2014-05-18 on gigli Package: Org-mode version 8.2.6 (8.2.6-dist @ /home/rberger/Emacs/share/emacs/site-lisp/org/)