[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/rcirc-update 88e07af 4/8: Preserve order of completion during cy
From: |
Philip Kaludercic |
Subject: |
feature/rcirc-update 88e07af 4/8: Preserve order of completion during cycling |
Date: |
Tue, 15 Jun 2021 12:46:42 -0400 (EDT) |
branch: feature/rcirc-update
commit 88e07af18cddbb0639b55ab21012eca1cd630b49
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Preserve order of completion during cycling
* rcirc.el (rcirc-completion-at-point): Specify cycle-sort-function
---
lisp/net/rcirc.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 9fdbf12..de42220 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -1151,7 +1151,11 @@ The list is updated automatically by
`defun-rcirc-command'.")
(lambda (str) (concat (funcall rcirc-nick-filter str)
": "))
(rcirc-channel-nicks (rcirc-buffer-process)
rcirc-target))))))
- (list beg (point) table))))
+ (list beg (point)
+ (lambda (str pred action)
+ (if (eq action 'metadata)
+ '(metadata (cycle-sort-function . identity))
+ (complete-with-action action table str pred)))))))
(defun set-rcirc-decode-coding-system (coding-system)
"Set the decode CODING-SYSTEM used in this channel."
- feature/rcirc-update updated (fd96e3a -> 1181c60), Philip Kaludercic, 2021/06/15
- feature/rcirc-update a44e402 1/8: Preserve incoming order of messages with same timestamp, Philip Kaludercic, 2021/06/15
- feature/rcirc-update e61bdd5 2/8: Update activity string after switching to next active buffer, Philip Kaludercic, 2021/06/15
- feature/rcirc-update e17cc75 3/8: Add mouse properties to activity string, Philip Kaludercic, 2021/06/15
- feature/rcirc-update f1e79a3 5/8: Rename set-rcirc-{encode, decode}-coding-system, Philip Kaludercic, 2021/06/15
- feature/rcirc-update 88e07af 4/8: Preserve order of completion during cycling,
Philip Kaludercic <=
- feature/rcirc-update 3e31846 6/8: Fix construction of interactive specification in rcirc-define-command, Philip Kaludercic, 2021/06/15
- feature/rcirc-update 946ceca 7/8: Improve message markup, Philip Kaludercic, 2021/06/15
- feature/rcirc-update 1181c60 8/8: Check if server buffer is live, Philip Kaludercic, 2021/06/15