From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#21871: Emacs Lisp Mode (at least): spurious parens in column 0 don't get bold red highlighting. Date: Sun, 19 Sep 2021 15:14:18 -0700 Message-ID: References: <20151110163034.GH2626@acm.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14553"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 21871@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 20 00:15:27 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 1mS55r-0003WD-9w for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Sep 2021 00:15:27 +0200 Original-Received: from localhost ([::1]:33986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mS55o-0000yq-MG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 18:15:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mS55T-0000yJ-8V for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 18:15:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mS55T-0002n8-0y for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 18:15:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mS55S-0003Dx-TU for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 18:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Sep 2021 22:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21871 X-GNU-PR-Package: emacs Original-Received: via spool by 21871-submit@debbugs.gnu.org id=B21871.163208966912329 (code B ref 21871); Sun, 19 Sep 2021 22:15:02 +0000 Original-Received: (at 21871) by debbugs.gnu.org; 19 Sep 2021 22:14:29 +0000 Original-Received: from localhost ([127.0.0.1]:40190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mS54v-0003Cn-Ic for submit@debbugs.gnu.org; Sun, 19 Sep 2021 18:14:29 -0400 Original-Received: from mail-pl1-f173.google.com ([209.85.214.173]:40701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mS54q-0003CQ-C8 for 21871@debbugs.gnu.org; Sun, 19 Sep 2021 18:14:28 -0400 Original-Received: by mail-pl1-f173.google.com with SMTP id n18so9773505plp.7 for <21871@debbugs.gnu.org>; Sun, 19 Sep 2021 15:14:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=in/zX+ykJuhwykREzNhFvpeJZ0vGeSVb8MVMVgyx+Ts=; b=2EkZRQffPVxOdA4vWUNpUlQaSixGs1FNsnbNe7MTW7Tg/FNkpChehqm5Z3cx3gCzUX rauO5avwsi5tin9rf+vXhiTPlXiSkLiLI0kH+EOZ18PjbA27JeTn560gVP6ghLJxl2Wl hkE1eRw4QL7Y1isfRBh4Sx/myuCSkiokirEQeED6B/vZljKiQvhWoY35SMinQ6N2BDTB p/7OrZzM9n7BSL3QD1U5xZs2iAuFX7U0/hkUEqFgRiBIpsAhw7p9XVscgDrBw0ULFS+N 6IjNizZ/VlAqV6nfS0nM7Vt1wWIMx6HcYCfikPvYda8QI5oVkAKXLplQftliqpWGe5cU 2LRA== X-Gm-Message-State: AOAM532h5twIakFiOuj5sWw6REHtAdtZhxuQ3PZ+0YhiSbF5O4qcJGxt HSolgtroy5Aibj20ofJ7lx/GHezsw4NFVPeyUVqJBj/a X-Google-Smtp-Source: ABdhPJwJR4P/Lt+3vQ3THx0G63KUd2WUPysarVDpNGsouIGZTrZ4J9zra+QVBK2Z3cDQPoyArCj4upPOjtNp2ZlNcVE= X-Received: by 2002:a17:902:b691:b029:12d:2b6:d116 with SMTP id c17-20020a170902b691b029012d02b6d116mr19680804pls.71.1632089658528; Sun, 19 Sep 2021 15:14:18 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 19 Sep 2021 15:14:18 -0700 In-Reply-To: <20151110163034.GH2626@acm.fritz.box> (Alan Mackenzie's message of "Tue, 10 Nov 2015 16:30:34 +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:214793 Archived-At: Alan Mackenzie writes: > Hello, Emacs. > > In the Emacs manual page "Left Margin Paren", it says that: > > To help you catch violations of this convention, Font Lock mode > highlights confusing opening delimiters (those that ought to be quoted) > in bold red. > > , where "this convention" is the convention of not putting opening parens > in column 0 when they aren't at the beginning of defuns. > > In Emacs Lisp Mode, this highlighting isn't done. It isn't in CC Mode, > either. The above text no longer exists, and in Emacs 27.1 or later, we no longer treat an unescaped ( in column zero in a docstring as the beginning of a defun. (See `(elisp) Documentation Tips', final paragraph.) So should this bug be closed, or is there anything more to do here? > This is either a bug in the code, or a bug in the documentation. I > rather tend to the view that this bold red highlighting should be done > when open-paren-in-column-0-is-defun-start is non-nil. I think it did, > at one stage, but searching the emacs-devel archives doesn't reveal what > happened.