bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48940: 27.2; regression: "emacs --script /dev/stdin" parses the scri


From: Lars Ingebrigtsen
Subject: bug#48940: 27.2; regression: "emacs --script /dev/stdin" parses the script incorrectly when /dev/stdin is a pipe
Date: Thu, 11 Nov 2021 06:09:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

"Bryan C. Mills" <bcmills@google.com> writes:

> I tested the fix locally with a small dummy script as input and it
> seems to work, but I can't be confident that there won't be deeper
> bugs. You're welcome to use it as a starting point for a more robust
> fix.

I tried (on Debian/bullseye with Emacs 29), but it doesn't seem to make
any difference here.  With or without the patch, I get:

larsi@xo:~/src/emacs/trunk$ emake; cat /tmp/script.el | ./src/emacs -Q --script 
/dev/stdin
Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such 
file or directory" "/proc/162231/fd/pipe:[1065564]")
  load("/proc/162231/fd/pipe:[1065564]" nil t t)
  command-line-1(("-scriptload" "/dev/stdin"))
  command-line()
  normal-top-level()

Perhaps something further has changed in the meantime?  (You didn't post
an output of the error message you were getting...)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]