From mboxrd@z Thu Jan 1 00:00:00 1970 From: wtm Subject: org-agenda-filter-effort and "invalid face reference" Date: Sun, 1 Jan 2017 16:00:53 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNoBV-0000N6-Bl for emacs-orgmode@gnu.org; Sun, 01 Jan 2017 17:00:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNoBU-0005q9-A7 for emacs-orgmode@gnu.org; Sun, 01 Jan 2017 17:00:57 -0500 Received: from mail-wj0-x229.google.com ([2a00:1450:400c:c01::229]:36750) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cNoBU-0005ot-2R for emacs-orgmode@gnu.org; Sun, 01 Jan 2017 17:00:56 -0500 Received: by mail-wj0-x229.google.com with SMTP id c11so209230414wjx.3 for ; Sun, 01 Jan 2017 14:00:55 -0800 (PST) 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" To: emacs-orgmode@gnu.org Hello, I'm having trouble using org-agenda-filter-by-effort on existing agendas in orgmode 9.0.3 in GNU Emacs 25.1.1 ([x86_64-w64-mingw32] of 2016-09-17). Each time I attempt to use org-agenda-filter-by-effort, I type "_" and then "=" and I select the one-digit index of the effort estimate I want--in my case, I select "3" which corresponds to "0:30". Instead of seeing only those orgmode TODO headings that have an effort property of "0:30" in the agenda buffer as I would expect, all the TODO headings disappear. However, every other type of filter on the agenda buffer seems to work. I can easily filter by category and tag. I have attempted this with my configuration and without any custom configuration at all and always gotten the same result. Although no errors occur (at least none that M-x toggle-debug-on-error pick up) the *Messages* buffer provides some feedback: "Invalid face reference: org-agenda-filter-effort [2 times]". I've tried searching for information about the "invalid face reference" message and orgmode. I've found a few discussions on the orgmode listserv, one of them that occurred recently (November 4, 2016). However, the version of orgmode in this most recent discussion is 8.3 and I'm using orgmode 9.0.3. And it appears that the patch described has already been applied. I also inspected org-agenda.el for the changes and they appear to be there (although I'm not a very experienced elisp programmer or debugger). [O] [PATCH] org-agenda.el Correct :inherit on org-agenda-fontify-priorit https://lists.gnu.org/archive/html/emacs-orgmode/2016-11/msg00057.html [O] `invalid face reference nil` caused by `org-agenda-fontify-propertie https://lists.gnu.org/archive/html/emacs-orgmode/2015-05/msg00116.html [O] Bug: Priority #B in Agenda causes invalid face reference [8.2.1 (8.2 https://lists.gnu.org/archive/html/emacs-orgmode/2013-10/msg00870.html I've attempted to reproduce the problem in Emacs 25.1.1 and orgmode 9.0.3 without any configuration and still experienced the same problem. To reproduce the problem I think you'd only need to create an org file, add an entry with a TODO heading, and then assign an effort estimate that corresponds to the array of allowed values (see description of org-agenda-filter-by-effort http://bit.ly/2iF4o68). After that, you'd need to create an agenda by entering "C-c a" (org-agenda) and "t" (List all TODO entries). I'm at a loss as to what steps to attempt next to troubleshoot this. I've seen an intriguing discussion on Stack Exchange about "font lock studio" but I couldn't get it to work. I'd appreciate any tips you might have on how to proceed. Thanks and Happy New Year to all my fellow org-mode users! Will