From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; OSX: isatty Date: Sat, 17 Nov 2007 16:27:01 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195313681 719 80.91.229.12 (17 Nov 2007 15:34:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2007 15:34:41 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 17 16:34:46 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ItPgz-0006qI-QC for ged-emacs-devel@m.gmane.org; Sat, 17 Nov 2007 16:34:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItPgm-0008Sg-Nn for ged-emacs-devel@m.gmane.org; Sat, 17 Nov 2007 10:34:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ItPgg-0008P7-Ld for emacs-devel@gnu.org; Sat, 17 Nov 2007 10:34:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ItPge-0008Na-TP for emacs-devel@gnu.org; Sat, 17 Nov 2007 10:34:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItPge-0008N9-Cs for emacs-devel@gnu.org; Sat, 17 Nov 2007 10:34:24 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ItPge-0004kr-1E for emacs-devel@gnu.org; Sat, 17 Nov 2007 10:34:24 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ItPgd-00074N-CC for emacs-pretest-bug@gnu.org; Sat, 17 Nov 2007 10:34:23 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1ItPgZ-0004hV-5a for emacs-pretest-bug@gnu.org; Sat, 17 Nov 2007 10:34:22 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1ItPgY-0004hK-OG for emacs-pretest-bug@gnu.org; Sat, 17 Nov 2007 10:34:19 -0500 Original-Received: (qmail invoked by alias); 17 Nov 2007 15:34:17 -0000 Original-Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp046) with SMTP; 17 Nov 2007 16:34:17 +0100 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX19+IHkn7BB+sLBGFVFvYRqTyG+F4HJEx6M3qjcxXt x4c4JRk4Z/nVLG In-Reply-To: (Stefan Monnier's message of "Fri\, 16 Nov 2007 23\:26\:40 -0500") X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83448 gmane.emacs.pretest.bugs:20299 Archived-At: Stefan Monnier writes: > figure where this is coming from. For completeness, this is the relevant commit: commit 6c194ef1b42ba72670dbfaa82b7eacffbf22e2d4 Author: Karoly Lorentey Date: Mon Mar 29 12:05:03 2004 +0000 Fix initialization order at bootstrap (Dan Nicolaescu). src/emacs.c (main): Call init_process before init_display to prevent losing the keyboard on stdin (reported by Dan Nicolaescu). git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-128 diff --git a/src/emacs.c b/src/emacs.c index 43d2f85..1c7d595 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1578,6 +1578,7 @@ main (argc, argv #endif /* end #ifdef HAVE_NTGUI */ } + init_process (); /* init_display uses add_keyboard_wait_descriptor. */ #ifndef MAC_OS8 /* Called before init_window_once for Mac OS Classic. */ init_keyboard (); /* This too must precede init_sys_modes. */ @@ -1604,7 +1605,6 @@ main (argc, argv #ifdef VMS init_vmsfns (); #endif /* VMS */ - init_process (); #ifdef HAVE_SOUND init_sound (); #endif