emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Worg Tutorial error: using Emacs lisp as formulas


From: Nick Dokos
Subject: Re: [O] Worg Tutorial error: using Emacs lisp as formulas
Date: Wed, 27 Aug 2014 07:52:20 -0400
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

Ciaran Mulloy <address@hidden> writes:

> Hi Nick,
> Many thanks for your input.
>
> The table I was trying was the example in the tutorial shown as follows 
> (not big) and no hint of a regex!:
>
> | Col1 | Col2 | Col3 | Col4 | Col5 |
> |------+------+------+------+------|
> | a    | a    | :='(mapconcat 'identity (delete-dups (list @2$1..@>$1 
> @2$2..@>$2)) " ") | b    |      |
> | b    | a    |      |      |      |
> | c    | d    |      |      |      |
>
> #+TBLFM: @2$3='(mapconcat 'identity (delete-dups (list @2$1..@>$1 
> @2$2..@>$2)) " ")
>
>

I'm not sure where you got this: the tutorial's table does not have a
field formula afaict. If you eliminate the field formula, the example
works - just do C-c C-c on the #+TBLFM: line:

--8<---------------cut here---------------start------------->8---
| Col1 | Col2 | Col3    | Col4 | Col5 |
|------+------+---------+------+------|
| a    | a    |         | b    |      |
| b    | a    |         |      |      |
| c    | d    |         |      |      |
#+TBLFM: @2$3='(mapconcat 'identity (delete-dups (list @2$1..@>$1 @2$2..@>$2)) 
" ")
--8<---------------cut here---------------end--------------->8---

I don't know why the field formula fails.

>
> The version of emacs is GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, ) of 
> 2013-07-27 on roseapple, modified by Debian
> Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @ 
> /usr/share/emacs/24.3/lisp/org/)
>

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]