GNU bug report logs - #74759
30.0.92; Gnus configuration warning

Previous Next

Package: emacs;

Reported by: Anush V <j <at> gnu.org>

Date: Tue, 10 Dec 2024 03:12:02 UTC

Severity: normal

Tags: fixed

Found in version 30.0.92

Fixed in version 30.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74759 in the body.
You can then email your comments to 74759 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#74759; Package emacs. (Tue, 10 Dec 2024 03:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Anush V <j <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 10 Dec 2024 03:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Anush V <j <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.92; Gnus configuration warning
Date: Mon, 09 Dec 2024 22:09:07 -0500
Hello maintainers,

I tried executing the sample gnus configuration from [[info:gnus#Search
Engines][gnus#Search Engines]] in emacs with ~--no-init~ option, and I'm getting
a warning.  This code snippets works as expected, though.

Steps to reproduce:

emacs -Q
M-x ielm

executed this code

       (setopt gnus-select-method
       '(nnmaildir "My Mail"
               (directory "/home/user/.mail")
               (gnus-search-engine gnus-search-notmuch
                                   (config-file
       "/home/user/.mail/.notmuch_config"))))


I get this warning

  ■  Warning (emacs): Value ‘(nnmaildir "My Mail" (directory "/home/user/.mail") (gnus-search-engine gnus-search-notmuch (config-file "/home/user/.mail/.notmuch_config")))’ does not match type gnus-select-method


I’m wondering if this is a bug, or if Im doing something wrong.

Thank you for your time.

* * *

In GNU Emacs 30.0.92 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo
version 1.18.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101014
System Description: Guix System

Configured using:
 'configure
 CONFIG_SHELL=/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/bash
 SHELL=/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/bash --prefix=/gnu/store/dgpfiflaxb8j33jcbqk29wadcykajl51-emacs-next-30.0.92-0.881d593 --enable-fast-install --with-cairo --with-modules --with-native-compilation=aot --disable-build-details'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

--
Regards,
Anush V




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#74759; Package emacs. (Tue, 10 Dec 2024 12:00:03 GMT) Full text and rfc822 format available.

Message #8 received at 74759 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Anush V <j <at> gnu.org>
Cc: 74759 <at> debbugs.gnu.org
Subject: Re: bug#74759: 30.0.92; Gnus configuration warning
Date: Tue, 10 Dec 2024 12:58:17 +0100
>>>>> On Mon, 09 Dec 2024 22:09:07 -0500, Anush V <j <at> gnu.org> said:

    Anush>        (setopt gnus-select-method
    Anush>        '(nnmaildir "My Mail"
    Anush>                (directory "/home/user/.mail")
    Anush>                (gnus-search-engine gnus-search-notmuch
    Anush>                                    (config-file
    Anush>        "/home/user/.mail/.notmuch_config"))))


    Anush> I get this warning

    Anush>   ■  Warning (emacs): Value ‘(nnmaildir "My Mail" (directory "/home/user/.mail") (gnus-search-engine gnus-search-notmuch (config-file "/home/user/.mail/.notmuch_config")))’ does not match type gnus-select-method


    Anush> I’m wondering if this is a bug, or if Im doing something wrong.

Itʼs an oversight in the definition of the custom type of
`gnus-select-method'. Iʼll see if I can come up with a fix.

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#74759; Package emacs. (Tue, 10 Dec 2024 14:03:02 GMT) Full text and rfc822 format available.

Message #11 received at 74759 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Anush V <j <at> gnu.org>
Cc: 74759 <at> debbugs.gnu.org
Subject: Re: bug#74759: 30.0.92; Gnus configuration warning
Date: Tue, 10 Dec 2024 15:01:16 +0100
[Message part 1 (text/plain, inline)]
>>>>> On Tue, 10 Dec 2024 12:58:17 +0100, Robert Pluim <rpluim <at> gmail.com> said:
    Robert> Itʼs an oversight in the definition of the custom type of
    Robert> `gnus-select-method'. Iʼll see if I can come up with a fix.

This works for me. Maintainers, master or emacs-30? (Iʼd lean towards
the latter)

Robert
-- 

[0001-Fix-gnus-select-method-custom-type.patch (text/x-diff, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#74759; Package emacs. (Tue, 10 Dec 2024 14:44:02 GMT) Full text and rfc822 format available.

Message #14 received at 74759 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 74759 <at> debbugs.gnu.org, j <at> gnu.org
Subject: Re: bug#74759: 30.0.92; Gnus configuration warning
Date: Tue, 10 Dec 2024 16:42:46 +0200
> Cc: 74759 <at> debbugs.gnu.org
> From: Robert Pluim <rpluim <at> gmail.com>
> Date: Tue, 10 Dec 2024 15:01:16 +0100
> 
> >>>>> On Tue, 10 Dec 2024 12:58:17 +0100, Robert Pluim <rpluim <at> gmail.com> said:
>     Robert> Itʼs an oversight in the definition of the custom type of
>     Robert> `gnus-select-method'. Iʼll see if I can come up with a fix.
> 
> This works for me. Maintainers, master or emacs-30? (Iʼd lean towards
> the latter)

Yes, emacs-30 is fine.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#74759; Package emacs. (Tue, 10 Dec 2024 14:56:02 GMT) Full text and rfc822 format available.

Message #17 received at 74759 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 74759 <at> debbugs.gnu.org, j <at> gnu.org
Subject: Re: bug#74759: 30.0.92; Gnus configuration warning
Date: Tue, 10 Dec 2024 15:54:42 +0100
tags 74759 fixed
close 74759 30.1
quit

>>>>> On Tue, 10 Dec 2024 16:42:46 +0200, Eli Zaretskii <eliz <at> gnu.org> said:

    >> Cc: 74759 <at> debbugs.gnu.org
    >> From: Robert Pluim <rpluim <at> gmail.com>
    >> Date: Tue, 10 Dec 2024 15:01:16 +0100
    >> 
    >> >>>>> On Tue, 10 Dec 2024 12:58:17 +0100, Robert Pluim <rpluim <at> gmail.com> said:
    Robert> Itʼs an oversight in the definition of the custom type of
    Robert> `gnus-select-method'. Iʼll see if I can come up with a fix.
    >> 
    >> This works for me. Maintainers, master or emacs-30? (Iʼd lean towards
    >> the latter)

    Eli> Yes, emacs-30 is fine.

OK

Closing.
Committed as fbcb357b9db

Robert
-- 




Added tag(s) fixed. Request was from Robert Pluim <rpluim <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 10 Dec 2024 14:56:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 30.1, send any further explanations to 74759 <at> debbugs.gnu.org and Anush V <j <at> gnu.org> Request was from Robert Pluim <rpluim <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 10 Dec 2024 14:56:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 08 Jan 2025 12:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.