From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cecil Westerhof Subject: Re: how to clear computed values Date: Wed, 11 Jul 2007 11:02:36 +0200 Message-ID: <1184144557.6253.122.camel@Barebusta.DecebalComp> References: <1184092729.6283.91.camel@Barebusta.DecebalComp> <93de834e13e5289b11185b67cf4162b0@science.uva.nl> <1184142385.6253.115.camel@Barebusta.DecebalComp> <8a6b8a1aff2bb53d8a97e24f5d5c022a@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I8Y5r-0006wo-0W for emacs-orgmode@gnu.org; Wed, 11 Jul 2007 05:02:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I8Y5n-0006vT-TW for emacs-orgmode@gnu.org; Wed, 11 Jul 2007 05:02:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8Y5n-0006vO-QG for emacs-orgmode@gnu.org; Wed, 11 Jul 2007 05:02:39 -0400 Received: from smtp-vbr5.xs4all.nl ([194.109.24.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I8Y5n-0006DC-00 for emacs-orgmode@gnu.org; Wed, 11 Jul 2007 05:02:39 -0400 Received: from Barebusta.DecebalComp (DecebalComputing.xs4all.nl [213.84.157.201]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id l6B92b1x057851 for ; Wed, 11 Jul 2007 11:02:38 +0200 (CEST) (envelope-from CecilWesterhof@xs4all.nl) In-Reply-To: <8a6b8a1aff2bb53d8a97e24f5d5c022a@science.uva.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode Op wo, 11-07-2007 te 10:49 +0200, schreef Carsten Dominik: > On Jul 11, 2007, at 10:26, Cecil Westerhof wrote: > > In this example the first two digits of kmstand where not input at row > > 3 > > and you get a message. But you get also a message at the first row. Is > > it possible to circumvent this? > > For example by leaving an empty row before the first data line. That works. I hoped that it was possible to see you are on the first line after a hline, but this is good enough. > > Is it possible to define functions in an org-file? For example: it > > would > > be nice to have more extensive checking on the values. Also the nz > > could > > be defined. It is in my .emacs now, but when I transfer the file to > > another computer, there is a risk that it doe not work anymore. > > You can, by inserting something like > > # Local Variables: > # eval: (defun nz (n) (not (= 0 n))) > # eval: (defun nw (s) (string-match "\\S-" s)) > # End: > > Check the variable `enable-local-eval', and beware that setting it to t > could be exploited to execute unwanted code in a file you get > from someone. > > One problem would be that function definitions > are not buffer-local, so the same functions would be defined for all > buffers. If you use functions with the same name, but different > definitions in different files, the result would depend on the order > of visiting the files. Better not then I think. > > It would be nice if I did input kmstand that with tab you go to > > prijs/l. > > (Skipping fields with formula's.) And when giving tab on the field > > liters going to the field kmstand. Is that something that could be > > made? > > I don't think this is necessary, and no spreadsheet behaves like this. > Just press TAB a few times. Cetrainly not. Just nice to have. Maybe something to try myself to build. -- Cecil Westerhof