From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#5852: 23.1; Incorrect references in ses-mode Date: Sat, 29 Feb 2020 04:14:37 +0100 Message-ID: <874kva84pu.fsf@stefankangas.se> References: <201004071615.o37GFETu010061@freddi.uddeborg> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="86243"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: =?UTF-8?Q?G=C3=B6ran?= Uddeborg , 5852@debbugs.gnu.org To: Vincent =?UTF-8?Q?Bela=C3=AFche?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 29 04:15:16 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 1j7sax-000MJl-Mk for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Feb 2020 04:15:15 +0100 Original-Received: from localhost ([::1]:56744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7saw-0002Kh-IX for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Feb 2020 22:15:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46055) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7sam-0002KK-9U for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 22:15:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7sal-0003oj-0f for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 22:15:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56305) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7sak-0003of-QE for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 22:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j7sak-0003KW-Mj for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 22:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Feb 2020 03:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5852 X-GNU-PR-Package: emacs Original-Received: via spool by 5852-submit@debbugs.gnu.org id=B5852.158294608812755 (code B ref 5852); Sat, 29 Feb 2020 03:15:02 +0000 Original-Received: (at 5852) by debbugs.gnu.org; 29 Feb 2020 03:14:48 +0000 Original-Received: from localhost ([127.0.0.1]:34045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7saW-0003Jf-Dc for submit@debbugs.gnu.org; Fri, 28 Feb 2020 22:14:48 -0500 Original-Received: from ted.gofardesign.uk ([67.225.143.91]:55930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7saV-0003JO-04 for 5852@debbugs.gnu.org; Fri, 28 Feb 2020 22:14:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YAo6QhERGoDcMJMuAwn61hMAR/5zdS8EYBKGGva7WDM=; b=eM++x+7iM1NJ0H0iDVKuWZWIL1 a9zinIlWfA6e937mlNcUPH32VbxuRtZoPf4hufa3Nls3EhECXelRhVswhsvyGBfO0FoPATLx7//lQ 70Qfpv8iQ9qr+UP81qUjkFjh0jmK/6N7nqMpgAy8HiYNaxVmg/3xtHCV2VhKmcJCc3xjthdR3nlMS BLUnLWD0vmnv8ff31uGgIym+lDy+3N5c9gPrp//OcCZSIDzIVNYqeG/7d3vIVOBUrjUZsqQ2vKNfn 2GJkUUfaj+ls1N5JTygJeRwfeLMrZ/g65QpTYu90WXNdBxUZ7aI1VrPbX6LDUNA4m+gq3Kvz/cFte boUVJ8gg==; Original-Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:49684 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1j7saN-001SjK-LK; Fri, 28 Feb 2020 22:14:39 -0500 In-Reply-To: <201004071615.o37GFETu010061@freddi.uddeborg> ("=?UTF-8?Q?G=C3=B6ran?= Uddeborg"'s message of "Wed, 7 Apr 2010 18:15:14 +0200") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:176635 Archived-At: Hi Vincent, Could you please take a look at the below bug report? It was reported in 2010, before you were listed as the maintainer of ses.el. Thanks in advance. Best regards, Stefan Kangas G=C3=B6ran Uddeborg writes: > I discovered this when emacs sometimes complains that I have circular > references in ses-mode files where there shouldn't be any. When > investigating the ses file I've noticed some cells contain references > that are incorrect. When I remove these incorrect references, the > complaints about circular references go away, so I strongly suspect > the problems are related. And even if I'm wrong, the incorrect > references is a bug. > > While I haven't been able to create a simple test case where I get a > circular reference complaint, I can easily get to a state where there > are incorrect references. Create a ses file with these keystrokes: > > C-x C-f s . s e s 1 C-o 2 > ( + SPC B 1 SPC A 2 > C-n C-o 3 ( + SPC B 2 SPC A 3 C-a > C-o 4 C-p C-SPC C-f M-w C-n C-b C-y C-n C-y > C-x C-s > > In the resulting file, cell B2 has cell B4 incorrectly listed among > its references: > > (ses-cell B2 3 (+ B1 A2) nil (B3 B4)) > > Only B3 does actually reference B2. > > > In GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.18.3) > of 2009-12-02 on x86-3.fedora.phx.redhat.com > Windowing system distributor `Fedora Project', version 11.0.10705000 > configured using `configure '--build=3Dx86_64-redhat-linux-gnu' '--host= =3Dx86_64-redhat-linux-gnu' '--target=3Dx86_64-redhat-linux-gnu' '--program= -prefix=3D' '--prefix=3D/usr' '--exec-prefix=3D/usr' '--bindir=3D/usr/bin' = '--sbindir=3D/usr/sbin' '--sysconfdir=3D/etc' '--datadir=3D/usr/share' '--i= ncludedir=3D/usr/include' '--libdir=3D/usr/lib64' '--libexecdir=3D/usr/libe= xec' '--localstatedir=3D/var' '--sharedstatedir=3D/var/lib' '--mandir=3D/us= r/share/man' '--infodir=3D/usr/share/info' '--with-dbus' '--with-gif' '--wi= th-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm'= '--with-x-toolkit=3Dgtk' 'build_alias=3Dx86_64-redhat-linux-gnu' 'host_ali= as=3Dx86_64-redhat-linux-gnu' 'target_alias=3Dx86_64-redhat-linux-gnu' 'CFL= AGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexcep= tions -fstack-protector --param=3Dssp-buffer-size=3D4 -m64 -mtune=3Dgeneric= '' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: sv_SE.utf8 > value of $XMODIFIERS: nil > locale-coding-system: utf-8-unix > default-enable-multibyte-characters: t > > Major mode: SES > > Minor modes in effect: > tooltip-mode: t > tool-bar-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > global-auto-composition-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > 1 C-o 2 =20 > ( + SPC B 1 SPC A 2 =20 > C-n C-o 3 ( + SPC B 2 SPC A 3 C-n=20 > C-o C-p C-o 4 C-p C-SPC C-f M-w C-n C-b C-y=20 > C-n C-y C-x C-s M-x r e p o r t - e m a=20 > c s - b u g > > Recent messages: > [2 times] > Yanking...done > Mark set > Yanking...done > [2 times] > Yanking...done > [2 times] > Yanking...done > Saving file /home/g=3Df6ran/x.ses... > Wrote /home/g=3Df6ran/x.ses