From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luke Crook Subject: org-table-edit-formulas misbehaving in 8.2.7b Date: Thu, 17 Jul 2014 06:38:15 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7fL0-0001VR-8T for emacs-orgmode@gnu.org; Thu, 17 Jul 2014 02:38:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7fKp-0005LZ-Lk for emacs-orgmode@gnu.org; Thu, 17 Jul 2014 02:38:42 -0400 Received: from plane.gmane.org ([80.91.229.3]:57920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7fKp-0005LH-FL for emacs-orgmode@gnu.org; Thu, 17 Jul 2014 02:38:31 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X7fKn-0006mP-EC for emacs-orgmode@gnu.org; Thu, 17 Jul 2014 08:38:29 +0200 Received: from pool-96-229-78-19.lsanca.fios.verizon.net ([96.229.78.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jul 2014 08:38:29 +0200 Received: from luke by pool-96-229-78-19.lsanca.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jul 2014 08:38:29 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I just noticed that org does not jump to the correct cell in the table when examining formulas using "org-table-edit-formulas". This was working in 8.2.6. In most cases, it will jump to a different location in the buffer. Example table below. Note that I had to break the table formulae onto two lines to pass the 80 characters per line rule when posting. #+CAPTION: Sector 1 #+NAME: Sector_1 #+TBLNAME: Sector_1 | | Field Name | Size | Default Value | |---+------------+-------+---------------| | / | <> | <> | | | ! | | bits | | |---+------------+-------+---------------| | | Field_1 | 8 | | | | Field_2 | 2 | | | | Field_3 | 3 | | | | Reserved | 3 | | | | Field_4 | 16 | | |---+------------+-------+---------------| | # | RESERVED | 0 | | | ^ | | res | | |---+------------+-------+---------------| | # | Total | 32 | | | ^ | | tbits | | #+TBLFM: $res=if(mod(vsum(@II..@III),8)=0,0,8-mod(vsum(@II..@III),8)):: $tbits=vsum(@II..@III)+$res