From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tpeplt Newsgroups: gmane.emacs.bugs Subject: bug#69892: 29.2; Missing =?UTF-8?Q?=E2=80=98?=(provide 'paragraphs)=?UTF-8?Q?=E2=80=99?= in lisp/textmodes/paragraphs.el Date: Tue, 19 Mar 2024 10:20:20 -0400 Message-ID: <8734smtiaj.fsf@gmail.com> References: <87ttl39zhi.fsf@gmail.com> <86bk7a4bsc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8545"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 69892@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 19 19:26:01 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rme9x-0001tK-0A for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Mar 2024 19:26:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rme9S-0003oc-M6; Tue, 19 Mar 2024 14:25:30 -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 1rme9Q-0003nh-Mc for bug-gnu-emacs@gnu.org; Tue, 19 Mar 2024 14:25:29 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rme9Q-00035s-Dp for bug-gnu-emacs@gnu.org; Tue, 19 Mar 2024 14:25:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmeA1-0008Eu-Ta for bug-gnu-emacs@gnu.org; Tue, 19 Mar 2024 14:26:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: tpeplt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Mar 2024 18:26:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69892 X-GNU-PR-Package: emacs Original-Received: via spool by 69892-submit@debbugs.gnu.org id=B69892.171087271731365 (code B ref 69892); Tue, 19 Mar 2024 18:26:05 +0000 Original-Received: (at 69892) by debbugs.gnu.org; 19 Mar 2024 18:25:17 +0000 Original-Received: from localhost ([127.0.0.1]:54438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rme9E-00089o-DR for submit@debbugs.gnu.org; Tue, 19 Mar 2024 14:25:17 -0400 Original-Received: from mail-qk1-f181.google.com ([209.85.222.181]:61681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmaLu-0004hM-Gj for 69892@debbugs.gnu.org; Tue, 19 Mar 2024 10:22:07 -0400 Original-Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-78a06e38527so107760485a.2 for <69892@debbugs.gnu.org>; Tue, 19 Mar 2024 07:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710858022; x=1711462822; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wUPxrvqbw8ublqbxu83rTxuzIAMaAiSgxR0zM0IBebk=; b=bsyiKqHONmJKGI8VYq0e4f2CYIEs8OBfIVWDWda7NHRtmlmxwcR5IFEhOUAPd0s6bE jetu+kGPtIEhLxb/bNmA7SrSCESPRJacAdycNyB7gKJb04DEyarQRuePyHa3jSRldlVz skHyjT5CwMsO3yxpwwPzcBuL7PniHg8ZwfJAC2KSVEiS+fCPn/goTiNubI2CfUof+aiG ttnENXGPneqeikUwOVFFYi5+mGnVuv8dU84aG+5kGo/mWdm8/tHRpJpVTRwTHb5sUHH2 yz4rSZfaEwTY8P3xlNeK/yL2l7fqPGp1b66rgj2/8oD+pDBHe/9lW5HcZsi8scu/0Jpk WiKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710858022; x=1711462822; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=wUPxrvqbw8ublqbxu83rTxuzIAMaAiSgxR0zM0IBebk=; b=VLRso2gT4gDvLeGFxlW4X9oQJXrA3elIn+PL9Kl0ZLI0i8AgoLcTJq2wklQI36R0hT TzjvK3XvK3XhFQ5c5dUBNtcP1f8KO8o5SZNZzy8aw9CYfQBmkRpVpedYqZP0BTs/ARPk /iK/7hT84k68VpzjtaKzRLxq8ppL+VQugg0CAoCj9N23y+bzOp9mPWt0U6Q9TNyZZrRx r4h9gMeepBupEgOXU7Tor7d2+yF4D+pXE6T05SiAHzvxSimdmeq8IeNHYWyG895+VVWI S8YwzaA4rI1Llin9E9wLvJ+DWSkDeSedpkXd/WgMB9teo3Wci9wgf44sLLSWmGob18/b iAQw== X-Gm-Message-State: AOJu0YxYLJdPSZ2DkFNhQJnZAgoTCzvneZ0RTuif1OTr11lhl1TgVcrt 4X4q/Gt4mfbXQiFN5k0NL4uqtO+SfumsSG4VwvMG4JipZ4xsSahXUO1RVCWwrrw= X-Google-Smtp-Source: AGHT+IGdQEJE5dewbQpgjzvlClD2a0CscIcUvLwSLxrKxQTIlfFixazYf0a6GbhO+4fv62kRDTMWTA== X-Received: by 2002:a05:620a:1707:b0:789:f174:c3c7 with SMTP id az7-20020a05620a170700b00789f174c3c7mr3747679qkb.37.1710858021691; Tue, 19 Mar 2024 07:20:21 -0700 (PDT) Original-Received: from t530.local ([2600:8806:a821:2b00::9361]) by smtp.gmail.com with ESMTPSA id s25-20020a05620a16b900b00789f5a04b3esm2558257qkj.58.2024.03.19.07.20.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 07:20:21 -0700 (PDT) In-Reply-To: <86bk7a4bsc.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 19 Mar 2024 15:00:03 +0200") X-Mailman-Approved-At: Tue, 19 Mar 2024 14:21:53 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281840 Archived-At: Eli Zaretskii writes: >>=20 >> The Emacs Lisp file "../lisp/textmodes/paragraphs.el" does not include >> an expression to announce that "paragraphs" is a feature in the current >> Emacs, that is, near the end "paragraphs.el" there is no expression: >>=20 >> (provide 'paragraphs) >>=20 >> Because of this, if=20 >>=20 >> (require 'paragraphs) >>=20 >> is included in an Emacs Lisp source file, then the byte-compiler will >> issue an error message saying that loading the file =E2=80=98paragraphs.= elc=E2=80=99 >> failed to provide the feature =E2=80=98paragraphs=E2=80=99. > > paragraphs.el is preloaded, and has been for many years. So why would > a Lisp program need to require it, let alone load it? Emacs provides =E2=80=98elint-current-buffer=E2=80=99, =E2=80=98elint-defun= =E2=80=99, =E2=80=98elint-directory=E2=80=99, =E2=80=98elint-file=E2=80=99, which report warnings for references to undef= ined symbols when there is no =E2=80=98provide=E2=80=99 that provides definitions. So, = for example, a reference to =E2=80=98page-delimiter=E2=80=99 (defined in paragraphs.el) = will cause =E2=80=98elint=E2=80=99 to issue a warning, despite the fact that =E2=80=98= paragraphs.el=E2=80=99 has been preloaded. This might be a problem with =E2=80=98elint=E2=80=99 since paragraphs.el is= included in the files that it loads, even in batch mode. If it *is* an error in =E2=80=98elint=E2=80=99, then that should be fixed so that the invalid warn= ing messages are not included among valid warning and error messages. Or, =E2=80=98elin= t=E2=80=99 might be behaving correctly by looking through a list of =E2=80=98provides= =E2=80=99 in order to resolve references, rather than what has been preloaded. --