emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Raimund Berger" <raimund.berger@gmail.com>
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <8761keywva.fsf@gigli.quasi.internal> (raw)


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

             reply	other threads:[~2014-06-06 13:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-06 13:46 Raimund Berger [this message]
2014-07-28 16:23 ` 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/)] Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761keywva.fsf@gigli.quasi.internal \
    --to=raimund.berger@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).