From: Jeff King Date: Tue, 22 Nov 2022 18:23:58 GMT Subject: Re: [PATCH v3 1/2] git-jump: add an optional argument '--stdout' Message-ID: In-Reply-To: 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