emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: andrea <andrea.crotti.0@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug in table formula editor?
Date: Sun, 22 Nov 2009 04:15:09 +0100	[thread overview]
Message-ID: <m1my2fw8qq.fsf@ip116-027.hgracht.rwth-aachen.de> (raw)


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	other threads:[~2009-11-22  3:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-22  3:15 andrea [this message]
2009-11-22  5:56 ` Bug in table formula editor? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1my2fw8qq.fsf@ip116-027.hgracht.rwth-aachen.de \
    --to=andrea.crotti.0@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).