unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jim Porter <jporterbugs@gmail.com>
To: Stefan Kangas <stefankangas@gmail.com>,
	Lars Ingebrigtsen <larsi@gnus.org>
Cc: 21498@debbugs.gnu.org, Marcin Borkowski <mbork@mbork.pl>,
	Sum Proxy <sum.proxy@gmail.com>
Subject: bug#21498: macos: `ps -ef | grep "test"` in eshell beeps
Date: Thu, 25 Jul 2024 08:53:44 -0700	[thread overview]
Message-ID: <3732c4e4-4135-6066-0201-ed04a4eb67e8@gmail.com> (raw)
In-Reply-To: <CADwFkmm1Lq8Br7AeJLwpZ4rf-a4FaMNdDZAAkTkqq11uhvauSQ@mail.gmail.com>

On 7/25/2024 6:36 AM, Stefan Kangas wrote:
> I've tested this on Emacs 30 on mac OS 14.5, and the bug is still
> present.  I now get this backtrace, however:
> 
> Debugger entered--Lisp error: (void-function eshell-set-exit-info)
>    eshell-set-exit-info(0 t)
>    #f(compiled-function () #<bytecode 0x1cf599f366a88a85>)()
>    eshell-sentinel(#<process grep> "finished\n")
> 
> Copying in Jim Porter, in case he has any ideas.

Is this in Emacs 30? 'eshell-set-exit-info' doesn't exist anywhere in 
Emacs 30 (it's new in 31). Is there something amiss in your build?

If this is with Emacs 31, then I don't see how this error could be 
occurring either. 'eshell-set-exit-info' is just an ordinary function in 
another file, which is always 'require'd when Eshell starts. (If it 
really weren't defined properly, then I'd expect most of the Eshell test 
suite to fail - on all platforms - and it passes for me.)

If you resolve the 'eshell-set-exit-info' issue and the original bug is 
still there, could you try running the Eshell command "eshell-debug 
process" and then run the buggy Eshell command again? This should print 
a bunch of logs about process handling to the "*eshell last cmd*" 
buffer. If I can take a look at that output, I might see something of 
interest.





  reply	other threads:[~2024-07-25 15:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-16 13:42 bug#21498: ps -ef | grep "test" in eshell gives a beep Sum Proxy
2016-01-08  8:27 ` Marcin Borkowski
     [not found]   ` <228BD249-9B51-4CF5-BB6E-3274598B647C@gmail.com>
     [not found]     ` <8E672BF7-96D1-4ECE-A4E9-B1CC39E102AA@gmail.com>
2016-01-08  9:37       ` Marcin Borkowski
     [not found]         ` <72EA8F77-51D6-480D-ACD4-CF46542539A8@gmail.com>
2016-01-11 17:41           ` bug#21498: Fwd: " Marcin Borkowski
2019-11-06  1:25             ` Stefan Kangas
2021-12-02  9:28               ` bug#21498: macos: `ps -ef | grep "test"` in eshell beeps Lars Ingebrigtsen
2024-07-25 13:36                 ` Stefan Kangas
2024-07-25 15:53                   ` Jim Porter [this message]
2024-07-26 22:19                     ` Stefan Kangas
2024-07-26 22:28                       ` Jim Porter

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=3732c4e4-4135-6066-0201-ed04a4eb67e8@gmail.com \
    --to=jporterbugs@gmail.com \
    --cc=21498@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=mbork@mbork.pl \
    --cc=stefankangas@gmail.com \
    --cc=sum.proxy@gmail.com \
    /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 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).