From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17164 invoked from network); 3 Sep 2021 18:31:05 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 3 Sep 2021 18:31:05 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mMDxv-00E8hB-Jd for ml@inbox.vuxu.org; Fri, 03 Sep 2021 13:31:03 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1mMDxu-001ikB-Sd for ml@inbox.vuxu.org; Fri, 03 Sep 2021 13:31:02 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1mMDxt-001ik5-JV for ding@lists.math.uh.edu; Fri, 03 Sep 2021 13:31:01 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mMDxr-00E8gq-B1 for ding@lists.math.uh.edu; Fri, 03 Sep 2021 13:31:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=NTFp4UnevvHllGczv2SiPAxTMbgr5b5MwlFM242Cet8=; b=SLhVIZiaTMyMxpHlF4e3AyLyq1 D9p+wUlusiA4TyFy5Z9OC66wY05WxvOG+4p0qpt5PKJpy2F6Y/5IQHZEp4KUrdd1B7yMGLi6PPUXq SbNb0R4Pl8VpV1ix0HYFH2fc2tNmR8VmK8qTuekhsMUeiVaAis8pi6BzBNlhOD1kI+IU=; Received: from mail.ericabrahamsen.net ([52.70.2.18]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMDxj-00084X-6L for ding@gnus.org; Fri, 03 Sep 2021 20:30:53 +0200 Received: from localhost (24-113-148-110.wavecable.com [24.113.148.110]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 5999EFA07E; Fri, 3 Sep 2021 18:30:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1630693842; bh=NTFp4UnevvHllGczv2SiPAxTMbgr5b5MwlFM242Cet8=; h=From:To:Cc:Subject:References:Date:From; b=WgJJtMy64BOYgR8YmfUO6toMaU0D9/EKM51eu+HWxbqc1dPary5sqweAsmM1jb+jC aG2OkbFYKm9UzhC+RUTw5h+rr2r8hKZ5YblXxHvUcl9XBaFbxh08DFjEZEJCdFLC5j E0dJvUIHGM7X/UZjshYKMBP5O4nSu0/9SRLM8a08= From: Eric Abrahamsen To: Colin Baxter Cc: ding@gnus.org Subject: Re: gnus-extra-headers References: <87sfyohftb.fsf@yandex.com> <87sfymy6ck.fsf@ericabrahamsen.net> <87y28e6wr1.fsf@yandex.com> Date: Fri, 03 Sep 2021 11:30:40 -0700 Message-ID: <875yvhldf3.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk Colin Baxter writes: > Hello Eric, >>>>>> Eric Abrahamsen writes: > > > Colin Baxter writes: > >> Hello, > >>=20 > >> If emacs (tested with 27.2 and 28.0.50) is launched with -Q (or > >> gnus-extra-headers has not been set explicitly by the user) then > >> the variable gnus-extra-headers has the value: > >>=20 > >> gnus-extra-headers is a variable defined in =E2=80=98gnus-sum.el= =E2=80=99. Its > >> value is (X-Diary-Time-Zone X-Diary-Dow X-Diary-Year > >> X-Diary-Month X-Diary-Dom X-Diary-Hour X-Diary-Minute To Cc > >> Keywords Gcc Newsgroups X-GM-LABELS) Original value was (To Cc > >> Keywords Gcc Newsgroups X-GM-LABELS) > >>=20 > >> You can customize this variable. > >>=20 > >>=20 > >> This variable was introduced, or its default value was changed, > >> in version 25.1 of Emacs. > >>=20 > >> Documentation: Extra headers to parse. > >>=20 > >> The X-Diary settings seem to come from nndiary.el, but there is > >> nothing in the doc-string to indicate this. > >>=20 > >> Is this a bug? Is not the "Original value" of gnus-extra-headers > >> incorrect? > > > I don't think it's really a bug. If you don't use the nndiary > > backend, those headers don't get added to `gnus-extra-headers', > > and it has its "original value" as noted in *Help*. I don't think > > there's any contract that says additional libraries can't > > manipulate the value of customization options... is there? > > True, but the user might suppose that using -Q ensures that no extra > libraries are loaded. I would have thought that nndiary constitutes an > extra library. If it does not and the library is germane to -Q then why > omit any mention of it from gnus-extra-headers? I have quickly looked at > NEWS for emacs-25.1 but found nothing relevant. If I start with "emacs -Q" and a minimal Gnus setup, the nndiary isn't loaded and its values aren't added to `gnus-extra-headers'. The odd thing is that in my usual Emacs/Gnus set up, those values _are_ added, and I don't use nndiary or gnus-diary.el. Hang on, let me force an error in there and see exactly what's loading it. Nope, I just restarted Emacs and Gnus, and did some other Org/Diary/Calendar stuff for good measure, and now nothing has triggered a load of 'nndiary, and the extra values aren't added. Obviously something, somewhere, eventually triggers that load in my setup, but it doesn't seem to happen by default. I'm quite ready to believe that something is loading 'nndiary when it doesn't need to, but so far I don't know what it is. Maybe you could give it a shot? Delete nndiary.elc, stick a call to (error) in nndiary.el, and restart everything? Eric