[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gtags-mode 7dc81cbae2 56/61: Small simplifies
From: |
ELPA Syncer |
Subject: |
[elpa] externals/gtags-mode 7dc81cbae2 56/61: Small simplifies |
Date: |
Thu, 28 Apr 2022 10:57:42 -0400 (EDT) |
branch: externals/gtags-mode
commit 7dc81cbae245be2d3a1cfaf4517ff5791fd59fb4
Author: Jimmy Aguilar Mena <kratsbinovish@gmail.com>
Commit: Jimmy Aguilar Mena <kratsbinovish@gmail.com>
Small simplifies
---
gtags-mode.el | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/gtags-mode.el b/gtags-mode.el
index e06bd6a5b3..8d137c1454 100644
--- a/gtags-mode.el
+++ b/gtags-mode.el
@@ -65,7 +65,7 @@ The address is absolute for remote hosts.")
"Regex to filter the output with `gtags-mode--output-format-options'.")
(defconst gtags-mode--output-format-options
- '("--result=ctags-x" "--path-style=absolute")
+ '("--result=ctags-x" "--path-style=absolute --color=never")
"Command line options to use with `gtags-mode--output-format-regex'.")
;; Connection functions
@@ -75,7 +75,7 @@ The address is absolute for remote hosts.")
((not (and (local-variable-p 'gtags-mode--global)
(local-variable-p 'gtags-mode--gtags))))
(criteria (connection-local-criteria-for-default-directory))
- (symvars (intern (concat "gtags-mode--" remote "-vars")))
+ (symvars (intern (format "gtags-mode--%s-vars" remote)))
(enable-connection-local-variables t))
(unless (alist-get symvars connection-local-profile-alist)
(with-connection-local-variables ;; because *-executable can be set as
connection local
@@ -248,12 +248,12 @@ This iterates over the buffers and tries to reset
(defun gtags-mode--xref-find-symbol (args symbol)
"Run GNU Global to create xref input list with ARGS on SYMBOL.
Return as a list of xref location objects."
- (gtags-mode--filter-find-symbol
- args symbol
- (lambda (_name code file line)
- (xref-make code (xref-make-file-location
- (concat (file-remote-p default-directory) file)
- line 0)))))
+ (let ((remote (file-remote-p default-directory)))
+ (gtags-mode--filter-find-symbol
+ args symbol
+ (lambda (_name code file line)
+ (xref-make code (xref-make-file-location
+ (file-truename (concat remote file)) line 0))))))
(cl-defmethod xref-backend-identifier-completion-table ((_backend (head
:gtagsroot)))
"List all symbols."
- [elpa] externals/gtags-mode 8734f6b54d 48/61: Reorder, (continued)
- [elpa] externals/gtags-mode 8734f6b54d 48/61: Reorder, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 10a710a3dd 54/61: Fix and simplify, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 86777df9a3 50/61: Call gtags-mode--set-connection-locals before processes, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode ae397208b5 32/61: Finish rename process., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode c1bbe60f19 30/61: Simplify code:, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode b18a7cb93d 46/61: Fix docs, info messages and use `(,, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 3d7bf179bb 29/61: Use make-process instead of start-file-process., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode dc50f340d4 12/61: Small fixes in documentation and other details., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 5525174de9 34/61: Many changes:, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 317ed00754 61/61: Assert we retun nil on error, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 7dc81cbae2 56/61: Small simplifies,
ELPA Syncer <=
- [elpa] externals/gtags-mode 5445a63b79 21/61: Small fixes., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 33938b17e7 41/61: New function, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode d1195ca318 40/61: Use memoization function, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 65c2da145a 11/61: Reorder code a but and simplify., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 9b67043bcf 44/61: Use a workaround to pint proper information, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 2e5ecb8042 39/61: Add check on mode enable., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 19f827a1d7 15/61: Use delq instead of remove., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 688f1e8886 16/61: Break long lines., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode ea16b9d8c7 23/61: global-xref-project-backend shouldn't call global-xref--find-root., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode c2e13cc742 33/61: Use a better name gtags-mode is free., ELPA Syncer, 2022/04/28