emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-table-edit-formulas misbehaving in 8.2.7b
@ 2014-07-17  6:38 Luke Crook
  2014-07-27 23:10 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Luke Crook @ 2014-07-17  6:38 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-table-edit-formulas misbehaving in 8.2.7b
  2014-07-17  6:38 org-table-edit-formulas misbehaving in 8.2.7b Luke Crook
@ 2014-07-27 23:10 ` Bastien
  2014-07-28 18:17   ` Nick Dokos
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2014-07-27 23:10 UTC (permalink / raw)
  To: Luke Crook; +Cc: emacs-orgmode

Hi Luke,

Luke Crook <luke@balooga.com> writes:

> I just noticed that org does not jump to the correct cell in the table when 
> examining formulas using "org-table-edit-formulas".

Are you still seeing problems here?

I tried to navigate through formulas from your example and
I didn't notice any problem.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-table-edit-formulas misbehaving in 8.2.7b
  2014-07-27 23:10 ` Bastien
@ 2014-07-28 18:17   ` Nick Dokos
  2014-07-29 13:27     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2014-07-28 18:17 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@gnu.org> writes:

> Hi Luke,
>
> Luke Crook <luke@balooga.com> writes:
>
>> I just noticed that org does not jump to the correct cell in the table when 
>> examining formulas using "org-table-edit-formulas".
>
> Are you still seeing problems here?
>
> I tried to navigate through formulas from your example and
> I didn't notice any problem.
>
> Thanks,

I think this was another instance of the bug that was fixed with
commit c9613c0cad40c9d901609abcb8e9527c85cb9eb3. At least, I assumed
so and I haven't heard anything to contradict that.

Nick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-table-edit-formulas misbehaving in 8.2.7b
  2014-07-28 18:17   ` Nick Dokos
@ 2014-07-29 13:27     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2014-07-29 13:27 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Hi Nick,

Nick Dokos <ndokos@gmail.com> writes:

> I think this was another instance of the bug that was fixed with
> commit c9613c0cad40c9d901609abcb8e9527c85cb9eb3. At least, I assumed
> so and I haven't heard anything to contradict that.

I guess you're right, thanks for following up,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-29 13:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-17  6:38 org-table-edit-formulas misbehaving in 8.2.7b Luke Crook
2014-07-27 23:10 ` Bastien
2014-07-28 18:17   ` Nick Dokos
2014-07-29 13:27     ` Bastien

Code repositories for project(s) associated with this 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).