emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/etags-regen 4b431fd 4/5: Add some notes


From: Dmitry Gutov
Subject: scratch/etags-regen 4b431fd 4/5: Add some notes
Date: Sat, 12 Dec 2020 01:22:57 -0500 (EST)

branch: scratch/etags-regen
commit 4b431fd803ac5db7ca8a148cb6691cc9470d0800
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Add some notes
---
 lisp/progmodes/etags.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 9035622..926820d 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -2156,7 +2156,7 @@ file name, add `tag-partial-file-name-match-p' to the 
list value.")
   ;; How do we get the correct etags here?
   ;; E.g. "~/vc/emacs-master/lib-src/etags"
   ;;
-  ;; ctags's etags doesn't support stdin input.
+  ;; ctags's etags requires '-L -' for stdin input.
   ;; It also looks broken here (indexes only some of the input files).
   ;;
   ;; If our etags supported '-L', we could use any version of etags.
@@ -2240,6 +2240,9 @@ file name, add `tag-partial-file-name-match-p' to the 
list value.")
          "--append"
          "-o"
          etags--project-tags-file)
+        ;; TODO: When the project is big (tags file in 10s of megabytes),
+        ;; revert-buffer is predictably slow.  One way to avoid
+        ;; this is to only keep TAGS in a buffer, but not on disk.
         (revert-buffer t t)
         (tags-table-mode)
         ;; FIXME: Is there a better way to do this?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]