From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: wrong argument in gnus.el Date: Thu, 02 Jan 2025 17:24:00 +0200 Message-ID: <86pll5jl2n.fsf@gnu.org> References: <516f78b1-3ba6-465c-8562-ba420b01d2aa@posteo.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31953"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 16:24:22 2025 Return-path: Envelope-to: geh-help-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 1tTN3d-00087b-Js for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 16:24:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTN3Q-0005qg-T9; Thu, 02 Jan 2025 10:24:09 -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 1tTN3N-0005q7-NA for help-gnu-emacs@gnu.org; Thu, 02 Jan 2025 10:24:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTN3N-0000B8-F3 for help-gnu-emacs@gnu.org; Thu, 02 Jan 2025 10:24:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=X88XeGn12CU9yvJsRUQI6zIwsOxQbRU6hAWR/Nt/q40=; b=mpqjFcmTU0Jl i9vf5Tf/TbEFB/8Cba1S0zz+orY5uQ2lIHq9cJMhJdEra3kaOcMHtnJDHsWc5WrIgXUQ45N9suU/7 XUCOjBr75TewSUbCzv3tOIFxT0egK6Z2ybkfirDThbLq4jQQ5hCCdBrHBv4Pdb3CW0fZShJMFv4uQ HmmP0XjG8EYUTf3lCQKcyXC4sJ+UvmYEkP5box1Nyj0ducF/vFqTZrrehtel6am6Q/FR+yhWFnwGD w2wGoTqfT2B7Qa0lBxGbwLKBKD5yvlvZakeiGU25NrUSPiTS4PbfryAcZ8w8Rdum7jfnAsKjRPpNg 17Wgwi3B3ZgCJDJ3+kj10A==; In-Reply-To: <516f78b1-3ba6-465c-8562-ba420b01d2aa@posteo.at> (message from gfp on Thu, 2 Jan 2025 10:11:31 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:149117 Archived-At: > Date: Thu, 2 Jan 2025 10:11:31 +0000 > From: gfp > > I got a wrong argument in my gnus.el > Does somebody know what is my mistake and how to change it? Below. > ;;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") This looks suspicious: you don't need the apostrophe ' . > ;; Reply to mails with matching email address > (setq gnus-posting-styles > '(address "gottfried ") > ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465 > gottfried@posteo.de")) This is wrong, and is the reason for the error. It should probably be something like (setq gnus-posting-styles '((address "gottfried ") ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465 gottfried@posteo.de"))) > ;;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"))))) This is probably redundant: it doesn't have any effect AFAICT.