unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: gfp <gfp@posteo.at>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: wrong argument in gnus.el
Date: Thu,  2 Jan 2025 10:11:31 +0000	[thread overview]
Message-ID: <516f78b1-3ba6-465c-8562-ba420b01d2aa@posteo.at> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 2056 bytes --]

Hi,

I got a wrong argument in my gnus.el
Does somebody know what is my mistake and how to change it?

thanks

Gottfried

Debugger entered--Lisp error: (wrong-number-of-arguments setq 3)
   signal(wrong-number-of-arguments (setq 3))
   load-with-code-conversion("/home/gfp/.config/emacs/gnus.el" 
"/home/gfp/.config/emacs/gnus.el" nil nil)
   load-file("/home/gfp/.config/emacs/gnus.el")
   load-with-code-conversion("/home/gfp/.config/emacs/init.el" 
"/home/gfp/.config/emacs/init.el" t t)
   load("/home/gfp/.config/emacs/init" noerror nomessage)
   startup--load-user-init-file(#f(compiled-function () #<bytecode 
0x1243f1206641c4da>) #f(compiled-function () #<bytecode 
0x4d131ce0e73e6cb>) t)
   command-line()
   normal-top-level()


here is my gnus.el:

;;gnus for getting emails
(setq gnus-select-method '(nnnil nil))
(setq gnus-secondary-select-methods
       '((nnimap "posteo"
                 (nnimap-address "posteo.de")
                 (nnnimap-user "gottfried")
                 (nnmail-expiry-target "nnimap+posteo:[posteo]/Papierkorb")
                 (nnmail-expiry-wait 'immediate))))

(setq user-full-name '"gfp")
(setq gnus-third-select-methods '(nntp "news.eternal-september.org"))

;; Reply to mails with matching email address
(setq gnus-posting-styles
       '(address "gottfried <gottfried@posteo.de>")
        ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465 
gottfried@posteo.de"))

;; to see always all groups
(setq gnus-permanently-visible-groups ".*")

;; nice overview of all groups with unread/total count
(setq gnus-group-line-format "%5M %5y/%-8t • %c\n")

;;nice colours for spot groups with new emails
'((gnus-group-mail-1-empty ((t (:foreground "SlateGray3"))))
'(gnus-group-mail-3 ((t (:foreground "spring green"))))
'(gnus-group-mail-3-empty ((t (:foreground "SlateGray3"))))
'(gnus-group-news-3 ((t (:foreground "spring green"))))
'(gnus-group-news-3-empty ((t (:foreground "SlateGray3"))))
'(gnus-group-news-low ((t (:foreground "spring green")))))


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2451 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]

             reply	other threads:[~2025-01-02 10:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-02 10:11 gfp [this message]
2025-01-02 15:24 ` wrong argument in gnus.el Eli Zaretskii
2025-01-02 15:24 ` Michael Heerdegen via Users list for the GNU Emacs text editor
2025-01-02 20:59 ` gfp
2025-01-04 15:24   ` gfp
2025-01-04 16:42     ` tpeplt
2025-01-05 10:58       ` Gottfried
2025-01-05 11:16         ` Gottfried
2025-01-05 15:20         ` Arash Esbati
2025-01-05 16:08           ` Gottfried
2025-01-05 17:53             ` Arash Esbati
2025-01-05 20:43               ` gfp
2025-01-05 20:53                 ` gfp
     [not found] <mailman.69.1735837219.11928.help-gnu-emacs@gnu.org>
     [not found] ` <0cd25b63-778f-456f-a11f-b2afe70f20a3@posteo.de>
2025-01-03 18:36   ` Gottfried
2025-01-04  2:34     ` Michael Heerdegen via Users list for the GNU Emacs text editor
2025-01-04  9:30       ` Björn Bidar
2025-01-04 16:53         ` Michael Heerdegen via Users list for the GNU Emacs text editor

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=516f78b1-3ba6-465c-8562-ba420b01d2aa@posteo.at \
    --to=gfp@posteo.at \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).