From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#40248: 27.0.90; Failure open .authinfo.gpg from Gnus Date: Mon, 30 Mar 2020 11:37:25 +0200 Message-ID: References: <86bloi1zrj.fsf@csic.es> <83lfnm8b30.fsf@gnu.org> <83ftdt9b1d.fsf@gnu.org> <86sght3h1s.fsf@csic.es> <834ku89anf.fsf@gnu.org> <87zhbzsis4.fsf@gnus.org> <83h7y75kvh.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="115704"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juanjose.garcia.ripoll@csic.es, Lars Ingebrigtsen , 40248@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 30 11:38:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1jIqrz-000U05-OH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Mar 2020 11:38:11 +0200 Original-Received: from localhost ([::1]:47074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIqry-0006jC-N8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Mar 2020 05:38:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41644) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIqrr-0006is-LF for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 05:38:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIqrq-00075P-JX for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 05:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIqrq-00075L-G0 for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 05:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIqrq-0001WN-DU for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2020 05:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Mar 2020 09:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40248 X-GNU-PR-Package: emacs Original-Received: via spool by 40248-submit@debbugs.gnu.org id=B40248.15855610555807 (code B ref 40248); Mon, 30 Mar 2020 09:38:02 +0000 Original-Received: (at 40248) by debbugs.gnu.org; 30 Mar 2020 09:37:35 +0000 Original-Received: from localhost ([127.0.0.1]:60909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIqrP-0001Va-G8 for submit@debbugs.gnu.org; Mon, 30 Mar 2020 05:37:35 -0400 Original-Received: from mail-wr1-f48.google.com ([209.85.221.48]:46152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIqrN-0001VL-G7 for 40248@debbugs.gnu.org; Mon, 30 Mar 2020 05:37:33 -0400 Original-Received: by mail-wr1-f48.google.com with SMTP id j17so20653696wru.13 for <40248@debbugs.gnu.org>; Mon, 30 Mar 2020 02:37:33 -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 :mime-version:content-transfer-encoding; bh=QMNth35tEzIiDMQ0MUVVOCLlMhONn2+tR8Ou0duvm/g=; b=XjxZ1NzXxv0H6DpiIDTnGyDVoxhS40rjweVgYTeZ1MmDnRyTUAnAQGKoDtngaPR6eE tx3s1Vy/DM1WoB2Eur2OSqVF/dkgEB+jYe8hy1pvbNTaN0GKOhSn3eJRZ4aGCiJPc6mU f0c779TiKYgFb2aEOVsumumSGGq4aTsITSWT4fBAbOsKVh0eNeRW/Hghsc++6X4NjPk0 LewIhOz/BA8z+qYO1qouItltcp8+yP4Wu6J+6axHRGKTqFE0UCQ7gKh8mhe3np/xAvfB 5BbGUAhl2zcvOA2fCf44dxhsw+WEZ7HO9DGNzTDC6J477qY6j3NAeBomhjj5Z0QxlYv7 dYJw== 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:mime-version:content-transfer-encoding; bh=QMNth35tEzIiDMQ0MUVVOCLlMhONn2+tR8Ou0duvm/g=; b=oUhvQzR8rWLIkT0Dz7PE67TNfRMjBd0xCfXGOADfK/R0CTtlVqOZkFMuai/3j0q9/a 3JJoeAsRqGSxmzctouZzdncq8q1iuIlAGQyT5G3wFvcS2PckXJ5GpgCGLyhWWH07yC97 lBiFpERPnpvGkJ3hnwIUl8PV7ALO7idJA0XjvT9hKuij0jGe59HBHvgvRUv6oiCl6hHV kSrdelA/4m/6W9zyiOeUbtEvLgt6mu2KTNGsDWijiWYi0zBQMntBTiUgVgxi7KXbkNfu X9NA35FYIkt8XY+3+nDfHkjBGEeDEwzNxoydCZpq5tUYY37rei7XAW2ME1nNN0ak13Ft eyZg== X-Gm-Message-State: ANhLgQ2YO1HnQIFQRuZvaWA3FR4cqkCVj2BMTsfX5xN+w3/d4gOIJb0l Mk7aRjmpj4k4tr6n4VKVbfQ2tTHS X-Google-Smtp-Source: ADFU+vvk3uJGaGDR2q9I8VlXEFtNEbvj3FEOTq4YNvdKBc3jydBnlIHbK55Y4SqaMBheowQ7yApIwQ== X-Received: by 2002:a5d:4705:: with SMTP id y5mr14511747wrq.288.1585561046968; Mon, 30 Mar 2020 02:37:26 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:bdc9:e98c:bf1f:4cce]) by smtp.gmail.com with ESMTPSA id t12sm23434973wrm.0.2020.03.30.02.37.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 02:37:26 -0700 (PDT) In-Reply-To: <83h7y75kvh.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 29 Mar 2020 16:52:18 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177864 Archived-At: >>>>> On Sun, 29 Mar 2020 16:52:18 +0300, Eli Zaretskii said: >> From: Lars Ingebrigtsen >> Cc: Juan Jos=C3=A9 Garc=C3=ADa-Ripoll >> , >> 40248@debbugs.gnu.org >> Date: Sun, 29 Mar 2020 09:48:59 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> > + ;; The caller might have bound coding-system-for-* to somet= hing >> > + ;; like 'no-conversion, but the below needs to call PROGRAM >> > + ;; expecting human-readable text in both directions (since = we >> > + ;; are going to parse the output as text), so let Emacs gue= ss >> > + ;; the encoding of that text by its usual encoding-detection >> > + ;; machinery. >> > + (let ((coding-system-for-read 'undecided) >> > + (coding-system-for-write 'undecided)) >>=20 >> I think this probably is the right thing here, but I'm not 100% sure= -- >> I seem to remember there being some issue of people putting non-ASCII >> stuff in the name parts of the gpg data and then Emacs having a prob= lem >> of matching that up to the data we're looking for... Eli> If that non-ASCII data is compatible with the default encoding, or= if Eli> Emacs will detect the encoding correctly given 'undecided', that Eli> shouldn't be any problem. And this function is only about getting= the Eli> gpg configuration, so what kind of non-ASCII data is expected ther= e? Eli> And how would using 'no-conversion' here help? Eli> If you can find those cases where you saw non-ASCII data in this c= ase, Eli> by all means describe them or point to relevant discussions. My (admittedly fallible) memory is that gpg always uses UTF-8 for non-ASCII data (except for some old versions that %-escape it instead). Robert