[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Lisp Linter fail to identify function defined in a "use-packag
From: |
Richard Stallman |
Subject: |
Re: Emacs Lisp Linter fail to identify function defined in a "use-package" block |
Date: |
Tue, 07 Nov 2023 22:10:34 -0500 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
We don't try to maintain MELPA packages -- they are not part of Emacs.
I suppose this lint program is useful; it must report some potential
problems. But instead of writing a lint program for Emacs, maybe we
can do this job better by integrating that functionality into the
Emacs Lisp compiler.
That is what I did for C.
The original `lint' program was part of Unix in the 1980s. It
reported possible wrrors that the Unix C compiler did not try to
detect.
I thought that the need for a separate `lint' program was a design
flaw, so instead of writing a free `lint' for GNU, I made GCC report
those possible errors. Thus, the GNU system did not need a `lint'
program. You only needed to run one program over your C source, that
being GCC, and it would do both jobs. That proved to be a big
improvement.
Whatever the potential problems are that the Emacs Lisp `lint'
reports, can we make the byte compiler report them?
--
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)