GNU bug report logs - #8484
24.0.50; Dired problems with marking and hidden subdirs

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Tue, 12 Apr 2011 12:00:04 UTC

Severity: normal

Tags: fixed

Merged with 23454

Found in versions 24.0.50, 25.0.93

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 8484 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Stephen Berman <stephen.berman <at> gmx.net>, 8484 <at> debbugs.gnu.org
Subject: Re: bug#8484: 24.0.50; Dired problems with marking and hidden subdirs
Date: Tue, 15 Sep 2020 21:04:12 +0300
> Stephen's patch seems to fix that example, so I've now applied it to the
> trunk.  I had to move some utility functions from dired-aux to avoid
> dired.el unconditionally loading dired-aux always (since this change is
> in a very fundamental dired function).

Ouch, this broke my configuration.  When the init file contains:

  (add-hook 'dired-mode-hook 'dired-sort-toggle)

trying to visit a Dired buffer fails with:

Debugger entered--Lisp error: (error "No subdir-alist in tmp")
  signal(error ("No subdir-alist in tmp"))
  error("No subdir-alist in %s" #<buffer tmp>)
  dired-current-directory()
  dired-get-filename(nil t)
  dired-save-positions()
  dired-revert(nil nil)
  revert-buffer()
  dired-sort-toggle()
  run-hooks(change-major-mode-after-body-hook dired-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook dired-mode-hook))
  run-mode-hooks(dired-mode-hook)
  dired-mode("/tmp/" "-al")
  dired-internal-noselect("/tmp/" nil)
  dired-noselect("/tmp" nil)
  dired("/tmp" nil)
  funcall-interactively(dired "/tmp" nil)
  call-interactively(dired nil nil)
  command-execute(dired)




This bug report was last modified 4 years and 246 days ago.

Previous Next


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