[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 29ab310: rcirc-menu: server buffer activity sorts lower
From: |
Alex Schroeder |
Subject: |
[elpa] master 29ab310: rcirc-menu: server buffer activity sorts lower |
Date: |
Fri, 25 Aug 2017 02:38:23 -0400 (EDT) |
branch: master
commit 29ab3105fc07609730f4ae0e686f5d5b9da4c1a3
Author: Alex Schroeder <address@hidden>
Commit: Alex Schroeder <address@hidden>
rcirc-menu: server buffer activity sorts lower
Rcirc server buffers often mention your nick and thus in the default
sort order, they used to come out on top, even though it's the kind of
activity nobody cares about. Now server buffers are sorted at the
bottom. Getting rid of them is also not a good solution because
sometimes, rarely, users still want to visit the server buffers.
---
packages/rcirc-menu/rcirc-menu.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/packages/rcirc-menu/rcirc-menu.el
b/packages/rcirc-menu/rcirc-menu.el
index e7cf0e3..17019f8 100644
--- a/packages/rcirc-menu/rcirc-menu.el
+++ b/packages/rcirc-menu/rcirc-menu.el
@@ -229,7 +229,8 @@ examine `rcirc-activity-types'."
(setq args (mapcar (lambda (v)
(let ((buf (car v)))
(with-current-buffer buf
- (cond ((memq 'nick rcirc-activity-types) 1)
+ (cond ((null rcirc-target) 5)
+ ((memq 'nick rcirc-activity-types) 1)
((memq 'keyword rcirc-activity-types) 2)
(rcirc-activity-types 3)
(t 4)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] master 29ab310: rcirc-menu: server buffer activity sorts lower,
Alex Schroeder <=