emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] remap orgtbl-ascii-plot to C-c #


From: Thierry Banel
Subject: Re: [O] [PATCH] remap orgtbl-ascii-plot to C-c #
Date: Sat, 06 Sep 2014 16:35:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

Le 03/09/2014 20:22, Nicolas Goaziou a écrit :
>
> It looks good but I realized (a bit late) we cannot use "C-c p" as it is
> reserved to users, as any "C-c LETTER" combination.
>
>

Here is a patch to change the key-binding of `orgtbl-ascii-plot'
from C-c p to C-c #
(The little grid symbol # seems appropriate for a plot).
(But of course another key combination is still possible).

C-c # is already mapped to `org-update-statistics-cookies'.
It makes sense only on a header with a cookie like this:
* Header [12/45]

Therefore I made this key-binding context-sensitive.
The current behavior remains unchanged.

(Many other Org key bindings are context-sensitive:
 C-c C-x L    `org-shiftmetaleft'
 C-c down    `org-shiftdown'
 C-c C-x M-w `org-copy-special'
 C-c *            `org-ctrl-c-star'
 and so on).

Have fun
Thierry


Attachment: 0001-orgtbl-ascii-plot-remapped-from-C-c-p-to-C-c.patch
Description: Text Data


reply via email to

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