GNU bug report logs -
#40248
27.0.90; Failure open .authinfo.gpg from Gnus
Previous Next
Full log
View this message in rfc822 format
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: juanjose.garcia.ripoll <at> csic.es, 40248 <at> debbugs.gnu.org
> Date: Sun, 29 Mar 2020 09:45:55 +0200
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > But then only the encoding of the network process started by
> > nnimap-open-connection-1 should be made no-conversion.
>
> I'm not sure I quite follow; if I misunderstand, I apologise:
>
> Do you mean as a :coding parameter to make-network-process?
> nnimap-open-connection-1 doesn't call that function directly, and the
> functions it does call doesn't take any :coding parameters.
We could extend open-network-stream to accept :coding and pass that to
make-network-process. Or we could call set-process-coding-system
right after open-network-stream returns.
> > By contrast, binding coding-system-for-* around the call to
> > open-network-stream has much wider consequences, as it affects _any_
> > code run as part of open-network-stream, in particularly
> > epg-find-configuration, which has nothing to do with the network
> > stream.
>
> Yes, that's unfortunate -- the "bind variables as a way of passing in
> parameters" thing that Emacs does a lot is a really bad one. I think
> the fix here would be to change open-network-stream, at least, to have a
> :coding parameter (and pass it on).
Yes, let's do that on master.
This bug report was last modified 5 years and 22 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.