From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Emacs Lisp Linter fail to identify function defined in a "use-package" block Date: Tue, 07 Nov 2023 22:10:34 -0500 Message-ID: References: <87il7c8le4.fsf@dataswamp.org> <87lec76vsw.fsf@dataswamp.org> <87pm11i0uj.fsf@dataswamp.org> <875y2efnj7.fsf@dataswamp.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4036"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Emanuel Berg Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 08 04:10:56 2023 Return-path: Envelope-to: ged-emacs-devel@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 1r0Yy0-0000ok-17 for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Nov 2023 04:10:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0Yxi-0003k4-JP; Tue, 07 Nov 2023 22:10:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0Yxg-0003ju-EV for emacs-devel@gnu.org; Tue, 07 Nov 2023 22:10:36 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0Yxf-0003nW-40; Tue, 07 Nov 2023 22:10:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=Wgaofv6KkuovwtcuQQfTgcJ4v3bpWrx85TVjl6gT0Ro=; b=GsKB7koVl/fO ibDwg7fyleZNo/J7n6HTlWm/TQyk/4bmqBU0GBdjWbapvqsMIThNZhv/QMhLxMbS7Bxp4vJWoAL62 JqXVXcx5Tqsybnl835zHP+vEddJilQbCWK4B7VcKESBL60G8g+rrUjUAco9dfvN47X2/YRH4SmSMX 7i9Pg1GyoHber4QNaz0BaJfeqYHOFUDAnR76YEb9UP+Hkl9uZt+1LhRaGBOs6OVWbDqUtg/Btfzdi psF1F3MgoZS8tp/xilpxIuGH/outulf+GE84RJ8OwStEggp9zie8RXQirIU/XVHvzMOWHpwHTTOXx gUGV9IJciylMTg9g2Dk3ag==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1r0Yxe-00011V-SB; Tue, 07 Nov 2023 22:10:34 -0500 In-Reply-To: <875y2efnj7.fsf@dataswamp.org> (message from Emanuel Berg on Tue, 07 Nov 2023 00:51:56 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:312335 Archived-At: [[[ 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)