Subject: Re: bug#73527: 30.0.90; Comint rebinds C-d

From: Augusto Stoffel <[email-masked]>
Date: Sat, 05 Oct 2024 16:32:31 +0200

On Sun, 29 Sep 2024 at 19:08, Juri Linkov wrote:

> It would be nice to make such filter customizable.
>
> For example, currently I have to use:
>
>   (define-key shell-mode-map "\C-d" 'my-shell-c-d)
>   (defun my-shell-c-d (&optional arg)
> [...]

Good point.  How about replacing (delete-char arg) in
comint-delchar-or-maybe-eof with

  (call-interactively
    (lookup-key global-map <something appropriate>))

Not sure this could be made to work reliably.