From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: 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 Message-ID: <87h9jv2zlb.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5eEB-0001Vy-FG for emacs-orgmode@gnu.org; Sun, 06 Dec 2015 13:40:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a5eE8-0002Ey-90 for emacs-orgmode@gnu.org; Sun, 06 Dec 2015 13:40:07 -0500 Received: from plane.gmane.org ([80.91.229.3]:47775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5eE8-0002Eu-20 for emacs-orgmode@gnu.org; Sun, 06 Dec 2015 13:40:04 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a5eE7-0007eW-05 for emacs-orgmode@gnu.org; Sun, 06 Dec 2015 19:40:03 +0100 Received: from 171.pool85-55-19.dynamic.orange.es ([85.55.19.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Dec 2015 19:40:02 +0100 Received: from oub by 171.pool85-55-19.dynamic.orange.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Dec 2015 19:40:02 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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