How can I pass an argument to the emacs compile command? Usually, when I
compile something on the command line, I include a directory with tons of style
sheets with the -I argument. Is it possible to add this to emacs, or can I only
do it on the command line? Thanks in advance,
James
On 2010-12-12 09:48, James Bailey wrote:
How can I pass an argument to the emacs compile command? Usually, when I
compile something on the command line, I include a directory with tons of style
sheets with the -I argument. Is it possible to add this to emacs, or can I only
do it on the
On Dec 12, 2010, at 10:07 AM, Alexander Kobel wrote:
On 2010-12-12 09:48, James Bailey wrote:
How can I pass an argument to the emacs compile command? Usually, when I
compile something on the command line, I include a directory with tons of
style sheets with the -I argument. Is it
On 2010-12-12 10:07, Alexander Kobel wrote:
On 2010-12-12 09:48, James Bailey wrote:
How can I pass an argument to the emacs compile command? [...]
Hi, James,
C-h v LilyPond-command-alist gives me this: [...]
Value:
((LilyPond Lilypond %s %s %l View)
[...])
Uh, I forgot to mention that
On 10 Sep 2008, at 00:18, James E. Bailey wrote:
I have
exec /Applications/LilyPond.app/Contents/Resources/bin/lilypond
$@
You can try running a command like
export IFS='';lilypond 'foo bar'
Setting the IFS variable empty prevents variable name spaces being
expanded.
Otherwise, it
On 10.09.2008, at 10:45, Hans Aberg wrote:
On 10 Sep 2008, at 00:18, James E. Bailey wrote:
I have
exec /Applications/LilyPond.app/Contents/Resources/bin/lilypond
$@
You can try running a command like
export IFS='';lilypond 'foo bar'
Setting the IFS variable empty prevents variable
On 10 Sep 2008, at 10:56, James E. Bailey wrote:
I have
exec /Applications/LilyPond.app/Contents/Resources/bin/
lilypond $@
I am not sure exactly what you run in Emacs,
lilypond-mode. In the command menu, there's an option lilypond (C-c
C-l). If it's set to do the command on the master
On 10.09.2008, at 11:34, Hans Aberg wrote:
On 10 Sep 2008, at 10:56, James E. Bailey wrote:
I have
exec /Applications/LilyPond.app/Contents/Resources/bin/
lilypond $@
I am not sure exactly what you run in Emacs,
lilypond-mode. In the command menu, there's an option lilypond (C-c
C-l).
On 10 Sep 2008, at 10:56, James E. Bailey wrote:
I think that's the compile option in the file menu. There, I can do
lilypond path\ to/my\ file.ly and it's fine.
What do you get if you type in Terminal or xterm:
cat $(which lilypond)
Hans
12:57:28 jamesebailey lilypond:which lilypond
/Users/jamesebailey/bin/lilypond
On 10.09.2008, at 11:54, Hans Aberg wrote:
On 10 Sep 2008, at 10:56, James E. Bailey wrote:
I think that's the compile option in the file menu. There, I can do
lilypond path\ to/my\ file.ly and it's fine.
What
I wanted to know what is in the lilypond you use - is it binary or a
script, and in the latter case, what is the script. If you type
less $(which lilypond)
then $(which lilypond) will produce the path you just wrote, and
'less' will write out the contents if it is not binary.
Hans
On
Ah. I use a binary, not a script. I actually build lilypond, I'm on 10.5
On 10.09.2008, at 13:29, Hans Aberg wrote:
I wanted to know what is in the lilypond you use - is it binary or a
script, and in the latter case, what is the script. If you type
less $(which lilypond)
then $(which
On 10 Sep 2008, at 14:03, James E. Bailey wrote:
Ah. I use a binary, not a script. I actually build lilypond, I'm on
10.5
I just wanted to make sure it isn't the 'lilypond' part. One other
test is to type
lilypond 'foo bar'
If spaces are passed on correctly, then one gets
GNU LilyPond
Yes, my original post, I posted the error message from emacs:
-*- mode: compilation; default-directory: ~/Documents/James Music/
Choral Music/Dad/Litany/ -*-
Compilation started at Mon Sep 8 15:24:38
lilypond /Users/jamesebailey/Documents/James Music/Choral Music/Dad/
Litany/Litany.ly
GNU
On 10 Sep 2008, at 15:11, James E. Bailey wrote:
Yes, my original post, I posted the error message from emacs:
-*- mode: compilation; default-directory: ~/Documents/James Music/
Choral Music/Dad/Litany/ -*-
Compilation started at Mon Sep 8 15:24:38
lilypond
On 10 Sep 2008, at 15:11, James E. Bailey wrote:
I just wish someone with a little elisp help could point me toward
the part of whichever file determines how the file is processed in
emacs so I could learn enough to be able to add to it.
The section I mentioned before (Section 37.1
J == James E Bailey [EMAIL PROTECTED] writes:
J I just wish someone with a little elisp help could point me
J toward the part of whichever file determines how the file is
J processed in emacs so I could learn enough to be able to add
J to it.
I beleive lilypond-command-master
James E. Bailey [EMAIL PROTECTED] writes:
I just wish someone with a little elisp help could point me toward the
part of whichever file determines how the file is processed in emacs
so I could learn enough to be able to add to it.
You'll find the code in lilypond-mode.el. It should be
On 2008/09/10 15:11 +0200, James E. Bailey wrote:
I just wish someone with a little elisp help could point me toward the
part of whichever file determines how the file is processed in emacs
so I could learn enough to be able to add to it.
I'd rather fix the bug completely before speaking
On 10.09.2008, at 16:13, [EMAIL PROTECTED] wrote:
J == James E Bailey [EMAIL PROTECTED] writes:
J I just wish someone with a little elisp help could point me
J toward the part of whichever file determines how the file is
J processed in emacs so I could learn enough to be able to add
Am Mittwoch, 10. September 2008 schrieb Johan Vromans:
James E. Bailey [EMAIL PROTECTED] writes:
I just wish someone with a little elisp help could point me toward the
part of whichever file determines how the file is processed in emacs
so I could learn enough to be able to add to it.
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
On 2008/09/10 16:53 +0200, Reinhold Kainhofer wrote:
I'd rather fix the bug completely before speaking up, but this thread is
inflating a lot: in elisp/lilypond-mode.el line 647 (in function
LilyPond-command-expand), file should be quoted and escaped.
Ahm, no line 647 is fine (just
(buffer-file-name) returns a string without backquote-escaping the
whitespaces.
Heres a replacement (try evalling this somewhere in emacs after
'lilypond-mode is loaded). Please test before including anywhere.
-anders
(defun subst-spc-w-bcksl (lista); what a hack!
;; escape
On 10.09.2008, at 17:37, John Mandereau wrote:
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
On Wed, Sep 10, 2008 at 04:41:57PM +0200, James E. Bailey wrote:
M-: (buffer-file-name) returned
/Users/jamesebailey/Documents/James Music/Choral Music/Dad/Litany/
Litany.ly
with the quotes
[...]
So, if I understand correctly,
1) buffer-file-name is a correctly escaped filename
On Wed, Sep 10, 2008 at 06:01:31PM +0200, James E. Bailey wrote:
I just updated my file. This is beautiful. Thank you so much. I knew
this would get solved eventually.
Seconded. Sorry I didn't have time to attempt a fix; have to get my
score to the printers by tomorrow morning!
andersvi == andersvi [EMAIL PROTECTED] writes:
andersvi (buffer-file-name) returns a string without
andersvi backquote-escaping the whitespaces.
andersvi Heres a replacement (try evalling this somewhere in emacs
andersvi after 'lilypond-mode is loaded). Please test before
andersvi including
On 09.09.2008, at 02:58, Paul Scott wrote:
You mean you use Terminal and not XDarwin?
I'm assuming you mean X11, but yes, I have a difficult time
remembering the keyboard commands for a normal emacs session. I think
I would go crazy if I tried to remember them for the GUI version. At
On 8 Sep 2008, at 15:30, James E. Bailey wrote:
I don't know if this is true for anyone else, but, when I try and
use emacs (22.2.1) on OSX in my terminal, I can't compile on the
master file and file where there is a space in the filename.
What do you get in your lilypond scrip filet? - Try
On 9 Sep 2008, at 16:19, James E. Bailey wrote:
What do you get in your lilypond scrip filet? - Try
less $(which lilypond)
I have
exec /Applications/LilyPond.app/Contents/Resources/bin/lilypond $@
Forgot to mention I'm on 10.5 and have lilypond installed in ~/bin.
Emacs successfully calls
I don't know if this is true for anyone else, but, when I try and use
emacs (22.2.1) on OSX in my terminal, I can't compile on the master
file and file where there is a space in the filename. For example:
-*- mode: compilation; default-directory: ~/Documents/James Music/
Choral
On Mon, Sep 08, 2008 at 03:30:41PM +0200, James E. Bailey wrote:
I don't know if this is true for anyone else, but, when I try and use
emacs (22.2.1) on OSX in my terminal, I can't compile on the master file
and file where there is a space in the filename.
I've had the same problem and
On 08.09.2008, at 15:46, Christopher Suckling wrote:
On Mon, Sep 08, 2008 at 03:30:41PM +0200, James E. Bailey wrote:
I don't know if this is true for anyone else, but, when I try and use
emacs (22.2.1) on OSX in my terminal, I can't compile on the master
file
and file where there is a
James E. Bailey wrote:
On 08.09.2008, at 15:46, Christopher Suckling wrote:
On Mon, Sep 08, 2008 at 03:30:41PM +0200, James E. Bailey wrote:
I don't know if this is true for anyone else, but, when I try and use
emacs (22.2.1) on OSX in my terminal, I can't compile on the master
file
and
35 matches
Mail list logo