emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: [bug] aorg-agenda effort filter
Date: Wed, 28 May 2014 16:45:35 +0200	[thread overview]
Message-ID: <87egzearn4.fsf@Rainer.invalid> (raw)

The recent commit aa86e4bc9f extends a pre-existing setq via the
following diff:

--8<---------------cut here---------------start------------->8---
@@ -7615,11 +7656,12 @@ (defun org-agenda-filter-apply (filter type)
 		    (apply 'append
 			   (mapcar (lambda (f)
 				     (org-agenda-filter-expand-tags (list f) t))
 				   (org-get-at-bol 'tags)))
 		    cat (org-get-at-eol 'org-category 1)
-		    txt (get-text-property (point) 'txt))
+		    txt (org-get-at-eol 'txt 1)
+		    effort-minutes (org-get-at-eol 'effort-minutes 1))
 	      (if (not (eval org-agenda-filter-form))
 		  (org-agenda-filter-hide-line type))
 	      (beginning-of-line 2))
 	  (beginning-of-line 2))))
     (if (get-char-property (point) 'invisible)
--8<---------------cut here---------------end--------------->8---

Setting effort-minutes here is a bug since it is a property and not a
variable.  Adding it to the let clause this statement is in would
suppress the corresponding warning, but I don't see where such a
let-bound variable would be used.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

             reply	other threads:[~2014-05-28 14:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-28 14:45 Achim Gratz [this message]
2014-05-28 19:32 ` [bug] aorg-agenda effort filter Bastien
2014-05-28 19:38   ` Achim Gratz
2014-05-28 19:46     ` Bastien
2014-05-28 20:07       ` Achim Gratz
2014-05-28 20:48         ` Bastien
2014-05-29  9:03           ` Achim Gratz
2014-05-29 17:12             ` 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=87egzearn4.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --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).