powerline icon indicating copy to clipboard operation
powerline copied to clipboard

Make powerline-vc dependent of vc-modeline

Open Ergus opened this issue 2 years ago • 3 comments

Hi:

Could you considet to do the vc entry dependent of vc-modeline? Right now there is not way to inhibit it and for compatibility maybe the best to do is to rely on the default emacs variables for that.

Ergus avatar Jan 22 '22 16:01 Ergus

Can you say more? I don't really understand what the problem is or what you're suggesting. It's been a while since I've actively been working on this code.

milkypostman avatar Jan 22 '22 18:01 milkypostman

Can you say more? I don't really understand what the problem is or what you're suggesting. It's been a while since I've actively been working on this code.

Hi:

It is is simple, just add a custom or respect the emacs custom for vc-mode-line. Calling mode-line updates on slow remote buffers may be slow. In emacs I can inhibit this by setting to nil vc-mode-line-hook in remote files.

Ergus avatar Jan 22 '22 19:01 Ergus

It's unlikely I'll get to this any time soon but I'd be happy to review a PR to do this and it'd mean getting the change in. I'm not currently maintaining this project actively but am watching for PRs and major issues.

milkypostman avatar Jan 23 '22 22:01 milkypostman