From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#727: compilation-disable-input Date: Thu, 21 Aug 2008 19:30:30 -0400 Message-ID: <874p5edjzd.fsf@cyd.mit.edu> Reply-To: Chong Yidong , 727@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219362477 28480 80.91.229.12 (21 Aug 2008 23:47:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2008 23:47:57 +0000 (UTC) Cc: 727@emacsbugs.donarmstrong.com To: Perry Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 22 01:48:49 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KWJtX-0006wj-EU for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Aug 2008 01:48:47 +0200 Original-Received: from localhost ([127.0.0.1]:46183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWJsZ-0007ft-8E for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Aug 2008 19:47:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWJsM-0007UF-VF for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 19:47:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWJsL-0007TF-Ds for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 19:47:34 -0400 Original-Received: from [199.232.76.173] (port=53322 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWJsL-0007T4-An for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 19:47:33 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43157) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KWJsK-0006zK-9Z for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 19:47:33 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7LNlRUY004579; Thu, 21 Aug 2008 16:47:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7LNZ3ln032611; Thu, 21 Aug 2008 16:35:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 21 Aug 2008 23:35:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 727 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 727-submit@emacsbugs.donarmstrong.com id=B727.121936135430997 (code B ref 727); Thu, 21 Aug 2008 23:35:03 +0000 Original-Received: (at 727) by emacsbugs.donarmstrong.com; 21 Aug 2008 23:29:14 +0000 Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7LNTBFc030991 for <727@emacsbugs.donarmstrong.com>; Thu, 21 Aug 2008 16:29:12 -0700 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 9242A57E2B5; Thu, 21 Aug 2008 19:30:30 -0400 (EDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Thu, 21 Aug 2008 19:47:34 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19621 Archived-At: > I'm not sure what this is intended to do. Sending just one EOF > character to a process creates one EOF if many conditions are met. > But a second read from the same pty will continue to look for input. > > The following code: > (when compilation-disable-input > (condition-case nil > (process-send-eof proc) > ;; The process may have exited already. > (error nil))) > > Causes my grep buffer to start with a ^D (the EOF character that > process-send-eof sends). This goofs up the parsing of the lines. I can't reproduce this (I don't see any ^D character in grep buffers). Could you send a recipe for reproducing this bug, as well as your system specs?