From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii <eliz@gnu.org> Newsgroups: gmane.emacs.bugs Subject: bug#44941: 28.0.50; M-x grep, perhaps all asynch subprocesses Date: Mon, 30 Nov 2020 18:38:03 +0200 Message-ID: <83im9mkdg4.fsf@gnu.org> References: <E1kjFAC-00024e-Qz@fencepost.gnu.org> <83y2ikkwpw.fsf@gnu.org> <E1kjb4w-0000xr-Jo@fencepost.gnu.org> <831rgalum0.fsf@gnu.org> <87a6uyc0dr.fsf@igel.home> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2682"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44941@debbugs.gnu.org, rms@gnu.org To: Andreas Schwab <schwab@linux-m68k.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 30 17:39:13 2020 Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org> 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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>) id 1kjmCn-0000ZY-Ch for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 17:39:13 +0100 Original-Received: from localhost ([::1]:47696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>) id 1kjmCm-0005lI-Cj for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 11:39:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1kjmCc-0005jF-L7 for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 11:39:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1kjmCc-0002w7-Dq for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 11:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1kjmCc-00005T-Bp for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 11:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii <eliz@gnu.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Nov 2020 16:39:02 +0000 Resent-Message-ID: <handler.44941.B44941.160675430632717@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44941 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug unreproducible Original-Received: via spool by 44941-submit@debbugs.gnu.org id=B44941.160675430632717 (code B ref 44941); Mon, 30 Nov 2020 16:39:02 +0000 Original-Received: (at 44941) by debbugs.gnu.org; 30 Nov 2020 16:38:26 +0000 Original-Received: from localhost ([127.0.0.1]:56458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1kjmC1-0008Vd-SC for submit@debbugs.gnu.org; Mon, 30 Nov 2020 11:38:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@gnu.org>) id 1kjmC0-0008VR-DM for 44941@debbugs.gnu.org; Mon, 30 Nov 2020 11:38:24 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59443) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@gnu.org>) id 1kjmBu-0002q0-Kh; Mon, 30 Nov 2020 11:38:18 -0500 Original-Received: from [176.228.60.248] (port=3950 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@gnu.org>) id 1kjmBm-0002G8-9Z; Mon, 30 Nov 2020 11:38:10 -0500 In-Reply-To: <87a6uyc0dr.fsf@igel.home> (message from Andreas Schwab on Mon, 30 Nov 2020 16:47:28 +0100) 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" <bug-gnu-emacs.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs> List-Post: <mailto:bug-gnu-emacs@gnu.org> List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe> Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org> Xref: news.gmane.io gmane.emacs.bugs:194656 Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/194656> > From: Andreas Schwab <schwab@linux-m68k.org> > Cc: rms@gnu.org, 44941@debbugs.gnu.org > Date: Mon, 30 Nov 2020 16:47:28 +0100 > > On Nov 30 2020, Eli Zaretskii wrote: > > >> From: Richard Stallman <rms@gnu.org> > >> Cc: 44941@debbugs.gnu.org > >> Date: Sun, 29 Nov 2020 23:46:22 -0500 > >> > >> Here is the cgrep script: > >> > >> #!/bin/bash > >> > >> grep -a "$@" | cut -c -200 > >> > >> cut seems to be responsible for the problem by buffering output even to a tty. > > > > Sounds like a useful feature to ask Grep developers to add it. > > That feature already exists: stdbuf. I'm not sure I understand: I meant the feature to limit the output lines to a given column count.