|
2 | 2 |
|
3 | 3 | It's been close to one year that I exclusively use Emacs for anything |
4 | 4 | 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. |
8 | 9 |
|
9 | 10 | Last week, after the announcement of version 30, I compiled Emacs |
10 | 11 | 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 |
12 | 21 |
|
13 | 22 | I also discovered the =etags-regen-mode= which gives the possibility |
14 | 23 | to automate the project tags generation. |
15 | 24 |
|
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. |
17 | 28 |
|
18 | 29 | #+begin_src bash |
19 | 30 | find . -name '*.rb' -print | etags - |
@@ -51,3 +62,12 @@ the tags to be generated from with something like: |
51 | 62 | ((nil . ((etags-regen-program-options . ("--language=ruby")) |
52 | 63 | (mode . etags-regen)))) |
53 | 64 | #+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