this post was submitted on 22 Nov 2023
-1 points (33.3% liked)

Emacs

305 readers
1 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
[–] [email protected] 1 points 10 months ago
[–] [email protected] 1 points 10 months ago (1 children)

Adjust completion-ignored-extensions accordingly.

[–] [email protected] 1 points 9 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.

[–] [email protected] 1 points 10 months 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.