From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-table: Reference *one* cell below a hline? Date: Thu, 05 Jun 2014 11:49:51 -0400 Message-ID: <87fvjjuzj4.fsf@alphaville.bos.redhat.com> References: <98c75e11-5722-4f88-8bc3-56cb12f99ac3@dewdrop-world.net> <87bnuflc34.fsf@bzg.ath.cx> <8da8b453-a66b-43cd-a36f-246f7a80f254@dewdrop-world.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsZvn-0002id-4A for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 11:50:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsZve-0001d2-NV for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 11:50:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:44093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsZve-0001cC-Hj for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 11:50:10 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WsZvZ-0006Eo-Gp for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 17:50:05 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jun 2014 17:50:05 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jun 2014 17:50:05 +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 James Harkins writes: > On Friday, May 30, 2014 7:50:39 PM HKT, Bastien wrote: >> James Harkins writes: >>> I have this: >>> >>> | Section | Seconds | >>> |----------+---------| >>> | Theme | 54 | >>> | 12/8 | 80 | >>> | 6/8 | 66 | >>> | Clarinet | 116 | >>> | Oboe | 89 | >>> | Bassoon | 60 | >>> |----------+---------| >>> | | | >>> >>> #+TBLFM: @II+1$2=vsum(@I$2..@II$2) >> >> When I run this from master, I get this user-error: >> >> "Can't assign to hline relative reference" >> >> which implies that hline relative references are not supported here. >> Don't you get this error? What version of Org and Emacs are you >> running? > > Org-version says "Org-mode version 8.2.5f (release_8.2.5f-518-gd74205 > @ /home/dlm/share/org-mode.git/lisp/)" -- the latest commit in my > working environment is af6f14d9. And, "This is GNU Emacs 23.3.1 > (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)." > > If assigning to an hline-relative reference is not supported, would it > be a valid feature request? > Not sure how hard it would be to implement, but at least in this particular case (getting to the last row or the last few rows of the table), I'd recommend against using hlines as a reference: use @>, @>>, etc. instead. Do you have a need for an hline-relative reference somewhere in the middle of a table? Nick