[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33458: 27.0.50; dired loses position when reverted from outside plac
From: |
martin rudalics |
Subject: |
bug#33458: 27.0.50; dired loses position when reverted from outside place |
Date: |
Mon, 10 Dec 2018 08:58:21 +0100 |
> Unfortunately, now Dired fails to visit a directory:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> file-name-absolute-p(nil)
> dired-goto-file(nil)
> dired-restore-positions(((#<buffer /tmp/> nil 3) nil ((#<marker at 1 in
/tmp/> nil 3))))
> dired-revert(nil nil)
> revert-buffer()
> dired-internal-noselect("/tmp/" nil)
> dired-noselect("/tmp/" nil)
> dired("/tmp/")
> dired-jump(nil nil)
> funcall-interactively(dired-jump nil nil)
> call-interactively(dired-jump nil nil)
> command-execute(dired-jump)
>
> Maybe this happens when a reverted directory window is restored
> from a window configuration, so point-marker is at 1,
> and (dired-get-filename nil t) returns nil in `dired-save-positions'.
Looks like a silly typo. Please try the attached patch. If it does
not help, please provide me a simple scenario to reproduce the bug.
Thanks, martin
dired.el.diff
Description: Text document
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/12/01
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/12/01
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/12/04
- bug#33458: 27.0.50; dired loses position when reverted from outside place, v88m, 2018/12/04
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/12/05
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/12/08
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/12/09
- bug#33458: 27.0.50; dired loses position when reverted from outside place,
martin rudalics <=
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/12/10
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/12/11
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/12/11
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/12/12
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/12/12
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/12/13
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/12/14
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/12/16
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/12/17
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/12/17