new status output

Matthieu Moy Matthieu.Moy at imag.fr
Tue Oct 18 17:15:47 BST 2005


John Arbash Meinel <john at arbash-meinel.com> writes:

> I think the current idea is that "bzrlib" should be used by front-ends
> whenever possible. I know the Xtla people (who have a new name for the
> project, something like DVC), have been working on having Emacs use bzr.
> I think they decided to use pymacs, which is an extension allowing Emacs
> to use python code directly.

I've been thinking of using pymacs, but I'll probably come back to the
idea of separate process and « parse stdout » approach, because I
found no way to make asynchronous calls using pymacs. Since Emacs is
mono-threaded, this means freezing Emacs while bzr is running which is
unacceptable for potentially long operations.

(note: this is not a problem with bzr, this is a problem with pymacs)

My current idea is to use bzr for the simple commands, and to
reimplement the toplevel functions in separate scripts (say
dvc-bzr-status.py) with an output optimized for parsing from Emacs
lisp (why dot output lisp directly).

-- 
Matthieu




More information about the bazaar mailing list