emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: table/calc: subscr() fails with *bold* headline


From: Karl Voit
Subject: [O] Bug: table/calc: subscr() fails with *bold* headline
Date: Sat, 3 Sep 2016 13:30:21 +0200
User-agent: slrn/pre1.0.0-18 (Linux)

Hi!

I've found a bug when using subscr() to copy a value from a previous
row. If the corresponding headline is in *bold* letters, the formula
does not work:

| *Value* | Previous Value |
|---------+----------------|
|       1 |                |
|       2 | #ERROR         |
|       3 | #ERROR         |
|       4 | #ERROR         |
#+TBLFM: @3$2..@>$2 = subscr(@<$1..@>$1, @# - 1)

With ";E" added:

| *Value* | Previous Value |
|---------+----------------|
|       1 |                |
|       2 | #ERROR         |
|       3 | #ERROR         |
|       4 | #ERROR         |
#+TBLFM: @3$2..@>$2 = subscr(@<$1..@>$1, @# - 1); E



Working version without *bold* in $1:

| Value | *Previous Value* |
|-------+------------------|
|     1 |                  |
|     2 |                1 |
|     3 |                2 |
|     4 |                3 |
#+TBLFM: @3$2..@>$2 = subscr(@<$1..@>$1, @# - 1)

Working version without *bold* at all:

| Value | Previous Value |
|-------+----------------|
|     1 |                |
|     2 |              1 |
|     3 |              2 |
|     4 |              3 |
#+TBLFM: @3$2..@>$2 = subscr(@<$1..@>$1, @# - 1)


At my side: Org-mode version 8.3.4 (release_8.3.4-33-gd522fc)


-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github




reply via email to

[Prev in Thread] Current Thread [Next in Thread]