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

Previous Next

Package: emacs;

Reported by: Rob Browning <rlb <at> defaultvalue.org>

Date: Fri, 10 Oct 2014 20:04:01 UTC

Severity: normal

Tags: easy

To reply to this bug, email your comments to 18682 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18682; Package emacs. (Fri, 10 Oct 2014 20:04:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rob Browning <rlb <at> defaultvalue.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 10 Oct 2014 20:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rob Browning <rlb <at> defaultvalue.org>
To: bug-gnu-emacs <at> gnu.org
Cc: 337339 <at> bugs.debian.org, 337339-forwarded <at> bugs.debian.org,
 Josh Triplett <josh <at> freedesktop.org>
Subject: Re: flymake-mode does not find makefiles named "makefile" or
 "GNUmakefile"
Date: Fri, 10 Oct 2014 15:02:50 -0500
[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 <at> freedesktop.org> 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




Added tag(s) easy. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sun, 11 Jun 2017 23:55:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18682; Package emacs. (Sat, 29 May 2021 03:31:02 GMT) Full text and rfc822 format available.

Message #10 received at 18682 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Rob Browning <rlb <at> defaultvalue.org>
Cc: 337339 <at> bugs.debian.org, 337339-forwarded <at> bugs.debian.org,
 18682 <at> debbugs.gnu.org, João Távora <joaotavora <at> gmail.com>,
 Josh Triplett <josh <at> freedesktop.org>
Subject: Re: bug#18682: flymake-mode does not find makefiles named
 "makefile" or "GNUmakefile"
Date: Sat, 29 May 2021 05:30:24 +0200
Rob Browning <rlb <at> defaultvalue.org> 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 <at> freedesktop.org> 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ão, does that sound like a likely solution?

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




This bug report was last modified 4 years and 16 days ago.

Previous Next


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