From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45376: 28.0.50; [Feature/Native-Comp] strange `ls` output in eshell loaded from eln Date: Wed, 23 Dec 2020 15:27:29 +0000 Message-ID: References: Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26664"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: gliao.tw@pm.me To: 45376@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 23 16:28:31 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ks63z-0006oG-LD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Dec 2020 16:28:31 +0100 Original-Received: from localhost ([::1]:59138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ks63y-0001Xu-Mm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Dec 2020 10:28:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks63W-0001Xb-Pq for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 10:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ks63W-0000cf-J9 for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 10:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ks63W-0005X8-Fa for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 10:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Dec 2020 15:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45376 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: gliao.tw@pm.me, 45376@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160873725921220 (code B ref -1); Wed, 23 Dec 2020 15:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Dec 2020 15:27:39 +0000 Original-Received: from localhost ([127.0.0.1]:53874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks639-0005W9-6C for submit@debbugs.gnu.org; Wed, 23 Dec 2020 10:27:39 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:53280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks637-0005W2-HY for submit@debbugs.gnu.org; Wed, 23 Dec 2020 10:27:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks637-0001Vj-C1 for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 10:27:37 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:53850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks635-0000UQ-3M for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 10:27:37 -0500 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 0BNFRTsD015771; Wed, 23 Dec 2020 15:27:29 GMT In-Reply-To: (Andrea Corallo via's message of "Wed, 23 Dec 2020 07:51:54 +0000") Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196619 Archived-At: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > "gliao.tw@pm.me" writes: > >> Hi, >> >> I checked the last updated feature/native-comp branch (commit 433ae7b0a5cedbcd7b0a1daf12846e38f00fd111) and identified a strange outputs from eln-compiled eshell. >> >> The first attachment shows the `ls` command output under eshell loaded >> from elc, while the second attachment shows the same command, but much >> stranger output under eshell loaded from eln. >> >> I have tested/complied the last updated code on Linux/x86-64, >> Linux/aarch64 (Debian Bullseye, GCC 10.2.1) and Windows (Msys2), all >> the test cases generate the same weird output from `ls` under >> eln-loaded eshell. >> >> This issue does not happen on the code based at or before commit f244c21902 >> >> Thanks, >> Kiong-Ge. > > Hi Kiong-Ge, > > yep, I've merged a lot of stuff into the value/type inference logic so > this is certanly related. > > The offending function is `eshell-ls-find-column-lengths', I'll have a > look. Hi Kiong-Ge, as of ffcd490cb4 is working for me, could you give it a try? Just remember you might need to clean the eln-cache folder to have eshell freshly recompiled. Thanks! Andrea