From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Using Dismal V1.5 after updates Date: Thu, 20 May 2021 21:27:56 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33921"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "emacs-devel@gnu.org" To: "OURY, JACOB DAVID" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 21 03:28:50 2021 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 1ljty6-0008cc-A2 for ged-emacs-devel@m.gmane-mx.org; Fri, 21 May 2021 03:28:50 +0200 Original-Received: from localhost ([::1]:48308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljty4-0001xn-H1 for ged-emacs-devel@m.gmane-mx.org; Thu, 20 May 2021 21:28:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljtxL-0001IM-Ox for emacs-devel@gnu.org; Thu, 20 May 2021 21:28:03 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:10610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljtxJ-0000i2-0l for emacs-devel@gnu.org; Thu, 20 May 2021 21:28:03 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id E26B9441047; Thu, 20 May 2021 21:27:59 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 10E3A441042; Thu, 20 May 2021 21:27:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1621560478; bh=1XmpBdRhL8+m7wlbkyXF08H4cyE0sUOIH+RNnPxGIeg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Lc4m9wLRWxI08PE0GsOzs0lh8Sfcqr/LRwsd0NpXimXeoIvzkgvNob3kDLu4rFeLu S0rD73xMOIDmjGGdpW+EFDjlBj65b6AZ8rEc2KfleKTc12MXB5GRQRVyFAUq0YazcM tdX4stz5rWbUKQxoSrpHH5XYkuQkFbuPs+vF9iw/ZpPOiTiSJw7IqnK5a+0dx5eUT/ pQifDmQSDzcSrUng3fFf8vrMvVYsECmZRQVG1yS/PoqsFaGAeQvYXcgeOicWRe6N9N gKaDPCChvlP3oAR9VWTvEEnyEuOHRJJgDZsxWZTydfhT119R/NK0yZ0XNrVXsE2JmT jDOK/AC5VKv/w== Original-Received: from alfajor (76-10-140-76.dsl.teksavvy.com [76.10.140.76]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E18A8120246; Thu, 20 May 2021 21:27:57 -0400 (EDT) In-Reply-To: (JACOB DAVID OURY's message of "Thu, 20 May 2021 20:16:24 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:269519 Archived-At: I pushed a new version 1.5.2 to elpa.git which should appear on elpa.gnu.org soon. This should hopefully fix your problems (at least the nb 2 and maybe nb 1 as well). Stefan OURY, JACOB DAVID [2021-05-20 20:16:24] wrote: > Hi,=20 > > My name is Jacob Oury and I'm a doctoral candidate advised by Frank Ritte= r (an original Dismal dev!) > and I'm trying to get Dismal working on the latest version of EMACS. I've= found a few issues, and I'm > hoping you could provide some advice. I'll describe them below.=20 > > 1 I believe Dismal V1.5 is missing a key file for running dismal. Per the= description, the package should > include a file called dismal-mode-defaults.el, however this is not avail= able in the elpa.gnu package > repo. I was able to work around this issue by acquiring a previous versi= on of Dismal from my > advisor and manually loading that file. Without that, I am unsure if I c= ould get this package running. > Per the Git records at http://git.savannah.gnu.org/cgit/emacs/elpa.git/l= og/?h=3Dexternals/dismal, it > looks like that file was deleted in update below. I think this may have = broken the package and I'm > hoping to find out why that file was deleted.=20=20 > > author Stefan Monnier 2013-06-06 16:20:37 -04= 00=20 > committer Stefan Monnier 2013-06-06 16:20:37 = -0400=20 > commit 554819b2d3c2e3d4494845a23deffd7245349a56 (patch)=20 > tree c4b11570454318e4dba291c1732f18e8dc639a58=20 > parent 18a2365ebc31e03bce64aa45227a5e6f5e869bad (diff)=20 > download elpa-554819b2d3c2e3d4494845a23deffd7245349a56.tar.gz=20 > General cleanup for GNU ELPA > 2 Once I got the defaults loaded, I also am running into issues during te= sting (dis-test-dismal). It > initially runs, however, the test fails when trying to insert a simple m= ath equation into a cell:=20 > > dis-edit-cell-plain((+ 2 3)) > > While running the test, the process fails with the message: "dismal-set= -cell-internals: Symbol=E2=80=99s > value as variable is void: index". I believe this may be due to some eff= ect of the outdated heaps.el > package, however Frank's version of Dismal (Dismal V1.4 running on Emacs= 25.X, on MacOS) runs > fine. I'm using a Windows computer so that could play a role. When traci= ng the test through the > debugger, it fails immediately following a call to heap-empty with the i= nfo shown below. I'm still > figuring out the debugger, and I don't have a more thorough printout of = the trace at the moment.=20 > > Debugger entered--entering a function: > * command-error-default-function((void-variable index) "" dismal-set-cel= l-internals) > recursive-edit() > ;;Debugger cleared most of its text once the void variable error occurs,= so the excerpts from > immediately before the error are below this line and the output from the= debugger is above.=20 > * heap-empty([dismal-address-compare 1 0 [nil]]) > * heap-member((3 . 0) [dismal-address-compare 1 0 [nil]]) > * dismal-invalidate-cell((3 . 0)) > * dismal-set-cell-internals(3 0 (+ 2 3) nil) > * dismal-set-cell(3 0 (+ 2 3) nil) > * dismal-edit-cell((+ 2 3) nil) > > I'm an EMACS novice (I generally work on the experimental cognitive psych= ology side of things while > my labmates are more focused on using ACT-R for cognitive models), and so= I may have made some > missteps here, but I've been working with Frank during some debugging and= still not having any luck > so I'd appreciate any and all help you could provide on these issues. Tha= nks so much! > > Best regards,=20 > > Jacob D. Oury > Doctoral Candidate in Informatics > Applied Cognitive Science Lab > Penn State College of Information Sciences and Technology=20