Sunday, January 01, 2006

 

More Muse, Emacs, etc...

So after a long day of hacking and fathoming I've discovered that Muse defines a variable called:

muse-project-ignore-regexp


This variable is used to ignore various files in a directory. One of the things it filters out is the CVS directory placed in a directory that is under CVS control. That all makes sense. However, the function used to check paths against this regex, (string-match), is case insensitive by default, and my files live in a path that includes a directory named "cvs". This is not really the problem I expected (the issue I'd found previously seems to be a genuine bug, but not really related).

One extra complexity is that Emacs is a cross platform environment and, while my GNU/Linux environment make it valid to have a directory called "cvs" as an entity distinct from a directory called "CVS", on Windows you can't distinguish between them. Thanks to twb on the #muse IRC channel for pointing that out. Fortunately Emacs knows whether it is running on Windows and Muse already captures this info in the variable muse-under-windows-p

So I reckon I'm on the verge of submitting a patch for Muse-mode as I have it working here. Hopefully I can now make some sensible progress.

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?