From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Newsgroups: gmane.emacs.bugs Subject: bug#20393: cannot compile when one folder has spaces Date: Mon, 20 Apr 2015 23:49:19 -0300 Message-ID: <1641757.hIDRi88fqK@harmonia> Reply-To: Christian =?UTF-8?Q?Gim=C3=A9nez?= NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: ger.gmane.org 1429597608 10736 80.91.229.3 (21 Apr 2015 06:26:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2015 06:26:48 +0000 (UTC) To: 20393@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 21 08:26:38 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YkRdk-0007GS-PZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2015 08:26:36 +0200 Original-Received: from localhost ([::1]:56426 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkRdk-00042S-5e for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2015 02:26:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkRcC-0001RS-Up for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 02:25:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkRZK-00061w-MC for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 02:22:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkRZK-00061m-JI for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 02:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YkRZK-0002TT-5B for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 02:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christian Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Apr 2015 06:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20393 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14295972829421 (code B ref -1); Tue, 21 Apr 2015 06:22:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Apr 2015 06:21:22 +0000 Original-Received: from localhost ([127.0.0.1]:34128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkRYf-0002Rs-Ou for submit@debbugs.gnu.org; Tue, 21 Apr 2015 02:21:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57893) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkOFl-0004ew-MG for submit@debbugs.gnu.org; Mon, 20 Apr 2015 22:49:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkOFf-00082r-EV for submit@debbugs.gnu.org; Mon, 20 Apr 2015 22:49:32 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkOFf-00082n-CD for submit@debbugs.gnu.org; Mon, 20 Apr 2015 22:49:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkOFe-0000LQ-4f for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 22:49:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkOFa-00080z-4L for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 22:49:30 -0400 Original-Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:33687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkOFZ-00080k-PR for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 22:49:26 -0400 Original-Received: by qgdy78 with SMTP id y78so62466583qgd.0 for ; Mon, 20 Apr 2015 19:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:reply-to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type; bh=0jVEQTzT+Pu/ku6wZEgFlDhaVANRYU29mIAjwCNuf1g=; b=VePrJHHTzBiohwsi0Z56/O1a5SUye7ptEDKtjZm86SRSNpcibndjqTgPY7sumbkYNk laIZ5gZFKW8IXIsAiNIq1sT0Xr0EetVBFMlHVOChwuRHObXoVElnHFNDKz0DVpGnVtc7 N9IfylMCInc4FQsreQ5yIwF8DBB1xwNIChBsTQwa3fwoOaOOS0x3ImUPfNajDvFCEmEw K0nhrYrTuWAdOOlwotEtZxhPNs7LwcUnOog20hob2XouPkZaTHsAlSJ5JyPu3Oh2wVWr bstkRdWTTPRN+tEiW09cu+QyQ7w2pNxlXuFkleGecFZQagyHT0XsHIU99ucJnpflgbxF KpwQ== X-Received: by 10.140.165.150 with SMTP id l144mr21234050qhl.99.1429584564886; Mon, 20 Apr 2015 19:49:24 -0700 (PDT) Original-Received: from harmonia.localnet ([186.128.166.110]) by mx.google.com with ESMTPSA id f35sm467554qga.10.2015.04.20.19.49.23 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Apr 2015 19:49:23 -0700 (PDT) User-Agent: KMail/4.14.6 (Linux/3.19.3-200.fc21.x86_64; KDE/4.14.6; x86_64; ; ) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Tue, 21 Apr 2015 02:21:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101809 Archived-At: emacs, ada-mode Hi, I found a problem when trying to compile using a project (gpj) file. Is easy to solve. The problem is that if you're at a directory with spaces, gnatmake will recieve two parameters instead of one. The solution is easy: The variable ada-build-make-cmd needs double quotes between the "{gpr_file}" substring: "${cross_prefix}gnatmake -P\"${gpr_file}\" -o ${main} ${main} ${gnatmake_opt} - cargs -I${src_dir} ${comp_opt} -bargs ${bind_opt} -largs ${link_opt}" After setting that, you should restart Emacs. Could you add this string as a default value? Cheers!