this post was submitted on 22 Nov 2023
0 points (50.0% liked)

Emacs

313 readers
3 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

hi all,

i have a pretty vanilla vertico configuration

  (use-package vertico
:ensure t
:config
(vertico-mode))

in a directory, i have sub-directories organized like so:

   .
   |-- dot-emacs.git
   |-- doomemacs
   `-- vanilla.config

now, a C-x C-f in the above directory does not display the 'dot-emacs.git' directory at all.

how do i fix it ?

-- thank you !

top 4 comments
sorted by: hot top controversial new old
[–] mekeor@alien.top 1 points 1 year ago
[–] scatotonic@alien.top 1 points 1 year ago (1 children)

Adjust completion-ignored-extensions accordingly.

[–] daddyc00l@alien.top 1 points 11 months ago

thank you kindly ! i just did this

    (setq completion-ignored-extensions '("^.git/"))

which is what i typically want, and that does the right thing as well.

[–] Digital_India__@alien.top 1 points 1 year ago

have you tried removing .git/ from completion-ignored-extensions? maybe you can use cl-delete to get rid of it. could require cl-seq feature.