lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs question [FIXED]


From: John Mandereau
Subject: Re: emacs question [FIXED]
Date: Wed, 10 Sep 2008 17:37:12 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]