all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carlos Pita <carlosjosepita@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Window state/configuration (and markers)
Date: Wed, 23 Jul 2014 13:38:57 -0300	[thread overview]
Message-ID: <CAELgYhdqAiekjBvx8HNROtqt7N3xaU++L2dHvJmmxbefhZywBw@mail.gmail.com> (raw)

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



             reply	other threads:[~2014-07-23 16:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-23 16:38 Carlos Pita [this message]
     [not found] <mailman.5928.1406147802.1147.help-gnu-emacs@gnu.org>
2014-07-23 21:51 ` Window state/configuration (and markers) Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAELgYhdqAiekjBvx8HNROtqt7N3xaU++L2dHvJmmxbefhZywBw@mail.gmail.com \
    --to=carlosjosepita@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.