Hello, On Sun 25 Sep 2022 at 10:29AM +03, Juri Linkov wrote: >>>> I'm running into the problem that you pointed out in another thread. >>>> How do we apply vc-filter-command-function to the final VC command >>>> that's to be run without also applying it to intermediate VC commands, >>>> e.g. in vc-read-revision? >>> >>> Maybe there is no problem to apply the editing filter to all commands, >>> I don't know. First need to try to see how it really works. >> >> Here's the WIP patch, hopefully it works well enough for testing. > > Thanks, I'm going to try it out. It looks like I need to call (minibuffer-depth) like display-buffer-override-next-command does. Updated patch attached. >> I think it's considerably worse than C-u C-x v b l tbh. > > Undoubtedly, it's worse. But it solves the problem that > all vc commands can't use C-u. Just to be clear, the thing that I think is much worse is being prompted for multiple intermediate commands, not the longer key sequence. I realised that we could add an override inside vc-read-revision, and potentially other places, which makes it considerably less annoying. Done in the attached. -- Sean Whitton