From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Defuns in comint Date: Thu, 03 Oct 2024 17:03:10 -0700 Message-ID: <112047E8-DF18-4D43-99FD-CC6687AA9505@dancol.org> References: <5DF72E31-D02C-4B4D-93A5-A04E7C372EC1@dancol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2736"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android To: Jim Porter , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 04 02:04:13 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1swVnp-0000Zz-09 for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Oct 2024 02:04:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swVmu-0000Zb-Ne; Thu, 03 Oct 2024 20:03:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1swVmt-0000ZN-BT for emacs-devel@gnu.org; Thu, 03 Oct 2024 20:03:15 -0400 Original-Received: from dancol.org ([2600:3c01:e000:3d8::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1swVmr-0000Hl-Eg for emacs-devel@gnu.org; Thu, 03 Oct 2024 20:03:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: References:In-Reply-To:Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=XP40o0gagJOI+TXTzKuwKJdDdzQPTM8IIYmH3MRmiOM=; b=AWw7hjO6cvP71oGLmGQjXRsXwo Zp7jrIYTwV5oDP66gLnqEXS3xwj60wQ8BklG8Vt5mbyGwrTxFJuDmTUAG3W+ZiRZoLvRyrpDDGg4E UluV7aGYjYS+I9/F9TbjLRk0yqa4WcuwfU07px3lwBii4waGzUv37M2nmXcDtbw2MbUc/+YCTUueJ 765kIPDoagum9I5VQm8ww4VXUQsw1c+kPegLgS+zzp1qu6GMAguByffTXGlJcQdNBcxZgNPSxnC6M enWZibrTOh06hMuWb87ML3R28cohV+ukDcSdZbuUAJu3FrFvEmZ3ZeJ1Zw1SjNxis3fMrxFX+bGS7 neP70IeA==; Original-Received: from [2600:1010:b06a:1783:0:4b:ab26:f601] (port=57846 helo=[IPv6:::1]) by dancol.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1swVmo-00017N-1Z; Thu, 03 Oct 2024 20:03:11 -0400 In-Reply-To: Received-SPF: pass client-ip=2600:3c01:e000:3d8::1; envelope-from=dancol@dancol.org; helo=dancol.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324296 Archived-At: On October 3, 2024 4:32:14 PM PDT, Jim Porter wr= ote: >On 10/3/2024 4:04 PM, Daniel Colascione wrote: >> How would people feel about defining defuns in comint mode as subproces= ses outputs? This way, the same navigation keys people already have become = more useful in comint mode without breaking anything, because defun navigat= ion in comint is useless today=2E >>=20 >> 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=2E > >You might be interested in lisp/eshell/em-prompt=2Eel, which remaps forwa= rd/backward-paragraph so that they stop at each empty line *or* prompt=2E Sure, but 1) I don't want to stop at paragraph boundaries, and 2) remappin= g movement commands is less powerful and consistent than changing the defin= itions of those movements, which is why we have beginning-of-X-function var= iables=2E