From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.0.0.0/16 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.migadu.com (out1.migadu.com [IPv6:2001:41d0:2:863f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 610411F934 for ; Sat, 18 Sep 2021 03:24:01 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1631935436; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xGYj7u5YkfgtADyjckmcLLFJvPhOPX6e6bWMMqfIzCk=; b=xU9z0N9qx0gaFs4HD87Ve2v3xOkXB6YN92pdBNyRhiLg7BdGnaay6Mtk1r52n806fPSAsq scJDzML/4sNIRjgJH537Kx8DWmBC/EHnbQKlx6uIBweeGbbwu9gHcCDvrJPGt7oqdt0mKw dsn8R/ZIDdpnM7py1Ycmpzcs0q6VY514Gara7wfJqx+VltEoiNNC5lMYC/n6V0tLnOoC27 U7AhA5e/hfGVUplmVVgaBizuB86j/oxRxQiU40nm8lzU8C4QvYTPn3yBaQmQZdjwLJUI22 lEWOe7Nu2AsA0N/btaeIoW/aphd5U9oGa6GloSfHCtCpdKfYifiAUYof1uPdJQ== From: Kyle Meyer To: Eric Wong Cc: meta@public-inbox.org Subject: Re: who runs commands from their $EDITOR? In-Reply-To: <20210917084425.GA29575@dcvr> References: <20210917084425.GA29575@dcvr> Date: Fri, 17 Sep 2021 23:23:46 -0400 Message-ID: <87czp6va65.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: kyle@kyleam.com List-Id: Eric Wong writes: > Just wondering, is this a common thing for other *nix users? > It's been second nature to me for decades, now. Even nvi > supports it (not just vim), so it's not new... Feeding text to arbitrary shell commands would feel pretty natural to most Emacs users, I think. This can be done with shell-command-on-region (bound to M-| by default). > Subject: [PATCH] doc: lei-lcat: document --stdin behavior > > This is another feature I've found immensely useful, > but I also wonder if I'm the only one who uses it. This is a nice feature to call out. > diff --git a/Documentation/lei-lcat.pod b/Documentation/lei-lcat.pod > index b7887b6c..ea883e65 100644 > --- a/Documentation/lei-lcat.pod > +++ b/Documentation/lei-lcat.pod > @@ -13,7 +13,7 @@ lei lcat [OPTIONS] (--stdin|-) > lcat (local cat) is a wrapper around L that displays local > messages by Message-ID. It is able to extract Message-IDs from URLs > as well as from common formats such as C$MSGIDE> and > -C. When reading from stdin, input that isn't understood is > +C. When reading from C, input that isn't understood is Fwiw I went in the opposite direction with ee308223 (doc: lei-import: drop markup of "stdin", 2021-02-27), removing the only C in the docs.