[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/rt-liberation cca328c 49/72: * rt-liberation.el: Add Re
From: |
Stefan Monnier |
Subject: |
[elpa] externals/rt-liberation cca328c 49/72: * rt-liberation.el: Add Resolved time predicate. |
Date: |
Wed, 5 Aug 2020 11:57:42 -0400 (EDT) |
branch: externals/rt-liberation
commit cca328cbacb57113c8e5db95a0471c2b392f99ee
Author: Yoni Rabkin <yrk@gnu.org>
Commit: Yoni Rabkin <yrk@gnu.org>
* rt-liberation.el: Add Resolved time predicate.
---
rt-liberation.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/rt-liberation.el b/rt-liberation.el
index b9b013f..b32efb4 100644
--- a/rt-liberation.el
+++ b/rt-liberation.el
@@ -52,6 +52,9 @@
(defvar rt-liber-created-string "Created"
"String representation of \"created\" query tag.")
+(defvar rt-liber-resolved-string "Resolved"
+ "String representation of \"resolved\" query tag.")
+
(defvar rt-liber-base-url ""
"Base url for ticket display.")
@@ -244,7 +247,7 @@ This variable is made buffer local for the ticket history")
email-address)))
(defun rt-liber-time-p (sym)
"Return t if SYM is a temporal attribute, otherwise nil."
- (member sym '(created lastupdated)))
+ (member sym '(created lastupdated resolved)))
(defun rt-liber-negation-p (sym)
(member sym '(not)))
@@ -291,7 +294,8 @@ AFTER date after predicate."
;; time
((rt-liber-time-p query)
`,(cond ((equal query 'created) rt-liber-created-string)
- ((equal query 'lastupdated) rt-liber-lastupdated-string)))
+ ((equal query 'lastupdated) rt-liber-lastupdated-string)
+ ((equal query 'resolved) rt-liber-resolved-string)))
((and (listp query)
(rt-liber-time-p (car query)))
`(rt-liber-make-interval
- [elpa] externals/rt-liberation cdd81a8 46/72: * rt-report.el: Add new file., (continued)
- [elpa] externals/rt-liberation cdd81a8 46/72: * rt-report.el: Add new file., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation cd29eac 52/72: Add collation., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 26d77ec 53/72: * rt-liberation-report.el: Complete first working version., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation e7779ce 54/72: * rt-liberation-report.el: Add Total, found bug., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation e3cc2f5 57/72: * rt-liberation-report.el: Fix sorting bug., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 0cfaa45 59/72: Merge branch 'report', Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation bab09f7 64/72: Upgrade to GPLv3, Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 1629dd3 68/72: * why-rt-liberation-is-under-gplv3.txt: better explanation, Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation ea3e01b 71/72: * NEWS: new file, Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 277378d 47/72: Rename to fit file naming convention., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation cca328c 49/72: * rt-liberation.el: Add Resolved time predicate.,
Stefan Monnier <=
- [elpa] externals/rt-liberation 09f7ac0 60/72: * rt-liberation.el: new function rt-liber-print-query, Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 05beb9f 72/72: * rt-liberation.el: remove old cli code, Stefan Monnier, 2020/08/05