From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#74759: 30.0.92; Gnus configuration warning Date: Tue, 10 Dec 2024 15:01:16 +0100 Message-ID: <87r06f8wnn.fsf@gmail.com> References: <87plm0s08c.fsf@gnu.org> <871pyfagx2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13606"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74759@debbugs.gnu.org To: Anush V Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 10 15:03:25 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 1tL0pg-0003NA-7D for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Dec 2024 15:03:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL0pM-0000cW-UB; Tue, 10 Dec 2024 09:03:04 -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 1tL0pL-0000a1-IS for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 09:03:03 -0500 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 1tL0pL-0007F3-8i for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 09:03:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=z2IS/hkFQS9CZP4uW1f1kK+i0YtXJeCuvDjFitoY/uI=; b=JwIKXvFwmh5ezFdpQSjCo9wFmxm7ietPhkadFn1zoI00F5aEywnvYo4P9p6A94ntO/X5CS47NPLDmOr64b1u7RGCUjPbxrxMkQ+xhIzRe3PtIjIKKbFbMxkT/ZaNuwLtn5URQCl7fP1k/RluG1BMjcQnzJqr+YD6kfc6IO/sds5exaOw2w3wVkB9LRehnASizxIa0s3vs7DC03TtrkZbxoJrEoeP08WZLirJfqBwBLwB8NwMnypMLviPl2oV8FZCjjqljlW2rLnTnbsgRrY1qQ4+7VprpfKF+Mc0ozzCK0W7oAJvhCE+gC3hsd4CnmGf0CTWtBBN9FHYa2XJO4KMSA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tL0pK-0000E3-Ue for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 09:03:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Dec 2024 14:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74759 X-GNU-PR-Package: emacs Original-Received: via spool by 74759-submit@debbugs.gnu.org id=B74759.1733839354770 (code B ref 74759); Tue, 10 Dec 2024 14:03:02 +0000 Original-Received: (at 74759) by debbugs.gnu.org; 10 Dec 2024 14:02:34 +0000 Original-Received: from localhost ([127.0.0.1]:57437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL0os-0000CL-CS for submit@debbugs.gnu.org; Tue, 10 Dec 2024 09:02:34 -0500 Original-Received: from [209.85.221.45] (port=50585 helo=mail-wr1-f45.google.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL0op-0000Bo-D0 for 74759@debbugs.gnu.org; Tue, 10 Dec 2024 09:02:32 -0500 Original-Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-386329da1d9so1842852f8f.1 for <74759@debbugs.gnu.org>; Tue, 10 Dec 2024 06:02:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733839278; x=1734444078; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=z2IS/hkFQS9CZP4uW1f1kK+i0YtXJeCuvDjFitoY/uI=; b=TTpnZwwVh1rGU2zWXZ1Zxxw9dJ5ysNjYdiAf47kqDLM/iVdtd0dlycidbtoV55vdmx FYSjbUxlQNfuuw0oNwkfv71kQQCTQCHSPJjSCX7L3FAgDxPa9mFIJYrz27CjT4zGGdYP qCb8lBzuGhhSlUidXYWTb55ILVyJc//gSgBYuQiu5Nz/HOVkF0fflYZ9hqYKoZ2SLiU1 Ny856t6lWZPNY/a+I33ifxywbJHNLAKPEr3UmSBg3sXZX0aya9hSA+3DMAXopXCz7VXm xfTJPjeAOmykjNUtTmOXqNNX0EEiKzesl/eaa8ajAbfkoBCb1juriOwTY7c2Owz/J3/O o48g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733839278; x=1734444078; h=mime-version: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=z2IS/hkFQS9CZP4uW1f1kK+i0YtXJeCuvDjFitoY/uI=; b=Dz7CjcYnh1tIe8yJGKGp0+Vhz/bsSW/XcCP1+CKUUg5p1XWH456DkUBKrsxVRkWfk1 YsSFeH3ID8q3z85EgMxFFkCbcaLDA7GdrBjCJ4bR8kKjIPtxefwbGyZBU6/ufCOzhuuG 3X1435ClgnDy6I31VQ9MdIASZ4MX4rtWLWMM23iPfZgxUKb1wFTI4cXgQfNIsykkHfXL F6fQVkMCKT2mbOnQ9B3abQ8lK382Jq5mxFSfYzMb4f2sMJbK4RBT49uXK2sCOwg6zciS t30yEtTw6wXQI4i5/Azr96z5BForf8Qi3OZ5BdaCNQfpI7Fbb1YISixxxnRXtjCGbvOk uPcA== X-Gm-Message-State: AOJu0YwslCAH014LpfLN8vNU4cu3ZLmMj4rpHurGn1bLkVUPJ+YsaeZN 0y/JwVc0yfqwYiLO/UVhiXsr9udY8d2QyArsPvgiMNAVxcFQUErZtm3p7w== X-Gm-Gg: ASbGncvhYXpqzKP5TMXsNoQkHfSs8osJmJU6o5PrFSwjvs2y0AqxnMyYnYpYOph5X7v tqMHT13F+0jBLwB0MCpnivYshKE73zE8pMH4P4p9c5TLg2hiqKJmU5DKMSfORfsmB+hyfys9VQb LBpUTXE11qb6ZeQX67su2lfEedaFwqF6UeWTUCHhtJzDyIgSkSKpagpMub5qf97W5Px14V6iat+ GT3RlSSowYrE2mAkSH+fusRQzoL9zZ+9nppxTNZow== X-Google-Smtp-Source: AGHT+IHfkZk12OVr6Vz6li6hydn6L5BqBMWbJR6+MDRU5A0TNZsA80hbKD3pikEpm5ZhIYT6Kjy/nA== X-Received: by 2002:a5d:59a3:0:b0:382:488d:dfc5 with SMTP id ffacd0b85a97d-386453702d5mr3432215f8f.0.1733839277727; Tue, 10 Dec 2024 06:01:17 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb51:a443:b1bf:de94:83c1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3861ecf42desm15612572f8f.15.2024.12.10.06.01.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 06:01:17 -0800 (PST) In-Reply-To: <871pyfagx2.fsf@gmail.com> (Robert Pluim's message of "Tue, 10 Dec 2024 12:58:17 +0100") 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:296752 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> On Tue, 10 Dec 2024 12:58:17 +0100, Robert Pluim s= aid: Robert> It=CA=BCs an oversight in the definition of the custom type of Robert> `gnus-select-method'. I=CA=BCll see if I can come up with a fix. This works for me. Maintainers, master or emacs-30? (I=CA=BCd lean towards the latter) Robert --=20 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Fix-gnus-select-method-custom-type.patch >From d14a9c0d71e0e2240c97e449f4875577e7b44f73 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Tue, 10 Dec 2024 14:56:21 +0100 Subject: [PATCH] Fix 'gnus-select-method' custom type To: emacs-devel@gnu.org * lisp/gnus/gnus.el (gnus-redefine-select-method-widget): Cater for the 'gnus-search-engine' configuration variable, which takes 2 args instead of 1. (Bug#74759) --- lisp/gnus/gnus.el | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 62a090bd9df..0d0e678309f 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el @@ -1402,9 +1402,14 @@ gnus-redefine-select-method-widget (string :tag "Address") (repeat :tag "Options" :inline t - (list :format "%v" - variable - (sexp :tag "Value")))))) + (radio + (list :tag "Single var" :format "%v" + variable + (sexp :tag "Value")) + (list :tag "Multiple var" :format "%v" + variable + variable + (sexp :tag "Value"))))))) (gnus-redefine-select-method-widget) -- 2.39.5 --=-=-=--