Subject: bug#41784: 26.3; Narrow to prompt (narrow-to-defun fro M-x shell / comint)

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 17 Oct 2020 13:17:14 +0200

Pierre Neidhardt <[email-masked]> writes:

> I like the narrow-to-defun command and I miss it for comint-mode / M-x shell.
> Besides, I found it quite hard to reliably parse prompts, especially
> multiline prompt.

Looks good to me, so I've added the functions to Emacs 28 (with some
minor changes).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no