From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?S2lvbmctR8STIExpxIF1?= Newsgroups: gmane.emacs.devel Subject: Re: Emacs Lisp Linter fail to identify function defined in a "use-package" block Date: Wed, 11 Oct 2023 19:32:16 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000623e7306077a13b5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5703"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 12 06:49:49 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 1qqndt-0001M6-2O for ged-emacs-devel@m.gmane-mx.org; Thu, 12 Oct 2023 06:49:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqndG-0002yM-Fn; Thu, 12 Oct 2023 00:49:10 -0400 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 1qqjcy-00040T-E5 for emacs-devel@gnu.org; Wed, 11 Oct 2023 20:32:36 -0400 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqjcw-0006UN-UB for emacs-devel@gnu.org; Wed, 11 Oct 2023 20:32:36 -0400 Original-Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-32d8c2c6dfdso403749f8f.1 for ; Wed, 11 Oct 2023 17:32:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697070753; x=1697675553; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=PQ/7Je8uI0fIp249cCpiG6b4PBEqYT0VK08Yzpw2hPg=; b=DIeH+4Ez9McqgWfmsfBJKnTuIddVa5Y4eVuYpZG2D7rqN6qQLU21SQ8a0COnyoiH3x zL2hzxPMfxYKya+nSLpnGPh3KRj5qPFwyf6KJlWmSzPNNMg9RdjEC1wsjaKC0KoVkrD3 LvXF4YNsYa4rADBdK1rDUz/h+TiXAk4YZJ7WviCJA+zVN99xDMu3zXqnQzGWtY4DoiuX BkZgdKEUM2hOlU8U8IPrVSWPgJGtfHX2IQeLtiyKMF+FMZgL619R3H6ArW45+oQ49kMU 73OKGOEp4POuMEhjs4VLsz0OJEF1i4rvt+8+sIo7cPZ40DaOG6IhnEwOvFJHqDi02Kzz 0CWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697070753; x=1697675553; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PQ/7Je8uI0fIp249cCpiG6b4PBEqYT0VK08Yzpw2hPg=; b=E1vUKu5kSdNj9ZloXHQLflOxTvM5t9K85jqcQUT6hOswRUUrWAwRSmUnhFOqr1ycwp Jm3dgHi1Sh7CspNaBmc6Q1QA3BSy1GOO63LSTV77X+FHFoef6MjYnl3CFSDAHlrh8ZXj UZQo+X+WskJHu12WpDL+c3jugi0goyuBishSq6Y62gm8ZDBLqrhng752Kqb/hHORQF1R azwGGpjEAN1VhlyOymq3QeaFX8L7N3PrF9qeifuq7qUuy0X8d/D/meCPovj4UGkK4xOL wH7g3pfeV44MI/nte+es5Tgv4hhVA7gf+mb54Ep1KmiVAV4hgtV9H85HL0euxeZjMRiA sZfw== X-Gm-Message-State: AOJu0Yy4HzItI+ywSPqWArymAo3d3s2/ZNQoPudMvaufPGglOkVux4i3 slZ1BLRb+KQ4WnRhXYTFCMQucP3OQQtvVLtHZ2kRYjzL X-Google-Smtp-Source: AGHT+IFJ5NtJ2eAgl3N1Xy13iWDlNxKg1pOVGRR1Lggvtv8bQ+wGW/iHV/mAsYb8uSpWFz+JBCLqkfQE6x17DQYUzj4= X-Received: by 2002:a5d:5110:0:b0:32d:82f7:e76 with SMTP id s16-20020a5d5110000000b0032d82f70e76mr2940316wrt.34.1697070752872; Wed, 11 Oct 2023 17:32:32 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=gongyi.liao@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 12 Oct 2023 00:49:08 -0400 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:311416 Archived-At: --000000000000623e7306077a13b5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I just realized that it's caused by flyCheck rather than elint. Sorry for some misleading information. I also noticed that elint is unable to identify variables/functions defined in subr.el, startup.el, or any other el files that has no explicit "provides" statement at their end. We may need to add some supplemental information to elint to avoid false-alarms about undefined functions or variables. Thanks, Kiong-G=C4=93. --000000000000623e7306077a13b5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I just r= ealized that it's caused by flyCheck rather than elint. Sorry for some = misleading information.

=
I also noticed that elint is unable to identify= variables/functions defined in subr.el, startup.el, or any other el files = that has no explicit "provides" statement at their end. We may ne= ed to add some supplemental information to elint to avoid false-alarms abou= t undefined functions or variables.

Thanks,
Kiong-G=C4=93.




--000000000000623e7306077a13b5--