Hi 
I am currently running 9.4.5, well actually a version compiled from git
master, that I upgraded a couple of weeks ago. 
Commit is e641d3736036732e7642807146a97b0876cb8b83 



However in the version I used two month ago the following worked nicely 

#+TBLNAME: raw-data
| Stud |  Mark |
|------+-------|
|      |     0 |
|      |     0 |
|      |     0 |
|      |     0 |
|      |     0 |
|      |     0 |
|      |     1 |
|      |  1.25 |
|      |  1.25 |
|      |     2 |
|      |     2 |
|      |   2.5 |
|      |   2.5 |
|      |     3 |
|      |     3 |
|      |  3.25 |
|      |     4 |
|      |     4 |
|      |  4.25 |
|      |   4.5 |
|      |   4.5 |
|      |   4.5 |
|      |   5.5 |
|      |   5.5 |
|      |  5.75 |
|      |     6 |
|      |   6.5 |
|      |     7 |
|      |   7.5 |
|      |     9 |
|------+-------|
| Mean | 3.342 |
#+TBLFM: $1=@#-1::@32$2=vmean(@I$2..@II$2)

That still works

However 

#+BEGIN_SRC emacs-lisp
  (defun in-interval (bounds el)
    (and (>= el (car bounds)) (<= el (cadr bounds))))
#+END_SRC
#+RESULTS:
: in-interval


| lower bound | upper bound | frequency |
|-------------+-------------+-----------|
|           1 |           5 |        16 |
|           5 |             |         0 |
#+TBLFM: $3='(length (org-lookup-all '($1 $2) '(remote(raw-data,@2$2..@>$2)) 
nil 'in-interval));N


That does not work any more. When I put my cursor on TBLFM and run C-c
C-c then a cryptic message 

Cells in the region copied, use M-x org-table-paste-rectangle to paste them in 
a table. [2 times]

But I don't want to copy the cells in the region, I want to execute the
function.
That is a important matter since I rely on the functionality quite a
bit.

What shall can I do

Regards


Uwe Brauer 


Reply via email to