Re: Gnus and authinfo

2023-12-04 Thread Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
* On Mon, 4 Dec 2023 16:35:37 +0200 * Also sprach "Otto J. Makela" : [...] > As I said, it does not seem to make a difference (still asks for > username and password instead of reading them from .authinfo) when I > added that setq into my .emacs, except it really is that value now: > >

Re: Need help writing predicate function

2023-12-04 Thread Bob Newell
I do something similar to change identity and/or input language based on addressee. I just put it in a hook (add-hook 'message-setup-hook 'rjn-change-stuff-by-addressee t) and that works for me; the appropriate identity gets chosen via gnus-alias-use-identity when the message reply is set

Re: Gnus and authinfo

2023-12-04 Thread Juergen Fenn
Am 04.12.23 um 20:04 Uhr schrieb Michael Heerdegen via Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English): > No idea. My value is the default: > > ("~/.authinfo" "~/.authinfo.gpg" "~/.netrc") > > never changed it. Same here. And login data is in my

Re: Gnus and authinfo

2023-12-04 Thread Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
Eric S Fraga writes: > Just in case, my auth-sources variable is set to > > ((:source "~/s/dotfiles/authinfo.gpg") > (:source "~/.authinfo")) > > I wonder whether something has changed along the way that requires the > :directive element? No idea. My value is the default: ("~/.authinfo"

Re: Need help writing predicate function

2023-12-04 Thread Eric S Fraga
You might want to look at what gnus does. In particular, it copies the article buffer first using gnus-copy-article-buffer (in gnus-msg.el) before considering the styles. That copy of the article buffer should be accessible in your max-gnus-predicate function... if I understand the gnus code

Re: Gnus and authinfo

2023-12-04 Thread Leo Butler
On Mon, Dec 04 2023, "Otto J. Makela" wrote: > On 12/4/23 16:15, CHENG Gao via Announcements and discussions for GNUS, the > GNU Emacs Usenet newsreader (in English) wrote: >> * On Mon, 4 Dec 2023 11:45:51 +0200 >> * Also sprach "Otto J. Makela" : >> >>> Setting epg-pinentry-mode to be

Need help writing predicate function

2023-12-04 Thread Max Evans
Help, gnus! I'm trying to write a simple predicate function to use in my posting-styles, since from my reading of the manual you can't match two things at once otherwise, which is what I want to do. I'm trying to make a rule that kicks in only when a certain company sends me an email AND when

Re: Gnus and authinfo

2023-12-04 Thread Eric S Fraga
Just in case, my auth-sources variable is set to ((:source "~/s/dotfiles/authinfo.gpg") (:source "~/.authinfo")) I wonder whether something has changed along the way that requires the :directive element? -- Eric S Fraga via gnus (Emacs 30.0.50 2023-09-14) on Debian 12.2

Re: Gnus and authinfo

2023-12-04 Thread Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
"Otto J. Makela" writes: > What are your suggestion on how should I go about debugging what goes > awry? Then it's something different. Let's go on with Eric's answer: what's your value of the `auth-sources' variable - does it include your source of authentication? Michael.

Re: Gnus and authinfo

2023-12-04 Thread Otto J. Makela
On 12/4/23 16:15, CHENG Gao via Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English) wrote: * On Mon, 4 Dec 2023 11:45:51 +0200 * Also sprach "Otto J. Makela" : Setting epg-pinentry-mode to be 'loopback' does not seem to make any change here, it still asks for

Re: Gnus and authinfo

2023-12-04 Thread Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
* On Mon, 4 Dec 2023 11:45:51 +0200 * Also sprach "Otto J. Makela" : > Setting epg-pinentry-mode to be 'loopback' does not seem to > make any change here, it still asks for username and password. Try (setq epg-pinentry-mode 'loopback) if not yet. HTH.

Re: Gnus and authinfo

2023-12-04 Thread Otto J. Makela
On 11/30/23 13:48, Michael Heerdegen wrote: Eric Abrahamsen writes: Both encrypted and unencrypted versions are supported; maybe the `auth-sources' option only points at the encrypted version? Or - just guessing - maybe `epg-pinentry-mode' has to be set to 'loopback'? AFAIR the default mode