emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug in table formula editor?
@ 2009-11-22  3:15 andrea
  2009-11-22  5:56 ` Carsten Dominik
  0 siblings, 1 reply; 7+ messages in thread
From: andrea @ 2009-11-22  3:15 UTC (permalink / raw)
  To: emacs-orgmode


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?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-11-23  9:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-22  3:15 Bug in table formula editor? andrea
2009-11-22  5:56 ` Carsten Dominik
2009-11-22 11:51   ` andrea Crotti
2009-11-22 12:55     ` Andreas Burtzlaff
2009-11-22 13:46       ` andrea Crotti
2009-11-22 22:37         ` Carsten Dominik
2009-11-23  9:08           ` andrea

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).