bug#81559: 31.0.91; speedbar does not follow Dired and shell-dirtrack-mode

Stéphane Marks <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <CAN+1Hbr7tSbAEOJzo4-AbuXtwYQ42dThjbmVhhs5oP0GpEf+jQ@mail.gmail.com>
On Fri, Aug 14, 2026 at 11:18 AM Sean Whitton <[email protected]>
wrote:

> Daniel Mendler via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" [09/Aug  6:10pm +02] wrote:
> > +                              (not default-directory))
>
> A buffer will only default-directory nil if someone has specifically set
> that, right?  And generally it would be inadvisable.  So this condition
> will always be true?
>

One other case I'm aware of.  In master, work buffers will clear
default-directory (along with all other state) when a work buffer is
returned to the shared pool.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.