GNU bug report logs -
#4542
doc bug in lisp/comint.el
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4542 in the body.
You can then email your comments to 4542 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4542
; Package
emacs
.
(Thu, 24 Sep 2009 03:25:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Devon Sean McCullough <emacs-hacker <at> Jovi.Net>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 24 Sep 2009 03:25:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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
Reply sent
to
Chong Yidong <cyd <at> stupidchicken.com>
:
You have taken responsibility.
(Fri, 25 Sep 2009 03:50:06 GMT)
Full text and
rfc822 format available.
Notification sent
to
Devon Sean McCullough <emacs-hacker <at> Jovi.Net>
:
bug acknowledged by developer.
(Fri, 25 Sep 2009 03:50:07 GMT)
Full text and
rfc822 format available.
Message #10 received at 4542-done <at> emacsbugs.donarmstrong.com (full text, mbox):
> 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).
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Fri, 23 Oct 2009 14:24:13 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 295 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.