Hi Adrian

I committed your fix, thanks.

On Thu, Mar 19, 2015 at 9:41 PM, Adrian S. <adrian.u.s...@gmail.com> wrote:

> which has no problems, but if I install in the default location, it
> outputs a location with spaces, which somehow had to be escaped
> somehow. I do not know how to fix that.
>

What about enclosing the path in single quotes? Does that help? Double
quotes should be enough, though...

You can escape the string with something like

(if (os-mingw?)
    (with path (string-replace (getenv "TEXMACS_PATH") " " "\\ ")
      `((:launch
         ,(string-append "maxima.bat -p \"" path
                    "\\plugins\\maxima\\lisp\\texmacs-maxima.lisp\"")))

Best,
--
Miguel de  Benito.
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to