From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: C-g doesn't quit (while t) on Solaris 8 Date: Tue, 28 Apr 2009 13:08:40 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1240891745 3824 80.91.229.12 (28 Apr 2009 04:09:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2009 04:09:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 28 06:08:56 2009 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 1Lyeco-0000oT-JH for ged-emacs-devel@m.gmane.org; Tue, 28 Apr 2009 06:08:54 +0200 Original-Received: from localhost ([127.0.0.1]:35039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lyecn-0007v1-QV for ged-emacs-devel@m.gmane.org; Tue, 28 Apr 2009 00:08:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lyecj-0007tF-0p for emacs-devel@gnu.org; Tue, 28 Apr 2009 00:08:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lyece-0007qO-FP for emacs-devel@gnu.org; Tue, 28 Apr 2009 00:08:48 -0400 Original-Received: from [199.232.76.173] (port=53852 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lyece-0007qI-BU for emacs-devel@gnu.org; Tue, 28 Apr 2009 00:08:44 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:52519) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lyecd-0006Gf-R3 for emacs-devel@gnu.org; Tue, 28 Apr 2009 00:08:44 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id CF1182C43; Tue, 28 Apr 2009 13:08:41 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by monty-python.gnu.org: NetBSD 3.0 (DF) 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:110505 Archived-At: >>>>> On Mon, 27 Apr 2009 23:06:55 -0400, Stefan Monnier said: >> In Emacs 22, the call to start_polling doesn't do anything at the >> dump stage because read_socket_hook is not set yet. But In Emacs >> 23, it starts a timer even at the dump stage and sets the variable >> poll_timer to non-NULL, and that prevents the dumped executable >> from setting an effective poll_timer (line 2264). >> Perhaps we should suppress the call to start_polling at the dump >> stage? > It's generally preferable (tho not always possible, of course) to > avoid differences between pre-dump and post-dump execution. So > maybe a better option is to set poll_timer back to NULL just before > dumping. The same principle may hold between pre-dump and post-dump but before kill-emacs. How about setting poll_timer to NULL before calling start_polling in init_keyboard? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp