unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: John Wiegley <johnw@gnu.org>, emacs-devel@gnu.org
Subject: Re: Releasing Emacs 26.1
Date: Sun, 6 May 2018 22:00:13 +0100	[thread overview]
Message-ID: <20180506210013.GA5047@breton.holly.idiocy.org> (raw)
In-Reply-To: <83o9hsr28g.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

On Sun, May 06, 2018 at 10:52:15PM +0300, Eli Zaretskii wrote:
> Any objections to releasing Emacs 26.1 in a week's time, anyone?

None from me as long as I can apply the attached patch for a crash bug
I just discovered this evening.
-- 
Alan Third

[-- Attachment #2: 0001-Check-NSWindow-is-actually-a-frame.patch --]
[-- Type: text/plain, Size: 1047 bytes --]

From e9368809ed26240d3c23d2c9d8946a896a7acfa0 Mon Sep 17 00:00:00 2001
From: Alan Third <alan@idiocy.org>
Date: Sun, 6 May 2018 21:49:31 +0100
Subject: [PATCH] Check NSWindow is actually a frame

* src/nsfns.m (Fns_frame_list_z_order): Check NSWindow is an instance
of EmacsView before treating it as one.
---
 src/nsfns.m | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nsfns.m b/src/nsfns.m
index 7f2f060dda..34a7e38c76 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -1497,7 +1497,8 @@ Frames are listed from topmost (first) to bottommost (last).  */)
       Lisp_Object frame;
 
       /* Check against [win parentWindow] so that it doesn't match itself. */
-      if (parent == nil || ns_window_is_ancestor (parent, [win parentWindow]))
+      if ([[win delegate] isKindOfClass:[EmacsView class]]
+          && parent == nil || ns_window_is_ancestor (parent, [win parentWindow]))
         {
           XSETFRAME (frame, ((EmacsView *)[win delegate])->emacsframe);
           frames = Fcons(frame, frames);
-- 
2.16.1


  reply	other threads:[~2018-05-06 21:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-06 19:52 Releasing Emacs 26.1 Eli Zaretskii
2018-05-06 21:00 ` Alan Third [this message]
2018-05-07  1:21   ` Basil L. Contovounesios
2018-05-07 12:31     ` Alan Third
2018-05-07 12:46       ` Basil L. Contovounesios
2018-05-07 17:42   ` Eli Zaretskii
2018-05-07  0:13 ` Phil Sainty
2018-05-07  7:32   ` Michael Albinus
2018-05-07 11:10     ` Phil Sainty
2018-05-07 11:29       ` Michael Albinus
2018-05-07 15:08         ` Nicolas Petton
2018-05-07 18:09         ` Eli Zaretskii
2018-05-07 11:44       ` Van L
2018-05-07 12:05         ` Bastien
2018-05-07 18:08       ` Eli Zaretskii
2018-05-07 17:44   ` Eli Zaretskii
2018-05-07  5:30 ` John Wiegley
2018-05-07  5:40 ` Bastien
2018-05-07 19:05   ` Eli Zaretskii
2018-05-07 22:06     ` Rasmus
2018-05-08  2:28       ` Eli Zaretskii
2018-05-08  7:06 ` Byung-Hee HWANG (황병희, 黃炳熙)
2018-05-20 13:56 ` Alan Mackenzie
2018-05-20 15:48   ` Eli Zaretskii
2018-05-20 19:14     ` Alan Mackenzie
2018-05-21  9:25       ` Nicolas Petton
2018-05-22  7:38         ` Tino Calancha
2018-05-22  9:40           ` Van L
2018-05-22  9:56             ` Van L
2018-05-24  1:40               ` Van L
2018-05-25  5:10               ` Tino Calancha

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=20180506210013.GA5047@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=johnw@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).