Subject: bug#26229: 26.0.50; shell-mode: turning off input echoing

From: [email-masked]
Date: Sat, 25 Mar 2017 14:13:03 -0400

Manuel Uberti <[email-masked]> writes:

> I just did the same in "emacs -Q", have a look at the screenshot.
>
> Still doesn't work for me.

It looks like you have 'ls' set to some alias and fish is outputting its
definition?  Perhaps comint-process-echoes doesn't apply because it's
not an exact echo?  See also
https://github.com/fish-shell/fish-shell/issues/1913.

        (when (and comint-process-echoes (not artificial))
          ...
            (if (and
                 (<= (+ comint-last-input-end echo-len)
                     (point-max))
                 (zerop
                  (compare-buffer-substrings
                   nil comint-last-input-start comint-last-input-end
                   nil comint-last-input-end
                   (+ comint-last-input-end echo-len))))