From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; ^D inserted into network streams Date: Mon, 24 Dec 2007 14:56:12 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <871wa56w75.fsf@freemail.hu> 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 1198475801 6557 80.91.229.12 (24 Dec 2007 05:56:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Dec 2007 05:56:41 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Magnus Henoch , Miles Bader To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 24 06:56:53 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 1J6gIx-0006Tz-CR for ged-emacs-devel@m.gmane.org; Mon, 24 Dec 2007 06:56:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J6gId-0005st-36 for ged-emacs-devel@m.gmane.org; Mon, 24 Dec 2007 00:56:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J6gIY-0005so-1T for emacs-devel@gnu.org; Mon, 24 Dec 2007 00:56:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J6gIV-0005sV-Bu for emacs-devel@gnu.org; Mon, 24 Dec 2007 00:56:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J6gIU-0005sS-W4 for emacs-devel@gnu.org; Mon, 24 Dec 2007 00:56:19 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J6gIU-0006hl-KB for emacs-devel@gnu.org; Mon, 24 Dec 2007 00:56:18 -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 1J6gIU-0000Cg-9s for emacs-pretest-bug@gnu.org; Mon, 24 Dec 2007 00:56:18 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1J6gIR-0006hR-2Q for emacs-pretest-bug@gnu.org; Mon, 24 Dec 2007 00:56:18 -0500 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J6gIQ-0006hJ-GF; Mon, 24 Dec 2007 00:56:14 -0500 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 57D9C2C46; Mon, 24 Dec 2007 14:56:12 +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/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: by monty-python.gnu.org: NetBSD 3.0 (DF) 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:85425 gmane.emacs.pretest.bugs:20474 Archived-At: >>>>> On Mon, 03 Dec 2007 01:10:56 -0500, Richard Stallman said: > I think this is a feature that was designed to get out of a state > where a subprocess is waiting for a line of input and the kernel > won't give it any input until it gets a whole line from Emacs. > I do not know if that problem can still occur in modern systems. > Your patch looks correct to me. I installed it in Emacs 22. > Thanks. I've just changed the initialization value from 0 to Qnil in the EMACS_22_BASE branch, because the `pty_flag' member in Emacs 22 is not a bit field as in Emacs 23, but a Lisp object. Miles, please do not propagate the following change to the trunk at the merger next time. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp --- process.c 2007/12/03 00:40:41 1.512.2.8 +++ process.c 2007/12/24 05:25:42 1.512.2.9 @@ -626,7 +626,7 @@ XSETFASTINT (p->tick, 0); XSETFASTINT (p->update_tick, 0); p->pid = 0; - p->pty_flag = 0; + p->pty_flag = Qnil; p->raw_status_new = 0; p->status = Qrun; p->mark = Fmake_marker ();