unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Gottfried <gottfried@posteo.de>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>,
	Eli Zaretskii <eliz@gnu.org>
Subject: Re: wrong argument in gnus.el
Date: Fri,  3 Jan 2025 18:36:32 +0000	[thread overview]
Message-ID: <3495ff03-b674-4832-9521-5272883834c3@posteo.de> (raw)
In-Reply-To: <0cd25b63-778f-456f-a11f-b2afe70f20a3@posteo.de>


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


Hi Eli,

thanks very much, this helped.

Now I can open Emacs without error message.
-------------------------------------------------------
next problem:

When opening gnus   it can´t open my emails.

Opening nnimap server on posteo...failed: NO (AUTHENTICATIONFAILED)
Authentication failed.

1.
I have got this in my ".authinfo" file:

machine posteo login gottfried@posteo.de password my_password port 993
imaps
machine posteo login gottfried@posteo.de password my_password port 465

or only one sentence:
machine posteo login gottfried@posteo.de port imaps password my_password
but this sentence seems to be wrong. missing the port number.

I don´t know which of the two is better?

Independently of that there is may be an other mistake somewhere.

2.
I tried to put the .authinfo file in my .config/emacs folder
or also in my /home/gfp folder
In both cases it doesn´t work.

Is it better to put the .authinfo file into .config/emacs or into the
home folder /home/gfp ?

thanks for help.
Without help I am lost.

Gottfried

>>
>> Message: 1
>> Date: Thu, 02 Jan 2025 17:24:00 +0200
>> From: Eli Zaretskii <eliz@gnu.org>
>> To: help-gnu-emacs@gnu.org
>> Subject: Re: wrong argument in gnus.el
>> Message-ID: <86pll5jl2n.fsf@gnu.org>
>>
>>> Date: Thu,  2 Jan 2025 10:11:31 +0000
>>> From: gfp <gfp@posteo.at>
>>>
>>> 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 <gottfried@posteo.de>")
>>>          ("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 <gottfried@posteo.de>")
>>           ("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.


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

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

       reply	other threads:[~2025-01-03 18:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2025-01-04  2:34     ` wrong argument in gnus.el 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

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=3495ff03-b674-4832-9521-5272883834c3@posteo.de \
    --to=gottfried@posteo.de \
    --cc=eliz@gnu.org \
    --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).