From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=C3=93scar?= Fuentes Newsgroups: gmane.emacs.bugs Subject: bug#21054: Reopen Date: Fri, 20 Nov 2015 13:55:11 +0100 Message-ID: <871tbku8y8.fsf@wanadoo.es> References: <87380rvx91.fsf@telefonica.net> <87wptg7y9c.fsf@wanadoo.es> <83twoj9q18.fsf@gnu.org> <86oaep7w32.fsf@stephe-leake.org> <86k2pd7vti.fsf@stephe-leake.org> <86bnap7uw9.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448024516 5898 80.91.229.3 (20 Nov 2015 13:01:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2015 13:01:56 +0000 (UTC) Cc: Stephen Leake To: 21054@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 20 14:01:41 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 1ZzlJr-0005YA-5a for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2015 14:01:39 +0100 Original-Received: from localhost ([::1]:47045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzlJq-0003Zc-KJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2015 08:01:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzlEU-000232-D5 for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 07:56:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzlEQ-0000SR-7Q for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 07:56:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzlEQ-0000SN-3S for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 07:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZzlEP-0007NI-LI for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2015 07:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Nov 2015 12:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21054 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21054-submit@debbugs.gnu.org id=B21054.144802413628284 (code B ref 21054); Fri, 20 Nov 2015 12:56:01 +0000 Original-Received: (at 21054) by debbugs.gnu.org; 20 Nov 2015 12:55:36 +0000 Original-Received: from localhost ([127.0.0.1]:45615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzlDz-0007M7-EO for submit@debbugs.gnu.org; Fri, 20 Nov 2015 07:55:35 -0500 Original-Received: from relaycp03.dominioabsoluto.net ([217.116.26.84]:51966) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzlDe-0007LN-Ig for 21054@debbugs.gnu.org; Fri, 20 Nov 2015 07:55:34 -0500 Original-Received: from smtp.movistar.es (smtp22.acens.net [86.109.99.146]) by relaycp03.dominioabsoluto.net (Postfix) with ESMTP id E6DA8BFAF46; Fri, 20 Nov 2015 13:55:12 +0100 (CET) X-CTCH-RefID: str=0001.0A0B0206.564F1830.0330, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Original-Received: from qcore (83.38.102.153) by smtp.movistar.es (8.6.122.03) (authenticated as 981711563$telefonica.net) id 564C6D6B002C72BB; Fri, 20 Nov 2015 12:55:12 +0000 In-Reply-To: <86bnap7uw9.fsf@stephe-leake.org> (Stephen Leake's message of "Thu, 19 Nov 2015 11:37:26 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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:108976 Archived-At: Stephen Leake writes: > Stephen Leake writes: > >> Stephen Leake writes: > >> I spoke too soon; this allows hitting on cell A1. But hitting >> on cell C8 shows the contents of A1. So I missed something. > > Found it; the change deleted (ses-set-curcell) from ses-command-hook, I > assume because it was in a section labeled "update mode line". But it > also updates ses--curcell, so I put it back, and things seem to work: This is an interesting insight, thanks. > diff --git a/lisp/ses.el b/lisp/ses.el > index ec1359b..564d2a5 100644 > --- a/lisp/ses.el > +++ b/lisp/ses.el > @@ -1905,6 +1905,8 @@ Narrows the buffer to show only the print area. Gives it `read-only' and > (forward-char) > (point)))) > (put-text-property pos end 'cursor-intangible sym)))))) > + (goto-char (point-min)) > + (ses-set-curcell)) There is an extra paren here. Besides, SES is still broken. Try emacs -Q etc/ses-example.ses put the cursor on A13, for instance, then press the right cursor arrow to move the cursor to B13 and press ENTER. The prompt starts editing the contents of A13. Interestingly, if you cancel the minibuffer prompt with C-g and press ENTER again, B13 is edited. Apart from that, cursor movement is erratic: try to move the cursor to the line after the last row of the spreadsheet, note how it is not possible and it goes to one line below. Now press the up cursor arrow and see how the cursor goes to the rightmost cell of the last row. This problem may be unrelated to the bug you tried to fix. For all that I know, it might be present before the change that caused this bug report, I need to check.