From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33040: 26.1.50; Epg prompt on Microsoft Windows differ from the GNU/Linux on when asking passphrase Date: Sat, 20 Oct 2018 13:17:25 +0300 Message-ID: <838t2svs5m.fsf@gnu.org> References: <87y3b0cynl.fsf@killashandra.ballybran.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1540030571 24076 195.159.176.226 (20 Oct 2018 10:16:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 Oct 2018 10:16:11 +0000 (UTC) Cc: 33040@debbugs.gnu.org To: Pierre =?UTF-8?Q?T=C3=A9choueyres?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 20 12:16:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDoIg-0006AL-PF for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Oct 2018 12:16:06 +0200 Original-Received: from localhost ([::1]:54491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDoKm-0007Zj-Q4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Oct 2018 06:18:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDoKY-0007Zc-V7 for bug-gnu-emacs@gnu.org; Sat, 20 Oct 2018 06:18:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDoKY-000187-BC for bug-gnu-emacs@gnu.org; Sat, 20 Oct 2018 06:18:02 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56027) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gDoKY-00017h-7I for bug-gnu-emacs@gnu.org; Sat, 20 Oct 2018 06:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gDoKX-00059u-TX for bug-gnu-emacs@gnu.org; Sat, 20 Oct 2018 06:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Oct 2018 10:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33040 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 33040-submit@debbugs.gnu.org id=B33040.154003067819818 (code B ref 33040); Sat, 20 Oct 2018 10:18:01 +0000 Original-Received: (at 33040) by debbugs.gnu.org; 20 Oct 2018 10:17:58 +0000 Original-Received: from localhost ([127.0.0.1]:60285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDoKS-00059Z-EG for submit@debbugs.gnu.org; Sat, 20 Oct 2018 06:17:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDoKP-00059L-VZ for 33040@debbugs.gnu.org; Sat, 20 Oct 2018 06:17:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDoKG-0000Pn-Go for 33040@debbugs.gnu.org; Sat, 20 Oct 2018 06:17:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDoKG-0000PD-C2; Sat, 20 Oct 2018 06:17:44 -0400 Original-Received: from [176.228.60.248] (port=1199 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gDoKF-00053K-Us; Sat, 20 Oct 2018 06:17:44 -0400 In-reply-to: <87y3b0cynl.fsf@killashandra.ballybran.fr> (message from Pierre =?UTF-8?Q?T=C3=A9choueyres?= on Sun, 14 Oct 2018 17:53:50 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:151460 Archived-At: > From: Pierre Téchoueyres > Date: Sun, 14 Oct 2018 17:53:50 +0200 > > diff --git a/lisp/epg.el b/lisp/epg.el > index 8f26cd34ee..000366d76a 100644 > --- a/lisp/epg.el > +++ b/lisp/epg.el > @@ -655,7 +655,9 @@ epg--start > :command (cons (epg-context-program context) > args) > :connection-type 'pipe > - :coding '(binary . binary) > + :coding (if (memq system-type '(ms-dos windows-nt)) > + (cons locale-coding-system locale-coding-system) > + '(binary . binary)) > :filter #'epg--process-filter > :stderr error-process > :noquery t))) Thanks. I think a better solution is to use raw-text-unix on both Unix and DOS/Windows. Can you try that and see if doing so produces good results on both systems?