unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Roland Winkler <winkler@gnu.org>, 20538@debbugs.gnu.org
Subject: bug#20538: 24.4; Attempt to delete a surrogate minibuffer frame
Date: Sun, 10 May 2015 14:30:28 +0200	[thread overview]
Message-ID: <554F4F64.20604@gmx.at> (raw)
In-Reply-To: <874mnly25v.fsf@gnu.org>

 > I do not know how I got into this (sorry, I do not have a recipe to
 > reproduce this either).  I have a frame I want to delete by running
 > delete-frame.  Yet this only gives me the error message
 >
 >    "Attempt to delete a surrogate minibuffer frame"
 >
 > and delete-frame refuses to do its job.  What does this mean?  If
 > nothing else, Emacs could do a better job explaining to the user
 > what it believes is going on and how the user can possibly resolve
 > this.
 >
 > Possibly a relevant detail: I like to run Ediff sessions with one
 > split frame showing both buffers I need to compare.  Yet Ediff
 > sometimes comes up with its own ideas about resources it likes to
 > use, grabbing another frame to show each buffer in a separate frame.
 > If I remember correctly this happened here, too, that is, maybe
 > Emacs believes that the frame I want to delete was/is part of the
 > Ediff session.

It probably happens because ediff (by default) display the "control
panel" in a frame without minibuffer and Emacs doesn't allow to make
such a frame the last remaining one.

I use

(custom-set-variables
  '(ediff-window-setup-function (quote ediff-setup-windows-plain)))

which avoids that the control panel appears on a separate frame.

martin





  parent reply	other threads:[~2015-05-10 12:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-09 19:35 bug#20538: 24.4; Attempt to delete a surrogate minibuffer frame Roland Winkler
2015-05-10  2:41 ` Eli Zaretskii
2015-05-10 12:30 ` martin rudalics [this message]
2015-05-10 19:46   ` Roland Winkler
2015-05-10 20:17     ` Drew Adams
2015-05-11  3:27     ` Stefan Monnier
2015-05-11 10:08     ` martin rudalics
2015-05-11 17:03       ` Roland Winkler
2015-05-12  9:36         ` martin rudalics
2015-05-12 19:42           ` Roland Winkler
2015-05-13  7:32             ` martin rudalics
2015-05-13 15:11               ` Roland Winkler
2015-05-14 10:13                 ` martin rudalics
2015-05-16 19:16                   ` Roland Winkler
2015-05-19  9:42                   ` martin rudalics
2015-05-19 16:12                     ` Roland Winkler
2015-05-20  9:50                       ` martin rudalics

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=554F4F64.20604@gmx.at \
    --to=rudalics@gmx.at \
    --cc=20538@debbugs.gnu.org \
    --cc=winkler@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).