GNU bug report logs - #26229
shell-mode: input echo suppression doesn't work for 'fish' shell

Previous Next

Package: emacs;

Reported by: Manuel Uberti <manuel.uberti <at> inventati.org>

Date: Thu, 23 Mar 2017 20:25:02 UTC

Severity: minor

Found in version 26.0.50

Full log


Message #14 received at 26229 <at> debbugs.gnu.org (full text, mbox):

From: John Mastro <john.b.mastro <at> gmail.com>
To: 26229 <at> debbugs.gnu.org, Manuel Uberti <manuel.uberti <at> inventati.org>
Subject: Re: bug#26229: 26.0.50; shell-mode: turning off input echoing
Date: Fri, 24 Mar 2017 10:49:05 -0700
Hi Manuel,

Manuel Uberti <manuel.uberti <at> inventati.org> wrote:
> thanks for the quick reply. I'm afraid your solution doesn't fix
> the problem for me. Could it depend on the shell I'm using? I'm using
> the Fish shell.

I haven't used fish before but I don't think it should be a problem.

I tried to reproduce the problem in Emacs 26.0.50 (commit 211d41a) with
fish 2.3.1 on Fedora 25 but it worked correctly for me.

I started emacs with "emacs -Q", then pasted the following into the
*scratch* buffer and evaluated it:

    (setq explicit-shell-file-name (executable-find "fish"))

    (defun my-init-shell-mode ()
      (setq comint-process-echoes t))

    (with-eval-after-load 'shell
      (add-hook 'shell-mode-hook #'my-init-shell-mode))

I then invoked `M-x shell', confirmed I was using fish, and typed a few
commands, none of which echoed the command.

Just to be sure, perhaps it's worth trying again, and confirm that the
value of `comint-process-echoes' is t in the shell buffer? You can check
it's value by invoking `M-: comint-process-echoes RET' while the shell
buffer is current.

        John




This bug report was last modified 8 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.