Re: [PATCH v3 1/2] git-jump: add an optional argument '--stdout'
- From
Jeff King <peff@peff.net>
- Date
- Nov 22, 2022, 18:23 UTC
- Message-ID
- <Y30TvhkfBeUkoIVk@coredump.intra.peff.net>
- In-Reply-To
- <CAF5D8-uQ633azqUfCv0vyQzFUaQdDhOwzEc8GOGnFrgmh-c9pQ@mail.gmail.com>
On Tue, Nov 22, 2022 at 10:00:45PM +0900, Yoichi Nakayama wrote:
Show 16 quoted lines
> > "M-x grep<RET>git jump --stdout diff<RET>" is what I would have > > written on the second line instead of "Run grep (like this)...". > > I think Junio's suggestion of "M-x grep<RET>git jump --stdout diff<RET>" > 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<RET>, 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<RET>" 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