[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Erc-discuss] Sort channel list by user count
From: |
Aaron S. Hawley |
Subject: |
Re: [Erc-discuss] Sort channel list by user count |
Date: |
Thu, 9 Jun 2016 09:32:38 -0400 |
> Is it possible in ERC to sort the channel list I obtained with the /list
> command by user count (second field)?
>
> <header-line> <mouse-2> is undefined
Seems like it should work. Sounds like there is key/mouse binding
bug. This fix gets it working again for me:
diff --git a/lisp/erc/erc-list.el b/lisp/erc/erc-list.el
index f0a5b9e..04de7ec 100644
--- a/lisp/erc/erc-list.el
+++ b/lisp/erc/erc-list.el
@@ -135,7 +135,7 @@ erc-list-menu-mode-map
(defvar erc-list-menu-sort-button-map
(let ((map (make-sparse-keymap)))
- (define-key map [header-line mouse-1] 'erc-list-menu-sort-by-column)
+ (define-key map [header-line mouse-2] 'erc-list-menu-sort-by-column)
(define-key map [follow-link] 'mouse-face)
map)
"Local keymap for ERC list menu mode sorting buttons.")