[Top][All Lists]
[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
- Re: emacs question, (continued)
- Re: emacs question, Hans Aberg, 2008/09/10
- Re: emacs question, James E. Bailey, 2008/09/10
- Re: emacs question, Hans Aberg, 2008/09/10
- Re: emacs question, James E. Bailey, 2008/09/10
- Re: emacs question, Hans Aberg, 2008/09/10
- Re: emacs question, James E. Bailey, 2008/09/10
- Re: emacs question, Hans Aberg, 2008/09/10
- Re: emacs question, Hans Aberg, 2008/09/10
- Re: emacs question, andersvi, 2008/09/10
- Re: emacs question, James E. Bailey, 2008/09/10
- Re: emacs question [FIXED],
John Mandereau <=
- Re: emacs question [FIXED], James E. Bailey, 2008/09/10
- Re: emacs question [FIXED], Christopher Suckling, 2008/09/10
- Re: emacs question, Jeremy Henty, 2008/09/10
- Re: emacs question, Johan Vromans, 2008/09/10
- Re: emacs question, Reinhold Kainhofer, 2008/09/10
- Re: emacs question, John Mandereau, 2008/09/10
- Message not available
- Re: emacs question, John Mandereau, 2008/09/10
- Re: emacs question, andersvi, 2008/09/10
- Re: emacs question, Peter Chubb, 2008/09/10