From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Slawomir Nowaczyk Newsgroups: gmane.emacs.devel Subject: Re: python-mode: make sure output is not eaten Date: Thu, 31 Aug 2006 13:19:18 +0200 Message-ID: <20060831120732.3AD6.SLAWOMIR.NOWACZYK.847@student.lu.se> References: <20060830212317.3A6F.SLAWOMIR.NOWACZYK.847@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1157023235 27593 80.91.229.2 (31 Aug 2006 11:20:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 31 Aug 2006 11:20:35 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 31 13:20:31 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GIkas-0005bg-PW for ged-emacs-devel@m.gmane.org; Thu, 31 Aug 2006 13:20:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIkas-0003eL-68 for ged-emacs-devel@m.gmane.org; Thu, 31 Aug 2006 07:20:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GIka9-0003Oi-0d for emacs-devel@gnu.org; Thu, 31 Aug 2006 07:19:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GIka5-0003ND-46 for emacs-devel@gnu.org; Thu, 31 Aug 2006 07:19:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIka5-0003N4-0B for emacs-devel@gnu.org; Thu, 31 Aug 2006 07:19:33 -0400 Original-Received: from [130.235.16.11] (helo=himmelsborg.cs.lth.se) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GIkjg-0000yl-Cl for emacs-devel@gnu.org; Thu, 31 Aug 2006 07:29:28 -0400 Original-Received: from [127.0.0.1] (slawek@dain [130.235.16.76]) by himmelsborg.cs.lth.se (8.13.6/8.13.6/perf-jw-tr) with ESMTP id k7VBJPTT002859 for ; Thu, 31 Aug 2006 13:19:30 +0200 (CEST) Original-To: emacs-devel@gnu.org In-Reply-To: X-Esmandil_Citation: done X-Mailer-Plugin: Popup Memopad for Becky!2 Ver.0.02 Rev.2 X-Mailer: Becky! ver. 2.25.02 [en] 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:59155 Archived-At: On Wed, 30 Aug 2006 18:10:33 -0400 Stefan Monnier wrote: #>>>> Agreed. But why is removing "_emacs_out ()" any more selective #>>>> than removing ">>> _emacs_out ()"? #>>> #>>> We're talking about "^_emacs_out " vs "^\\(>>> \\)?_emacs_out": #>>> clearly one of the two regexps describes a superset of the other. #>>> If you can guarantee that it'll always match "^>>> _emacs_out ", #>>> then it's a different question. #> #>> I do not think it is a problem... The following patch seems to work #>> for me: #> #> But in what way is that better? It probably isn't... but it does guarantee I can always match "^>>> _emacs_out" :) #> > #> Also adding the assert to python-send-command did not restrict #> > #> the user in any way, only the python.el hacker. #> #> > Right. Fine, this is probably not important enough to warrant #> > further discussion. #> #> Especially since python-send-command doesn't wait for the command to #> terminate any more, so it doesn't add any `print' any more, whether #> on the same line or on a separate one. Exactly. -- Best wishes, Slawomir Nowaczyk ( slawomir.nowaczyk.847@student.lu.se ) Be nice to other people--they outnumber you six billion to one.