From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: Defuns in comint Date: Thu, 3 Oct 2024 16:32:14 -0700 Message-ID: References: <5DF72E31-D02C-4B4D-93A5-A04E7C372EC1@dancol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10785"; mail-complaints-to="usenet@ciao.gmane.io" To: Daniel Colascione , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 04 01:33:11 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 1swVJn-0002fb-Kf for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Oct 2024 01:33:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swVIx-0004eN-UO; Thu, 03 Oct 2024 19:32:19 -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 1swVIw-0004eF-Iv for emacs-devel@gnu.org; Thu, 03 Oct 2024 19:32:18 -0400 Original-Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1swVIv-0001pV-46 for emacs-devel@gnu.org; Thu, 03 Oct 2024 19:32:18 -0400 Original-Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-71b8d10e9b3so1192546b3a.3 for ; Thu, 03 Oct 2024 16:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727998335; x=1728603135; darn=gnu.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=nDOVG2APp/bI8mhc9tsEX9wRM2T00xvf/6TUu6NnUBc=; b=h5qoVNLSYaCQRJqdiwCI8DAc0EaNv52W9d/JD/eF97XHz55rsCnefqo7LZeq2iTZcH f1BTg/QJUOycWz6JTsZ9ofO890sKFI3HRZFv48AafXPy5TEe4fOI0hYxH9lwkh3yF5wJ uLeKZKPniY++26k4S2rL47TUKrHWydiQapY+ZXq9pZc32G21ju8RcBcjkzPqulJ6SRHG 5PqejCFa0pa6gOtQu6e6NgwA2Y4BshVW+8Af0hkghtjLYwXMYNfKHU33cuPtAoJc7a9m Q9jVlMsxJjoAILreslcY7+9yY1pnT5s1m53WVuJ8o0F8OhlBHdiTSg/KUjYtuW8z0gg1 H8SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727998335; x=1728603135; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nDOVG2APp/bI8mhc9tsEX9wRM2T00xvf/6TUu6NnUBc=; b=EKbBxTzW9cRe2bT7IiKWj7c1FTUpNYGz+xr9wlf1KuNoxGJx8GV01Q5j7IXKORGHD8 mXEuRPtiMBWXDXC0x7DcSfjRiidoQup0qkGSFEsDLtjuSE/vhaC4DhL3IUYrZBMDIyGv 1F9xXcsctlH8Qx+14PBSe+2mxTLdfmfDIxlfp0TCrCgXNCKz9tcTPV/hLszxZC8NxUqT vn7IRJ+oaHmwnMv3yzpVtuRaf7zG/f/vDaT1YdF+fVDMaV/N0jbsPljM7SThdBcnhO9r BBRK+E6P+K6q2puqFpfKkb7cZ1qlYbn7Zd69x2BEvBQWFr1p9Y3fWNYJVwaGzm4tTMun gPpw== X-Forwarded-Encrypted: i=1; AJvYcCVkUexPi2PsxlJ3EUmCmMQesnaLsXyWqf5Wm1T3u22AYOZhj7c14bnGANEI6JIKGjHOUaB/IS14Ivt3wg==@gnu.org X-Gm-Message-State: AOJu0Yz0ek+iUQATm/SzZTEoVmPqdlF5oqtuR3Jh2TobixRhHlY3vkpb DQpSxMsGV8rluyiST16pxNNVk6dH2yIWcFx/hz18lrfpEh7ROXo2 X-Google-Smtp-Source: AGHT+IHkKkLxcnjU/MGa3/jxugo1b4r+vCk41t72rt9lt05dGupmCj5vPv1PwWx2IXl/L8OOz1Ghzw== X-Received: by 2002:a05:6a21:1709:b0:1cf:3245:5227 with SMTP id adf61e73a8af0-1d6dfaef205mr1139328637.46.1727998335476; Thu, 03 Oct 2024 16:32:15 -0700 (PDT) Original-Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e9dcb0117dsm1296548a12.32.2024.10.03.16.32.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Oct 2024 16:32:15 -0700 (PDT) Content-Language: en-US In-Reply-To: <5DF72E31-D02C-4B4D-93A5-A04E7C372EC1@dancol.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=jporterbugs@gmail.com; helo=mail-pf1-x42b.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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:324293 Archived-At: 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.