From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60244: 27.1; term-line-mode works poorly with git progress rewriting Date: Mon, 09 Jan 2023 19:27:05 +0100 Message-ID: <87eds3a7ie.fsf@miha-pc> References: <26518-1671655038-943352@sneakemail.com> <26909-1671659920-451215@sneakemail.com> <83cz8c9b7t.fsf@gnu.org> <87ili07sly.fsf@miha-pc> <19422-1673285626-849750@sneakemail.com> Reply-To: miha@kamnitnik.top Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25254"; mail-complaints-to="usenet@ciao.gmane.io" To: Michael Hoffman , 60244@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 09 19:25:23 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pEwpl-0006M1-T0 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Jan 2023 19:25:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEwpW-0004aP-1B; Mon, 09 Jan 2023 13:25:06 -0500 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 1pEwpS-0004aB-MC for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 13:25:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEwpS-00027m-EM for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 13:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEwpS-0005U4-6I for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 13:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: miha@kamnitnik.top Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jan 2023 18:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60244 X-GNU-PR-Package: emacs Original-Received: via spool by 60244-submit@debbugs.gnu.org id=B60244.167328867221037 (code B ref 60244); Mon, 09 Jan 2023 18:25:02 +0000 Original-Received: (at 60244) by debbugs.gnu.org; 9 Jan 2023 18:24:32 +0000 Original-Received: from localhost ([127.0.0.1]:38141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEwoy-0005TC-9u for submit@debbugs.gnu.org; Mon, 09 Jan 2023 13:24:32 -0500 Original-Received: from kamnitnik.top ([209.250.245.214]:44494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEwov-0005T1-Td for 60244@debbugs.gnu.org; Mon, 09 Jan 2023 13:24:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1673288665; bh=Asj/v0UYS/LIpPkAksMnZuERLXKvv5JhBHHWzqk/xn0=; h=From:To:Subject:In-Reply-To:References:Date:From; b=cTxivVueO4xH2bW0nefenCk8SowVNAkqozcqMzxpVKUJtUa2II+sl1dwhN/tACopb qtxQxjSZ1dMPUJHhWEyxmAPXoqXn9ljRJcOHd6Cik8wSAgG+HIF04olXBRnEcMYF6d 4luVxokzRgM/PXD7HQ34yQ3djQmTzLC+Ci9dG0utHe1zJzzRW6OvIHuSsPi/4N/Bwo XNBxG6u+UIYIHGqXHzw/ZwmxXjLzzmKargSgfOGzuaFYWabFq1D/hl8biGMXUhNEHo bU845II0vY1qOTJptjQnfLmjabRRKAIRukaSUgAnFc+PWkpDUFQ/sXzdOcWvW++89K 594hvY7WpBBTA== In-Reply-To: <19422-1673285626-849750@sneakemail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:253040 Archived-At: --=-=-= Content-Type: text/plain "Michael Hoffman" writes: > Thanks so much for looking into this. > > On Sat, Dec 24, 2022 at 10:01 AM miha wrote: > > Two possible ideas to solve this: > > - Introduce a new marker to separate user input from process output. > > - Use text properties to distinguish user input from process output. > This is what comint.el does, it marks process output with 'field' = > 'output'. > > Is one of these options preferred? The second idea sounds more robust, and also it is nice that the example of comint.el > exists for it. But perhaps I am naive about what they require. I prefer the second option. While it is probably more work to implement than the first one, it opens up possibilities of more robust input navigation and multi-line input editing in term-line-mode, just like in comint.el with 'comint-use-prompt-regexp' = nil. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmO8XHkTHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP2ghD/0c62prW59vZhAxoogm+hycTDaGcEuI tCDS90VQzBRwzE8AnLWh4bRQrBXJp+dLQBSmUbSwtDuWIIMvC3XAT9e+3mdgHSFP futu3tG+ppPITYG8Ya2n/HEs4DfQhNZoC79VQ60fpNzanSmM00M+JUmsySjJQVuU p0hV3urQbwWqumFCxJwmLZXnRxo6NA7E739hs4qn6YwxnueQjx0KPQ/yTmZaO6D8 ZN0a5MxU4MrKx+D7CUGJSUebFnl65X+dZkTBSckKVkhaJMvvUIt03O/tK8FSmzxK zir8zFqRgQgV8VO9pYaHzZyFAx93qUKXJJMRcU+qd/8uHPQNkp4seSciwjeMRMT/ xxn0kWo7q6ZfH8HqJ9RIpeQtNgYDazDnVfCqNRjdAbkKyE1zwAjkdgcrGf2U9p9j 6ulaJmGL/z2iVM+/P6de9i0WyvRD93NNsV/9c8vHfeKfdPq1erU4su076IwVfbw/ 2117RpdXqxK3yq68I5FlmUrj8vrPJq+v5GyGBWai/wKoej6ZboAZ9GSaNUHATwV5 1gMFuTpvOm2LKzG64ORLkdRjGSD3w5wR0p/ohXSa+YAoHrbT+Xb7hwmA9VujQHlH YS8LBfWfZ8jt0Wr2FZsbnL/zgsBOz/G3M0TE+bW411hjmZpD5cK/Iy/W8X4XCfD6 oiDzK20SrrfMwA== =0ASX -----END PGP SIGNATURE----- --=-=-=--