bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in comint


From: Rodney Sparapani
Subject: Bug in comint
Date: Tue, 6 Nov 2001 11:28:54 -0600 (CST)

Hi.  A comint bug was introduced between 21.0.105 and 21.1 (actually it first 
appears in 21.0.106).  A conditional insert is converted to an unconditional 
insert.  Here's what the documentation says:

If variable `comint-process-echoes' is nil,
a terminal newline is also inserted into the buffer and sent to the process
(if it is non-nil, all text from the process mark to point is deleted,
since it is assumed the remote process will re-echo it)

In other words, the documentation is written for the conditional insert.  
Somebody must have made a mistake when they were packaging.  Please revert 
comint for 21.2 and keep me posted as it breaks ESS 5.1.19.  Thanks.

>
>*** /tmp/emacs-21.0.105/comint.el      Mon Oct  1 13:12:18 2001
>--- /tmp/emacs-21.0.106/comint.el      Mon Oct  1 13:12:18 2001
>***************
>*** 1421,1429 ****
>                           (delete-region pmark start)
>                           copy))))
>  
>!        (if comint-process-echoes
>!            (delete-region pmark (point))
>!          (insert ?\n))
>  
>         (comint-add-to-input-history history)
>  
>--- 1422,1428 ----
>                           (delete-region pmark start)
>                           copy))))
>  
>!        (insert ?\n)
>  
>         (comint-add-to-input-history history)
>         

Rodney Sparapani              Medical College of Wisconsin
Sr. Biostatistician           Patient Care & Outcomes Research (PCOR)
address@hidden              http://www.mcw.edu/pcor
Was 'Name That Tune' rigged?  WWLD -- What Would Lombardi Do




reply via email to

[Prev in Thread] Current Thread [Next in Thread]