From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46052: Colons fooling GNUmakefile mode Date: Sat, 23 Jan 2021 19:23:40 +0200 Message-ID: <83r1mb4ler.fsf@gnu.org> References: <87tur914qj.5.fsf@jidanni.org> <87v9bnlq6x.fsf@gmail.com> <83sg6r4uu1.fsf@gnu.org> <87im7nlmx9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13755"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46052@debbugs.gnu.org, jidanni@jidanni.org To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 23 18:24:17 2021 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 1l3Mdz-0003Rc-OR for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jan 2021 18:24:15 +0100 Original-Received: from localhost ([::1]:47996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3Mdy-000831-JG for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jan 2021 12:24:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3Mdm-00082d-9Z for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 12:24:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3Mdm-0006yi-2h for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 12:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l3Mdl-00029D-Vs for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 12:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jan 2021 17:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46052 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 46052-submit@debbugs.gnu.org id=B46052.16114226298228 (code B ref 46052); Sat, 23 Jan 2021 17:24:01 +0000 Original-Received: (at 46052) by debbugs.gnu.org; 23 Jan 2021 17:23:49 +0000 Original-Received: from localhost ([127.0.0.1]:35161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3MdZ-00028e-CC for submit@debbugs.gnu.org; Sat, 23 Jan 2021 12:23:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3MdX-00028E-EV for 46052@debbugs.gnu.org; Sat, 23 Jan 2021 12:23:47 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45016) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3MdS-0006rx-5I; Sat, 23 Jan 2021 12:23:42 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4662 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l3MdR-0006lZ-3T; Sat, 23 Jan 2021 12:23:41 -0500 In-Reply-To: <87im7nlmx9.fsf@gmail.com> (message from =?UTF-8?Q?K=C3=A9vin?= Le Gouguec on Sat, 23 Jan 2021 15:58:58 +0100) 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:198434 Archived-At: > From: Kévin Le Gouguec > Cc: jidanni@jidanni.org, 46052@debbugs.gnu.org > Date: Sat, 23 Jan 2021 15:58:58 +0100 > > Eli Zaretskii writes: > > > I'm not sure a target line cannot possibly start with a TAB. > > I'll admit to not being an expert in makefile syntax; I do find this > entry in (info "(make) Error Messages") encouraging though: > > > 'recipe commences before first target. Stop.' > > 'missing rule before recipe. Stop.' > > This means the first thing in the makefile seems to be part of a > > recipe: it begins with a recipe prefix character and doesn't appear > > to be a legal 'make' directive (such as a variable assignment). > > Recipes must always be associated with a target. > > While that phrasing doesn't rule out subsequent targets from starting > with a TAB, empirically that seems to be the case: I didn't say a _rule_ can start with a TAB, I said a rule's _line_ could start with a TAB. For example (indentation added for readability): foo \ bar: baz