From: Stefan Kangas <stefan@marxist.se>
To: Alan Mackenzie <acm@muc.de>
Cc: 21871@debbugs.gnu.org
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 [thread overview]
Message-ID: <CADwFkm=SczZPTJYVr38UUke767cse818WFQCGSrSpOC+aTxUxQ@mail.gmail.com> (raw)
In-Reply-To: <20151110163034.GH2626@acm.fritz.box> (Alan Mackenzie's message of "Tue, 10 Nov 2015 16:30:34 +0000")
Alan Mackenzie <acm@muc.de> 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.
next prev parent reply other threads:[~2021-09-19 22:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-10 16:30 bug#21871: Emacs Lisp Mode (at least): spurious parens in column 0 don't get bold red highlighting Alan Mackenzie
[not found] ` <mailman.2066.1447172952.7904.bug-gnu-emacs@gnu.org>
2015-11-12 12:44 ` Alan Mackenzie
2015-11-12 16:36 ` Glenn Morris
2015-11-12 18:12 ` Alan Mackenzie
[not found] ` <mailman.2173.1447351928.7904.bug-gnu-emacs@gnu.org>
2015-11-12 18:54 ` Alan Mackenzie
2015-11-12 19:17 ` Eli Zaretskii
2016-05-15 21:50 ` Dmitry Gutov
2016-05-16 10:20 ` Alan Mackenzie
2016-05-16 13:18 ` Dmitry Gutov
2016-05-16 15:00 ` Andreas Röhler
2016-05-17 9:02 ` Alan Mackenzie
2017-09-02 13:19 ` Eli Zaretskii
2020-04-11 15:00 ` Noam Postavsky
2021-09-19 22:14 ` Stefan Kangas [this message]
2021-09-20 17:50 ` Alan Mackenzie
2021-09-21 23:07 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkm=SczZPTJYVr38UUke767cse818WFQCGSrSpOC+aTxUxQ@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=21871@debbugs.gnu.org \
--cc=acm@muc.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).