From: Robert Pluim <rpluim@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Eli Zaretskii <eliz@gnu.org>,
Andreas Schwab <schwab@linux-m68k.org>,
emacs-devel@gnu.org
Subject: Re: bug#40248: 27.0.90; Failure open .authinfo.gpg from Gnus
Date: Thu, 02 Apr 2020 14:48:05 +0200 [thread overview]
Message-ID: <m2y2rehx4q.fsf@gmail.com> (raw)
In-Reply-To: <871rp6nnwy.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 02 Apr 2020 13:10:37 +0200")
>>>>> On Thu, 02 Apr 2020 13:10:37 +0200, Lars Ingebrigtsen <larsi@gnus.org> said:
Lars> Robert Pluim <rpluim@gmail.com> writes:
>> Now that Iʼve actually tested it, the change looks like this, making
>> make-network-process and make-serial process behave the same as
>> make-process and make-pipe-process. Iʼve looked at all uses of those
>> two functions in Emacs' sources, and none of them depend on the change
>> in semantics, in fact only a couple of them actually pass a :coding
>> keyword.
>>
>> Having said all that, this does go back a looooong way (2002 at
>> least), so maybe we want to let sleeping dogs lie.
Lars> Yeah, it does sound slightly scary, but I think the current nil
Lars> behaviour for :coding is probably not something any code would rely
Lars> on... I'm not quite sure what `nil' semantics for :coding here would
Lars> signify?
No code in Emacs that I could find relies on it. The new semantics
would be 'use coding-system-for-read', which I think is defensible.
Lars> On the other hand, I generally think that functions should respect their
Lars> parameters, so if you say :coding nil, it might then be somewhat
Lars> surprising that `coding-system-for-{read,write}' are used instead?
Lars> So I'm not quite sure that the current make-network-process behaviour
Lars> here is a bug.
Itʼs different from make-process and make-pipe-process, itʼs
undocumented, and it was surprising to both me and Andreas. If it
turns out that in some obscure case somebody really needs the old
behaviour, then binding coding-system-for-{read,write} will still be
available, as will set-process-coding-sytem (or even passing :coding
'(nil nil), but thatʼs just evil :-) )
Robert
next prev parent reply other threads:[~2020-04-02 12:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <86bloi1zrj.fsf@csic.es>
[not found] ` <83lfnm8b30.fsf@gnu.org>
[not found] ` <83ftdt9b1d.fsf@gnu.org>
[not found] ` <86sght3h1s.fsf@csic.es>
[not found] ` <834ku89anf.fsf@gnu.org>
[not found] ` <87a740ub2r.fsf@gnus.org>
[not found] ` <83tv287s9j.fsf@gnu.org>
[not found] ` <874ku7txho.fsf@gnus.org>
[not found] ` <83imin5l0w.fsf@gnu.org>
2020-03-31 9:20 ` bug#40248: 27.0.90; Failure open .authinfo.gpg from Gnus Robert Pluim
2020-03-31 9:53 ` Andreas Schwab
2020-03-31 10:16 ` Robert Pluim
2020-03-31 10:31 ` Andreas Schwab
2020-03-31 11:09 ` Robert Pluim
2020-03-31 16:13 ` Robert Pluim
2020-03-31 17:59 ` Eli Zaretskii
2020-03-31 19:53 ` Robert Pluim
2020-04-02 11:10 ` Lars Ingebrigtsen
2020-04-02 12:48 ` Robert Pluim [this message]
2020-04-03 11:52 ` Lars Ingebrigtsen
2020-04-03 12:50 ` Robert Pluim
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=m2y2rehx4q.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
--cc=schwab@linux-m68k.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).