[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Table conversion problem
From: |
Bernt Hansen |
Subject: |
Re: [Orgmode] Table conversion problem |
Date: |
Thu, 03 Jan 2008 12:58:04 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Carsten Dominik <address@hidden> writes:
> orgtbl-mode commands only work if there is already a table context,
> and this is not the case for your application. However, you can bind
> the command `org-table-convert-region' to a key and use it directly.
>
> If this is your only use of C-c | in orgtbl-mode, you can use to
> orgtbl-mode hook and overwrite the standard (context-sensitive) binding:
>
> (add-hook 'orgtbl-mode-hook
> (lambda ()
> (define-key orgtbl-mode-map 'org-table-convert-region "\C-c|")))
>
Thanks! I tried finding the org-table-convert-region function but I
failed miserably when looking for orgtbl-* functions :) doh!
org-table-convert-region works great. I rarely need this function (so
far) outside of org-mode so I'll just call it directly the next time I
need it.
Thanks again for all your great work!
Bernt