all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juan José García-Ripoll" <juanjose.garciaripoll@gmail.com>
To: emacs-devel@gnu.org
Subject: Two errors in 27.* with Windows
Date: Thu, 26 Mar 2020 17:21:37 +0100	[thread overview]
Message-ID: <86369vt7ce.fsf@csic.es> (raw)

The following errors rendered my Gnus installation unusable until I
found some workarounds. I believe they should be corrected before
release. However, I still have no clear solution for the second.

----
First problem: mailcap-user-data is emptied by
(mailcap-parse-mailcaps). Formerly, in 26.3 and earlier, the information
from .mailcap was added to the list. Now the variable is deleted even if
there is no .mailcap file around.

My configuration file relies on mailcap-add-mailcap-entry to add mailcap
entries that are not external programs, such as doc-view. This cannot be
configured neither with mailcap-user-mime-data nor with .mailcap.

Workaround: set mailcap-parsed-p to T
----

Second problem: output from gpg.exe is read in binary mode, and
corrupted because of ^M characters. I cannot find out what defines the
mode of the buffer where the output of CALL-PROCESSS is written to. Help
in debugging this is welcome.

In 27.0.90:
CALL-PROCESS:
Args: ("c:/Program Files (x86)/GnuPG/bin/gpg.exe" nil (t nil) nil "--with-colons" "--list-config")
Coding system ((coding-system-for-read binary) (buffer-file-coding-system utf-8-dos) (inhibit-eol-conversion nil))

In 26.3:
CALL-PROCESS:
Args: ("c:/Program Files (x86)/GnuPG/bin/gpg.exe" nil (t nil) nil "--with-colons" "--list-config")
Coding system ((coding-system-for-read nil) (buffer-file-coding-system iso-latin-1-dos) (inhibit-eol-conversion nil))

An important difference is that in 26.3, epg-find-configuration is
called by the package module, for signature verification. This
guarantees that pgp is ok when Emacs is booted, even if gpg has not yet
been used.

This initial call does not happen in 27.0.90. The first time
epg-find-configuration is used is from Gnus. This causes the coding
system to be improperly set and the output from gpg.exe also to be
improperly parsed.

Workaround: add (epg-find-configuration 'OpenPGP) in .emacs before
invoking Gnus.

-- 
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es




             reply	other threads:[~2020-03-26 16:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26 16:21 Juan José García-Ripoll [this message]
2020-03-26 16:34 ` Two errors in 27.* with Windows Juan José García-Ripoll
2020-03-26 18:55 ` Eli Zaretskii
2020-03-26 19:01   ` Juan José García-Ripoll
2020-03-26 19:45     ` Eli Zaretskii
2020-03-26 22:09       ` Juan José García-Ripoll
2020-03-27  7:08         ` Eli Zaretskii
2020-03-27  7:32           ` Eli Zaretskii
2020-03-27 12:45           ` Juan José García-Ripoll

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86369vt7ce.fsf@csic.es \
    --to=juanjose.garciaripoll@gmail.com \
    --cc=emacs-devel@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.