From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Bug: table/calc: subscr() fails with *bold* headline Date: Sat, 3 Sep 2016 13:30:21 +0200 Message-ID: <2016-09-03T13-29-50@devnull.Karl-Voit.at> Reply-To: Karl Voit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bg99k-0002B6-UQ for emacs-orgmode@gnu.org; Sat, 03 Sep 2016 07:30:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bg99f-0003mL-1J for emacs-orgmode@gnu.org; Sat, 03 Sep 2016 07:30:39 -0400 Received: from [195.159.176.226] (port=38960 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bg99e-0003m7-QH for emacs-orgmode@gnu.org; Sat, 03 Sep 2016 07:30:34 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bg99Y-0007vz-NK for emacs-orgmode@gnu.org; Sat, 03 Sep 2016 13:30:28 +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" To: emacs-orgmode@gnu.org 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