THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Daniel Hahler (blueyed) 

Attached to Project - awesome
Summary - API for awful.rules to provide matching from awful.rules.apply
Task Type - Feature Request
Category - awful
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - I would like to make use of the awful.rules format outside of 
awful.rules.apply.

Therefore a new function like get_matching_rules or match_rules would be useful.

It would provide basically what awful.rule.apply does when looping its rules, 
moved into a new function:

    for _, entry in ipairs(rules.rules) do
        if (rules.match(c, entry.rule) or rules.match_any(c, entry.rule_any)) 
and
            (not rules.match(c, entry.except) and not rules.match_any(c, 
entry.except_any)) then

(Awesome 3.5.2)

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1224

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Reply via email to