emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
To: emacs-orgmode@gnu.org
Subject: Re: About range references in the spreadsheet
Date: Thu, 31 Jan 2013 23:44:26 +0100	[thread overview]
Message-ID: <877gmtrn05.fsf@urmel.duenenhof-wilhelm.de> (raw)
In-Reply-To: <87txpy85ns.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Thu, 31 Jan 2013 12:39:27 +1030")

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Bastien <bzg@altern.org> writes:
>
>> Hi Xue, Eric and Dieter,
>>
>> dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes:
>>
>>> (I would avoid the ambiguous expression "column two" since it is a
>>> relative specification) alternatively
>>>
>>>   The TWO REFERENCES expand to a field range from the row above the
>>>   current row, starting with two columns to the left up to the current
>>>   column.
>>
>> Yes... but this is a bit long.
>>
>> I finally used this:
>>
>> @@-1$-2..@@-1   @r{in the first row up, 3 fields from 2 columns on the left}
>
> Concise and correct!  I'm happy with this.

Sorry but I don't understand "in the first row up".  Maybe better: The
(or a) row up, 3...

Another grievance with such a terse description for me is although it
may describe the end result - the range - correctly but does not take
into account how the references at hand are working.

But maybe I'm just picking nits here :-)

What about such an approach:

@@-1$-2..@@-1 @r{a range of 3 fields: a row up, from 2 fields on the left .. a row up}


      Dieter

-- 
Best wishes

H. Dieter Wilhelm
Darmstadt
Germany

  reply	other threads:[~2013-01-31 22:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16 15:24 About range references in the spreadsheet Xue Fuqiao
2013-01-26 11:20 ` Bastien
2013-01-26 23:55   ` Eric S Fraga
2013-01-27 14:35     ` H. Dieter Wilhelm
2013-01-30 16:48       ` Bastien
2013-01-31  2:09         ` Eric S Fraga
2013-01-31 22:44           ` Dieter Wilhelm [this message]
2013-01-31 23:04             ` Nick Dokos
2013-02-01  0:11               ` Thomas S. Dye
2013-02-01  5:09                 ` Nick Dokos
2013-02-07  8:13                 ` 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=877gmtrn05.fsf@urmel.duenenhof-wilhelm.de \
    --to=dieter@duenenhof-wilhelm.de \
    --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).