[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/eglot2emacs a218f52ec9 012/120: Un-reverse references in xref bu
From: |
João Távora |
Subject: |
feature/eglot2emacs a218f52ec9 012/120: Un-reverse references in xref buffer |
Date: |
Thu, 20 Oct 2022 07:16:45 -0400 (EDT) |
branch: feature/eglot2emacs
commit a218f52ec9b0324b7026ae449067167ab833d503
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Un-reverse references in xref buffer
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/763
---
lisp/progmodes/eglot.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 712ad17298..72cf0c44fc 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -2148,6 +2148,7 @@ may be called multiple times (respecting the protocol of
(let (,collected)
(cl-flet ((,collector (xref) (push xref ,collected)))
,@body)
+ (setq ,collected (nreverse ,collected))
(sort ,collected eglot-xref-lessp-function))
(maphash (lambda (_uri buf) (kill-buffer buf))
eglot--temp-location-buffers)
(clrhash eglot--temp-location-buffers))))
- feature/eglot2emacs f550342059 069/120: Add out-of-box support for purescript lsp server, (continued)
- feature/eglot2emacs f550342059 069/120: Add out-of-box support for purescript lsp server, João Távora, 2022/10/20
- feature/eglot2emacs f8344871a0 075/120: Update docstring of eglot-events-buffer-size, João Távora, 2022/10/20
- feature/eglot2emacs e72fa6d867 082/120: Experiment with grouping in xref-backend-identifier-completion-table, João Távora, 2022/10/20
- feature/eglot2emacs fd5a5f16d7 081/120: Make c-u m-. work half decently, João Távora, 2022/10/20
- feature/eglot2emacs 6c8aee268d 079/120: Prevent desktop.el from saving/restoring eglot--managed-mode, João Távora, 2022/10/20
- feature/eglot2emacs 41a42e631b 096/120: Don't return poorly supported "special elements" in eglot-imenu, João Távora, 2022/10/20
- feature/eglot2emacs f06a837f29 109/120: Shoosh byte-compilation warnings about line numbering functions, João Távora, 2022/10/20
- feature/eglot2emacs 806734c1b1 119/120: Expose eglot-{} to be used in eglot-workspace-configuration, João Távora, 2022/10/20
- feature/eglot2emacs 426d97f172 001/120: ; prefer https to http addresses, João Távora, 2022/10/20
- feature/eglot2emacs fb8706165c 004/120: Use fortls also for fortran-mode, João Távora, 2022/10/20
- feature/eglot2emacs a218f52ec9 012/120: Un-reverse references in xref buffer,
João Távora <=
- feature/eglot2emacs be1e214fb2 013/120: Add cmake-language-server for cmake-mode, João Távora, 2022/10/20
- feature/eglot2emacs 512d8b9f59 011/120: Add variable to withhold the init req process id, João Távora, 2022/10/20
- feature/eglot2emacs 09c071d3d1 019/120: Add tooltip describing pending requests, João Távora, 2022/10/20
- feature/eglot2emacs f0b9018f52 018/120: Properly print error message of eglot-alternatives, João Távora, 2022/10/20
- feature/eglot2emacs ae7315b5f1 016/120: ; fix license statement, João Távora, 2022/10/20
- feature/eglot2emacs 49e46c3d53 017/120: Add up-to-date server executables for html/css/json, João Távora, 2022/10/20
- feature/eglot2emacs 34c7da506d 020/120: Support autoimporttext from pyright language server, João Távora, 2022/10/20
- feature/eglot2emacs 9adb310e08 021/120: Don't error out on unsupported diagnostic.codedescription, João Távora, 2022/10/20
- feature/eglot2emacs 0f44d338f1 025/120: Support optional diagnostic.tags, João Távora, 2022/10/20
- feature/eglot2emacs 0739cdcf20 031/120: Improve backwards-compatibility of eglot-mode-map, João Távora, 2022/10/20