emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to disable warnings about single quotes in emacs-29


From: Lars Ingebrigtsen
Subject: Re: How to disable warnings about single quotes in emacs-29
Date: Wed, 08 Jun 2022 13:57:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Po Lu <luangruo@yahoo.com> writes:

> checkdoc was eventually supposed to be integrated into the
> byte-compiler, I think.  Errors in doc strings are not fatal to the
> program either, so I'd call them "style errors".

It's not warning about style errors -- doc strings are written in a
markup language, and it's warning about errors in that markup language.
Putting "For instance, (setq foo 'bar)" in a doc string is wrong -- the
doc string displayed in *Help* will be syntactically wrong.

(And we use the byte compiler to report about a bunch of stylistic
problems, like the usage of save-excursion+set-buffer.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]