GNU bug report logs - #48940
27.2; regression: "emacs --script /dev/stdin" parses the script incorrectly when /dev/stdin is a pipe

Previous Next

Package: emacs;

Reported by: "Bryan C. Mills" <bcmills <at> google.com>

Date: Wed, 9 Jun 2021 22:47:01 UTC

Severity: normal

Found in version 27.2

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Bryan C. Mills" <bcmills <at> google.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 48940 <at> debbugs.gnu.org
Subject: bug#48940: 27.2; regression: "emacs --script /dev/stdin" parses the script incorrectly when /dev/stdin is a pipe
Date: Fri, 12 Nov 2021 04:26:55 +0100
"Bryan C. Mills" <bcmills <at> google.com> writes:

> I did post the complete output: the pipeline `cat script.el | emacs
> --no-init-file --no-site-file --script /dev/stdin` did not produce any
> output whatsoever for my reproducer. (Nothing to stdout, nothing to
> stderr.)

Ah, I see.

I tracked down what's causing this new problem and fixed that, and after
doing that, I can confirm that your patch fixes the problem with
/dev/stdin-as-a-pipe, so I've pushed it to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 252 days ago.

Previous Next


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