Subject: Re: bug#45576: 28.0.50 [native-comp] some functions in eshell stop functioning after commit 0593f478762437e2a8618f3f874a26424e4590b4

From: "[email-masked]" <[email-masked]>
Date: Fri, 01 Jan 2021 19:09:45 +0000

Hi,

More precisely, in this case, the "eshell-find-alias-function" definded in $EMACS_DIR/share/emacs/28.0.50/lisp/eshell/esh-cmd.el.gz seems where the issue pops up.

Before commit #0593f478762437e2a8618f3f874a26424e4590b4,

(eshell-find-alias-function "ls") shows

"eshell/ls"

but on or after commit #0593f478762437e2a8618f3f874a26424e4590b4, the same command shows

"nil"

Both cases are based on functions loaded from eshell.el.gz and esh-cmd.el's corresponding eln files.

It seems that some part of the type inference code added recently lead to this unexpected result.

Thanks,
Kiong-Ge.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Friday, January 1st, 2021 at 11:51 AM, [email-masked] <[email-masked]> wrote:

> Hi, 
>
> I just found that on or after commit #0593f478762437e2a8618f3f874a26424e4590b4, the eshell's "eshell-prefer-lisp-functions" variable is always ignored.
>
> For example, "exit" command does not work, I have to type "(eshell/exit)" to close a eshell window.
>
> Not sure if this is related to the type inference works in recent commits mentionde in gccemacs update #13.
>
> Thanks,
>
> Kiong-Ge.