all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xiao-Yong Jin <xj2106@columbia.edu>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Russell Adams <RLAdams@AdamsInfoServ.Com>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Spreadsheet FR
Date: Sun, 04 Apr 2010 12:46:28 -0400	[thread overview]
Message-ID: <87tyrr413v.fsf@columbia.edu> (raw)
In-Reply-To: <1BB83608-9D78-439A-A5E3-7BD02E823A24@gmail.com> (Carsten Dominik's message of "Sun, 4 Apr 2010 09:01:30 +0200")

On Sun, 4 Apr 2010 09:01:30 +0200, Carsten Dominik wrote:

> On Apr 2, 2010, at 10:16 AM, Russell Adams wrote:

>> On Fri, Apr 02, 2010 at 09:49:46AM +0200, Carsten Dominik wrote:
>>> 
>>>> Would it be feasible to "narrow" a table by criteria on a specific
>>>> field in between separators? Ie: only display those cells in field A
>>>> if they are > 2, or if field B matches "Pick Me!".
>>> 
>>> This one might be possible - but dangerous for losing data.
>> 
>> Ideally we're just narrowing away lines, collapsing a table like org
>> collapses headlines.
>> 
>> Why would that be more likely to cause data loss?

> Because there would be ellipsis in unfamiliar places and the danger to
> accidentally modify invisible text would be higer.

I have an idea.  We can leave the original table intact,
while making a new dynamically generated table derived from
the original one.

#+tblname: myexptable
| x | y |            z |
|---+---+--------------|
| 1 | 1 |   0.36787944 |
| 1 | 2 |   0.13533528 |
| 2 | 3 |  0.099574137 |
| 2 | 4 |  0.036631278 |
| 3 | 5 |  0.020213841 |
| 3 | 6 | 7.4362565e-3 |
#+TBLFM: $3=$1*exp(-$2)

#+DERIVEDTBL :origin myexptable :criteria $1==2
| x | y |           z |
|---+---+-------------|
| 2 | 3 | 0.099574137 |
| 2 | 4 | 0.036631278 |

It is just a quick thought.  I am not sure how easy it is to
implement it, but at least it is unlikely to make any
confusion to users.

                                        -- jxy
-- 
J    c/*    __o/*
X    <\     * (__
Y    */\      <

  reply	other threads:[~2010-04-04 16:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-01 21:46 Spreadsheet FR Russell Adams
2010-04-02  7:49 ` Carsten Dominik
2010-04-02  8:16   ` Russell Adams
2010-04-02 13:00     ` Darlan Cavalcante Moreira
2010-04-04  7:01     ` Carsten Dominik
2010-04-04 16:46       ` Xiao-Yong Jin [this message]
2010-04-04 20:19         ` Russell Adams
2010-04-05  2:39           ` Xiao-Yong Jin
2010-04-02 14:44   ` Dan Davison
2010-04-02 14:55     ` Russell Adams
2010-04-02 17:09       ` Russell Adams
2010-04-02 20:43     ` Matt Lundin
2010-04-02 14:26 ` Matt Lundin

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tyrr413v.fsf@columbia.edu \
    --to=xj2106@columbia.edu \
    --cc=RLAdams@AdamsInfoServ.Com \
    --cc=carsten.dominik@gmail.com \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.