|
From: | yanmcbe |
Subject: | Re: [O] org-agenda-filter-effort and "invalid face reference" |
Date: | Thu, 5 Jan 2017 01:15:11 +0100 |
After some additional testing, I was able to isolate the problem:
org-agenda-filter-by-effort only filtered entries that had no tags or
tag inheritance. This leads me to believe that I just don't
understand how this command, org-agenda-filter-by-effort, is actually
supposed to work. If I have an entry like this:
* TODO task 1 :tag:
:PROPERTIES:
:Effort: 0:30
:END:
And one like this:
* TODO task 2
:PROPERTIES:
:Effort: 0:30
:END:
And I've added the org file to the agenda list and created the
appropriate org-global-properties:
(setq org-global-properties
'(("Effort_ALL". "0 0:10 0:30 1:00 2:00 3:00 4:00")))
Shouldn't org-agenda-filter-by-effort set to = "0:30" show both of
those tasks? In my case, I'm only seeing this one:
* TODO task 2
:PROPERTIES:
:Effort: 0:30
:END:
On Tue, Jan 3, 2017 at 3:50 PM, wtm <address@hidden> wrote:
> Thanks, Nicolas. After adding that code to my config, I tried it
> again and although the message "invalid face reference" no longer
> displays, I'm still unable to see any of the entries
>
> I also tried it without any custom configuration except the addition
> of the code you sent. I had the same result: no more "invalid face
> reference" but no display of expected entries after filtering for
> effort.
>
> Perhaps I'm missing something very simple? If you have any
> suggestions, I'd love to try them.
>
> On Tue, Jan 3, 2017 at 3:29 PM, Nicolas Goaziou <address@hidden> wrote:
>> wtm <address@hidden> writes:
>>
>>> I'm installing org-mode from elpa. Until that update is available
>>> would using the "org-faces.el" file in the latest git commit
>>> (http://orgmode.org/w/org-mode.git?p=org-mode.git;a=commit; )h=3bba31ff44033e895fedd9985736 3dd5b0586b41
>>> work?
>>
>> Meanwhile, you only need to put the following somewhere in your config:
>>
>> (defface org-agenda-filter-effort '((t :inherit mode-line))
>> "Face for effort in the mode-line when filtering the agenda."
>> :group 'org-faces)
>>
>>
>> Regards,
[Prev in Thread] | Current Thread | [Next in Thread] |