From: Mauro Aranda <maurooaranda@gmail.com>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: Philip Kaludercic <philipk@posteo.net>, 58546@debbugs.gnu.org
Subject: bug#58546: 29.0.50; Customizing 'message-server-alist' fails with backtrace
Date: Sat, 15 Oct 2022 10:04:39 -0300 [thread overview]
Message-ID: <b167a744-0a5d-2ec7-4d38-343c2b979617@gmail.com> (raw)
In-Reply-To: <CADwFkmn2FLP19ceG-2_qnOYhpsFbQ2OWVDdXNkEbrEPfC3Mv7Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 550 bytes --]
Stefan Kangas <stefankangas@gmail.com> writes:
> When I evaluate this in emacs -Q:
>
> (progn (require 'message)
> (customize-option 'message-server-alist))
>
> It fails with this backtrace:
>
> Debugger entered--Lisp error: (void-function nil)
> nil((quote :args ((choice (string :tag "From Address") (function
> :tag "Predicate")))))
When wid-edit tries to create a widget of type "quote", it usually
indicates double quoting in the :type definition.
The attached patch should fix it, please confirm.
[-- Attachment #2: 0001-Fix-message-server-alist-type-Bug-58546.patch --]
[-- Type: text/x-patch, Size: 1060 bytes --]
From 0489230cc9ce93105ae4779d6dfa09b5b30832d0 Mon Sep 17 00:00:00 2001
From: Mauro Aranda <maurooaranda@gmail.com>
Date: Sat, 15 Oct 2022 10:01:09 -0300
Subject: [PATCH] ; Fix message-server-alist :type (Bug#58546)
---
lisp/gnus/message.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 67ec0531fa..5e4e9854a6 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -4361,10 +4361,10 @@ message-server-alist
the function will be inserted instead.
If the buffer already has a\"X-Message-SMTP-Method\" header,
it is left unchanged."
- :type '(alist :key-type '(choice
- (string :tag "From Address")
- (function :tag "Predicate"))
- :value-type 'string)
+ :type '(alist :key-type (choice
+ (string :tag "From Address")
+ (function :tag "Predicate"))
+ :value-type string)
:version "29.1"
:group 'message-sending)
--
2.34.1
next prev parent reply other threads:[~2022-10-15 13:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-15 12:26 bug#58546: 29.0.50; Customizing 'message-server-alist' fails with backtrace Stefan Kangas
2022-10-15 13:04 ` Mauro Aranda [this message]
2022-10-15 13:34 ` Stefan Kangas
2022-10-16 11:54 ` Mauro Aranda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b167a744-0a5d-2ec7-4d38-343c2b979617@gmail.com \
--to=maurooaranda@gmail.com \
--cc=58546@debbugs.gnu.org \
--cc=philipk@posteo.net \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).