From: Daniel Colascione <dancol@dancol.org>
To: Jim Porter <jporterbugs@gmail.com>, emacs-devel@gnu.org
Subject: Re: Defuns in comint
Date: Thu, 03 Oct 2024 17:03:10 -0700 [thread overview]
Message-ID: <112047E8-DF18-4D43-99FD-CC6687AA9505@dancol.org> (raw)
In-Reply-To: <f2bc927e-5d3b-4601-09ad-0e0d9c7072d8@gmail.com>
On October 3, 2024 4:32:14 PM PDT, Jim Porter <jporterbugs@gmail.com> wrote:
>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.
Sure, but 1) I don't want to stop at paragraph boundaries, and 2) remapping movement commands is less powerful and consistent than changing the definitions of those movements, which is why we have beginning-of-X-function variables.
next prev parent reply other threads:[~2024-10-04 0:03 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
2024-10-04 0:03 ` Daniel Colascione [this message]
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=112047E8-DF18-4D43-99FD-CC6687AA9505@dancol.org \
--to=dancol@dancol.org \
--cc=emacs-devel@gnu.org \
--cc=jporterbugs@gmail.com \
/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.