GNU bug report logs - #5852
23.1; Incorrect references in ses-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Göran Uddeborg <goeran@HIDDEN>; dated Wed, 7 Apr 2010 16:26:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Apr 2010 16:25:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 07 12:25:03 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1NzY3q-0003dI-IO
	for submit <at> debbugs.gnu.org; Wed, 07 Apr 2010 12:25:02 -0400
Received: from mx10.gnu.org ([199.232.76.166])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <goeran@HIDDEN>) id 1NzXue-0003YY-KB
	for submit <at> debbugs.gnu.org; Wed, 07 Apr 2010 12:15:33 -0400
Received: from lists.gnu.org ([199.232.76.165]:59143)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <goeran@HIDDEN>) id 1NzXuZ-0000Jg-EO
	for submit <at> debbugs.gnu.org; Wed, 07 Apr 2010 12:15:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NzXuY-0003yN-NV
	for bug-gnu-emacs@HIDDEN; Wed, 07 Apr 2010 12:15:26 -0400
Received: from [140.186.70.92] (port=41020 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1NzXuX-0003xB-15
	for bug-gnu-emacs@HIDDEN; Wed, 07 Apr 2010 12:15:26 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00
	autolearn=unavailable version=3.3.0
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <goeran@HIDDEN>) id 1NzXuV-0004yJ-05
	for bug-gnu-emacs@HIDDEN; Wed, 07 Apr 2010 12:15:24 -0400
Received: from smtprelay-h22.telenor.se ([195.54.99.197]:36243)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <goeran@HIDDEN>) id 1NzXuU-0004xg-N0
	for bug-gnu-emacs@HIDDEN; Wed, 07 Apr 2010 12:15:22 -0400
Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165])
	by smtprelay-h22.telenor.se (Postfix) with ESMTP id 2F52BC3DC
	for <bug-gnu-emacs@HIDDEN>; Wed,  7 Apr 2010 18:15:17 +0200 (CEST)
X-SENDER-IP: [83.227.168.100]
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApZeAJ9MvEtT46hkPGdsb2JhbACED4NVh3EBi0sMAQEBATUtvFGFCQQ
X-IronPort-AV: E=Sophos;i="4.51,379,1267398000"; d="scan'208";a="60743808"
Received: from ua-83-227-168-100.cust.bredbandsbolaget.se (HELO
	mimmi.uddeborg.se) ([83.227.168.100])
	by ipb2.telenor.se with ESMTP; 07 Apr 2010 18:15:17 +0200
Received: from freddi.uddeborg (freddi.uddeborg [172.17.0.3])
	by mimmi.uddeborg.se (8.14.3/8.14.3) with ESMTP id o37GFETI010548
	for <bug-gnu-emacs@HIDDEN>; Wed, 7 Apr 2010 18:15:15 +0200
Received: from freddi.uddeborg (localhost.localdomain [127.0.0.1])
	by freddi.uddeborg (8.14.3/8.14.2) with ESMTP id o37GFE9U010062
	for <bug-gnu-emacs@HIDDEN>; Wed, 7 Apr 2010 18:15:14 +0200
Received: (from goeran@localhost)
	by freddi.uddeborg (8.14.3/8.14.2/Submit) id o37GFETu010061;
	Wed, 7 Apr 2010 18:15:14 +0200
Date: Wed, 7 Apr 2010 18:15:14 +0200
Message-Id: <201004071615.o37GFETu010061@HIDDEN>
From: =?utf-8?Q?G=C3=B6ran_Uddeborg?= <goeran@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 23.1; Incorrect references in ses-mode
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
	seldom 2.4 (older, 4)
X-Spam-Score: -6.6 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 07 Apr 2010 12:25:00 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.6 (------)

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 <return> <tab> 1 <return> C-o 2 <return>
    <tab> <left> ( + SPC B 1 SPC A 2 <return>
    C-n C-o 3 <return> ( + SPC B 2 SPC A 3 <return> C-a
    C-o 4 <return> 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=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic''

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:
<tab> 1 <tab> <backspace> <return> C-o 2 <return> <tab> 
<left> ( + SPC B 1 SPC A 2 <return> <return> <return> 
C-n C-o 3 <return> ( + SPC B 2 SPC A 3 <return> C-n 
C-o C-p C-o 4 <return> C-p C-SPC C-f M-w C-n C-b C-y 
C-n C-y C-x C-s <help-echo> M-x r e p o r t - e m a 
c s - b u g <return>

Recent messages:
  [2 times]
Yanking...done
Mark set
Yanking...done
  [2 times]
Yanking...done
  [2 times]
Yanking...done
Saving file /home/g=f6ran/x.ses...
Wrote /home/g=f6ran/x.ses





Acknowledgement sent to Göran Uddeborg <goeran@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#5852; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.