emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Bug in table formula editor?


From: andrea
Subject: [Orgmode] Bug in table formula editor?
Date: Sun, 22 Nov 2009 04:15:09 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (darwin)

Hi everyone, I noticed a problem which on my configuration is repeatable
so I guess is a bug.

- go on a table
- press C-c ' to edit the formulas
- start to write @+..

It gets stuck and not even C-g can quit it..
This both on linux and OSx 10.6 with orgmode 6.33trans.

By the way I have a table like this

   ID PY   RB   C   HS         RESULT   SUBMITTED  
  -------+----+---+----+--------------+-----------
                                                   
    1   [X]             [X]          233168   Y          
    2   [X]             [X]         4613732   Y          
    3                 [X]            6857   Y            
    4   [X]             [X]          906609   Y          

In short checks if a file is there and otherwise creates a link that
executes the visit of that file.

And the [X] are generated by an elisp function like:

  (defun check_file (fname)
    (interactive)
    (if
        (file-exists-p fname)
        (concat "[[file:" fname "][X]]")
      ;; Otherwise create a link for a new file
      (concat "[[elisp:(find-file \"" fname "\")][_]]"))
    )


Now I would like to take directly the extension needed from the header
cell, and use the same formula for all the cells in the rectangle..
Is that a good idea?

The code I think could stay in the same file and evaluate it somehow
with the :session stuff (so finally I try it).
What do you think?





reply via email to

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