all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Juan José García-Ripoll" <juanjose.garciaripoll@gmail.com>,
	"Lars Ingebrigtsen" <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: Two errors in 27.* with Windows
Date: Fri, 27 Mar 2020 10:08:07 +0300	[thread overview]
Message-ID: <83tv2a8eco.fsf@gnu.org> (raw)
In-Reply-To: <86r1xe6a63.fsf@csic.es> (juanjose.garciaripoll@gmail.com)

> From: Juan José García-Ripoll
>  <juanjose.garciaripoll@gmail.com>
> Cc: Juan José García-Ripoll
>  <juanjose.garciaripoll@gmail.com>,  emacs-devel@gnu.org
> Date: Thu, 26 Mar 2020 23:09:08 +0100
> 
> >   . 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 huge.

Lars (or anyone else of the Gnus developers), can you help?  We are
looking for the place that calls (perhaps indirectly) call-process to
run gpg in this scenario, and in particularly where does that code set
coding-system-for-read to 'binary'.

Juan, can you please describe the scenario (the commands you issue and
any relevant customizations you have) that causes this in detail?
Also, if this doesn't happen in "emacs -Q", please show any relevant
customizations in your init files, especially the ones that customize
the default coding-systems.

Thanks.



  reply	other threads:[~2020-03-27  7:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26 16:21 Two errors in 27.* with Windows Juan José García-Ripoll
2020-03-26 16:34 ` 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 [this message]
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=83tv2a8eco.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=juanjose.garciaripoll@gmail.com \
    --cc=larsi@gnus.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.