all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: 34317@debbugs.gnu.org
Subject: bug#34317: 26.1.90; Wrong unbinding order in x_consider_frame_title
Date: Tue, 19 Feb 2019 10:07:36 +0100	[thread overview]
Message-ID: <5C6BC758.8040105@gmx.at> (raw)
In-Reply-To: <5C588952.1080706@gmx.at>

 > The unbinding order in x_consider_frame_title is botched.  Hence,
 > while do_switch_frame will not resize the minibuffer window when the
 > frame of the title bar gets selected, it will still resize when the
 > old frame gets reselected in the unbind form.
 >
 > The behavior can be seen with emacs -Q evaluating the following two
 > forms in row:
 >
 > (make-frame '((minibuffer . nil)))
 > (y-or-n-p "\n")

Maybe it's not entirely clear from this description.  The

(y-or-n-p "\n")

form must be evaluated in the new, minibuffer-less frame.  Then the
minibuffer window in the first, minibuffer-equipped frame appears
empty.

 > The attached trivial patch cures it.  Obviously, there's no guarantee
 > that some other client relies on the wrong order.

Any suggestions on how to proceed?  This is a regression wrt Emacs 25.

Thanks, martin





  reply	other threads:[~2019-02-19  9:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-04 18:49 bug#34317: 26.1.90; Wrong unbinding order in x_consider_frame_title martin rudalics
2019-02-19  9:07 ` martin rudalics [this message]
2019-02-23  9:43   ` Eli Zaretskii
2019-02-23 14:00     ` martin rudalics
2019-02-23 16:46       ` Eli Zaretskii
2019-02-24  8:43         ` martin rudalics
2019-02-24 16:08           ` Eli Zaretskii
2019-02-24 18:30             ` martin rudalics
2019-02-24 18:57               ` Eli Zaretskii
2019-03-04 10:14                 ` 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

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

  git send-email \
    --in-reply-to=5C6BC758.8040105@gmx.at \
    --to=rudalics@gmx.at \
    --cc=34317@debbugs.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.