all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jim Porter <jporterbugs@gmail.com>
To: Daniel Colascione <dancol@dancol.org>, emacs-devel@gnu.org
Subject: Re: Defuns in comint
Date: Thu, 3 Oct 2024 16:32:14 -0700	[thread overview]
Message-ID: <f2bc927e-5d3b-4601-09ad-0e0d9c7072d8@gmail.com> (raw)
In-Reply-To: <5DF72E31-D02C-4B4D-93A5-A04E7C372EC1@dancol.org>

On 10/3/2024 4:04 PM, Daniel Colascione wrote:
> How would people feel about defining defuns in comint mode as 
> subprocesses outputs? This way, the same navigation keys people already 
> have become more useful in comint mode without breaking anything, 
> because defun navigation in comint is useless today.
> 
> If not defuns, then paragraphs? Sentences? I feel like there should be 
> *some* way of using existing sets of movement and marking commands to 
> talk about outputs, and probably inputs.

You might be interested in lisp/eshell/em-prompt.el, which remaps 
forward/backward-paragraph so that they stop at each empty line *or* prompt.



  reply	other threads:[~2024-10-03 23:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-03 23:04 Defuns in comint Daniel Colascione
2024-10-03 23:32 ` Jim Porter [this message]
2024-10-04  0:03   ` Daniel Colascione
2024-10-04  4:40 ` Yuri Khan
2024-10-04  4:58   ` Daniel Colascione

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f2bc927e-5d3b-4601-09ad-0e0d9c7072d8@gmail.com \
    --to=jporterbugs@gmail.com \
    --cc=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.