From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: philip@warpmail.net (Philip K.) Newsgroups: gmane.emacs.bugs Subject: bug#41408: Add a project-compile command Date: Tue, 19 May 2020 22:07:08 +0200 Message-ID: <878shnvgcz.fsf@bulbul> References: <87blmjbx5b.fsf@warpmail.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="47373"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41408@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 19 22:08:11 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 1jb8X5-000CEG-5i for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 May 2020 22:08:11 +0200 Original-Received: from localhost ([::1]:48342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jb8X4-0001a8-6b for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 May 2020 16:08:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jb8Ww-0001Zi-Et for bug-gnu-emacs@gnu.org; Tue, 19 May 2020 16:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jb8Ww-0006mH-5k for bug-gnu-emacs@gnu.org; Tue, 19 May 2020 16:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jb8Ww-0006s0-04 for bug-gnu-emacs@gnu.org; Tue, 19 May 2020 16:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: philip@warpmail.net (Philip K.) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 May 2020 20:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41408 X-GNU-PR-Package: emacs Original-Received: via spool by 41408-submit@debbugs.gnu.org id=B41408.158991883926362 (code B ref 41408); Tue, 19 May 2020 20:08:01 +0000 Original-Received: (at 41408) by debbugs.gnu.org; 19 May 2020 20:07:19 +0000 Original-Received: from localhost ([127.0.0.1]:51173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jb8WF-0006r8-Il for submit@debbugs.gnu.org; Tue, 19 May 2020 16:07:19 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:41647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jb8WD-0006qt-Hn for 41408@debbugs.gnu.org; Tue, 19 May 2020 16:07:18 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 77A945C01B3; Tue, 19 May 2020 16:07:11 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 19 May 2020 16:07:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=warpmail.net; h= from:to:cc:subject:in-reply-to:date:message-id:mime-version :content-type; s=fm3; bh=Tr2rg6VNp8QID1Geazl5RTxhZIm54Y4JQF7lx0Z SWZc=; b=YDQPWLbujKsyWN5m/5cDi1fQcsGHJEAdDOfQJ/LW28B11VdEuK2ZC5X 7MFlk3Q8fdo+23IkieFJQGTL+hz/aKWyJXMvpJq5nFY9UuIJvrmBD48kFLmJ1MUj a3rEDO4T2hYIAWk7VGGrkEu6lD20UFmrXyQD3VNO3DlcIdocAO66peB/Vb9HzQ2M fIdiHulzUOWBjn/fIuV7nrqsT2lhcrPB9yO71SBUfbsuzjrcpR+JnWBlxrTOlPwt Pi3qWzYc/mk2blI1HeYcy1JnlotsnkT0tiX0hWoQbjNpOpMip5L27d73NOGrA5eH l+tRE0Tra4gLeBXyCcktEUkefHcWLLg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Tr2rg6VNp8QID1Gea zl5RTxhZIm54Y4JQF7lx0ZSWZc=; b=WGCk/ya3eb8/9jB2N+XC+JdzH+mQH1Xyd iych+D0LQZyvR5Io4aphOKQz4I93arXD/upglOD7isrSSqFebZNJytUxO7/nr/WW jJlOu9QQZzYYlQyw73/2hfY7BWmEdYcMsUQevLfdNTuuiUhQ22IHfGTOAMMm7QCI 96q17Ixaf2qGQ8Vhcyb1gSjB/Du9xqkNa0vfDZ04IKKxBnXNwHZooOBWPHWPVsdO JJskgQ3A2sWSsBzl5DRNTRClAP4QIQvZW2jMBIuNl8g4zufRW+W7GPM89SjyOIWI Z6Z3bPYgIPF60QzHwExM3LtVL6e/BqLO57iqlvr5X5hRXgPjwG3Wg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddtjedgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujgffkfggtgesthdtredttddttdenucfhrhhomhepphhhihhlihhp seifrghrphhmrghilhdrnhgvthculdfrhhhilhhiphcumfdrmdenucggtffrrghtthgvrh hnpeevgfekvddtgfehfedvkefhkeehkeelkeekheeiffelteevleevhedtueetleeikeen ucffohhmrghinhepvghlrdhithenucfkphepkeejrddugeehrddutddrheeknecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhhihhlihhpseif rghrphhmrghilhdrnhgvth X-ME-Proxy: Original-Received: from localhost (p57910a3a.dip0.t-ipconnect.de [87.145.10.58]) by mail.messagingengine.com (Postfix) with ESMTPA id B53113066444; Tue, 19 May 2020 16:07:10 -0400 (EDT) In-Reply-To: (message from Dmitry Gutov on Tue, 19 May 2020 22:59:07 +0300) 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:180613 Archived-At: Dmitry Gutov writes: > Hey Philip, > > On 19.05.2020 21:24, Philip K. wrote: >> this patch adds a `compile' command for project.el. It's nothing fancy, >> just sets the first directory of `project-roots' as `default-directory', >> and then calls the regular compile. >> >> The TODOs mention a `project-build' command, and from my interpretation, >> this is a slimmed down version (hence the other name, but also because >> it just called compile in a different environment). > > Is this a command you'd be using yourself? If so, we'll add it happily. I wrote it because I needed it, otherwise I wouldn't have suggested it, hoping others to do. And I assume others do, since projectile has a similar command (projectile-compile-project). > I'm just asking because it's indeed bare-bones, and I basically never > use 'M-x compile' directly. Hmm, I regularly use compile/recompile, but maybe that's my mistake. If you don't mind me asking, how do you invoke compile or related functions? If I'm doing it the "wrong way", maybe it might not be worth applying this patch. -- Philip K.