From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= Newsgroups: gmane.emacs.devel Subject: Re: Two errors in 27.* with Windows Date: Thu, 26 Mar 2020 23:09:08 +0100 Message-ID: <86r1xe6a63.fsf@csic.es> References: <86369vt7ce.fsf@csic.es> <834kub9c93.fsf@gnu.org> <86h7yb9bzi.fsf@csic.es> <83zhc299xq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="75756"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) Cc: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 26 23:42:38 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jHbCv-000JbE-UD for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Mar 2020 23:42:37 +0100 Original-Received: from localhost ([::1]:33706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHbCu-00046D-VR for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Mar 2020 18:42:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50510) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHagc-0008Gt-R3 for emacs-devel@gnu.org; Thu, 26 Mar 2020 18:09:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHagb-0002p7-H5 for emacs-devel@gnu.org; Thu, 26 Mar 2020 18:09:14 -0400 Original-Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:56012) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHagb-0002nO-7c; Thu, 26 Mar 2020 18:09:13 -0400 Original-Received: by mail-wm1-x342.google.com with SMTP id z5so9066727wml.5; Thu, 26 Mar 2020 15:09:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=5W5eWmG1u1QKJApsWmG51Ul/UH7A+fMapyD+CKr7+SY=; b=AdKo2jJxixtOtweBZks7V3YGdb8h8jJWb1xt8rX4F7S29NAC+EDLM4TQM1z8o3mT4H F7ctF9+0rwTm+nNvu/3IURibnXxH3Cw6TypyK6fOgnYcYWf8M+IuMlAt5unf6AZB6GL/ rycHKmV3Y0qlBe4zJVFc4UcjsuGAbZtXfdOq2H0ljVTjZpVc6jD6acYhy5lAwVmKO7wy nhLBmR+zQfozPIhMtcE795Py6CDtGjG80miCFtGE2ZoFMCv/1AvP7pUVkjiBJdeYxsvF WdKo52yMeJ9LMNak28LhmJjegE4gB43AlaExLwUKdAcECSwHEvYdY1Fyxkk75Rf9p6mA Pv3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=5W5eWmG1u1QKJApsWmG51Ul/UH7A+fMapyD+CKr7+SY=; b=dKwQ7V4Ub65I2U7/SjcXdLqkoARt6lCPacnGEDO2yBbdaex4ofo0dLQ17r+/iO9Xfb valzKhKQqIbC08R7dd29LIBiQIfXVVOK4dcN/ZFdE9JWw3VBBgS9ySlPyNiKWO19VLAX BznyRQmsWO+cGCOJ1kKKcA/m/buiw0v3S7caOdJ7g+qj+ATfuHv/Hre/puuQW8/66tWG 51jRwuN7GYsSlVEO1f3Cy3RvH0WFFIzHBGe1r3Zq/OpHp0MJJbgedRLAgGZ+EratsJLA EuIgTyIiakIZ7OIzpH8XFYZiMgROD7nHo4OhTSh8cqfVOhJZ9VGssd98Zzrtu3+4Pkl9 uZdA== X-Gm-Message-State: ANhLgQ1FhO29B7X/BOfx48mz+sjqM/Ea/B0CNtrLKRXL+L7nnBFhtK2U pKvqI13qp6ihniPM9a1zfWnz2mNNpg== X-Google-Smtp-Source: ADFU+vtWpDOYF6QzH8X2lJoL8Jc9v9uSyRfPwFHTnFPnocEYseTI+B2BuU7uEFx912W4U4buNlvqkA== X-Received: by 2002:a1c:b789:: with SMTP id h131mr1986060wmf.141.1585260551231; Thu, 26 Mar 2020 15:09:11 -0700 (PDT) Original-Received: from DESKTOP-3A8AAJ0 ([81.0.1.109]) by smtp.gmail.com with ESMTPSA id g127sm5478586wmf.10.2020.03.26.15.09.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Mar 2020 15:09:10 -0700 (PDT) In-Reply-To: <83zhc299xq.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 26 Mar 2020 21:45:53 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 X-Mailman-Approved-At: Thu, 26 Mar 2020 18:41:38 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245826 Archived-At: Apologies for following up here, but there are questions below that I don't know how to answer: Eli Zaretskii writes: > Sorry, no, it isn't. When you report this problem to the bug tracker, > please make sure the description answers the following questions: > > . what do you mean by "binary buffer" (or "text buffer")? I have no way to debug this problem clearly. Obviously the problem is in call-process producing output in a buffer and that being parsed in two different ways: outside Gnus, it is parsed in a way that does not ignore ^M characters; inside Gnus it sometimes happens and sometimes does not. > . I didn't say that gpg's output is the problem, I asked whether > it's human-readable text or byte stream in this case. I > understand it's text (the gpg version number), in which case I > don't understand why the code sets coding-system-for-read to > 'binary' -- it sounds like a mistake. Can you show the place > where this is done? No. That is what I was asking in my earlier email. I do not know how to trace where this happens. The most I have managed is to set an "advice" function that interferes CALL-PROCESS and output properties of the buffer that is current when it is invoked, but I have no idea how to find which part of the code selects those values. Man, this code base is hu= ge. > . you are assuming that using nil for coding-system-for-read is > correct, but I don't think it is, so if you can show where that is > done, it might be the beginning of the solution. No, I am not assuming it is correct: I am assuming it is the way it was done before. It was so in 26.3 and it is so in 27.0.90 before Gnus is invoked. And I am not being lazy: I am totally lost at where this variable is changed or how. I have spent 4 hours this morning just identifying what prevented me from opening email, and just managed to get what I showed before. If I know where the wrong assignment was taking place I would have provided a patch, not a bug report. But this is kind of a serious bug: it breaks opening of .authinfo.gpg. --=20 Juan Jos=C3=A9 Garc=C3=ADa Ripoll Quantum Information and Foundations Group Institute of Fundamental Physics IFF-CSIC Calle Serrano 113b, Madrid 28006 Spain http://quinfog.hbar.es - http://juanjose.garcia.ripoll