GNU bug report logs - #58967
29.0.50; `g` in list-directory fails with error

Previous Next

Package: emacs;

Reported by: Thibault Polge <thibault <at> thb.lt>

Date: Wed, 2 Nov 2022 14:57:01 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: stefankangas <at> gmail.com
Cc: thibault <at> thb.lt, 58967 <at> debbugs.gnu.org
Subject: bug#58967: 29.0.50; `g` in list-directory fails with error
Date: Sun, 13 Nov 2022 11:48:09 +0200
> Cc: thibault <at> thb.lt, 58967 <at> debbugs.gnu.org
> Date: Sat, 12 Nov 2022 22:47:45 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > Cc: 58967 <at> debbugs.gnu.org
> > From: Stefan Kangas <stefankangas <at> gmail.com>
> > Date: Sat, 12 Nov 2022 12:33:47 -0800
> > 
> > Thibault Polge <thibault <at> thb.lt> writes:
> > 
> > > Steps to reproduce:
> > >
> > >  - M-x list-directory RET
> > >  - (Pick a directory)
> > >  - Type `g`
> > >  - Results in:
> > >     Debugger entered--Lisp error: (void-function nil)
> > >       nil()
> > >       help-mode-revert-buffer(t nil)
> > >       revert-buffer(t)
> > >       funcall-interactively(revert-buffer t)
> > >       command-execute(revert-buffer)
> > >   Instead of refreshing the view (or just doing nothing)
> > 
> > I believe that this bug was fixed on master?
> 
> No, I can reproduce it with today's master.

The problem here is that list-directory puts the buffer in Help mode,
and that mode's revert-buffer-function is inappropriate for the kind
of stuff we display in this case.

So either we change list-directory to concoct a help-xref-stack-item
which would work, or we implement a revert-buffer-function for
list-directory's buffer.

This is a very old problem: I see it as far back as Emacs 24.




This bug report was last modified 2 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.