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#42411: Bug with M-x compile Date: Sun, 26 Jul 2020 16:55:29 +0300 Message-ID: <83r1sybctq.fsf@gnu.org> References: <83tuxwcb0h.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15055"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42411@debbugs.gnu.org To: Paul Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 26 15:56:10 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 1jzh8L-0003ho-4l for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jul 2020 15:56:09 +0200 Original-Received: from localhost ([::1]:59760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzh8K-0000Ew-1W for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jul 2020 09:56:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzh8E-0000Eq-Kg for bug-gnu-emacs@gnu.org; Sun, 26 Jul 2020 09:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzh8E-0007v6-9p for bug-gnu-emacs@gnu.org; Sun, 26 Jul 2020 09:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzh8E-0007Ti-7p for bug-gnu-emacs@gnu.org; Sun, 26 Jul 2020 09:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jul 2020 13:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42411 X-GNU-PR-Package: emacs Original-Received: via spool by 42411-submit@debbugs.gnu.org id=B42411.159577174728740 (code B ref 42411); Sun, 26 Jul 2020 13:56:02 +0000 Original-Received: (at 42411) by debbugs.gnu.org; 26 Jul 2020 13:55:47 +0000 Original-Received: from localhost ([127.0.0.1]:53208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzh7z-0007TU-GT for submit@debbugs.gnu.org; Sun, 26 Jul 2020 09:55:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzh7w-0007TO-1l for 42411@debbugs.gnu.org; Sun, 26 Jul 2020 09:55:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35251) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzh7q-0007ok-Ke; Sun, 26 Jul 2020 09:55:38 -0400 Original-Received: from [176.228.60.248] (port=4371 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jzh7q-00044a-1m; Sun, 26 Jul 2020 09:55:38 -0400 In-Reply-To: (message from Gregory Heytings on Sat, 25 Jul 2020 23:29:09 +0000) 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:183571 Archived-At: > Date: Sat, 25 Jul 2020 23:29:09 +0000 > From: Gregory Heytings > cc: Eli Zaretskii > > > And there could be other situations as well. I'm not an expert; if we > > want to review all the possible use cases, perhaps we should ask Paul > > Smith, the GNU Make maintainer, to join this discussion and help us > > enumerate the possible cases. > > > > I'm not an expert either, so yes, please ask Paul Smith for advice on > this. I do think that the way to compute completion candidates should be > improved. > > There will always be exceptional cases (for example, for GNU Make, > .RECIPEPREFIX with which it is possible to use another prefix character > instead of TAB can apparently be used multiple times), but for something > like 99.9% cases, a line starting with a TAB is a recipe element and not a > target, a line starting with a '#' is a comment, and a line starting with > a '.' sets a special variable. The current regexp correctly excludes the > last two, but includes the first one. Paul, could you please chime in and share your views on this? If you want to read the discussion from the beginning, you can find it at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42411 or, if you prefer to read all of it in your MUA, you can download all the messages in the mbox format: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42411;mbox=yes TIA