emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: About range references in the spreadsheet
Date: Thu, 31 Jan 2013 18:04:12 -0500	[thread overview]
Message-ID: <6758.1359673452@alphaville> (raw)
In-Reply-To: Message from Dieter Wilhelm <dieter@duenenhof-wilhelm.de> of "Thu, 31 Jan 2013 23:44:26 +0100." <877gmtrn05.fsf@urmel.duenenhof-wilhelm.de>

Dieter Wilhelm <dieter@duenenhof-wilhelm.de> wrote:

> 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 :-)
> 

No, I think it's unclear as well (I hadn't paid attention to the thread previously.
Sorry for joining the party late).

> 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}
> 

Perhaps factoring out the row part makes it clearer? Also, presenting it as a movement from
the current cell might help - at least that's how I tend to read these specs:

"a range of 3 fields: up one row, two columns over to the left .. the current column (implicitly specified)"

Nick

  reply	other threads:[~2013-01-31 23:04 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
2013-01-31 23:04             ` Nick Dokos [this message]
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=6758.1359673452@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=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).