From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#46052: Colons fooling GNUmakefile mode Date: Sat, 23 Jan 2021 14:48:22 +0100 Message-ID: <87v9bnlq6x.fsf@gmail.com> References: <87tur914qj.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22014"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46052@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 23 14:49:11 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 1l3JHr-0005de-Cn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jan 2021 14:49:11 +0100 Original-Received: from localhost ([::1]:44624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3JHq-0005cC-Bq for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jan 2021 08:49:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3JHi-0005bu-3U for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 08:49:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50560) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3JHh-0002Ci-SF for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 08:49:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l3JHh-0004v5-Qy for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 08:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jan 2021 13:49: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.161140971318867 (code B ref 46052); Sat, 23 Jan 2021 13:49:01 +0000 Original-Received: (at 46052) by debbugs.gnu.org; 23 Jan 2021 13:48:33 +0000 Original-Received: from localhost ([127.0.0.1]:33873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3JHF-0004uF-3u for submit@debbugs.gnu.org; Sat, 23 Jan 2021 08:48:33 -0500 Original-Received: from mail-wm1-f48.google.com ([209.85.128.48]:52676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3JHD-0004tz-26 for 46052@debbugs.gnu.org; Sat, 23 Jan 2021 08:48:32 -0500 Original-Received: by mail-wm1-f48.google.com with SMTP id m187so6651529wme.2 for <46052@debbugs.gnu.org>; Sat, 23 Jan 2021 05:48:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=jh2d1/1fNcco+oqrHGBYbmHFFhVJgB0TBBvp8nVxg1g=; b=NhOfAXOn5WfZuXK4s7mcLYJ0lhirRPHH0i7JmGE/nRXI31s5solq5YyytReabok6nf GJeWtE3A00RtxbJuHmDZW0v6fsi7yJk0415/NQnkzgXo0CrNQ0krlWEEYSZjCEoZnH4D 0NLe4wPPMhqXKaTsaEizO3U0D7QIy225zSystE5TIOv65x72u3Q+w/dCVB8+Q7gV3trp 4xm9b85JSPr+nPT9Bt9vZ0Ji2GgZnfiPvfOb2LFd0zddUSeK9ypRtyu/6Fs9+7bj/R7Q f8d1qpA2cBbFlJDpMWlapzT9L0PntkkM6COJaTb98muf2NDl3IzVDqTtMxkbLhLqpmMK L8vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=jh2d1/1fNcco+oqrHGBYbmHFFhVJgB0TBBvp8nVxg1g=; b=QCpPFyFc7LJH3imNGZJQpPvo7AxMtZ2vZ1j8W3Td83ug4W8dvW4bXfjxV13gZ82vKw FURgBJFqpG3qlO5KvexoydacfKL6QuLbScxXxw4J+x6gN09JKar3dlARYsFJEwOPkAEl Zye65zpPjAfkzm8QdtRGwXj/fglp6AAsVzBPjseDHkbEb3CfHlenv7FXiZbL5v14IazB LrDunG8Gce3sKRjKLxnZGNNr05co+ugWN8SnR0G96cmHNCSVOmUlq0fJPUZVNsJA3aRa g68CPvvBsX2JQqCvfS1d6Wg6XxLlwC7SzMMSd5vtdBL8fd4lSV2QgtIGF51me0SfMnSW GfZw== X-Gm-Message-State: AOAM532nMtJ0QW2pmQjtzpMe5rnjJlewGofa8j+2ZLeuwQx62KIconjE nYATKGSY62/69X/PSzTJcQxuQYLPptYaXw== X-Google-Smtp-Source: ABdhPJx+HQVQL+IrGxTH/HnYRRgbZEkNPermJ0JZACY0tmPRM3Z6eHk/bFEqcIO1chNKtGqvjc87yQ== X-Received: by 2002:a1c:8095:: with SMTP id b143mr8151924wmd.71.1611409704743; Sat, 23 Jan 2021 05:48:24 -0800 (PST) Original-Received: from my-little-tumbleweed ([2a01:e0a:20e:d340:922b:34ff:fe95:9aed]) by smtp.gmail.com with ESMTPSA id u3sm17970073wre.54.2021.01.23.05.48.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Jan 2021 05:48:23 -0800 (PST) In-Reply-To: <87tur914qj.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Fri, 22 Jan 2021 21:27:32 +0800") 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:198430 Archived-At: =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > Perhaps already fixed. AFAICT this is still reproducible in master (c83590b). Out of curiosity, I took a look at make-mode.el, thinking it might just be a matter of adding a [^\t] in a regexp somewhere after a ^ anchor, but I'm not used to debugging font-lock setups and I don't really know which occurrence of makefile-targets is responsible for this spurious fontification (maybe the one paired with makefile-match-dependency, which relies on makefile-dependency-regex?). It sure would be nice if make-mode could check whether a line starts with a tab before slapping the makefile-targets face on it. (Supporting .RECIPEPREFIX would also be neat I guess, though the fact that this variable can be set multiple times in a single makefile will probably pose an interesting challenge.)