From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63235: 29.0.90; makefile-mode does not recognize Plan 9's mk, mkfile Date: Wed, 03 May 2023 07:39:12 +0800 Message-ID: <87ednycnhb.fsf@yahoo.com> References: <202305021634.342GYNGn010247@sdf.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15095"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63235@debbugs.gnu.org To: Van Ly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 03 01:40:31 2023 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 1ptzbi-0003mN-48 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 May 2023 01:40:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptzbQ-0002Li-1R; Tue, 02 May 2023 19:40:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptzbJ-0002L3-I3 for bug-gnu-emacs@gnu.org; Tue, 02 May 2023 19:40:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptzbF-0006wP-Rt for bug-gnu-emacs@gnu.org; Tue, 02 May 2023 19:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ptzbF-0001tL-NN for bug-gnu-emacs@gnu.org; Tue, 02 May 2023 19:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 May 2023 23:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63235 X-GNU-PR-Package: emacs Original-Received: via spool by 63235-submit@debbugs.gnu.org id=B63235.16830707707229 (code B ref 63235); Tue, 02 May 2023 23:40:01 +0000 Original-Received: (at 63235) by debbugs.gnu.org; 2 May 2023 23:39:30 +0000 Original-Received: from localhost ([127.0.0.1]:45261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptzaj-0001sX-OJ for submit@debbugs.gnu.org; Tue, 02 May 2023 19:39:30 -0400 Original-Received: from sonic311-25.consmr.mail.ne1.yahoo.com ([66.163.188.206]:43124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptzag-0001sH-Sk for 63235@debbugs.gnu.org; Tue, 02 May 2023 19:39:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1683070760; bh=ZriKj/ZcUh2DPeINu+gu1gttImrFgiJC67rozfPJkq8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=M7ymrcwZf0OC0TDzPYLwmYIV8VfFGhl2ZlDUr+hyQhqjwLfTwCyCesDUQcA0Qzr6KOEih7/bFBdaujvyygDl8UhrnWEaZ1oe5dHx1oDa1KWU9wrsYmTPUdVQk8+8CdPc9KOm2shdcUNd3+YtI92VW0TnpXISky9IFJb9psJm1XxR9ad8wK++c0eBsE4+k8IQXWVM8OWUt843NGA3QU+46gB1YqbvB86a8/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cRQIrIB9K1af8t7yYPITKckkTVYviVGj6Tau11lvcP6gOdijuVd8RCYuJ0m5Zp8DGR_p7Yn 3Ggr8cxSeG2_0UTBacYUYIpAX24a5weJeR4wC3aj5NfFH3Hw1q2rCSXmzi0_eNVDTpCxzyLUIf95 Bko4SeWcwfKxDrBgotc1_viBsRRK.8H2nASSpGYvDW8MGHGVz3WzXbGHT8HDhOxUnEbQ_mYf3D1f ehdm2Bb0fsMnU.BYlGrPWC6eW0LWBsS_FksD8hVvYvZqALVVCQbkNop8ttcWNO6bEsNjV_MS9EGs y0ls_pJyjsRBLZs7Jr24MBIzXK0fJCvdZo8T4uvvUXphLPcxkCn7HRMFdQmGABBF4iZtiqMVJG43 pLw3NJ7U3CVP8kzH9TMZcPv5vQ4QzDSwOZybBP6r8j X-Sonic-MF: X-Sonic-ID: 5a434713-b99b-4ad8-967b-575bd0c7e3bf Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Tue, 2 May 2023 23:39:20 +0000 Original-Received: by hermes--production-sg3-6d6fb994f6-m2lhb (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 11df5896b9b13f353967b6c6fe9ab9f3; Tue, 02 May 2023 23:39:16 +0000 (UTC) In-Reply-To: <202305021634.342GYNGn010247@sdf.org> (Van Ly's message of "Tue, 2 May 2023 16:34:23 GMT") X-Mailer: WebService/1.1.21417 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260962 Archived-At: Van Ly writes: > The makefile-mode is not general enough to make use of Plan 9's user > space mkfile format and mk command. > > This is likely to be considered not a bug. The expected behavior is > Emacs would be smart with Plan 9's user space tools. Specifically, > the mk command and mkfile format in this case. > > The unexpected behavior attempts to compile using the make command and > not the mk command. I tried to locate a PLAN9Makefile-mode but didn't > find one in the command completion mechanism. > > steps to reproduce > - set PLAN9 and PATH environment variables in shell > - verify, mk all, works at the plain shell > - start, emacs -Q > - visit /tmp/mkfile; makefile-mode does not recognize mkfile > - M-x makefile-mode > - M-x compile RET; Compile command: make -k, should adapt to mk command > > quote > # example /tmp/mkfile > all:V: > echo This line is left blank intentionally. > > quote ends The way I understand it, mk is not a variant of Make, and is certainly not close enough to be supported by Makefile mode. For starters, commands are not indented with tabs, but with spaces. Besides, who uses it in the real world?