GNU bug report logs - #33040
26.1.50; Epg prompt on Microsoft Windows differ from the GNU/Linux on when asking passphrase

Previous Next

Package: emacs;

Reported by: Pierre Téchoueyres <pierre.techoueyres <at> free.fr>

Date: Sun, 14 Oct 2018 15:55:02 UTC

Severity: minor

Tags: patch

Found in version 26.1.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 33040 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pierre Téchoueyres <pierre.techoueyres <at> free.fr>
Cc: 33040 <at> debbugs.gnu.org
Subject: Re: 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
> From: Pierre Téchoueyres <pierre.techoueyres <at> free.fr>
> 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?




This bug report was last modified 6 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.