GNU logs - #20393, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20393: cannot compile when one folder has spaces
Resent-From: Christian <cnngimenez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 21 Apr 2015 06:22:01 +0000
Resent-Message-ID: <handler.20393.B.14295972829421 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 20393
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 20393 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Reply-To: Christian =?UTF-8?Q?Gim=C3=A9nez?= <cnngimenez@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.14295972829421
          (code B ref -1); Tue, 21 Apr 2015 06:22:01 +0000
Received: (at submit) by debbugs.gnu.org; 21 Apr 2015 06:21:22 +0000
Received: from localhost ([127.0.0.1]:34128 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YkRYf-0002Rs-Ou
	for submit <at> debbugs.gnu.org; Tue, 21 Apr 2015 02:21:22 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57893)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <cnngimenez@HIDDEN>) id 1YkOFl-0004ew-MG
 for submit <at> debbugs.gnu.org; Mon, 20 Apr 2015 22:49:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cnngimenez@HIDDEN>) id 1YkOFf-00082r-EV
 for submit <at> debbugs.gnu.org; Mon, 20 Apr 2015 22:49:32 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39612)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cnngimenez@HIDDEN>) id 1YkOFf-00082n-CD
 for submit <at> debbugs.gnu.org; Mon, 20 Apr 2015 22:49:31 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43147)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cnngimenez@HIDDEN>) id 1YkOFe-0000LQ-4f
 for bug-gnu-emacs@HIDDEN; Mon, 20 Apr 2015 22:49:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cnngimenez@HIDDEN>) id 1YkOFa-00080z-4L
 for bug-gnu-emacs@HIDDEN; Mon, 20 Apr 2015 22:49:30 -0400
Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:33687)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cnngimenez@HIDDEN>) id 1YkOFZ-00080k-PR
 for bug-gnu-emacs@HIDDEN; Mon, 20 Apr 2015 22:49:26 -0400
Received: by qgdy78 with SMTP id y78so62466583qgd.0
 for <bug-gnu-emacs@HIDDEN>; 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)
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)
From: Christian <cnngimenez@HIDDEN>
Date: Mon, 20 Apr 2015 23:49:19 -0300
Message-ID: <1641757.hIDRi88fqK@harmonia>
User-Agent: KMail/4.14.6 (Linux/3.19.3-200.fc21.x86_64; KDE/4.14.6; x86_64; ; )
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
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-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Mailman-Approved-At: Tue, 21 Apr 2015 02:21:20 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

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!




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Christian =?UTF-8?Q?Gim=C3=A9nez?= <cnngimenez@HIDDEN>
Subject: bug#20393: Acknowledgement (cannot compile when one folder has
 spaces)
Message-ID: <handler.20393.B.14295972829421.ack <at> debbugs.gnu.org>
References: <1641757.hIDRi88fqK@harmonia>
X-Gnu-PR-Message: ack 20393
X-Gnu-PR-Package: emacs
Reply-To: 20393 <at> debbugs.gnu.org
Date: Tue, 21 Apr 2015 06:22:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 20393 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
20393: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20393
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 21 Apr 2015 17:46:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 21 13:46:15 2015
Received: from localhost ([127.0.0.1]:35457 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YkcFT-0005Cu-ET
	for submit <at> debbugs.gnu.org; Tue, 21 Apr 2015 13:46:15 -0400
Received: from fencepost.gnu.org ([208.118.235.10]:43710 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rgm@HIDDEN>) id 1YkcFR-0005Cl-H5
 for control <at> debbugs.gnu.org; Tue, 21 Apr 2015 13:46:13 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1YkcFR-0000dy-Bv
 for control <at> debbugs.gnu.org; Tue, 21 Apr 2015 13:46:13 -0400
Date: Tue, 21 Apr 2015 13:46:13 -0400
Message-Id: <E1YkcFR-0000dy-Bv@HIDDEN>
Subject: control message for bug 20393
To: <control <at> debbugs.gnu.org>
X-Mailer: mail (GNU Mailutils 2.1)
From: Glenn Morris <rgm@HIDDEN>
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

retitle 20393 elpa: ada-build: cannot compile when one folder has spaces




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20393: cannot compile when one folder has spaces
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 09 Oct 2019 03:36:02 +0000
Resent-Message-ID: <handler.20393.B20393.157059213223786 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20393
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Christian <cnngimenez@HIDDEN>
Cc: Stephen Leake <stephen_leake@HIDDEN>, 20393 <at> debbugs.gnu.org
Received: via spool by 20393-submit <at> debbugs.gnu.org id=B20393.157059213223786
          (code B ref 20393); Wed, 09 Oct 2019 03:36:02 +0000
Received: (at 20393) by debbugs.gnu.org; 9 Oct 2019 03:35:32 +0000
Received: from localhost ([127.0.0.1]:51811 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iI2lA-0006Ba-JT
	for submit <at> debbugs.gnu.org; Tue, 08 Oct 2019 23:35:32 -0400
Received: from quimby.gnus.org ([80.91.231.51]:51968)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iI2l9-0006BS-04
 for 20393 <at> debbugs.gnu.org; Tue, 08 Oct 2019 23:35:31 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>)
 id 1iI2l5-00024L-Dc; Wed, 09 Oct 2019 05:35:29 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <1641757.hIDRi88fqK@harmonia>
Date: Wed, 09 Oct 2019 05:35:26 +0200
In-Reply-To: <1641757.hIDRi88fqK@harmonia> (Christian's message of "Mon, 20
 Apr 2015 23:49:19 -0300")
Message-ID: <87imoyvbep.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Christian <cnngimenez@HIDDEN> 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 inst [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Christian <cnngimenez@HIDDEN> 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.