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

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

bug#8484: 24.0.50; Dired problems with marking and hidden subdirs


From: Juri Linkov
Subject: bug#8484: 24.0.50; Dired problems with marking and hidden subdirs
Date: Tue, 15 Sep 2020 21:04:12 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

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





reply via email to

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