From: Lars Ingebrigtsen <larsi@gnus.org>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: 41784@debbugs.gnu.org
Subject: bug#41784: 26.3; Narrow to prompt (narrow-to-defun fro M-x shell / comint)
Date: Sat, 17 Oct 2020 13:17:14 +0200 [thread overview]
Message-ID: <87zh4lm79h.fsf@gnus.org> (raw)
In-Reply-To: <87sgf3e22t.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Wed, 10 Jun 2020 10:51:06 +0200")
Pierre Neidhardt <mail@ambrevar.xyz> 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
next prev parent reply other threads:[~2020-10-17 11:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-10 8:51 bug#41784: 26.3; Narrow to prompt (narrow-to-defun fro M-x shell / comint) Pierre Neidhardt
2020-10-17 11:17 ` Lars Ingebrigtsen [this message]
2020-10-17 12:09 ` Pierre Neidhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zh4lm79h.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=41784@debbugs.gnu.org \
--cc=mail@ambrevar.xyz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).