emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Luke Crook <luke@balooga.com>
To: emacs-orgmode@gnu.org
Subject: org-table-edit-formulas misbehaving in 8.2.7b
Date: Thu, 17 Jul 2014 06:38:15 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140717T083055-417@post.gmane.org> (raw)

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

             reply	other threads:[~2014-07-17  6:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-17  6:38 Luke Crook [this message]
2014-07-27 23:10 ` org-table-edit-formulas misbehaving in 8.2.7b Bastien
2014-07-28 18:17   ` Nick Dokos
2014-07-29 13:27     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20140717T083055-417@post.gmane.org \
    --to=luke@balooga.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).