unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Help figuring out origin of error: "ERROR in parse_header: buffer was .. client: reader got error Success"
@ 2019-01-23 17:18 Kaushal Modi
  0 siblings, 0 replies; only message in thread
From: Kaushal Modi @ 2019-01-23 17:18 UTC (permalink / raw)
  To: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]

Hello,

I have ended up with an unusual regression scenario on emacs master, which
I can reproduce only with the combination of M-x shell-command-on-region
and the par[1] CLI utility.

I don't see the issue on emacs 26.1.

The issue is that when I select a region of text and do `M-| par`, I get
this error:

ERROR in parse_header: buffer was ';; This buffer is for te'
error: client: reader got error Success

I got that error by launching emacs -Q (master branch), selecting the text
in the scratch buffer and doing `M-| par`. Interestingly that error doesn't
happen on running `od', or `cat' or any other command via M-|.

I contacted the par author Adam Costello, and he had this to say:

> > I grepped Emacs source and par source and none contain any part of
> > that error string.

> Emacs versions earlier than 24 have a lib-src/fakemail.c that contains a
> parse_header() function.  Could that be involved?

But I don't know .. this is a very recent regression .. some time after
26.1 release.

I have already reported this bug at
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34174. I am emailing in this
mailing list to see if anyone here can connect the dots between that error
and specifically using par.

Thoughts?


[1]: http://www.nicemice.net/par/

--
Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 2022 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-23 17:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-23 17:18 Help figuring out origin of error: "ERROR in parse_header: buffer was .. client: reader got error Success" Kaushal Modi

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).