Make S-SPC work in orgtbl-mode.

S-SPC did lead to an error in orgtbl-mode, because there is no binding
to this key.  Now orgtbl-self-insert-command falls back on calling
self-insert-command for such cases.
This commit is contained in:
Carsten Dominik 2008-11-26 08:30:21 +01:00
parent c0a779bd9d
commit 07c77bc4dc
2 changed files with 10 additions and 6 deletions

View File

@ -1,5 +1,8 @@
2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
* org-table.el (orgtbl-self-insert-command): Make S-SPC work in
orgtbl-mode.
* org-exp.el (org-export-as-ascii): Remove the handling of
targets.
(org-export-ascii-preprocess): Handle targets already in this

View File

@ -3493,11 +3493,12 @@ overwritten, and the table is not marked as requiring realignment."
(setq org-table-may-need-update t)
(let (orgtbl-mode a)
(call-interactively
(key-binding
(or (key-binding
(or (and (listp function-key-map)
(setq a (assoc last-input-event function-key-map))
(cdr a))
(vector last-input-event)))))))
(vector last-input-event)))
'self-insert-command)))))
(defvar orgtbl-exp-regexp "^\\([-+]?[0-9][0-9.]*\\)[eE]\\([-+]?[0-9]+\\)$"
"Regular expression matching exponentials as produced by calc.")