>>>> "Stephen" == Stephen J Turnbull
Stephen> Raymond Toy writes:
> >>>>> "Mats" == Mats Lidell
> >>>>> Raymond Toy <toy.raymond(a)gmail.com> writes:
> >> Now I'm stuck. It wants process-file and I don't know the xemacs
> >> equivalent of that.
> Based on the docstring for process-file, I just had process-file call
> call-process, as a first approximation. Now it causes some error
> (duh!) which I haven't looked into yet.
Stephen> Look for a file handler defined in the magit code with key
Stephen> 'process-file. If there isn't one, then basically it's
Stephen> However, Emacs has a different way of handling stderr from XEmacs, and
Stephen> that may be the source of the error. Just for kicks, the code for
Stephen> process-file is appended below.
Thanks for the code and the hints. I haven't tried it out yet, but I
see now that the error with magit is caused by calling invisible-p,
which doesn't seem to exist. (Maybe I should try emacs out with magit
to see if provides something over what I get with git.el now.)
> missing is that git.el wants sdiff to handle unmerged files and
> haven't done anything about that. Oh, and also the bad bug where
> trying to add a directory causes xemacs to crash. :-(
Stephen> AFAIK we can just drop in sdiff somewhere, probably in ediff but maybe
Stephen> in prog-utils. At least at one point it seemed to work OK in XEmacs.
Yeah, I did find some version of sdiff, but it seems the api that git
expects wasn't what sdiff provided. I didn't investigate further, but
I do intend to, since merge conflicts do happen to me once in a while.
Stephen> Have you reported and provided a backtrace for the crash? It doesn't
Stephen> seem to be in the tracker. :-( A crash is our bug and needs to be
Stephen> fixed in XEmacs.
I think I did report it, but I'm pretty sure I also have an account on
the bug tracker so I failed in my responsbility to file the bug there
as well. :-( I'll do that soon.
XEmacs-Beta mailing list