From: yanmcbe <yanmcbe@gmail.com>
To: wtm <wtmonroe.ls@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>,
Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: Re: org-agenda-filter-effort and "invalid face reference"
Date: Thu, 5 Jan 2017 01:15:11 +0100 [thread overview]
Message-ID: <CALeTTmE4vyWRc39gXP1mN-9yY7PKa+OzZbtP3+WCrVGcx=LiKw@mail.gmail.com> (raw)
In-Reply-To: <CAOtLKabe-z5qEORCirU8xwDrTEPuqBeMZvVmH=8KUo2vkeJH4Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2677 bytes --]
Wow, this issue comes very close to something I struggled for hours with
(3h42') last year.
It finally boiled down to this: sorting by effort in the agenda view only
works (correctly) when org-agenda-remove-tags is t. Here's the (edited) ECM
I created for IRC and eventually the list: http://paste.lisp.org/+7723
Is that still expected behaviour? Lack of documentation? The updated
org-agenda-compare-effort Nicolas provided doesn't solve this, at least.
Thanks
Yan
On Wed, Jan 4, 2017 at 10:10 PM, wtm <wtmonroe.ls@gmail.com> wrote:
> 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 <wtmonroe.ls@gmail.com> 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 <mail@nicolasgoaziou.fr>
> wrote:
> >> wtm <wtmonroe.ls@gmail.com> 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=3bba31ff44033e895fedd99857363dd5b0586b41)
> >>> 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,
>
>
[-- Attachment #2: Type: text/html, Size: 4368 bytes --]
next prev parent reply other threads:[~2017-01-05 0:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-01 22:00 org-agenda-filter-effort and "invalid face reference" wtm
2017-01-03 17:16 ` Nicolas Goaziou
2017-01-03 19:55 ` wtm
2017-01-03 20:30 ` Jorge Morais Neto
2017-01-03 21:15 ` Nicolas Goaziou
2017-01-03 21:22 ` wtm
2017-01-03 21:29 ` Nicolas Goaziou
2017-01-03 21:50 ` wtm
2017-01-04 21:10 ` wtm
2017-01-04 22:31 ` Nicolas Goaziou
2017-01-04 22:37 ` wtm
2017-01-04 22:40 ` Nicolas Goaziou
2017-01-04 22:44 ` wtm
2017-01-05 0:15 ` yanmcbe [this message]
2017-01-05 11:31 ` Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALeTTmE4vyWRc39gXP1mN-9yY7PKa+OzZbtP3+WCrVGcx=LiKw@mail.gmail.com' \
--to=yanmcbe@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
--cc=wtmonroe.ls@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.