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
Subject: bug#33871: 27.0.50; Revert Dired window saved in window configuration
Date: Sat, 23 Mar 2024 10:14:25 +0100
> Ok, let's add new code to separate functions
> 'window-set-context' and 'window-use-context'.
> Below is the patch with these new functions.
> Maybe they could be moved from tab-bar.el to window.el?

I think you should do that.  Maybe 'window-restore-set-context' and
'window-restore-use-context' would be more indicative names.

Note that when a buffer is killed, the values of its local variables may
be lost.  I don't know whether this is an issue here.  Alternatively, we
could have 'set_window_buffer' set the 'context' window parameter from
the buffer-local value which would, however, mean that whenever one
changes the buffer-local value, one would have to simultaneously update
the parameters in all windows showing that buffer.  Something that could
be done with the help of an advice, though...

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.