[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Window state/configuration (and markers)

From: Carlos Pita
Subject: Window state/configuration (and markers)
Date: Wed, 23 Jul 2014 13:38:57 -0300

Hi all,

I would like to save/restore window state/configuration without
including markers (point, start). I'm aware I'm neither the only nor
the first one looking for this and I know of a number of hacks and
advices to get it working. That's not my issue, then.

Instead I would like to focus here in the relationship between
window-configurations (opaque type) and window-states (relatively new
elisp-level alternative) and the reason why the latter seems to be
poorly adopted by the myriad of
workspaces/workgroups/perspectives/winmgrs extensions and why it's not
supported by vanilla emacs to the same extent than the former.


1) Do you know of some extension already using the window-state machinery?

2) Why no excursion, registry, etc. functionality is provided
out-of-the-box as a counterpart to the window-configuration ones?

3) Are the window-state-get/set functions the current way to go or
just another tool in the toolset? Are window-configurations kept for
historical reasons or have they some technical advantages over

Finally, this one is specifically related to my no-marker requirement:

4) Years ago there was some discussion in the dev list about adding an
option to avoid saving markers in window-configurations. Someone
pointed out that the window-state-* functions were just to be merged
and the discussion then diverted to this more exciting topic. Nowadays
I'm not able to find any quick option to get the no-marker
configuration. True, window-state-get has the writable argument, but
the out-of-the-box registry functions and mappings are still missing.
Do you think it would be of some worth to have a more ready to use
solution here? I mean, the save/restore layout use case is best served
by a no-marker configuration/state.

Best regards

reply via email to

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