GNU bug report logs - #18682
flymake-mode does not find makefiles named "makefile" or "GNUmakefile"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Rob Browning <rlb@HIDDEN>; Keywords: easy; dated Fri, 10 Oct 2014 20:04:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 18682) by debbugs.gnu.org; 29 May 2021 03:30:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 28 23:30:41 2021
Received: from localhost ([127.0.0.1]:55623 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lmpgP-00012g-6b
	for submit <at> debbugs.gnu.org; Fri, 28 May 2021 23:30:41 -0400
Received: from quimby.gnus.org ([95.216.78.240]:33718)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lmpgM-0000v3-9j
 for 18682 <at> debbugs.gnu.org; Fri, 28 May 2021 23:30:39 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=dCErHKIMWNPRkYZ44uyGDNOn+hCnSpsDy7+62P1kxps=; b=ca5/PcYaAufpvftWErPtvwO9B3
 0SGNiZ15PqFxVDOCPskTGRjfGNb0aXJqIJP7eLcS86uQL1ld9zOhNDcgr/SZHPlD93sIuVvYYk8uK
 hB/qI44WjJl8S9JZ00W9xjKzHBXkWdgJRSQN2x9CkR6XewpGB0/fzAXX2spXMSgoC78M=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lmpg9-0000Zx-Id; Sat, 29 May 2021 05:30:27 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Rob Browning <rlb@HIDDEN>
Subject: Re: bug#18682: flymake-mode does not find makefiles named
 "makefile" or "GNUmakefile"
References: <87tx3bzo9h.fsf@HIDDEN>
X-Now-Playing: Joni Mitchell's _Ladies of the Canyon_: "For Free"
Date: Sat, 29 May 2021 05:30:24 +0200
In-Reply-To: <87tx3bzo9h.fsf@HIDDEN> (Rob Browning's message
 of "Fri, 10 Oct 2014 15:02:50 -0500")
Message-ID: <87pmxaushb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
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: Rob Browning <rlb@HIDDEN> writes: > Looks like this
 was reported to flymake,
 and is even mentioned in a > comment in (24.3) flymake.el, 
 but I thought there was a chance it should > be in the Emacs tracker too.
 > > Josh Triplett <josh@ [...] 
 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-Debbugs-Envelope-To: 18682
Cc: 337339@HIDDEN, 337339-forwarded@HIDDEN,
 18682 <at> debbugs.gnu.org, =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN>,
 Josh Triplett <josh@HIDDEN>
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 (-)

Rob Browning <rlb@HIDDEN> writes:

> Looks like this was reported to flymake, and is even mentioned in a
> comment in (24.3) flymake.el, but I thought there was a chance it should
> be in the Emacs tracker too.
>
> Josh Triplett <josh@HIDDEN> writes:
>
>> flymake-mode only searched for makefiles named "Makefile"; it will not
>> find a makefile named "makefile" or "GNUmakefile".

Looking at the flymake source code, this still seems to be the case in
Emacs 28.

It seems like this should be pretty easy to fix -- if we extend
`flymake-proc--init-find-buildfile-dir' to take a list of build file
names instead of a single file and then perhaps add a user option to
allow specifying the makefile names and use that in
`flymake-proc-simple-make-init' (etc.)?  (And have "Makefile" as the
first entry in that user option to preserve backwards compatibility.)

Jo=C3=A3o, does that sound like a likely solution?

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18682; Package emacs. Full text available.
Added tag(s) easy. Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 10 Oct 2014 20:03:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 10 16:03:08 2014
Received: from localhost ([127.0.0.1]:40447 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XcgP6-0007Ni-De
	for submit <at> debbugs.gnu.org; Fri, 10 Oct 2014 16:03:08 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55332)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rlb@HIDDEN>) id 1XcgP3-0007NX-Sh
 for submit <at> debbugs.gnu.org; Fri, 10 Oct 2014 16:03:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1XcgOz-0001y9-4H
 for submit <at> debbugs.gnu.org; Fri, 10 Oct 2014 16:03:05 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50094)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1XcgOz-0001xw-24
 for submit <at> debbugs.gnu.org; Fri, 10 Oct 2014 16:03:01 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57032)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1XcgOu-0003QD-Ef
 for bug-gnu-emacs@HIDDEN; Fri, 10 Oct 2014 16:03:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1XcgOq-0001j7-0z
 for bug-gnu-emacs@HIDDEN; Fri, 10 Oct 2014 16:02:56 -0400
Received: from defaultvalue.org ([70.85.129.156]:54914)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1XcgOp-0001ix-SD
 for bug-gnu-emacs@HIDDEN; Fri, 10 Oct 2014 16:02:51 -0400
Received: from trouble.defaultvalue.org (localhost [127.0.0.1])
 (Authenticated sender: rlb@HIDDEN)
 by defaultvalue.org (Postfix) with ESMTPSA id 05C9220310;
 Fri, 10 Oct 2014 15:02:51 -0500 (CDT)
Received: by trouble.defaultvalue.org (Postfix, from userid 1000)
 id 601BA14E422; Fri, 10 Oct 2014 15:02:50 -0500 (CDT)
From: Rob Browning <rlb@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Re: flymake-mode does not find makefiles named "makefile" or
 "GNUmakefile"
User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1
 (x86_64-pc-linux-gnu)
Date: Fri, 10 Oct 2014 15:02:50 -0500
Message-ID: <87tx3bzo9h.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
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: -5.0 (-----)
X-Debbugs-Envelope-To: submit
Cc: 337339@HIDDEN, 337339-forwarded@HIDDEN,
 Josh Triplett <josh@HIDDEN>
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: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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 (-----)

[If possible, please preserve the -forwarded address in replies.]

Looks like this was reported to flymake, and is even mentioned in a
comment in (24.3) flymake.el, but I thought there was a chance it should
be in the Emacs tracker too.

Josh Triplett <josh@HIDDEN> writes:

> flymake-mode only searched for makefiles named "Makefile"; it will not
> find a makefile named "makefile" or "GNUmakefile".

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




Acknowledgement sent to Rob Browning <rlb@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#18682; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 29 May 2021 03:45:01 UTC

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