Re: [PATCH v4 2/2] git-jump: invoke emacs/emacsclient
- From
Yoichi Nakayama <yoichi.nakayama@gmail.com>
- Date
- Nov 25, 2022, 03:46 UTC
- Message-ID
- <CAF5D8-ufUcCfQYMTTRwD07p7+37OBC4zkiWmAa5n1P5pL9EtOQ@mail.gmail.com>
- In-Reply-To
- <Y3+b80Vb2/6lKQ40@coredump.intra.peff.net>
On Fri, Nov 25, 2022 at 1:29 AM Jeff King <peff@peff.net> wrote:
Show 8 quoted lines
> Those are the three tricks I sent in the earlier email (though looking > at it again, I think the single-quote bits need to come first, so their > backslashes are then quoted to protect against emacs evaluation). > > It's all quite confusing, which is why I am OK with just skipping it for > now. ;) The nice thing, though, is that doing the quoting right means > it's safe to get rid of the "cat", which solves your race problems in a > more direct and robust way.
Thank you for taking the time to explain the details. I don't fully understand it yet, but I know it's hard to deal with properly.
In PATCH v7, I made it the same level as the vim version (although it is not strictly at the same level because there is a Emacs Lisp processing). I skip futher treatment of temporary file paths.
Regards,
-- Yoichi NAKAYAMA