emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 4aea961: Fix bug face for newly arrived bugs in debbugs-gn


From: Michael Albinus
Subject: [elpa] master 4aea961: Fix bug face for newly arrived bugs in debbugs-gnu.el
Date: Sat, 4 Jun 2016 08:11:29 +0000 (UTC)

branch: master
commit 4aea9615e0c5a16b0434f0f811198f34b4f48309
Author: Tino Calancha <address@hidden>
Commit: Michael Albinus <address@hidden>

    Fix bug face for newly arrived bugs in debbugs-gnu.el
    
    * packages/debbugs/debbugs-gnu.el (debbugs-gnu-show-reports):
    For some new bugs `date' and `log_modified' may differ in 1 second.
---
 packages/debbugs/debbugs-gnu.el |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/packages/debbugs/debbugs-gnu.el b/packages/debbugs/debbugs-gnu.el
index 4c108cc..dd1fe33 100644
--- a/packages/debbugs/debbugs-gnu.el
+++ b/packages/debbugs/debbugs-gnu.el
@@ -678,8 +678,11 @@ are taken from the cache instead."
                'debbugs-gnu-done)
               ((member "pending" (cdr (assq 'keywords status)))
                'debbugs-gnu-pending)
-              ((= (cdr (assq 'date status))
-                  (cdr (assq 'log_modified status)))
+              ;; For some new bugs `date' and `log_modified' may
+              ;; differ in 1 second.
+              ((< (abs (- (cdr (assq 'date status))
+                          (cdr (assq 'log_modified status))))
+                  3)
                'debbugs-gnu-new)
               ((< (- (float-time)
                      (cdr (assq 'log_modified status)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]