unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* wrong argument in gnus.el
@ 2025-01-02 10:11 gfp
  2025-01-02 15:24 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: gfp @ 2025-01-02 10:11 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org


[-- 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 --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2025-01-05 20:53 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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   ` wrong argument in gnus.el 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
2025-01-02 10:11 gfp
2025-01-02 15:24 ` 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

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).