From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.bugs Subject: bug#22082: 25.0.50; "ses" confused about current cell Date: Thu, 3 Dec 2015 06:12:58 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1449141265 10184 80.91.229.3 (3 Dec 2015 11:14:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2015 11:14:25 +0000 (UTC) To: 22082@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 03 12:14:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a4Rq0-0007i8-6y for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2015 12:14:12 +0100 Original-Received: from localhost ([::1]:34593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4Rpz-0008VU-4O for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2015 06:14:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4Rpu-0008Qd-SM for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 06:14:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4Rpq-0004XR-Q1 for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 06:14:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4Rpq-0004XN-Ma for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 06:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a4Rpq-0003wO-1G for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 06:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ken Raeburn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Dec 2015 11:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22082 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-Gnu-Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.144914119215081 (code B ref -1); Thu, 03 Dec 2015 11:14:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Dec 2015 11:13:12 +0000 Original-Received: from localhost ([127.0.0.1]:36923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4Rp1-0003vA-8a for submit@debbugs.gnu.org; Thu, 03 Dec 2015 06:13:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59498) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4Roy-0003v1-OB for submit@debbugs.gnu.org; Thu, 03 Dec 2015 06:13:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4Rox-00041u-4K for submit@debbugs.gnu.org; Thu, 03 Dec 2015 06:13:08 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4Rox-00041q-1U for submit@debbugs.gnu.org; Thu, 03 Dec 2015 06:13:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4Rov-0007Wh-IZ for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 06:13:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4Roq-0003w4-UN for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 06:13:05 -0500 Original-Received: from mail-qg0-x244.google.com ([2607:f8b0:400d:c04::244]:36420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4Roq-0003vl-On for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 06:13:00 -0500 Original-Received: by qgcc31 with SMTP id c31so5859130qgc.3 for ; Thu, 03 Dec 2015 03:13:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raeburn-org.20150623.gappssmtp.com; s=20150623; h=from:content-type:content-transfer-encoding:date:subject:to :message-id:mime-version; bh=q6DrstvQf2KiR+ndI6wAuXQvlQFVQN03ABRM3FOAf1s=; b=q1beYCvZLwkdmG2l92vOOI815StdTOlzmqDOaB7ds4MjVQUbP+d8SAuyfzuJFbFU0F 9gHeue2kP/t4mvl8DrO9qydagjCC5XNLk9Dm+bONAQHjhtyM410mUkxfQ2vRMZAXIszg DMNbNWcvQKTJUZDvxDMBmyCcvTPgpN30rAw7LdKc5OBpjO+R60NCjZFKbigzFbMeUpkE itzFZosOwVC72o2DbQj4pTTYoqu4bab4Wwf0KqkRq/8Q5ZFNYXfs2512On7F7RULprve nsY4uAxsDBiVoB1ZKmOUe5qgMIXe0lvk5NoD2CWRHNZPeJHkvpJJpLA5uta8rpNgzb8y T7GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding:date :subject:to:message-id:mime-version; bh=q6DrstvQf2KiR+ndI6wAuXQvlQFVQN03ABRM3FOAf1s=; b=R/lJsUUZyakBtTkraZAZ2Af/hvN+v0EzO0ufaNiux3wejT6U1eaBSqO9VCDuEIPIvU c8R6C6BTVE8REgeEiNwL/yqYSfBOdAEDLQYR1ENlSKuD6xHQXvHX+8ebObSj4am9nQmi Jyl2v5TkZ2iRs0U/M/xax3SpoBBuTlsZd56VO4phbRUwUq138ueY4QJL1dOKLV02odsy qQw7u7ZPpZ8LgF9TVt8M5IrlEYHbiVa3KTDQVI3XeX0+7hHGpT1BN6SMnpBY5+1wuIZu 2bm6QOQV64g7YSsTMps0kBPSbV7liGSicS+18rXHfjxz2TI4ah7Uxb7ueZcqRnQC0nEU dTlw== X-Gm-Message-State: ALoCoQnfq/1enWt0LkT6+rlb3B0UhLHuR1xr/ZzWtai3o96FmjMAizjvyWSXRM3+ck641WkSt/LD X-Received: by 10.140.151.145 with SMTP id 139mr10586468qhx.95.1449141180041; Thu, 03 Dec 2015 03:13:00 -0800 (PST) Original-Received: from [192.168.17.111] (c-66-31-203-101.hsd1.ma.comcast.net. [66.31.203.101]) by smtp.gmail.com with ESMTPSA id s68sm1955577qks.44.2015.12.03.03.12.59 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Dec 2015 03:12:59 -0800 (PST) X-Mailer: Apple Mail (2.3096.5) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109549 Archived-At: After installing from the emacs-25 branch, I had occasion to want to do some quick spreadsheet work. I found that updates to cell contents or changes to column widths often didn't apply to the cell/column I appeared to have selected. I haven't figured out enough of a pattern to it to be able to try to work around it; it basically made ses unusable. This sequence demonstrates the sort of problems I was running into: run emacs -Q C-x C-f foo.ses RET (assuming no such file exists) current cell is A1, per cursor location and mode line indicator enter 1 RET cursor looks like it's two lines below cell A1, mode line shows no cell = id up-arrow, we're back at A1 TAB, we're at B1 type just "2", minibuffer prompt indicates we're entering a value for A1 though the highlighted cell and mode line indicator say otherwise type RET, and cell A1 is updated, B1 is empty, cursor is below A1 up-arrow, we're at B1 TAB TAB, we're at D1 type just "3", prompt indicates we're updating C1 RET, indeed C1 is updated and D1 empty, cursor below A1 C-o to open a line, the blank line is inserted *before* (former) row 1, and the cursor is at (new) C1, with the values we entered now in row 2 4 RET, the value goes into cell C1 and the cursor moves to D1 5 RET, the value goes into cell C1 (which we weren't selecting), and the cursor goes to A2 click the mouse on the "3" in cell C2, that cell gets selected type "w", we get prompted for the new width for column C type 8 RET, the column gets a little wider click the mouse on the "2" in cell A2... It appears that A2 is momentarily selected, but immediately (or as soon as I release the mouse?) we switch to cell B2. type "w", we get prompted for the new width for column C (not B where we = are) type 9 RET, column C is indeed adjusted If I click the mouse on the first character position within cell A2, it selects A2; anywhere else and it seems to switch to B2. So... * The cell to be updated per the minibuffer prompt and the actual update don't match the current cell as indicated by the underlined text, the text cursor, and the mode line indicator. At work I also saw this when using "=3D" to edit the current value of a cell -- it would often start to edit a different cell's value. * The positioning of the cursor a couple lines below the spreadsheet surprised me, though maybe I just haven't used ses-mode in a while and it's always been this way. It was strange to move up from there (the beginning of the line) and be somewhere other than column A. It also seemed strange for C-o from there to insert a line before the first and only line of the spreadsheet, rather than before the apparent current position (past the end of the spreadsheet, so before that = presumably would be after the last existing row of the spreadsheet). * Column-width updating doesn't always apply to the current column. * I couldn't select cell A2 by clicking within it, unless I happened to hit the very beginning of the line. In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.25) of 2015-12-03 Repository revision: 4d10a7d467b6b0927036387c0d4849b2f40abcee Windowing system distributor 'The X.Org Foundation', version = 11.0.11604000 System Description: Debian GNU/Linux 8.2 (jessie) Configured using: 'configure --prefix=3D/home/ken/dev/emacs/emacs-25/lx/I' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 82316 5572) (symbols 48 18951 0) (miscs 40 98 85) (strings 32 12502 4455) (string-bytes 1 371510) (vectors 16 10690) (vector-slots 8 414110 5822) (floats 8 141 49) (intervals 56 240 0) (buffers 976 12) (heap 1024 40753 912))