help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: .fmt files missing in speedbar


From: Stephen Berman
Subject: Re: .fmt files missing in speedbar
Date: Sat, 24 Jun 2023 23:53:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Fri, 23 Jun 2023 12:28:44 -0500 jm@pub.pink wrote:

> In emacs -Q I evaluate:
>
>     (add-to-list 'auto-mode-alist '("\\.fmt\\'" . html-mode))
>     (setq
>      speedbar-directory-unshown-regexp "^\(\.\.*$\)\'"
>      speedbar-show-unknown-files t)
>
> but browsing a directory in the speedbar containing ‘file.fmt’ files
> appears empty. Changing the extension to ‘.FMT’ makes it appear. In fact
> I cannot find any other extension that causes a file to not appear; e.g.
> ‘.file.ext’, ‘file.bonkers’, ‘file.♑’, etc. all show up.
>
> What am I missing here?

Files with extension .fmt are matched by speedbar-file-unshown-regexp,
whose doc string says: "Regexp matching files we don’t want displayed in
a speedbar buffer.  It is generated from the variable
‘completion-ignored-extensions’."

Steve Berman



reply via email to

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