GNU bug report logs - #10348
24.0.92; Save and load window states

Previous Next

Package: emacs;

Reported by: Michael Bach <phaebz <at> gmail.com>

Date: Thu, 22 Dec 2011 01:40:08 UTC

Severity: normal

Found in version 24.0.92

Done: martin rudalics <rudalics <at> gmx.at>

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> jurta.org>
Cc: Michael Bach <phaebz <at> gmail.com>, Stefan Monnier <monnier <at> iro.umontreal.ca>, 10348 <at> debbugs.gnu.org
Subject: bug#10348: 24.0.92; Save and load window states
Date: Sat, 24 Dec 2011 10:26:41 +0100
> Actually there exists already a parameter that distinguishes between values
> needed for intra-session purposes and needed for inter-session purposes.
> It is the argument `markers' of the function `window-state-get'.  When non-nil,
> it returns internal values meaningful only in the current session.  When nil,
> it returns integer values safe to save and read in another session.
> This argument could be renamed to a more general name and used for
> other values besides markers.  Then a caller of `window-state-get'
> could decide whether its return value is intended for the same session
> or for intra-session purposes.

So we could add the `window-state-saved-parameters' variable Stefan
proposed and add parameters mentioned there only if the (probably)
renamed MARKERS argument is t or nil (whatever default we want here).

martin




This bug report was last modified 13 years and 222 days ago.

Previous Next


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