Pijul

Equivalent of Emacs' Magit?

These days when I use git I almost exclusively use Magit, which is an interactive mode in emacs, and find it to be much faster than the command line.

I realize pijul is still fairly new but I wonder if anyone has made something similar for pijul?

1 Like

I wish, at least, we had something like vc-pijul.

1 Like

No one has done that, but I’m starting to feel the need for it. I don’t know how to write emacs modes though. Do you?

Well I think the easiest thing to start would be @ln-nl’s suggestion to make an emacs vc backend for pijul, which is a generic vc interface that isn’t nearly as nice to use as magit (partly because it tries to be a general frontend) but is much easier to implement for us because we just need to figure out how to implement the functionality using pijul’s command-line features.

I started a repo for this purpose, but as you can see there’s almost nothing done yet.

3 Likes

I thought I would do something like proxy for pijul, which mimics git for things like git diff and stuff. So we can use vc-git for pijul

As you might guess, I’m not very good at emacs :slight_smile:

By the way, I’ve made progress on that, I’ve started implementing a vc-pijul:

https://nest.pijul.com/pijul_org/pijul:master/4b252675c9c30e5802

My .emacs contains the lines:

(add-to-list 'load-path "/path/to/pijul/")
(require 'vc-pijul)
(add-to-list 'vc-handled-backends 'Pijul)
3 Likes