Tim O Callaghan writes:

> After a bit more digging, i know where the problem is.
> In the function muse-project-of-file in muse-project.el when it tries a
> 'string-match' on the two windows paths, it dies. I guess its the ':' in
> the regexp thats the problem.

> Here's the debugger backtrace output.
> Debugger entered--Lisp error: (invalid-regexp "Trailing backslash")
>   string-match("c:\\home\\tim\\projects\\"
> "c:\\home\\tim\\.xemacs\\site-lisp\\muse\\examples\\QuickStart")

  No, the problem is the string is used as a regexp, without
being escaped.  But it's not a regexp.  I guess changing the
following in 'muse-project-of-file' will solve the problem:

    (string-match truename file))

in:

    (string-match (regexp-quote truename) file))

  But for now, you can try to change the following in your
~/.emacs.el file:

    "c:\\home\\tim\\projects\\"

in:

    "c:\\home\\tim\\projects"

or even better, if it works:

    "c:/home/tim/projects/"

--drkm



_______________________________________________
emacs-wiki-discuss mailing list
emacs-wiki-discuss@nongnu.org
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

Reply via email to