unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Daniel Mendler <mail@daniel-mendler.de>, emacs-devel@gnu.org
Subject: Re: What is restore_window_configuration in read_minibuf (minibuf.c) for?
Date: Mon, 19 Apr 2021 18:03:45 +0200	[thread overview]
Message-ID: <2e8c4778-2d8c-e725-a840-f84c410af6a6@gmx.at> (raw)
In-Reply-To: <7906ebf3-3d63-1244-1d33-62f7cb6be7ce@daniel-mendler.de>

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

If a user wanted to do such previews on another, maybe even new frame,
restoring the window configuration won't be of any help.

martin



  reply	other threads:[~2021-04-19 16:03 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
2021-04-19 16:03       ` martin rudalics [this message]
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=2e8c4778-2d8c-e725-a840-f84c410af6a6@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-devel@gnu.org \
    --cc=mail@daniel-mendler.de \
    /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).