[Top][All Lists]

[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: Juri Linkov
Subject: bug#33458: 27.0.50; dired loses position when reverted from outside place
Date: Mon, 10 Dec 2018 02:10:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> OK.  If there are no problems I'll install it in few days.
> Now installed on master.  Bug closed.
>> Maybe I
>> will handle any 'quit-restore' parameter present in a similar way.
> Maybe I'll do that when we know how to handle dired buffers in window
> configurations and states.

Unfortunately, now Dired fails to visit a directory:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  dired-restore-positions(((#<buffer /tmp/> nil 3) nil ((#<marker at 1 in 
/tmp/> nil 3))))
  dired-revert(nil nil)
  dired-internal-noselect("/tmp/" nil)
  dired-noselect("/tmp/" nil)
  dired-jump(nil nil)
  funcall-interactively(dired-jump nil nil)
  call-interactively(dired-jump nil nil)

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'.

reply via email to

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