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: Yuri Khan
Subject: Re: .fmt files missing in speedbar
Date: Sat, 24 Jun 2023 22:47:45 +0700

On Sat, 24 Jun 2023 at 22:36, <jm@pub.pink> wrote:

>     (setq
>      speedbar-directory-unshown-regexp "^\(\.\.*$\)\'"

You forgot to double your backslashes here, so they only act as string
escapes, not regexp escapes. The actual value of
‘speedbar-directory-unshown-regexp’ is ‘^(..*$)'’, which means “start
of string followed by open parenthesis followed by one or more
non-newline characters followed by end of line followed by close
parenthesis then single quote”. Which ought not match anything.

> 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.

I have no explanation for this behavior you observe. (I also have no
experience with speedbar.)



reply via email to

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