From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Alan Mackenzie <acm@muc.de>
Newsgroups: gmane.emacs.devel
Subject: Re: The poor quality of Emacs's backtraces
Date: Tue, 18 Jul 2023 13:57:51 +0000
Message-ID: <ZLaaXzWt-JkNv0ND@ACM>
References: <ZLEoG4zCmVk7qPEM@ACM>
 <6CB5E709-8F5A-4015-9F2C-337A87916C66@gmail.com>
 <ZLFIdLH_BzVNerGK@ACM>
 <909FC7C1-5473-4746-97E4-B067E6C2B271@gmail.com>
 <ZLG1Zk07Sv1wQ5on@ACM>
 <5382C438-D871-4C79-820C-DCA17C59CBCA@gmail.com>
 <ZLWQQQwfdzM4cNLA@ACM> <87wmyy2u79.fsf@localhost>
 <ZLZ1PSmJTTPx3bhk@ACM> <87mszt305f.fsf@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="9823"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Mattias =?iso-8859-1?Q?Engdeg=E5rd?= <mattias.engdegard@gmail.com>,
 emacs-devel <emacs-devel@gnu.org>
To: Ihor Radchenko <yantar92@posteo.net>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 18 15:58:43 2023
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Envelope-to: ged-emacs-devel@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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1qLlDv-0002KF-Cb
	for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Jul 2023 15:58:43 +0200
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces@gnu.org>)
	id 1qLlDG-0001bN-LP; Tue, 18 Jul 2023 09:58:02 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <acm@muc.de>) id 1qLlDC-0001bB-Sf
 for emacs-devel@gnu.org; Tue, 18 Jul 2023 09:57:58 -0400
Original-Received: from mx3.muc.de ([193.149.48.5])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <acm@muc.de>) id 1qLlD9-0002N7-E7
 for emacs-devel@gnu.org; Tue, 18 Jul 2023 09:57:57 -0400
Original-Received: (qmail 80008 invoked by uid 3782); 18 Jul 2023 15:57:52 +0200
Original-Received: from acm.muc.de (pd953a6f1.dip0.t-ipconnect.de [217.83.166.241])
 (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP;
 Tue, 18 Jul 2023 15:57:52 +0200
Original-Received: (qmail 3502 invoked by uid 1000); 18 Jul 2023 13:57:51 -0000
Content-Disposition: inline
In-Reply-To: <87mszt305f.fsf@localhost>
X-Submission-Agent: TMDA/1.3.x (Ph3nix)
X-Primary-Address: acm@muc.de
Received-SPF: pass client-ip=193.149.48.5; envelope-from=acm@muc.de;
 helo=mx3.muc.de
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_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.devel:307955
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/307955>

Hello, Ihor.

On Tue, Jul 18, 2023 at 11:54:36 +0000, Ihor Radchenko wrote:
> Alan Mackenzie <acm@muc.de> writes:

> >> This is curious. I tried to branch and got several native-comp errors:

> > Thanks for actually trying this out!

> > One thing I forgot to say: you need to run make bootstrap, since the
> > format of some internal structures is being changed.  If you didn't do
> > this, please try it.  If you did run make bootstrap, please let me know,
> > then I will take a closer look at your backtraces.  Thanks!

> I did. Now, to be sure, I also did make extraclean; ./autogen...;
> ./configure...; make boostrap
> And then also removed eln-cache dir.

> Things changed somewhat:

> In toplevel form:
> eval-sexp-fu.el:121:2: Warning: Package cl is deprecated
> eval-sexp-fu.el:145:2: Warning: custom-declare-variable `eval-sexp-fu-flash-error-face' docstring wider than 80 characters
> /home/yantar92/.emacs.d/straight/build/eval-sexp-fu/eval-sexp-fu.el: Error: Wrong type argument listp

> /home/yantar92/.emacs.d/straight/build/helm-dash/helm-dash.el: Error: Wrong type argument listp

> No backtrace this time.

Excellent!

> Not sure if it is related to the branch.

I've not been able to install helm successfully on standard Emacs, but
those "error messages" illustrate to some extent the problem I'm trying
to solve.  They give no location, beyond a file name, for the problem;
they don't say what isn't a list, and don't say what primitive detected
its not being a list.

If you know helm well, can you say whether or not it handles function
structure explicitly?  Doing things like assuming the element of a
lambda form following 'lambda is the parameter list?  This might be the
cause of the problem.

> -- 
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>

-- 
Alan Mackenzie (Nuremberg, Germany).