From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#20393: cannot compile when one folder has spaces Date: Tue, 8 Sep 2020 14:05:11 +0000 Message-ID: References: <1641757.hIDRi88fqK@harmonia> <87imoyvbep.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25538"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stephen Leake , 20393@debbugs.gnu.org, Christian To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 08 16:06:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFeG9-0006YH-8h for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Sep 2020 16:06:09 +0200 Original-Received: from localhost ([::1]:34766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFeG8-0001hw-8J for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Sep 2020 10:06:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFeG2-0001gq-Iq for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 10:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44109) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFeG2-00041d-9L for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 10:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kFeG2-0001NE-4J for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 10:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Sep 2020 14:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20393 X-GNU-PR-Package: emacs Original-Received: via spool by 20393-submit@debbugs.gnu.org id=B20393.15995739205188 (code B ref 20393); Tue, 08 Sep 2020 14:06:02 +0000 Original-Received: (at 20393) by debbugs.gnu.org; 8 Sep 2020 14:05:20 +0000 Original-Received: from localhost ([127.0.0.1]:55648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFeFM-0001La-4G for submit@debbugs.gnu.org; Tue, 08 Sep 2020 10:05:20 -0400 Original-Received: from mail-ed1-f53.google.com ([209.85.208.53]:45850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFeFK-0001LI-1T for 20393@debbugs.gnu.org; Tue, 08 Sep 2020 10:05:18 -0400 Original-Received: by mail-ed1-f53.google.com with SMTP id l17so16065563edq.12 for <20393@debbugs.gnu.org>; Tue, 08 Sep 2020 07:05:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=CclRsXz0ROBedgXpdMMEdl3LIPkF+ZZCGVvXVIqsnBU=; b=hdDVVslPxzhxVLPSsiQfIzbjLAj3ZLdfiVNydXLquy8rBI6DMRhgMUX1VEqnRTGiII CGsMnJdBWJr3CPvlVRiGc51x+NUmY8imDLhlmBu+jscLMUgVyrKNHDjlKHQs5F5n3UOU aQE5NS4ccG+eyrzndRfgk8B9WMQHHyxkz8mO0fYq1EHx7REK2zzQQb5BdwSeLlIalgSL OaZeYrkSqgcu5BY6DS7ypa6ZqiLSC+MhD4MgvRVSmYthJZGpfrjQ2AHKvd9pnmt3Rl4B y3BgHEFe4XQ1nfg7p3bea4uXZtFMyDa2AAdfrVMZW4wJxErYKPoI7YNRazUqCOAoBvpK vhQA== X-Gm-Message-State: AOAM531/lFCdwn6g2P3sJ8bro8lpN7pBgI0ZepZVKRi5A/xHt6FifnCx dSTmw4HWEyiuDH+I3dtfPSHfd9qoEzAUgEOEazQ= X-Google-Smtp-Source: ABdhPJwKA94Bd9pavH1nAtKIHh+ZC1jAQdDr3EQNavgIwUZguhpbcBPiZFt68MsskUmR11yYpxDtkd9ioP4O3C7gi/I= X-Received: by 2002:a05:6402:1656:: with SMTP id s22mr22583265edx.160.1599573912334; Tue, 08 Sep 2020 07:05:12 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 8 Sep 2020 14:05:11 +0000 In-Reply-To: <87imoyvbep.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 09 Oct 2019 05:35:26 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187547 Archived-At: Lars Ingebrigtsen writes: > Christian writes: > >> 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}" > > Stephen, could you take a look at this one? I'm not familiar with > ada-mode -- does the ${} expansion quote the argument itself? If not, > this seems like a logical solution, but will probably fail if the file > has a " character in the name. That was one year ago. Any news here? Thanks in advance.