emacs-orgmode
[Top][All Lists]
Advanced

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

[O] bind C-c C-c to org-ctrl-c-ctrl-c *only* when cursor is on table.


From: Uwe Brauer
Subject: [O] bind C-c C-c to org-ctrl-c-ctrl-c *only* when cursor is on table.
Date: Sun, 06 Dec 2015 18:37:04 +0000
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux)

Hello 

It is possible to embed org-tables in LaTeX documents via the radio
tables.

See http://orgmode.org/org.html#A-LaTeX-example

In a LaTeX file I have:


% BEGIN RECEIVE ORGTBL salesfigures
% END RECEIVE ORGTBL salesfigures
\begin{comment}
#+ORGTBL: SEND salesfigures orgtbl-to-latex
[+]
| Month | Days | Nr sold | per day |
|-------+------+---------+---------|
| Jan   |   23 |      55 |     2.4 |
| Feb   |   21 |      16 |     0.8 |
| March |   22 |     278 |    12.6 |
#+TBLFM: $4=$3/$2;%.1f
% $ (optional extra dollar to keep font-lock happy, see footnote)
\end{comment}

The issue is when the cursor is on the
org-table C-c C-c is bound to 
org-ctrl-c-ctrl-c


Now I want to have that behavior in my org files. In a table C-c C-c
should be bound to org-ctrl-c-ctrl-c but outside I want to bind it to
another function.

How can I achieve this?

Thanks

Uwe Brauer 




reply via email to

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