unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Window state/configuration (and markers)
@ 2014-07-23 16:38 Carlos Pita
  0 siblings, 0 replies; 2+ messages in thread
From: Carlos Pita @ 2014-07-23 16:38 UTC (permalink / raw)
  To: help-gnu-emacs

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.

So:

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
window-states?

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
--
Carlos



^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <mailman.5928.1406147802.1147.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2014-07-23 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-23 16:38 Window state/configuration (and markers) Carlos Pita
     [not found] <mailman.5928.1406147802.1147.help-gnu-emacs@gnu.org>
2014-07-23 21:51 ` Emanuel Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).