From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: The poor quality of Emacs's backtraces Date: Tue, 18 Jul 2023 13:57:51 +0000 Message-ID: References: <6CB5E709-8F5A-4015-9F2C-337A87916C66@gmail.com> <909FC7C1-5473-4746-97E4-B067E6C2B271@gmail.com> <5382C438-D871-4C79-820C-DCA17C59CBCA@gmail.com> <87wmyy2u79.fsf@localhost> <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?= , emacs-devel To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 18 15:58:43 2023 Return-path: 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 ) 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 ) 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 ) 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 ) 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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: Hello, Ihor. On Tue, Jul 18, 2023 at 11:54:36 +0000, Ihor Radchenko wrote: > Alan Mackenzie 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 . > Support Org development at , > or support my work at -- Alan Mackenzie (Nuremberg, Germany).