GNU bug report logs -
#33115
27.0.50; Add error-handling for comint-strip-ctrl-m
Previous Next
Reported by: Live System User <nyc4bos <at> aol.com>
Date: Mon, 22 Oct 2018 02:56:02 UTC
Severity: wishlist
Tags: fixed
Found in version 27.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Live System User <nyc4bos <at> aol.com>
> Date: Sun, 21 Oct 2018 22:51:46 -0400
>
> Please consider adding additional error-handling for
> `comint-strip-ctrl-m'.
>
> Amongst other things, I set the following hook:
>
>
> (add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)
>
>
> In my setup (i.e. NOT emacs -Q) I get the following
> error when exiting a *shell* process:
>
>
> Debugger entered--Lisp error: (wrong-type-argument processp nil)
> process-mark(nil)
> comint-strip-ctrl-m("")
> run-hook-with-args(comint-strip-ctrl-m "")
> comint-send-input()
> funcall-interactively(comint-send-input)
> call-interactively(comint-send-input nil nil)
> command-execute(comint-send-input)
Since this function is also an interactive command, I think it should
only silently do nothing when invoked non-interactively.
Interactively, invoking it on a process that was deleted should signal
an error.
This bug report was last modified 4 years and 110 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.