emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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/)]
@ 2014-06-06 13:46 Raimund Berger
  2014-07-28 16:23 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Raimund Berger @ 2014-06-06 13:46 UTC (permalink / raw)
  To: emacs-orgmode


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/)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-28 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 13:46 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/)] Raimund Berger
2014-07-28 16:23 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).