unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Mendler <mail@daniel-mendler.de>
To: emacs-devel@gnu.org
Subject: Re: What is restore_window_configuration in read_minibuf (minibuf.c) for?
Date: Mon, 19 Apr 2021 17:20:48 +0200	[thread overview]
Message-ID: <7906ebf3-3d63-1244-1d33-62f7cb6be7ce@daniel-mendler.de> (raw)
In-Reply-To: <YH2aHaREpwg2nujn@ACM>

On 4/19/21 4:56 PM, Alan Mackenzie wrote:
> The impression I get is that the restore_window_configuration is a user
> facility, and we can't just remove it, much though I'd like to.

FWIW I am using this feature in one of my packages 
(https://github.com/minad/consult/). I expect the window configuration 
to be restored when the minibuffer session is left. One of my commands 
previews buffers when selecting them during completing-read. However 
packages which do something like this can also be adjusted accordingly 
to save and restore the configuration manually if the decision is made 
to change this behavior.

Daniel Mendler



  reply	other threads:[~2021-04-19 15:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-19 10:46 What is restore_window_configuration in read_minibuf (minibuf.c) for? Alan Mackenzie
2021-04-19 12:08 ` martin rudalics
2021-04-19 14:56   ` Alan Mackenzie
2021-04-19 15:20     ` Daniel Mendler [this message]
2021-04-19 16:03       ` martin rudalics
2021-04-19 15:31     ` Stefan Monnier
2021-04-19 16:02     ` martin rudalics
2021-04-20 13:38       ` Alan Mackenzie

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=7906ebf3-3d63-1244-1d33-62f7cb6be7ce@daniel-mendler.de \
    --to=mail@daniel-mendler.de \
    --cc=emacs-devel@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 public inbox

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

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).