GNU bug report logs - #33871
27.0.50; Revert Dired window saved in window configuration

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>
Cc: 33871 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: bug#33871: 27.0.50; Revert Dired window saved in window configuration
Date: Wed, 16 Feb 2022 09:50:31 +0100
> In case of a window parameter wouldn't the situation be inverted,
> so it will use an alist too, but where keys are all dired buffers
> displayed in that window from the prev-buffers list:
>
>    (set-window-parameter window 'dired-positions
>      '((#<buffer *dired-1*> dired-file-1 window-point-1)
>        (#<buffer *dired-2*> dired-file-2 window-point-2)
>        ...))

Something like that.  But I still fail to see what these lines are
supposed to accomplish in your scenario:

	 (set-window-configuration w-c)
	 (goto-char p-m)))

What is it 'dired-restore-positions' does not handle here?  IIUC your
lines mangle everything it has done.

martin




This bug report was last modified 1 year and 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.