From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: [bug] aorg-agenda effort filter Date: Wed, 28 May 2014 16:45:35 +0200 Message-ID: <87egzearn4.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wpf7e-0004YF-AN for emacs-orgmode@gnu.org; Wed, 28 May 2014 10:46:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wpf7V-00005R-Eq for emacs-orgmode@gnu.org; Wed, 28 May 2014 10:46:30 -0400 Received: from plane.gmane.org ([80.91.229.3]:45212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wpf7V-00005C-7h for emacs-orgmode@gnu.org; Wed, 28 May 2014 10:46:21 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wpf7C-0000ae-MU for emacs-orgmode@gnu.org; Wed, 28 May 2014 16:46:02 +0200 Received: from pd9eb3b8a.dip0.t-ipconnect.de ([217.235.59.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 May 2014 16:46:02 +0200 Received: from Stromeko by pd9eb3b8a.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 May 2014 16:46:02 +0200 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 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