Skip to content

Commit 84fe219

Browse files
committed
Fix typos on Emacs etags-regen-mode article
1 parent 5746b30 commit 84fe219

1 file changed

Lines changed: 25 additions & 5 deletions

File tree

content/emacs-30-etags-regen-mode.org

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,29 @@
22

33
It's been close to one year that I exclusively use Emacs for anything
44
I do on a computer, be coding activities, be reading emails or man
5-
pages. I decommissioned all the specific tools (like =vim=, =mutt=)
6-
which all requires a mental effort to remember the shortcuts. Using
7-
Emacs is a guarantee to have a unified set of tools at hands.
5+
pages, be writing music sheets with =GNU lilypond=. I decommissioned
6+
all the specific tools (like =vim=, =mutt=) which all require a mental
7+
effort to remember the shortcuts of. Using Emacs is a guarantee to
8+
have a unified set of tools at hand.
89

910
Last week, after the announcement of version 30, I compiled Emacs
1011
mainly because wanted the new `use-package` ability to install package
11-
directly from a version control repository.
12+
directly from a version control repository which is convenient when
13+
you maintain a fork of a package. For instance, now without adding any
14+
package to bring the feature to `use-package`, I have the following in
15+
my configuration:
16+
17+
#+begin_src emacs-lisp
18+
(use-package chruby
19+
:vc (:url "https://github.com/stac47/chruby.el.git" :branch "main"))
20+
#+end_src
1221

1322
I also discovered the =etags-regen-mode= which gives the possibility
1423
to automate the project tags generation.
1524

16-
Before this, I used to run =etags= manually:
25+
Before this, I used to run =etags= manually from times to times mainly
26+
when a symbol was no more findable or when I was no more directed to
27+
the right place in a source file.
1728

1829
#+begin_src bash
1930
find . -name '*.rb' -print | etags -
@@ -51,3 +62,12 @@ the tags to be generated from with something like:
5162
((nil . ((etags-regen-program-options . ("--language=ruby"))
5263
(mode . etags-regen))))
5364
#+end_src
65+
66+
When the =TAGS= file does not exist, it will be generated the first
67+
time a file is saved on the project. Depending upon your project size,
68+
it may be a bit long and Emacs freezes. Hence, I feared some lag each
69+
time I saved a file, but it is not the case: only the modified file is
70+
passed to =etags= program to update the current =TAGS= file.
71+
72+
Adopted. Thanks all the Emacs developers for this jewel given to
73+
humanity.

0 commit comments

Comments
 (0)