all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Subject: Re: Space in compiler file name
Date: Mon, 20 Feb 2006 23:00:42 +0200	[thread overview]
Message-ID: <ud5hhbv9h.fsf@gnu.org> (raw)
In-Reply-To: <uu0au1n2g.fsf@rkspeed-rugby.dk> (message from Brian Elmegaard on Mon, 20 Feb 2006 08:55:35 +0100)

> From: Brian Elmegaard <brian@rkspeed-rugby.dk>
> Date: Mon, 20 Feb 2006 08:55:35 +0100
> 
> When I run I get:
> c:/program files/dna/bin/dna.exe 
> 'c:/program' is not recognized as an internal or external command,
> operable program or batch file.
> 
> The compile command is set by:
>   (setq compile-command 
> 		     (progn (concat dna-bin-directory "/" 
> 				    dna-executable-name " "
> 				    (file-name-nondirectory
> 				     buffer-file-name)))) 
>   (setq dna-input-buffer-name (buffer-name))
>   (compile compile-command)
> 
> 
> How can I make dna-bin-directory contain spaces and pass this to
> compile?

Did you try to quote the file name which has the embedded spaces?

compile-command is conceptually a string that you would type at the
shell's prompt, so you need to quote or escape any characters special
for the shell, as you would when you type the command interactively.

  reply	other threads:[~2006-02-20 21:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20  7:55 Space in compiler file name Brian Elmegaard
2006-02-20 21:00 ` Eli Zaretskii [this message]
     [not found] ` <mailman.961.1140469246.2856.help-gnu-emacs@gnu.org>
2006-02-20 21:42   ` Brian Elmegaard
2006-02-21 12:21     ` Reiner Steib
2006-02-21 19:51     ` Eli Zaretskii
     [not found]     ` <mailman.1066.1140542049.2856.help-gnu-emacs@gnu.org>
2006-02-22  7:19       ` Brian Elmegaard
     [not found]     ` <mailman.1116.1140553083.2856.help-gnu-emacs@gnu.org>
2006-02-22 15:14       ` Brian Elmegaard
2006-02-23 18:15         ` Kevin Rodgers
2006-02-24  7:28         ` Eli Zaretskii
     [not found]         ` <mailman.19.1140819603.5016.help-gnu-emacs@gnu.org>
2006-02-25  8:45           ` Brian Elmegaard
     [not found]         ` <mailman.41.1140852357.5016.help-gnu-emacs@gnu.org>
2006-02-25  8:45           ` Brian Elmegaard
  -- strict thread matches above, loose matches on Subject: below --
2006-02-21  5:30 Dave Humphries
2006-02-21 19:52 ` Eli Zaretskii
     [not found] <mailman.1012.1140499926.2856.help-gnu-emacs@gnu.org>
2006-02-21  9:40 ` Brian Elmegaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ud5hhbv9h.fsf@gnu.org \
    --to=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.