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.6.0.0/16 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 86C9A1F910 for ; Tue, 22 Nov 2022 18:24:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234415AbiKVSYC (ORCPT ); Tue, 22 Nov 2022 13:24:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232021AbiKVSYB (ORCPT ); Tue, 22 Nov 2022 13:24:01 -0500 Received: from cloud.peff.net (cloud.peff.net [104.130.231.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33F3920F4E for ; Tue, 22 Nov 2022 10:24:00 -0800 (PST) Received: (qmail 18731 invoked by uid 109); 22 Nov 2022 18:23:59 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with ESMTP; Tue, 22 Nov 2022 18:23:59 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 5440 invoked by uid 111); 22 Nov 2022 18:23:59 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Tue, 22 Nov 2022 13:23:59 -0500 Authentication-Results: peff.net; auth=none Date: Tue, 22 Nov 2022 13:23:58 -0500 From: Jeff King To: Yoichi Nakayama Cc: Junio C Hamano , Yoichi Nakayama via GitGitGadget , git@vger.kernel.org Subject: Re: [PATCH v3 1/2] git-jump: add an optional argument '--stdout' Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Tue, Nov 22, 2022 at 10:00:45PM +0900, Yoichi Nakayama wrote: > > "M-x grepgit jump --stdout diff" is what I would have > > written on the second line instead of "Run grep (like this)...". > > I think Junio's suggestion of "M-x grepgit jump --stdout diff" > is concise and understandable to most Emacs users, so I'd like to adopt it. > > Below are the details of what I thought: > > By M-x grep, Emacs displays > Run grep (like this): grep --color=auto -nH --null -e > where > - "Run grep (like this): " is a prompt (like "$ " in bash). > - "grep --color=auto -nH --null -e " is a part of search command (missing > keyword part). We can supply "keyword" to execute the search. > We can also remove the whole command and replace it with the command > like "git jump --stdout diff". Ah, OK. I am happy with anything that emacs users will understand, and I trust the two of you to come up with something there. :) -Peff