From unknown Sat Aug 16 15:54:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19175 <19175@debbugs.gnu.org> To: bug#19175 <19175@debbugs.gnu.org> Subject: Status: 24.4; make-frame-on-display fails if emacs started with -nw Reply-To: bug#19175 <19175@debbugs.gnu.org> Date: Sat, 16 Aug 2025 22:54:28 +0000 retitle 19175 24.4; make-frame-on-display fails if emacs started with -nw reassign 19175 emacs submitter 19175 Mario Becroft severity 19175 normal tag 19175 confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 24 23:29:03 2014 Received: (at submit) by debbugs.gnu.org; 25 Nov 2014 04:29:03 +0000 Received: from localhost ([127.0.0.1]:44464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xt7kN-0004X5-3a for submit@debbugs.gnu.org; Mon, 24 Nov 2014 23:29:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41443) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xt7kJ-0004WZ-MX for submit@debbugs.gnu.org; Mon, 24 Nov 2014 23:29:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xt7kA-00028o-A5 for submit@debbugs.gnu.org; Mon, 24 Nov 2014 23:28:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xt7kA-00028k-78 for submit@debbugs.gnu.org; Mon, 24 Nov 2014 23:28:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xt7k3-0005QH-L5 for bug-gnu-emacs@gnu.org; Mon, 24 Nov 2014 23:28:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xt7jx-00027Z-EQ for bug-gnu-emacs@gnu.org; Mon, 24 Nov 2014 23:28:43 -0500 Received: from ak2.becroft.co.nz ([202.50.176.175]:43405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xt7jw-00027L-Qe for bug-gnu-emacs@gnu.org; Mon, 24 Nov 2014 23:28:37 -0500 Received: by ak2.becroft.co.nz (Postfix, from userid 489) id 5AAC7320300; Tue, 25 Nov 2014 17:28:29 +1300 (NZDT) Received: from ak2.becroft.co.nz (ak2.becroft.co.nz [202.50.176.175]) by ak2.becroft.co.nz (Postfix) with ESMTP id 2CA963202CA for ; Tue, 25 Nov 2014 17:28:28 +1300 (NZDT) From: Mario Becroft To: bug-gnu-emacs@gnu.org Subject: 24.4; make-frame-on-display fails if emacs started with -nw Date: Tue, 25 Nov 2014 17:28:27 +1300 Message-ID: <87wq6jrjis.fsf@ak2.becroft.co.nz> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) emacs -nw M-x make-frame-on-display RET When prompted: myhost:0 RET Expected result: A new X11 frame is created on the specified X11 display 'myhost:0' Actual result: In minibuffer, the following message appears: Display myhost:0 can't be opened Note: DISPLAY=myhost:0 emacs works fine, and make-frame-on-display works. It's only when starting emacs with -nw (or, more importantly, --daemon) that make-frame-on-display subsequently fails. This is *not* a simple X authorization problem or anything like that. The strace output from the point where emacs connects to the X server to when it closes the connection, without having read or written any data, follows (actual IP address of target X server host elided and replaced with 192.168.1.2): ---- socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_TCP) = 10 setsockopt(10, SOL_TCP, TCP_NODELAY, [1], 4) = 0 setsockopt(10, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 connect(10, {sa_family=AF_INET, sin_port=htons(6000), sin_addr=inet_addr("192.168.1.2")}, 16) = ? ERESTARTSYS (To be restarted) --- SIGIO (I/O possible) @ 0 (0) --- rt_sigreturn(0x1d) = -1 EINTR (Interrupted system call) close(10) = 0 ---- In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, X toolkit) of 2014-11-25 on ak2 Configured using: `configure --without-toolkit-scroll-bars --with-x --with-x-toolkit=lucid --without-xft' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: rcirc-track-minor-mode: t show-paren-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: SPC L i n u x SPC d e s k t o p SPC s y s t e m , SPC j u s t SPC s a y : RET D I S P L A Y = : 0 SPC e m a c s SPC - n w RET M - x SPC m a k e - f r a m e - o n - d i s p l a y RET W h e n SPC p r o m p t e d SPC e n t e r : SPC : 0 RET I f SPC a SPC n e w SPC f r a m e SPC a p p e a r s , SPC t h e SPC n i t SPC i DEL DEL DEL DEL DEL DEL n SPC i t SPC i s SPC w o r k i n g RET I f SPC t h e SPC t e x t SPC ' D i s p l a y SPC : 0 SPC c a n ' t SPC b e SPC o p e n e d ' SPC a p p e a r s SPC i n SPC t h e SPC m i n i b u f f e r , SPC t h e n SPC t h e SPC b u g ESC b ESC b y o u SPC h a v e SPC RET ESC [ > 0 ; 2 4 2 ; 0 c ESC ] 1 1 ; r g b : f f f f / f f f f / f f f f ESC \ ESC x r e p o TAB r t TAB RET Recent messages: When done with this frame, type C-x 5 0 x-initialize-window-system: Display 10.87.0.1:0 can't be opened x-initialize-window-system: Display 10.89.6.1:0 can't be opened [2 times] Connecting to chat.freenode.net...done Quit Making completion list... Rcirc-Track minor mode disabled Rcirc-Track minor mode enabled When done with this frame, type C-x 5 0 Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils help-mode easymenu disp-table network-stream auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util help-fns mail-prsvr password-cache starttls tls rcirc ring xterm server jabber-autoloads package epg-config escreen time-date paren cus-start cus-load tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process gfilenotify dynamic-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 144895 13629) (symbols 48 21822 0) (miscs 40 256 529) (strings 32 22112 4517) (string-bytes 1 584096) (vectors 16 11221) (vector-slots 8 410639 4818) (floats 8 80 297) (intervals 56 4036 233) (buffers 960 26) (heap 1024 23508 585)) From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 24 23:34:51 2014 Received: (at 19175) by debbugs.gnu.org; 25 Nov 2014 04:34:51 +0000 Received: from localhost ([127.0.0.1]:44469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xt7pz-0004om-8R for submit@debbugs.gnu.org; Mon, 24 Nov 2014 23:34:51 -0500 Received: from ak2.becroft.co.nz ([202.50.176.175]:41896) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xt7px-0004oX-I9 for 19175@debbugs.gnu.org; Mon, 24 Nov 2014 23:34:50 -0500 Received: by ak2.becroft.co.nz (Postfix, from userid 489) id 544B632031A; Tue, 25 Nov 2014 17:34:44 +1300 (NZDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ak2.becroft.co.nz X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from ak2.becroft.co.nz (ak2.becroft.co.nz [202.50.176.175]) by ak2.becroft.co.nz (Postfix) with ESMTP id 606A83202CB for <19175@debbugs.gnu.org>; Tue, 25 Nov 2014 17:34:42 +1300 (NZDT) From: Mario Becroft To: 19175@debbugs.gnu.org Subject: Further information Date: Tue, 25 Nov 2014 17:34:42 +1300 Message-ID: <87sih7rj8d.fsf@ak2.becroft.co.nz> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19175 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) The functionality described in this bug report was working in emacs 24.3, it is only since upgrading from 24.3 to 24.4.1 that the bug has appeared. -- Mario Becroft p: +64-9-974-9244 m: +64-21-038-5178 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 17 14:15:33 2015 Received: (at control) by debbugs.gnu.org; 17 Feb 2015 19:15:33 +0000 Received: from localhost ([127.0.0.1]:46569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNncL-0001wZ-5u for submit@debbugs.gnu.org; Tue, 17 Feb 2015 14:15:33 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:43590 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNncI-0001tU-MJ for control@debbugs.gnu.org; Tue, 17 Feb 2015 14:15:30 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YNncI-0006B8-Cn for control@debbugs.gnu.org; Tue, 17 Feb 2015 14:15:30 -0500 Date: Tue, 17 Feb 2015 14:15:30 -0500 Message-Id: Subject: control message for bug 19758 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) block 19758 by 19175 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 23 02:12:39 2015 Received: (at 19175) by debbugs.gnu.org; 23 Mar 2015 06:12:40 +0000 Received: from localhost ([127.0.0.1]:33010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZvbL-0003qQ-4N for submit@debbugs.gnu.org; Mon, 23 Mar 2015 02:12:39 -0400 Received: from mailfe09.swip.net ([212.247.155.1]:34495 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZvbI-0003qC-Hh for 19175@debbugs.gnu.org; Mon, 23 Mar 2015 02:12:38 -0400 X-T2-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 409492797; Mon, 23 Mar 2015 07:12:28 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw From: "Jan D." In-Reply-To: <87wq6jrjis.fsf@ak2.becroft.co.nz> Date: Mon, 23 Mar 2015 07:12:27 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> References: <87wq6jrjis.fsf@ak2.becroft.co.nz> To: Mario Becroft X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19175 Cc: 19175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi. Does M-x make-frame-on-display RET When prompted: :0 RET work (note, just :0 not myhost:0)? If it does, then it is likely your X server that has changed to not = accept TCP/IP connections. Jan D. > 25 nov 2014 kl. 05:28 skrev Mario Becroft : >=20 >=20 > emacs -nw > M-x make-frame-on-display RET > When prompted: myhost:0 RET >=20 > Expected result: >=20 > A new X11 frame is created on the specified X11 display 'myhost:0' >=20 > Actual result: >=20 > In minibuffer, the following message appears: >=20 > Display myhost:0 can't be opened >=20 > Note: >=20 > DISPLAY=3Dmyhost:0 emacs >=20 > works fine, and make-frame-on-display works. It's only when starting > emacs with -nw (or, more importantly, --daemon) that > make-frame-on-display subsequently fails. >=20 > This is *not* a simple X authorization problem or anything like that. >=20 > The strace output from the point where emacs connects to the X server = to > when it closes the connection, without having read or written any = data, > follows (actual IP address of target X server host elided and replaced > with 192.168.1.2): >=20 > ---- > socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_TCP) =3D 10 > setsockopt(10, SOL_TCP, TCP_NODELAY, [1], 4) =3D 0 > setsockopt(10, SOL_SOCKET, SO_KEEPALIVE, [1], 4) =3D 0 > connect(10, {sa_family=3DAF_INET, sin_port=3Dhtons(6000), = sin_addr=3Dinet_addr("192.168.1.2")}, 16) =3D ? ERESTARTSYS (To be = restarted) > --- SIGIO (I/O possible) @ 0 (0) --- > rt_sigreturn(0x1d) =3D -1 EINTR (Interrupted = system call) > close(10) =3D 0 > ---- >=20 >=20 >=20 >=20 > In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, X toolkit) > of 2014-11-25 on ak2 > Configured using: > `configure --without-toolkit-scroll-bars --with-x > --with-x-toolkit=3Dlucid --without-xft' >=20 > Important settings: > value of $LANG: en_US.UTF-8 > locale-coding-system: utf-8-unix >=20 > Major mode: Lisp Interaction >=20 > Minor modes in effect: > rcirc-track-minor-mode: t > show-paren-mode: t > tooltip-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t >=20 > Recent input: > SPC L i n u x SPC d e s k t o p SPC s y s t e m , SPC=20 > j u s t SPC s a y : RET D I S P L A Y =3D : 0 SPC e m=20 > a c s SPC - n w RET M - x SPC m a k e - f r a m e -=20 > o n - d i s p l a y RET W h e n SPC p r o m p t e d=20 > SPC e n t e r : SPC : 0 RET I f SPC a SPC n e w SPC=20 > f r a m e SPC a p p e a r s , SPC t h e SPC n i t SPC=20 > i DEL DEL DEL DEL DEL DEL n SPC i t SPC i s SPC w o=20 > r k i n g RET I f SPC t h e SPC t e x t SPC ' D i s=20 > p l a y SPC : 0 SPC c a n ' t SPC b e SPC o p e n e=20 > d ' SPC a p p e a r s SPC i n SPC t h e SPC m i n i=20 > b u f f e r , SPC t h e n SPC t h e SPC b u g ESC b=20 > ESC b y o u SPC h a v e SPC RET ESC [ > 0 ; 2 4 2 ;=20 > 0 c ESC ] 1 1 ; r g b : f f f f / f f f f / f f f f=20 > ESC \ ESC x r e p o TAB r t TAB RET >=20 > Recent messages: > When done with this frame, type C-x 5 0 > x-initialize-window-system: Display 10.87.0.1:0 can't be opened > x-initialize-window-system: Display 10.89.6.1:0 can't be opened [2 = times] > Connecting to chat.freenode.net...done > Quit > Making completion list... > Rcirc-Track minor mode disabled > Rcirc-Track minor mode enabled > When done with this frame, type C-x 5 0 > Making completion list... >=20 > Load-path shadows: > None found. >=20 > Features: > (shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec > mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils > mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils help-mode > easymenu disp-table network-stream auth-source eieio byte-opt bytecomp > byte-compile cconv eieio-core gnus-util mm-util help-fns mail-prsvr > password-cache starttls tls rcirc ring xterm server jabber-autoloads > package epg-config escreen time-date paren cus-start cus-load tooltip > electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win = x-dnd > tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment > lisp-mode prog-mode register page menu-bar rfn-eshadow timer select > scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame = cham > georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese hebrew greek romanian slovak czech european ethiopic > indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple > abbrev minibuffer nadvice loaddefs button faces cus-face macroexp = files > text-properties overlay sha1 md5 base64 format env code-pages mule > custom widget hashtable-print-readable backquote make-network-process > gfilenotify dynamic-setting x-toolkit x multi-tty emacs) >=20 > Memory information: > ((conses 16 144895 13629) > (symbols 48 21822 0) > (miscs 40 256 529) > (strings 32 22112 4517) > (string-bytes 1 584096) > (vectors 16 11221) > (vector-slots 8 410639 4818) > (floats 8 80 297) > (intervals 56 4036 233) > (buffers 960 26) > (heap 1024 23508 585)) >=20 >=20 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 23 02:32:26 2015 Received: (at 19175) by debbugs.gnu.org; 23 Mar 2015 06:32:26 +0000 Received: from localhost ([127.0.0.1]:33016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZvuT-0004Js-FC for submit@debbugs.gnu.org; Mon, 23 Mar 2015 02:32:25 -0400 Received: from ak2.becroft.co.nz ([202.50.176.175]:59601) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZvuQ-0004Jf-0B for 19175@debbugs.gnu.org; Mon, 23 Mar 2015 02:32:23 -0400 Received: by ak2.becroft.co.nz (Postfix, from userid 489) id 4ED0E3200D7; Mon, 23 Mar 2015 19:32:17 +1300 (NZDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ak2.becroft.co.nz X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from ak2.becroft.co.nz (ak2.becroft.co.nz [202.50.176.175]) by ak2.becroft.co.nz (Postfix) with ESMTP id 9042C3200A5; Mon, 23 Mar 2015 19:32:15 +1300 (NZDT) From: Mario Becroft To: "Jan D." Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> Date: Mon, 23 Mar 2015 19:32:15 +1300 In-Reply-To: <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> (Jan D.'s message of "Mon, 23 Mar 2015 07:12:27 +0100") Message-ID: <87k2y88brk.fsf@ak2.becroft.co.nz> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19175 Cc: 19175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) "Jan D." writes: > Hi. > > Does > > M-x make-frame-on-display RET > When prompted: :0 RET > > work (note, just :0 not myhost:0)? > > If it does, then it is likely your X server that has changed to not > accept TCP/IP connections. > > Jan D. Thanks for your response. To clarify, my X server is working fine and accepting TCP connections, as demonstrated by the fact that emacs started without the -nw option, with the same display specification, works correctly. The problem is with emacs when started with the -nw or --daemon options, and then later using make-frame-on-display. This problem first appeared in a recent version of emacs, I think around version 24. From memory, version 23 was definitely working, but I'm not sure whether earlier versions of 24 were working. I can't actually try using a Unix domain socket connection as you suggest in my environment, since the emacs process and the X server are on separate hosts. If it would help, I could configure a test host with both emacs and an X server, and test whether the bug also occurs with Unix domain X connections. -- Mario Becroft t: @MarioBecroft p: +64-9-974-9244 m: +64-21-038-5178 w: http://www.becroft.co.nz/ From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 23 13:34:28 2015 Received: (at 19175) by debbugs.gnu.org; 23 Mar 2015 17:34:28 +0000 Received: from localhost ([127.0.0.1]:34086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ya6FA-0005Ji-Ab for submit@debbugs.gnu.org; Mon, 23 Mar 2015 13:34:28 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:59360 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ya6F8-0005JY-29 for 19175@debbugs.gnu.org; Mon, 23 Mar 2015 13:34:26 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Ya6F5-0002mU-OS; Mon, 23 Mar 2015 13:34:23 -0400 From: Glenn Morris To: Mario Becroft Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87k2y88brk.fsf@ak2.becroft.co.nz> X-Spook: IRA Ermes White House MP5K-SD anarchy Lexis-Nexis weapons X-Ran: h"Ew>!YK2nXLVLv7!S*B&#>Lq`|k7Zcm*,mZoR-_:HNlNr:u#VPdoO7yPhXc}99[2-D#*1 X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 23 Mar 2015 13:34:23 -0400 In-Reply-To: <87k2y88brk.fsf@ak2.becroft.co.nz> (Mario Becroft's message of "Mon, 23 Mar 2015 19:32:15 +1300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19175 Cc: "Jan D." , 19175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Mario Becroft wrote: > --daemon options, and then later using make-frame-on-display. This > problem first appeared in a recent version of emacs, I think around > version 24. From memory, version 23 was definitely working, but I'm not > sure whether earlier versions of 24 were working. But in http://debbugs.gnu.org/19175#8 you said that it worked fine in 24.3? From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 23 16:36:18 2015 Received: (at 19175) by debbugs.gnu.org; 23 Mar 2015 20:36:18 +0000 Received: from localhost ([127.0.0.1]:34196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ya958-0001FU-3H for submit@debbugs.gnu.org; Mon, 23 Mar 2015 16:36:18 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:38031 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ya956-0001FM-PS for 19175@debbugs.gnu.org; Mon, 23 Mar 2015 16:36:17 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Ya956-0006cV-Ei for 19175@debbugs.gnu.org; Mon, 23 Mar 2015 16:36:16 -0400 Resent-Message-ID: <21776.31040.273494.244499@gnu.org> Resent-Date: Mon, 23 Mar 2015 16:36:16 -0400 Resent-From: Glenn Morris Resent-To: 19175@debbugs.gnu.org Bcc: rgm@gnu.org X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87k2y88brk.fsf@ak2.becroft.co.nz> In-Reply-To: (Glenn Morris's message of "Mon, 23 Mar 2015 13:34:23 -0400") Message-ID: <87fv8v8np6.fsf@ak2.becroft.co.nz> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 202.50.176.175 Date: Tue, 24 Mar 2015 09:26:45 +1300 From: Mario Becroft To: Glenn Morris , 19175@debbugs.gnu.org Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw X-Bogosity: no, spamicity=0.081075, v1.2.1 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19175 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Glenn Morris writes: > But in http://debbugs.gnu.org/19175#8 you said that it worked fine in 24.3? In that case it was working in 24.3. I couldn't remember the exact version where it broke off the top of my head. -- Mario Becroft t: @MarioBecroft p: +64-9-974-9244 m: +64-21-038-5178 w: http://www.becroft.co.nz/ From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 23 21:44:11 2015 Received: (at 19175) by debbugs.gnu.org; 24 Mar 2015 01:44:11 +0000 Received: from localhost ([127.0.0.1]:34340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YaDt5-0001R7-8m for submit@debbugs.gnu.org; Mon, 23 Mar 2015 21:44:11 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:52627 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YaDt2-0001Qy-QP for 19175@debbugs.gnu.org; Mon, 23 Mar 2015 21:44:09 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YaDsz-0000vF-BL; Mon, 23 Mar 2015 21:44:05 -0400 From: Glenn Morris To: "Jan D." Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> X-Spook: passwd infowar pre-emptive Ft. Knox Comirex SEAL Team 6 X-Ran: CQ0eT6M8k{#:#dB$(%V?*H*f6##vo'8w^Vf@KGIKpwixJl*#b|O;(Qo0IUvmO%AA`N]-K6 X-Hue: white X-Attribution: GM Date: Mon, 23 Mar 2015 21:44:05 -0400 In-Reply-To: <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> (Jan D.'s message of "Mon, 23 Mar 2015 07:12:27 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 19175 Cc: Mario Becroft , 19175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) I checked and can confirm that while emacs -Q # starts a graphical Emacs M-x make-frame-on-display RET remote.host:0 RET works fine, the same thing fails as described from `emacs -Q -nw'. However, I cannot find any version of Emacs in which the latter does work. It fails in all the 24 and 22 series. (23.x infloops when started with -nw, due to some glib incompatibility IIRC, and I can't be bothered to recompile it now.) From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 23 21:44:36 2015 Received: (at control) by debbugs.gnu.org; 24 Mar 2015 01:44:37 +0000 Received: from localhost ([127.0.0.1]:34343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YaDtU-0001Rj-Kf for submit@debbugs.gnu.org; Mon, 23 Mar 2015 21:44:36 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:52636 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YaDtS-0001Ra-Jr for control@debbugs.gnu.org; Mon, 23 Mar 2015 21:44:34 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YaDtS-0000yf-Bu for control@debbugs.gnu.org; Mon, 23 Mar 2015 21:44:34 -0400 Date: Mon, 23 Mar 2015 21:44:34 -0400 Message-Id: Subject: control message for bug 19175 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tag 19175 confirmed From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 23 21:44:52 2015 Received: (at control) by debbugs.gnu.org; 24 Mar 2015 01:44:52 +0000 Received: from localhost ([127.0.0.1]:34346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YaDtj-0001SB-V1 for submit@debbugs.gnu.org; Mon, 23 Mar 2015 21:44:52 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:52645 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YaDti-0001S3-D3 for control@debbugs.gnu.org; Mon, 23 Mar 2015 21:44:50 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YaDti-00010o-7Q for control@debbugs.gnu.org; Mon, 23 Mar 2015 21:44:50 -0400 Date: Mon, 23 Mar 2015 21:44:50 -0400 Message-Id: Subject: control message for bug 19758 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) unblock 19758 by 19175 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 28 23:42:53 2015 Received: (at 19175) by debbugs.gnu.org; 29 Mar 2015 03:42:53 +0000 Received: from localhost ([127.0.0.1]:39259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yc47h-0004oh-8x for submit@debbugs.gnu.org; Sat, 28 Mar 2015 23:42:53 -0400 Received: from ak2.becroft.co.nz ([202.50.176.175]:60157) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yc47f-0004oW-5M for 19175@debbugs.gnu.org; Sat, 28 Mar 2015 23:42:52 -0400 Received: by ak2.becroft.co.nz (Postfix, from userid 489) id 1C3F3320163; Sun, 29 Mar 2015 16:42:46 +1300 (NZDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ak2.becroft.co.nz X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from ak2.becroft.co.nz (ak2.becroft.co.nz [202.50.176.175]) by ak2.becroft.co.nz (Postfix) with ESMTP id 54616320014; Sun, 29 Mar 2015 16:42:44 +1300 (NZDT) From: Mario Becroft To: Glenn Morris Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> Date: Sun, 29 Mar 2015 16:42:44 +1300 In-Reply-To: (Glenn Morris's message of "Mon, 23 Mar 2015 21:44:05 -0400") Message-ID: <87bnjc5v0r.fsf@ak2.becroft.co.nz> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19175 Cc: "Jan D." , 19175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Glenn Morris writes: > I checked and can confirm that while > > emacs -Q # starts a graphical Emacs > M-x make-frame-on-display RET remote.host:0 RET > > works fine, the same thing fails as described from `emacs -Q -nw'. > > However, I cannot find any version of Emacs in which the latter does work. > It fails in all the 24 and 22 series. > (23.x infloops when started with -nw, due to some glib incompatibility > IIRC, and I can't be bothered to recompile it now.) Thanks for your input Glenn. I can confirm that on my system, it certainly did work at least with emacs 23 and possibly earlier versions of 24. Perhaps it depends on the configuration, such as which toolkit is used etc. I compile mine with X, but without external toolkits. In this case, my configure command was as follows: ./configure --without-toolkit-scroll-bars --with-x --with-x-toolkit=lucid --without-xft -- Mario Becroft t: @MarioBecroft p: +64-9-974-9244 m: +64-21-038-5178 w: http://www.becroft.co.nz/ From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 29 04:45:28 2015 Received: (at 19175) by debbugs.gnu.org; 29 Mar 2015 08:45:28 +0000 Received: from localhost ([127.0.0.1]:39321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yc8qV-0004Sk-6m for submit@debbugs.gnu.org; Sun, 29 Mar 2015 04:45:27 -0400 Received: from mailfe03.swip.net ([212.247.154.65]:39607 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yc8qS-0004ST-LB for 19175@debbugs.gnu.org; Sun, 29 Mar 2015 04:45:25 -0400 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 417653576; Sun, 29 Mar 2015 10:45:16 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw From: "Jan D." In-Reply-To: <87bnjc5v0r.fsf@ak2.becroft.co.nz> Date: Sun, 29 Mar 2015 10:45:16 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> To: Mario Becroft X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19175 Cc: Glenn Morris , 19175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi. > 29 mar 2015 kl. 05:42 skrev Mario Becroft : >=20 > Perhaps it depends on the configuration, such as which toolkit is used > etc. I compile mine with X, but without external toolkits. In this = case, > my configure command was as follows: >=20 > ./configure --without-toolkit-scroll-bars --with-x = --with-x-toolkit=3Dlucid --without-xft No, it is a signal race. Apparently XOpenDisplay does not retry when = interrupted by a signal, SIGIO in this case. Blocking SIGIO at the appropriate locations fixes it. Is the fix too late for the 24-branch? Jan D. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 29 04:52:13 2015 Received: (at 19175) by debbugs.gnu.org; 29 Mar 2015 08:52:13 +0000 Received: from localhost ([127.0.0.1]:39329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yc8x2-0004cd-C7 for submit@debbugs.gnu.org; Sun, 29 Mar 2015 04:52:12 -0400 Received: from ak2.becroft.co.nz ([202.50.176.175]:36398) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yc8x0-0004cR-2j for 19175@debbugs.gnu.org; Sun, 29 Mar 2015 04:52:11 -0400 Received: by ak2.becroft.co.nz (Postfix, from userid 489) id 8FDE5320174; Sun, 29 Mar 2015 21:52:05 +1300 (NZDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ak2.becroft.co.nz X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from ak2.becroft.co.nz (ak2.becroft.co.nz [202.50.176.175]) by ak2.becroft.co.nz (Postfix) with ESMTP id 9CBD8320099; Sun, 29 Mar 2015 21:52:03 +1300 (NZDT) From: Mario Becroft To: "Jan D." Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> Date: Sun, 29 Mar 2015 21:52:03 +1300 In-Reply-To: <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> (Jan D.'s message of "Sun, 29 Mar 2015 10:45:16 +0200") Message-ID: <87y4mg424s.fsf@ak2.becroft.co.nz> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19175 Cc: Glenn Morris , 19175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) "Jan D." writes: > Hi. > >> 29 mar 2015 kl. 05:42 skrev Mario Becroft : >> >> Perhaps it depends on the configuration, such as which toolkit is used >> etc. I compile mine with X, but without external toolkits. In this case, >> my configure command was as follows: >> >> ./configure --without-toolkit-scroll-bars --with-x >> --with-x-toolkit=lucid --without-xft > > No, it is a signal race. Apparently XOpenDisplay does not retry when > interrupted by a signal, SIGIO in this case. > Blocking SIGIO at the appropriate locations fixes it. > > Is the fix too late for the 24-branch? I wasn't implying knowledge about the cause of the problem, which I have not investigated myself, only additional information in case it is relevant. It would be fantastic to see a fix. Then there are other X-related bugs I have reported, but if the connection to the server can at least be made, this would be a step forward. -- Mario Becroft t: @MarioBecroft p: +64-9-974-9244 m: +64-21-038-5178 w: http://www.becroft.co.nz/ From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 29 11:02:23 2015 Received: (at 19175) by debbugs.gnu.org; 29 Mar 2015 15:02:24 +0000 Received: from localhost ([127.0.0.1]:39735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcEjH-0007dW-Jr for submit@debbugs.gnu.org; Sun, 29 Mar 2015 11:02:23 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:47979) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcEjF-0007dH-6z for 19175@debbugs.gnu.org; Sun, 29 Mar 2015 11:02:22 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NLZ00E00B3KWR00@a-mtaout22.012.net.il> for 19175@debbugs.gnu.org; Sun, 29 Mar 2015 18:02:14 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLZ00ERBB3PQ260@a-mtaout22.012.net.il>; Sun, 29 Mar 2015 18:02:14 +0300 (IDT) Date: Sun, 29 Mar 2015 18:01:57 +0300 From: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw In-reply-to: <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> X-012-Sender: halo1@inter.net.il To: "Jan D." Message-id: <83r3s7zw2i.fsf@gnu.org> References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19175 Cc: mb@becroft.co.nz, 19175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: "Jan D." > Date: Sun, 29 Mar 2015 10:45:16 +0200 > Cc: 19175@debbugs.gnu.org > > No, it is a signal race. Apparently XOpenDisplay does not retry when interrupted by a signal, SIGIO in this case. > Blocking SIGIO at the appropriate locations fixes it. > > Is the fix too late for the 24-branch? Can you show the diffs that fix this? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 29 13:10:06 2015 Received: (at 19175) by debbugs.gnu.org; 29 Mar 2015 17:10:06 +0000 Received: from localhost ([127.0.0.1]:39784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcGiq-0002An-Ho for submit@debbugs.gnu.org; Sun, 29 Mar 2015 13:10:05 -0400 Received: from mailfe06.swip.net ([212.247.154.161]:55636 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcGim-0002AB-Q6 for 19175@debbugs.gnu.org; Sun, 29 Mar 2015 13:10:02 -0400 X-T2-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_40 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 581471771; Sun, 29 Mar 2015 19:09:52 +0200 Message-ID: <551831DC.6010406@swipnet.se> Date: Sun, 29 Mar 2015 19:09:48 +0200 From: =?windows-1252?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <83r3s7zw2i.fsf@gnu.org> In-Reply-To: <83r3s7zw2i.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19175 Cc: mb@becroft.co.nz, 19175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Den 2015-03-29 17:01, Eli Zaretskii skrev: >> From: "Jan D." >> Date: Sun, 29 Mar 2015 10:45:16 +0200 >> Cc: 19175@debbugs.gnu.org >> >> No, it is a signal race. Apparently XOpenDisplay does not retry when interrupted by a signal, SIGIO in this case. >> Blocking SIGIO at the appropriate locations fixes it. >> >> Is the fix too late for the 24-branch? > > Can you show the diffs that fix this? > > Thanks. > index fedaa0f..1f48262 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -167,7 +167,9 @@ xg_display_open (char *display_name, Display **dpy) { GdkDisplay *gdpy; + unrequest_sigio (); gdpy = gdk_display_open (display_name); + request_sigio (); if (!gdpy_def && gdpy) { gdpy_def = gdpy; diff --git a/src/xterm.c b/src/xterm.c index 4ca1e13..8284ed9 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -9719,7 +9719,10 @@ get_bits_and_offset (unsigned long mask, int *bits, int *offset) bool x_display_ok (const char *display) { - Display *dpy = XOpenDisplay (display); + Display *dpy; + unrequest_sigio (); + dpy = XOpenDisplay (display); + request_sigio (); return dpy ? (XCloseDisplay (dpy), 1) : 0; } @@ -9811,7 +9814,9 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name) /* gtk_init does set_locale. Fix locale before and after. */ fixup_locale (); + unrequest_sigio (); gtk_init (&argc, &argv2); + request_sigio (); fixup_locale (); g_log_remove_handler ("GLib", id); @@ -9861,10 +9866,12 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name) argv[argc++] = xrm_option; } turn_on_atimers (0); + unrequest_sigio (); dpy = XtOpenDisplay (Xt_app_con, SSDATA (display_name), resource_name, EMACS_CLASS, emacs_options, XtNumber (emacs_options), &argc, argv); + request_sigio (); turn_on_atimers (1); #ifdef HAVE_X11XTR6 @@ -9875,7 +9882,9 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name) #else /* not USE_X_TOOLKIT */ XSetLocaleModifiers (""); + unrequest_sigio (); dpy = XOpenDisplay (SSDATA (display_name)); + request_sigio (); #endif /* not USE_X_TOOLKIT */ #endif /* not USE_GTK*/ Jan D. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 29 13:21:10 2015 Received: (at 19175) by debbugs.gnu.org; 29 Mar 2015 17:21:10 +0000 Received: from localhost ([127.0.0.1]:39789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcGtZ-0002QK-PP for submit@debbugs.gnu.org; Sun, 29 Mar 2015 13:21:10 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:44470) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcGtW-0002Pa-Me for 19175@debbugs.gnu.org; Sun, 29 Mar 2015 13:21:07 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NLZ00F00HIOXT00@a-mtaout20.012.net.il> for 19175@debbugs.gnu.org; Sun, 29 Mar 2015 20:21:00 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLZ00F9HHIZTX40@a-mtaout20.012.net.il>; Sun, 29 Mar 2015 20:21:00 +0300 (IDT) Date: Sun, 29 Mar 2015 20:20:43 +0300 From: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw In-reply-to: <551831DC.6010406@swipnet.se> X-012-Sender: halo1@inter.net.il To: Jan =?windows-1252?Q?Dj=E4rv?= Message-id: <83iodjzpn8.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 8BIT References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <83r3s7zw2i.fsf@gnu.org> <551831DC.6010406@swipnet.se> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19175 Cc: mb@becroft.co.nz, 19175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sun, 29 Mar 2015 19:09:48 +0200 > From: Jan Djärv > CC: mb@becroft.co.nz, 19175@debbugs.gnu.org > > index fedaa0f..1f48262 100644 > --- a/src/gtkutil.c > +++ b/src/gtkutil.c > @@ -167,7 +167,9 @@ xg_display_open (char *display_name, Display **dpy) > { > GdkDisplay *gdpy; > > + unrequest_sigio (); > gdpy = gdk_display_open (display_name); > + request_sigio (); > if (!gdpy_def && gdpy) > { > gdpy_def = gdpy; > diff --git a/src/xterm.c b/src/xterm.c > index 4ca1e13..8284ed9 100644 > --- a/src/xterm.c > +++ b/src/xterm.c > @@ -9719,7 +9719,10 @@ get_bits_and_offset (unsigned long mask, int *bits, int > *offset) > bool > x_display_ok (const char *display) > { > - Display *dpy = XOpenDisplay (display); > + Display *dpy; > + unrequest_sigio (); > + dpy = XOpenDisplay (display); > + request_sigio (); > return dpy ? (XCloseDisplay (dpy), 1) : 0; > } > > @@ -9811,7 +9814,9 @@ x_term_init (Lisp_Object display_name, char *xrm_option, > char *resource_name) > > /* gtk_init does set_locale. Fix locale before and after. */ > fixup_locale (); > + unrequest_sigio (); > gtk_init (&argc, &argv2); > + request_sigio (); > fixup_locale (); > > g_log_remove_handler ("GLib", id); > @@ -9861,10 +9866,12 @@ x_term_init (Lisp_Object display_name, char > *xrm_option, char *resource_name) > argv[argc++] = xrm_option; > } > turn_on_atimers (0); > + unrequest_sigio (); > dpy = XtOpenDisplay (Xt_app_con, SSDATA (display_name), > resource_name, EMACS_CLASS, > emacs_options, XtNumber (emacs_options), > &argc, argv); > + request_sigio (); > turn_on_atimers (1); > > #ifdef HAVE_X11XTR6 > @@ -9875,7 +9882,9 @@ x_term_init (Lisp_Object display_name, char *xrm_option, > char *resource_name) > > #else /* not USE_X_TOOLKIT */ > XSetLocaleModifiers (""); > + unrequest_sigio (); > dpy = XOpenDisplay (SSDATA (display_name)); > + request_sigio (); > #endif /* not USE_X_TOOLKIT */ > #endif /* not USE_GTK*/ Thanks, this looks safe enough to me. Just add some comments to explain the need. I hope Nicolas won't mind preparing a new tarball for the release. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 29 15:18:19 2015 Received: (at 19175-done) by debbugs.gnu.org; 29 Mar 2015 19:18:19 +0000 Received: from localhost ([127.0.0.1]:39820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcIiw-00059d-Ee for submit@debbugs.gnu.org; Sun, 29 Mar 2015 15:18:18 -0400 Received: from mailfe01.swip.net ([212.247.154.1]:43369 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcIit-00059O-GC for 19175-done@debbugs.gnu.org; Sun, 29 Mar 2015 15:18:16 -0400 X-T2-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_40 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 570195373; Sun, 29 Mar 2015 21:18:07 +0200 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw From: "Jan D." In-Reply-To: <83iodjzpn8.fsf@gnu.org> Date: Sun, 29 Mar 2015 21:18:06 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <5B364DE3-7FCC-415D-9AA9-CF96107BD44F@swipnet.se> References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <83r3s7zw2i.fsf@gnu.org> <551831DC.6010406@swipnet.se> <83iodjzpn8.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19175-done Cc: Mario Becroft , 19175-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Fixed in the emacs-24 branch. Jan D. > 29 mar 2015 kl. 19:20 skrev Eli Zaretskii : >=20 >> Date: Sun, 29 Mar 2015 19:09:48 +0200 >> From: Jan Dj=E4rv >> CC: mb@becroft.co.nz, 19175@debbugs.gnu.org >>=20 >> index fedaa0f..1f48262 100644 >> --- a/src/gtkutil.c >> +++ b/src/gtkutil.c >> @@ -167,7 +167,9 @@ xg_display_open (char *display_name, Display = **dpy) >> { >> GdkDisplay *gdpy; >>=20 >> + unrequest_sigio (); >> gdpy =3D gdk_display_open (display_name); >> + request_sigio (); >> if (!gdpy_def && gdpy) >> { >> gdpy_def =3D gdpy; >> diff --git a/src/xterm.c b/src/xterm.c >> index 4ca1e13..8284ed9 100644 >> --- a/src/xterm.c >> +++ b/src/xterm.c >> @@ -9719,7 +9719,10 @@ get_bits_and_offset (unsigned long mask, int = *bits, int=20 >> *offset) >> bool >> x_display_ok (const char *display) >> { >> - Display *dpy =3D XOpenDisplay (display); >> + Display *dpy; >> + unrequest_sigio (); >> + dpy =3D XOpenDisplay (display); >> + request_sigio (); >> return dpy ? (XCloseDisplay (dpy), 1) : 0; >> } >>=20 >> @@ -9811,7 +9814,9 @@ x_term_init (Lisp_Object display_name, char = *xrm_option,=20 >> char *resource_name) >>=20 >> /* gtk_init does set_locale. Fix locale before and after. = */ >> fixup_locale (); >> + unrequest_sigio (); >> gtk_init (&argc, &argv2); >> + request_sigio (); >> fixup_locale (); >>=20 >> g_log_remove_handler ("GLib", id); >> @@ -9861,10 +9866,12 @@ x_term_init (Lisp_Object display_name, char=20= >> *xrm_option, char *resource_name) >> argv[argc++] =3D xrm_option; >> } >> turn_on_atimers (0); >> + unrequest_sigio (); >> dpy =3D XtOpenDisplay (Xt_app_con, SSDATA (display_name), >> resource_name, EMACS_CLASS, >> emacs_options, XtNumber (emacs_options), >> &argc, argv); >> + request_sigio (); >> turn_on_atimers (1); >>=20 >> #ifdef HAVE_X11XTR6 >> @@ -9875,7 +9882,9 @@ x_term_init (Lisp_Object display_name, char = *xrm_option,=20 >> char *resource_name) >>=20 >> #else /* not USE_X_TOOLKIT */ >> XSetLocaleModifiers (""); >> + unrequest_sigio (); >> dpy =3D XOpenDisplay (SSDATA (display_name)); >> + request_sigio (); >> #endif /* not USE_X_TOOLKIT */ >> #endif /* not USE_GTK*/ >=20 > Thanks, this looks safe enough to me. Just add some comments to > explain the need. >=20 > I hope Nicolas won't mind preparing a new tarball for the release. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 29 17:17:52 2015 Received: (at 19175) by debbugs.gnu.org; 29 Mar 2015 21:17:52 +0000 Received: from localhost ([127.0.0.1]:39865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcKad-0007tZ-Vp for submit@debbugs.gnu.org; Sun, 29 Mar 2015 17:17:52 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:62830) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcKac-0007tM-9J for 19175@debbugs.gnu.org; Sun, 29 Mar 2015 17:17:50 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCws0EhQYDSSIE6IRjGQHAQEBAgECgz4Dg3AEqDs X-IPAS-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCws0EhQYDSSIE6IRjGQHAQEBAgECgz4Dg3AEqDs X-IronPort-AV: E=Sophos;i="5.01,1,1400040000"; d="scan'208";a="114900738" Received: from 65-110-216-75.cpe.pppoe.ca (HELO pastel.home) ([65.110.216.75]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Mar 2015 17:17:45 -0400 Received: by pastel.home (Postfix, from userid 20848) id 7DCE4DB0; Sun, 29 Mar 2015 17:17:44 -0400 (EDT) From: Stefan Monnier To: "Jan D." Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw Message-ID: References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> Date: Sun, 29 Mar 2015 17:17:44 -0400 In-Reply-To: <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> (Jan D.'s message of "Sun, 29 Mar 2015 10:45:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 19175 Cc: Mario Becroft , 19175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Is the fix too late for the 24-branch? Yes, emacs-24 is frozen now. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 02:32:11 2015 Received: (at 19175) by debbugs.gnu.org; 30 Mar 2015 06:32:11 +0000 Received: from localhost ([127.0.0.1]:39949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcTF4-0005Mp-W1 for submit@debbugs.gnu.org; Mon, 30 Mar 2015 02:32:11 -0400 Received: from mailfe04.swip.net ([212.247.154.97]:60422 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcTF2-0005MO-8g for 19175@debbugs.gnu.org; Mon, 30 Mar 2015 02:32:09 -0400 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 582775639; Mon, 30 Mar 2015 08:32:00 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw From: "Jan D." In-Reply-To: Date: Mon, 30 Mar 2015 08:32:00 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> To: Stefan Monnier X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19175 Cc: Mario Becroft , 19175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > 29 mar 2015 kl. 23:17 skrev Stefan Monnier : >=20 >> Is the fix too late for the 24-branch? >=20 > Yes, emacs-24 is frozen now. >=20 Hmm, I checked in that change. But the changelog (now out of order) = suggests 24.5 has been released. But there is no tag yet. How shall we handle this situation? Jan D. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 09:58:48 2015 Received: (at 19175) by debbugs.gnu.org; 30 Mar 2015 13:58:48 +0000 Received: from localhost ([127.0.0.1]:40557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcaDI-0000nT-2R for submit@debbugs.gnu.org; Mon, 30 Mar 2015 09:58:48 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:36780) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcaDE-0000nD-QN for 19175@debbugs.gnu.org; Mon, 30 Mar 2015 09:58:45 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMQCzQSFBgNJIgTohGMZAkDAQKDPgODcASoOw X-IPAS-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMQCzQSFBgNJIgTohGMZAkDAQKDPgODcASoOw X-IronPort-AV: E=Sophos;i="5.01,1,1400040000"; d="scan'208";a="114947338" Received: from 65-110-216-75.cpe.pppoe.ca (HELO pastel.home) ([65.110.216.75]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 30 Mar 2015 09:58:39 -0400 Received: by pastel.home (Postfix, from userid 20848) id C1C86E57; Mon, 30 Mar 2015 09:58:38 -0400 (EDT) From: Stefan Monnier To: "Jan D." Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw Message-ID: References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> Date: Mon, 30 Mar 2015 09:58:38 -0400 In-Reply-To: <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> (Jan D.'s message of "Mon, 30 Mar 2015 08:32:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 19175 Cc: Nicolas Petton , 19175@debbugs.gnu.org, Mario Becroft X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >>> Is the fix too late for the 24-branch? >> Yes, emacs-24 is frozen now. > Hmm, I checked in that change. But the changelog (now out of order) > suggests 24.5 has been released. > But there is no tag yet. How shall we handle this situation? I don't think this fix is important enough to delay the release. So I think the way to fix this is for Nicolas to just ignore this commit (i.e. he simply shouldn't do "git pull" or anything equivalent). And he should indeed add the tag (and tweak the release instructions so as to try and make sure we don't forget this tag any more). Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 10:37:11 2015 Received: (at 19175) by debbugs.gnu.org; 30 Mar 2015 14:37:11 +0000 Received: from localhost ([127.0.0.1]:40567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcaoR-0001hm-Gj for submit@debbugs.gnu.org; Mon, 30 Mar 2015 10:37:11 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:44947) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcaoO-0001hX-7g for 19175@debbugs.gnu.org; Mon, 30 Mar 2015 10:37:09 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NM1002004LLG400@a-mtaout22.012.net.il> for 19175@debbugs.gnu.org; Mon, 30 Mar 2015 17:37:01 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NM1002PH4LN8L40@a-mtaout22.012.net.il>; Mon, 30 Mar 2015 17:37:01 +0300 (IDT) Date: Mon, 30 Mar 2015 17:36:46 +0300 From: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83ego6zh4x.fsf@gnu.org> References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19175 Cc: nicolas@petton.fr, jan.h.d@swipnet.se, 19175@debbugs.gnu.org, mb@becroft.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Date: Mon, 30 Mar 2015 09:58:38 -0400 > Cc: Nicolas Petton , 19175@debbugs.gnu.org, > Mario Becroft > > >>> Is the fix too late for the 24-branch? > >> Yes, emacs-24 is frozen now. > > Hmm, I checked in that change. But the changelog (now out of order) > > suggests 24.5 has been released. > > But there is no tag yet. How shall we handle this situation? > > I don't think this fix is important enough to delay the release. I obviously think differently. Fixing the ChangeLog is easy, if that's the only problem: just swap the entries. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 10:47:39 2015 Received: (at 19175) by debbugs.gnu.org; 30 Mar 2015 14:47:40 +0000 Received: from localhost ([127.0.0.1]:40589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcayZ-0001yX-Im for submit@debbugs.gnu.org; Mon, 30 Mar 2015 10:47:39 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:47506) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcayX-0001yI-1W for 19175@debbugs.gnu.org; Mon, 30 Mar 2015 10:47:38 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NM100200514HT00@a-mtaout22.012.net.il> for 19175@debbugs.gnu.org; Mon, 30 Mar 2015 17:47:27 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NM10025X5328W60@a-mtaout22.012.net.il>; Mon, 30 Mar 2015 17:47:27 +0300 (IDT) Date: Mon, 30 Mar 2015 17:47:12 +0300 From: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <831tk6zgnj.fsf@gnu.org> References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19175 Cc: nicolas@petton.fr, jan.h.d@swipnet.se, 19175@debbugs.gnu.org, mb@becroft.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Date: Mon, 30 Mar 2015 09:58:38 -0400 > Cc: Nicolas Petton , 19175@debbugs.gnu.org, > Mario Becroft > > I don't think this fix is important enough to delay the release. Btw, there's no need to delay the release, just redo the tarball. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 16:51:31 2015 Received: (at 19175) by debbugs.gnu.org; 30 Mar 2015 20:51:31 +0000 Received: from localhost ([127.0.0.1]:40715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ycgeh-0002VV-3e for submit@debbugs.gnu.org; Mon, 30 Mar 2015 16:51:31 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:52253) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ycgee-0002VF-1T for 19175@debbugs.gnu.org; Mon, 30 Mar 2015 16:51:29 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCws0EhQYDSSIE6IRjBVYAQIBAoM+AwODbQSoOw X-IPAS-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCws0EhQYDSSIE6IRjBVYAQIBAoM+AwODbQSoOw X-IronPort-AV: E=Sophos;i="5.01,1,1400040000"; d="scan'208";a="114989362" Received: from 65-110-216-75.cpe.pppoe.ca (HELO fmsmemgm.homelinux.net) ([65.110.216.75]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 30 Mar 2015 16:51:22 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id B1DFEAE0BC; Mon, 30 Mar 2015 16:51:22 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw Message-ID: References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> <83ego6zh4x.fsf@gnu.org> Date: Mon, 30 Mar 2015 16:51:22 -0400 In-Reply-To: <83ego6zh4x.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 30 Mar 2015 17:36:46 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 19175 Cc: nicolas@petton.fr, jan.h.d@swipnet.se, 19175@debbugs.gnu.org, mb@becroft.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> I don't think this fix is important enough to delay the release. > I obviously think differently. How old is this bug? IIUC it's pretty old, so there's no hurry to fix it in 24.5 rather than in Emacs-25. It's not fixing a regression. > Fixing the ChangeLog is easy, if > that's the only problem: just swap the entries. No, the problem is delaying the release by having another RC candidate. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 22:34:42 2015 Received: (at 19175) by debbugs.gnu.org; 31 Mar 2015 02:34:42 +0000 Received: from localhost ([127.0.0.1]:40785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ycm0o-0003Ye-Hl for submit@debbugs.gnu.org; Mon, 30 Mar 2015 22:34:42 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:63608) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ycm0l-0003YO-1p for 19175@debbugs.gnu.org; Mon, 30 Mar 2015 22:34:40 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NM2005001PXUU00@a-mtaout20.012.net.il> for 19175@debbugs.gnu.org; Tue, 31 Mar 2015 05:34:32 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NM2005C91TJPA60@a-mtaout20.012.net.il>; Tue, 31 Mar 2015 05:34:32 +0300 (IDT) Date: Tue, 31 Mar 2015 05:34:19 +0300 From: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83siclyjx0.fsf@gnu.org> References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> <83ego6zh4x.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19175 Cc: nicolas@petton.fr, jan.h.d@swipnet.se, 19175@debbugs.gnu.org, mb@becroft.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Cc: jan.h.d@swipnet.se, nicolas@petton.fr, 19175@debbugs.gnu.org, mb@becroft.co.nz > Date: Mon, 30 Mar 2015 16:51:22 -0400 > > >> I don't think this fix is important enough to delay the release. > > I obviously think differently. > > How old is this bug? IIUC it's pretty old, so there's no hurry to > fix it in 24.5 rather than in Emacs-25. It's not fixing a regression. It is still a bad problem, and could very well raise its ugly head in other, more important situations. > > Fixing the ChangeLog is easy, if > > that's the only problem: just swap the entries. > > No, the problem is delaying the release by having another RC candidate. There's no need: we are making a simple change that doesn't require another RC, IMO. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 09:27:08 2015 Received: (at 19175) by debbugs.gnu.org; 31 Mar 2015 13:27:09 +0000 Received: from localhost ([127.0.0.1]:40991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcwCB-0003Yd-RS for submit@debbugs.gnu.org; Tue, 31 Mar 2015 09:27:08 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:24113) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcwC8-0003YI-JE for 19175@debbugs.gnu.org; Tue, 31 Mar 2015 09:27:05 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMQCzQSFBgNJIgTohGLeyAGQwwDgz4Dg3AEqDs X-IPAS-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMQCzQSFBgNJIgTohGLeyAGQwwDgz4Dg3AEqDs X-IronPort-AV: E=Sophos;i="5.01,1,1400040000"; d="scan'208";a="115042248" Received: from 65-110-216-75.cpe.pppoe.ca (HELO pastel.home) ([65.110.216.75]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 31 Mar 2015 09:26:58 -0400 Received: by pastel.home (Postfix, from userid 20848) id 9AEFC1054; Tue, 31 Mar 2015 09:26:58 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw Message-ID: References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> <83ego6zh4x.fsf@gnu.org> <83siclyjx0.fsf@gnu.org> Date: Tue, 31 Mar 2015 09:26:58 -0400 In-Reply-To: <83siclyjx0.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 31 Mar 2015 05:34:19 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 19175 Cc: nicolas@petton.fr, jan.h.d@swipnet.se, 19175@debbugs.gnu.org, mb@becroft.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> How old is this bug? IIUC it's pretty old, so there's no hurry to >> fix it in 24.5 rather than in Emacs-25. It's not fixing a regression. > It is still a bad problem, and could very well raise its ugly head in > other, more important situations. It could, but it hasn't in the last many years that we've lived with it without anyone noticing, so we can live with it a few more I think. And the effect of the bug seems rather minor. IOW the urgency is very low. >> > Fixing the ChangeLog is easy, if >> > that's the only problem: just swap the entries. >> No, the problem is delaying the release by having another RC candidate. > There's no need: we are making a simple change that doesn't require > another RC, IMO. I don't find it simple at all. E.g. it doesn't seem obviously safe (e.g. what if the X call ends up making a longjmp and hence skipping the unblocking of sigio? Seems highly unlikely, but we do make longjmps in not-completely-different circumstances (e.g. to avoid killing Emacs when an X connection dies), so I think that proving such a longjmp can't happen would require a serious code analysis, i.e. pretty far from "obviously safe"). Low urgency, non-zero risk, I'm surprised you'd even bother to lobby for inclusion one day before the actual release. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 10:03:58 2015 Received: (at 19175) by debbugs.gnu.org; 31 Mar 2015 14:03:58 +0000 Received: from localhost ([127.0.0.1]:41313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ycwlm-0004W8-Ar for submit@debbugs.gnu.org; Tue, 31 Mar 2015 10:03:58 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:50028) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ycwlg-0004Vq-M7 for 19175@debbugs.gnu.org; Tue, 31 Mar 2015 10:03:52 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NM200C00XNLYH00@a-mtaout22.012.net.il> for 19175@debbugs.gnu.org; Tue, 31 Mar 2015 17:03:41 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NM200CGCXQ5XS10@a-mtaout22.012.net.il>; Tue, 31 Mar 2015 17:03:41 +0300 (IDT) Date: Tue, 31 Mar 2015 17:03:29 +0300 From: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83a8yttgb2.fsf@gnu.org> References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> <83ego6zh4x.fsf@gnu.org> <83siclyjx0.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19175 Cc: nicolas@petton.fr, jan.h.d@swipnet.se, 19175@debbugs.gnu.org, mb@becroft.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Cc: jan.h.d@swipnet.se, nicolas@petton.fr, 19175@debbugs.gnu.org, mb@becroft.co.nz > Date: Tue, 31 Mar 2015 09:26:58 -0400 > > >> How old is this bug? IIUC it's pretty old, so there's no hurry to > >> fix it in 24.5 rather than in Emacs-25. It's not fixing a regression. > > It is still a bad problem, and could very well raise its ugly head in > > other, more important situations. > > It could, but it hasn't in the last many years that we've lived with it > without anyone noticing, so we can live with it a few more I think. > And the effect of the bug seems rather minor. > IOW the urgency is very low. I don't see it as low: subtle, hard to reproduce failures in Xlib calls could very well bring the whole session down. That they only happened when opening a new frame might very well be sheer luck. IME, the fact that a bug never happened (or, more accurately, was never reported) before says nothing at all about its probability or the chance to see it again tomorrow. These are Poisson processes, and they are known to be nasty in this regard. > >> > Fixing the ChangeLog is easy, if > >> > that's the only problem: just swap the entries. > >> No, the problem is delaying the release by having another RC candidate. > > There's no need: we are making a simple change that doesn't require > > another RC, IMO. > > I don't find it simple at all. E.g. it doesn't seem obviously safe > (e.g. what if the X call ends up making a longjmp and hence skipping the > unblocking of sigio? If we fear this, it should be a simple manner to see if Xlib does any longjmp at all. > Low urgency, non-zero risk, I'm surprised you'd even bother to lobby for > inclusion one day before the actual release. That's because I disagree about both the urgency and the risk. Also, should it prove to be a problem, immediately releasing 24.6 with that change reverted is a very simple matter. So I see no reason not to include this patch in 24.5. We have nothing to lose, really. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 10:31:35 2015 Received: (at 19175) by debbugs.gnu.org; 31 Mar 2015 14:31:35 +0000 Received: from localhost ([127.0.0.1]:41333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcxCU-0005BG-VC for submit@debbugs.gnu.org; Tue, 31 Mar 2015 10:31:34 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:36069) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ycwvo-0004lC-Ao for 19175@debbugs.gnu.org; Tue, 31 Mar 2015 10:14:17 -0400 Received: by lbbug6 with SMTP id ug6so13402421lbb.3 for <19175@debbugs.gnu.org>; Tue, 31 Mar 2015 07:14:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=TObspjbJKx1dgBe4NDUE5BqKObkoo2XKZXp2X7M6FtE=; b=YDzStTK2Ggvv/1fu/YoG12/tJZ/I3t1oXyw3Fu026l1uoodi/Q9D+EQXwlbOenYdZ7 hhr9PxphPezu8EKhz+l0ntIdkrBfZEjxIcP7B0dW/7wVic5Nv347BlTAIZfFMATCidUi vOhRYOEqXHehVMsw5Mh4SqrvRrZ5sUAPdM4SV3cdrG0uxRByffXQpDFrkE+TRRhssYLo mEmgOE3ArH+jJZcb7Ko8Iy+rU4uQhr4Rscp1aPoc71+dQ5b66LIb1pjD1SpI4yNWQ7WD LXHqLb5e/oySTiNLqya+7m4Q4mlUIgcINPPajs+GaI8CTI8DBwzVBnz640Pay76FLqHG 6unQ== X-Gm-Message-State: ALoCoQkwCP7ITPeV9d7ltaESL4LImhCKwEdYBVVKbaILVNPVRwtvdXcVTuNCUIzyVl91CI2iGOMj X-Received: by 10.152.5.195 with SMTP id u3mr7385866lau.18.1427811250280; Tue, 31 Mar 2015 07:14:10 -0700 (PDT) Received: from blueberry (ARennes-658-1-28-211.w83-199.abo.wanadoo.fr. [83.199.43.211]) by mx.google.com with ESMTPSA id f7sm2651548lam.17.2015.03.31.07.14.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Mar 2015 07:14:09 -0700 (PDT) References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> <831tk6zgnj.fsf@gnu.org> From: Nicolas Petton To: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw In-reply-to: <831tk6zgnj.fsf@gnu.org> Date: Tue, 31 Mar 2015 16:14:08 +0200 Message-ID: <878ued2r0v.fsf@foretagsplatsen.se> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19175 X-Mailman-Approved-At: Tue, 31 Mar 2015 10:31:29 -0400 Cc: nicolas@petton.fr, jan.h.d@swipnet.se, 19175@debbugs.gnu.org, Stefan Monnier , mb@becroft.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Stefan Monnier >> Date: Mon, 30 Mar 2015 09:58:38 -0400 >> Cc: Nicolas Petton , 19175@debbugs.gnu.org, >> Mario Becroft >>=20 >> I don't think this fix is important enough to delay the release. > > Btw, there's no need to delay the release, just redo the tarball. FWIW, it'd be fine with me to do another RC tomorrow and release on Friday on next Monday. I don't know if adding this commit in the release tomorrow without another RC is ok or not. Cheers, Nico =2D-=20 Nicolas Petton http://nicolas-petton.fr --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJVGquwAAoJECM1h6R8IHkQUZEH+gJPbdLYqNODBUiQCh5j/WUe S0BeSzCqA6KCPvrSjrKBMlHjQjlItAnd1jauoPeKQ8nMdTAXuLO9VFcTkODenOPI WWvOly+0pJrusTV2BldZEK+q6hMS1pS9bnunsJMzHpHFR79pt/iL0EFaDOwplkpz QG3g5CJvngnzqqZIjDxTzHOo4GdrDwNFKooNdkz+/+W+xqstzOrl0ydo1nLDUKa1 5cnloUjYGmLyZVfrIBAW9GXNUYIXwC2gYUyNB0P4GDuoSKVNky0LTyXmpn4v/+a2 d1SUZiU9i6EMYj553RtMP2TtChUUhBG0CmTkPYAwIIMegYYohLli1HnQ5TctKbM= =ANsz -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 17:07:47 2015 Received: (at 19175) by debbugs.gnu.org; 31 Mar 2015 21:07:47 +0000 Received: from localhost ([127.0.0.1]:41462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd3Ny-0007wE-JO for submit@debbugs.gnu.org; Tue, 31 Mar 2015 17:07:47 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:43506) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd3Nv-0007vz-F9 for 19175@debbugs.gnu.org; Tue, 31 Mar 2015 17:07:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCws0EhQYDSSIE6IRjGQJAwECgz4Dg3AEqDs X-IPAS-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCws0EhQYDSSIE6IRjGQJAwECgz4Dg3AEqDs X-IronPort-AV: E=Sophos;i="5.01,1,1400040000"; d="scan'208";a="115083618" Received: from 65-110-216-75.cpe.pppoe.ca (HELO pastel.home) ([65.110.216.75]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 31 Mar 2015 17:07:38 -0400 Received: by pastel.home (Postfix, from userid 20848) id D753A1054; Tue, 31 Mar 2015 17:07:37 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw Message-ID: References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> <83ego6zh4x.fsf@gnu.org> <83siclyjx0.fsf@gnu.org> <83a8yttgb2.fsf@gnu.org> Date: Tue, 31 Mar 2015 17:07:37 -0400 In-Reply-To: <83a8yttgb2.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 31 Mar 2015 17:03:29 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 19175 Cc: nicolas@petton.fr, jan.h.d@swipnet.se, 19175@debbugs.gnu.org, mb@becroft.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > IME, the fact that a bug never happened (or, more accurately, was > never reported) before says nothing at all about its probability or > the chance to see it again tomorrow. These are Poisson processes, and > they are known to be nasty in this regard. It's no guarantee, but there is actually a very strong correlation between the past and the future. > Also, should it prove to be a problem, immediately releasing 24.6 with > that change reverted is a very simple matter. This argument cuts both ways. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 17:08:41 2015 Received: (at 19175) by debbugs.gnu.org; 31 Mar 2015 21:08:41 +0000 Received: from localhost ([127.0.0.1]:41466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd3Or-0007xo-ED for submit@debbugs.gnu.org; Tue, 31 Mar 2015 17:08:41 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:56851) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd3Op-0007xY-TV for 19175@debbugs.gnu.org; Tue, 31 Mar 2015 17:08:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMQCzQSFBgNJIgTohGMHwJDCQECAQKDPgODcASoOw X-IPAS-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMQCzQSFBgNJIgTohGMHwJDCQECAQKDPgODcASoOw X-IronPort-AV: E=Sophos;i="5.01,1,1400040000"; d="scan'208";a="115083692" Received: from 65-110-216-75.cpe.pppoe.ca (HELO pastel.home) ([65.110.216.75]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 31 Mar 2015 17:08:34 -0400 Received: by pastel.home (Postfix, from userid 20848) id 455FB1054; Tue, 31 Mar 2015 17:08:34 -0400 (EDT) From: Stefan Monnier To: Nicolas Petton Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw Message-ID: References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> <831tk6zgnj.fsf@gnu.org> <878ued2r0v.fsf@foretagsplatsen.se> Date: Tue, 31 Mar 2015 17:08:34 -0400 In-Reply-To: <878ued2r0v.fsf@foretagsplatsen.se> (Nicolas Petton's message of "Tue, 31 Mar 2015 16:14:08 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 19175 Cc: Eli Zaretskii , jan.h.d@swipnet.se, 19175@debbugs.gnu.org, nicolas@petton.fr, mb@becroft.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> Btw, there's no need to delay the release, just redo the tarball. > FWIW, it'd be fine with me to do another RC tomorrow and release on > Friday on next Monday. > I don't know if adding this commit in the release tomorrow without > another RC is ok or not. No, let's just go ahead with the release tomorrow as planned. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 22:39:15 2015 Received: (at 19175) by debbugs.gnu.org; 1 Apr 2015 02:39:15 +0000 Received: from localhost ([127.0.0.1]:41556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd8Yl-0007Cu-7X for submit@debbugs.gnu.org; Tue, 31 Mar 2015 22:39:15 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:46254) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd8Yi-0007Cf-CF for 19175@debbugs.gnu.org; Tue, 31 Mar 2015 22:39:13 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NM300100WCVQV00@mtaout26.012.net.il> for 19175@debbugs.gnu.org; Wed, 01 Apr 2015 05:40:12 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NM3002E0WR0XW00@mtaout26.012.net.il>; Wed, 01 Apr 2015 05:40:12 +0300 (IDT) Date: Wed, 01 Apr 2015 05:38:55 +0300 From: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83r3s4shc0.fsf@gnu.org> References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> <83ego6zh4x.fsf@gnu.org> <83siclyjx0.fsf@gnu.org> <83a8yttgb2.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19175 Cc: nicolas@petton.fr, jan.h.d@swipnet.se, 19175@debbugs.gnu.org, mb@becroft.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Cc: jan.h.d@swipnet.se, nicolas@petton.fr, 19175@debbugs.gnu.org, mb@becroft.co.nz > Date: Tue, 31 Mar 2015 17:07:37 -0400 > > > IME, the fact that a bug never happened (or, more accurately, was > > never reported) before says nothing at all about its probability or > > the chance to see it again tomorrow. These are Poisson processes, and > > they are known to be nasty in this regard. > > It's no guarantee, but there is actually a very strong correlation > between the past and the future. No, there isn't, not IME. > > Also, should it prove to be a problem, immediately releasing 24.6 with > > that change reverted is a very simple matter. > > This argument cuts both ways. But with my suggestion, the average gain is higher. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 23:56:01 2015 Received: (at 19175) by debbugs.gnu.org; 1 Apr 2015 03:56:01 +0000 Received: from localhost ([127.0.0.1]:41585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd9l3-0000Wj-AB for submit@debbugs.gnu.org; Tue, 31 Mar 2015 23:56:01 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:10472) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yd9l1-0000WO-Ic for 19175@debbugs.gnu.org; Tue, 31 Mar 2015 23:56:00 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBVhYKAxALNBIUGA0kiBOiEYwMDkoJAQIBAoM+A4NwBKg7 X-IPAS-Result: AgUFAGvvdVRBbthL/2dsb2JhbAA3gVOhb4EIgXUBAQQBVhYKAxALNBIUGA0kiBOiEYwMDkoJAQIBAoM+A4NwBKg7 X-IronPort-AV: E=Sophos;i="5.01,1,1400040000"; d="scan'208";a="115113694" Received: from 65-110-216-75.cpe.pppoe.ca (HELO pastel.home) ([65.110.216.75]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 31 Mar 2015 23:55:53 -0400 Received: by pastel.home (Postfix, from userid 20848) id 726521054; Tue, 31 Mar 2015 23:55:53 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw Message-ID: References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> <87bnjc5v0r.fsf@ak2.becroft.co.nz> <9800C187-E0D5-4431-865C-7CD57D019D6B@swipnet.se> <0ED7DA25-2D98-4C2E-A6A0-90635241EF40@swipnet.se> <83ego6zh4x.fsf@gnu.org> <83siclyjx0.fsf@gnu.org> <83a8yttgb2.fsf@gnu.org> <83r3s4shc0.fsf@gnu.org> Date: Tue, 31 Mar 2015 23:55:53 -0400 In-Reply-To: <83r3s4shc0.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 01 Apr 2015 05:38:55 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 19175 Cc: nicolas@petton.fr, jan.h.d@swipnet.se, 19175@debbugs.gnu.org, mb@becroft.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> > Also, should it prove to be a problem, immediately releasing 24.6 with >> > that change reverted is a very simple matter. >> This argument cuts both ways. > But with my suggestion, the average gain is higher. More importantly, the risk is higher. If you want to have a 24.6 with that fix, go for it, but it shouldn't be in 24.5 because it's too late and not important enough. Stefan From unknown Sat Aug 16 15:54:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 29 Apr 2015 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator