On 2008/09/10 16:41 +0200, James E. Bailey wrote: > 6) I think somewhere, the quotes are being stripped.
Probably, but escaping the spaces instead of quoting the whole file name also works with (ba)sh, and shell-quote-argument Emacs function does it well (see below). > On other platforms using emacs, does the output look similar? Yep, it does on my GNU/Linux. The following fix works for me, I'm pushing it to Git, it will appear in release 2.11.58 or .59 diff --git a/elisp/lilypond-mode.el b/elisp/lilypond-mode.el index 769331f..80a3f29 100644 --- a/elisp/lilypond-mode.el +++ b/elisp/lilypond-mode.el @@ -638,8 +638,7 @@ Must be the car of an entry in `LilyPond-command-alist'." (base (cadr l))) (LilyPond-command-expand (concat (substring string 0 b) - dir - base + (shell-quote-argument (concat dir base)) (let ((entry (assoc (substring string b e) LilyPond-expand-alist))) (if entry (cdr entry) "")) > Cheers, John _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user