From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4542: marked as done (doc bug in lisp/comint.el) Date: Fri, 25 Sep 2009 03:50:06 +0000 Message-ID: References: <87skebit6j.fsf@cyd.mit.edu> <200909240247.n8O2lNGq046509@jovi.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1253850606-25340-0" X-Trace: ger.gmane.org 1253851658 17613 80.91.229.12 (25 Sep 2009 04:07:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Sep 2009 04:07:38 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 25 06:07:31 2009 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 1Mr25h-0005kn-QD for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Sep 2009 06:07:31 +0200 Original-Received: from localhost ([127.0.0.1]:49217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mr25g-0008Vl-Uo for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Sep 2009 00:07:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mr25S-0008JA-SQ for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2009 00:07:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mr25O-0008BB-0o for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2009 00:07:14 -0400 Original-Received: from [199.232.76.173] (port=43476 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mr25N-0008B2-Rr for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2009 00:07:09 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53173) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mr25N-0001cZ-4d for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2009 00:07:09 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8P4747h028697; Thu, 24 Sep 2009 21:07:05 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8P3o71b025373; Thu, 24 Sep 2009 20:50:07 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4542 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:31489 Archived-At: This is a multi-part message in MIME format... ------------=_1253850606-25340-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 24 Sep 2009 23:45:08 -0400 with message-id <87skebit6j.fsf@cyd.mit.edu> and subject line Re: doc bug in lisp/comint.el has caused the Emacs bug report #4542, regarding doc bug in lisp/comint.el to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4542: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4542 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1253850606-25340-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 24 Sep 2009 03:16:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=AWL,FOURLA,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8O3GSUb019687 for ; Wed, 23 Sep 2009 20:16:30 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mqeom-0002H5-Dw for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 23:16:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mqeoi-0002GV-UL for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 23:16:28 -0400 Received: from [199.232.76.173] (port=59367 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mqeoi-0002GS-Pn for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 23:16:24 -0400 Received: from jovi.net ([66.161.136.54]:1290) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mqeoh-0005CL-1o for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 23:16:24 -0400 Received: from jovi.net (localhost [127.0.0.1]) by jovi.net (8.14.1/8.14.1) with ESMTP id n8O2loj5046527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Sep 2009 22:47:50 -0400 (EDT) (envelope-from Devon@Jovi.Net) Received: (from devon@localhost) by jovi.net (8.14.1/8.14.1/Submit) id n8O2lNGq046509; Wed, 23 Sep 2009 19:47:23 -0700 (PDT) (envelope-from Devon@Jovi.Net) Date: Wed, 23 Sep 2009 19:47:23 -0700 (PDT) Message-Id: <200909240247.n8O2lNGq046509@jovi.net> X-Authentication-Warning: jovi.net: devon set sender to Devon@Jovi.Net using -f From: Devon Sean McCullough To: bug-gnu-emacs@gnu.org Subject: doc bug in lisp/comint.el Received-SPF: Pass (client IP white listed); receiver=localhost; client-ip=127.0.0.1; envelope-from= Received-SPF: Pass (client IP white listed); receiver=localhost; client-ip=127.0.0.1; helo= X-DCC-dcc.uncw.edu-Metrics: grant.org 1201; Body=2 Fuz1=2 Fuz2=2 X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 Three lines in comint.el read like a hilarious game of "telephone" ... STARTFILE is the name of a file to send the contents of to the process. STARTFILE is the name of a file to send the contents of the process to. Runs the given COMMAND with SWITCHES with output to STARTFILE. ... going from confusing to incoherent to false. Patch follows. Peace --Devon /~\ \ / Health Care X not warfare / \ --- comint.el.~1.392.~ 2009-08-30 15:24:05.000000000 -0700 +++ comint.el 2009-09-23 18:01:50.000000000 -0700 @@ -686,7 +686,7 @@ via `start-file-process', or a cons pair of the form (HOST . SERVICE) denoting a TCP connection to be opened via `open-network-stream'. If there is already a running process in that buffer, it is not restarted. Optional fourth arg -STARTFILE is the name of a file to send the contents of to the process. +STARTFILE names a file of initial input to send to the process. If PROGRAM is a string, any more args are arguments to PROGRAM." (or (fboundp 'start-file-process) @@ -709,7 +709,7 @@ via `start-file-process', or a cons pair of the form (HOST . SERVICE) denoting a TCP connection to be opened via `open-network-stream'. If there is already a running process in that buffer, it is not restarted. Optional third arg -STARTFILE is the name of a file to send the contents of the process to. +STARTFILE names a file of initial input to send to the process. If PROGRAM is a string, any more args are arguments to PROGRAM." (apply #'make-comint-in-buffer name nil program startfile switches)) @@ -728,7 +728,7 @@ (defun comint-exec (buffer name command startfile switches) "Start up a process named NAME in buffer BUFFER for Comint modes. -Runs the given COMMAND with SWITCHES with output to STARTFILE. +Runs the given COMMAND with SWITCHES and initial input from STARTFILE. Blasts any old process running in the buffer. Doesn't set the buffer mode. You can use this to cheaply run a series of processes in the same Comint buffer. The hook `comint-exec-hook' is run after each exec." @@ -746,7 +746,7 @@ ;; Jump to the end, and set the process mark. (goto-char (point-max)) (set-marker (process-mark proc) (point)) - ;; Feed it the startfile. + ;; First feed it from startfile. (cond (startfile ;;This is guaranteed to wait long enough ;;but has bad results if the comint does not prompt at all ------------=_1253850606-25340-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4542-done) by emacsbugs.donarmstrong.com; 25 Sep 2009 03:43:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.6 required=4.0 tests=AWL,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8P3hUCt024452 for <4542-done@emacsbugs.donarmstrong.com>; Thu, 24 Sep 2009 20:43:31 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 45B4757E266; Thu, 24 Sep 2009 23:45:08 -0400 (EDT) From: Chong Yidong To: Devon Sean McCullough Cc: 4542-done@emacsbugs.donarmstrong.com Subject: Re: doc bug in lisp/comint.el Date: Thu, 24 Sep 2009 23:45:08 -0400 Message-ID: <87skebit6j.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Three lines in comint.el read like a hilarious game of "telephone" ... > > STARTFILE is the name of a file to send the contents of to the process. > STARTFILE is the name of a file to send the contents of the process to. > Runs the given COMMAND with SWITCHES with output to STARTFILE. > > ... going from confusing to incoherent to false. Patch follows. Thanks. I've checked it in (with minor tweaks). ------------=_1253850606-25340-0--