alexluigit/dirvish

[Bug] An error occurs when using dirvish with emacs-baidupan

Opened this issue · 0 comments

Thank you for the bug report

  • I am using the latest version of dirvish related packages.
  • I checked CUSTOMIZING|EXTENSIONS.
  • You may also try reproduce the issue using clean environment and minimal configurations with
    the command emacs -Q.

Bug description

I can use emacs-baidupan with dired. However, there is an error when using emacs-baidupan with dirvish.

Steps to reproduce

Press C-x C-f and input \dp:\ and press enter.

Expected behavior

Open baidu pan list.

OS

Linux

Emacs Version

28

Emacs Configurations

No response

Error callstack

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  dirvish-noselect-tramp(#f(compiled-function (dir-or-list &optional switches) "Like `dired' but return the Dired buffer as value, do not select it." #<bytecode -0x43491e83c6c92bb>) "/dp:/" "-l --almost-all --human-readable --time-style=long..." "/dp:/")
  dirvish-dired-noselect-a(#f(compiled-function (dir-or-list &optional switches) "Like `dired' but return the Dired buffer as value, do not select it." #<bytecode -0x43491e83c6c92bb>) "/dp:/")
  apply(dirvish-dired-noselect-a #f(compiled-function (dir-or-list &optional switches) "Like `dired' but return the Dired buffer as value, do not select it." #<bytecode -0x43491e83c6c92bb>) "/dp:/")
  dired-noselect("/dp:/")
  run-hook-with-args-until-success(dired-noselect "/dp:/")
  find-file-noselect("/dp:/" nil nil t)
  find-file("/dp:/" t)
  funcall-interactively(find-file "/dp:/" t)
  call-interactively(find-file nil nil)
  command-execute(find-file)

Anything else

No response