* bug#4542: doc bug in lisp/comint.el
@ 2009-09-24 2:47 ` Devon Sean McCullough
2009-09-25 3:50 ` bug#4542: marked as done (doc bug in lisp/comint.el) Emacs bug Tracking System
0 siblings, 1 reply; 2+ messages in thread
From: Devon Sean McCullough @ 2009-09-24 2:47 UTC (permalink / raw
To: bug-gnu-emacs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#4542: marked as done (doc bug in lisp/comint.el)
2009-09-24 2:47 ` bug#4542: doc bug in lisp/comint.el Devon Sean McCullough
@ 2009-09-25 3:50 ` Emacs bug Tracking System
0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-09-25 3:50 UTC (permalink / raw
To: Chong Yidong
[-- Attachment #1: Type: text/plain, Size: 834 bytes --]
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.)
--
4542: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4542
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 4847 bytes --]
From: Devon Sean McCullough <emacs-hacker@Jovi.Net>
To: bug-gnu-emacs@gnu.org
Subject: doc bug in lisp/comint.el
Date: Wed, 23 Sep 2009 19:47:23 -0700 (PDT)
Message-ID: <200909240247.n8O2lNGq046509@jovi.net>
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
[-- Attachment #3: Type: message/rfc822, Size: 1468 bytes --]
From: Chong Yidong <cyd@stupidchicken.com>
To: Devon Sean McCullough <emacs-hacker@Jovi.Net>
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>
> 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).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-25 3:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87skebit6j.fsf@cyd.mit.edu>
2009-09-24 2:47 ` bug#4542: doc bug in lisp/comint.el Devon Sean McCullough
2009-09-25 3:50 ` bug#4542: marked as done (doc bug in lisp/comint.el) Emacs bug Tracking System
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.