emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bind C-c C-c to org-ctrl-c-ctrl-c *only* when cursor is on table.
@ 2015-12-06 18:37 Uwe Brauer
  0 siblings, 0 replies; only message in thread
From: Uwe Brauer @ 2015-12-06 18:37 UTC (permalink / raw)
  To: emacs-orgmode


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 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-06 18:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-06 18:37 bind C-c C-c to org-ctrl-c-ctrl-c *only* when cursor is on table Uwe Brauer

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).