GNU bug report logs -
#33871
27.0.50; Revert Dired window saved in window configuration
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Tue, 25 Dec 2018 21:43:01 UTC
Severity: minor
Found in version 27.0.50
Fixed in version 30.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #47 received at 33871 <at> debbugs.gnu.org (full text, mbox):
> It should end up where it was initially, i.e. on file names in Dired.
> But this can achieved only by implementing context-aware markers,
> such as used by the package saveplace.el, e.g.:
>
> ((window-configuration-1
> ((dired-window-1 . `(lambda () (dired-goto-file ,(dired-get-filename))))))
> (window-configuration-2 ...)
> ...)
Reverting a directory in a window could remember the name of the file
shown at the corresponding line and the offset of 'window-point' on that
line and also the entire contents of the old directory until revert
completes. As soon as the new contents of the directory have been
established, dired would search the remembered name and position point
at the remembered offset accordingly. If it does not find that name, it
would have to compare the contents of the old and current contents of
the directory and use some heuristics to position point appropriately.
martin
This bug report was last modified 1 year and 101 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.