help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Org keymap question


From: Charles Millar
Subject: Re: Org keymap question
Date: Sat, 04 Jul 2015 21:43:29 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Hi Alan,

On 07/04/2015 06:38 PM, Alan wrote:
On Saturday, July 4, 2015 at 10:24:22 AM UTC-5, Charles Millar wrote:
On 07/04/2015 10:56 AM, Alan wrote:
Function "orgtbl-setup" (in "lisp/org/org-table.el.gz", where my Emacs is GNU Emacs 24.5.1 
(x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-10 on builder10-9.porkrind.org) has a number of key 
bindings that seem to get defined in minor mode "orgtbl-mode", but don't get defined when using Org (as in 
editing a file that has extension ".org").

My first use of Org was in creating a table of information.  I used the Org Mode Manual (Info node 
"org" on my distribution) as a guide.  In node "(org) Built-in table editor" some of 
these missing keymap definitions are listed.  The one of interest to me was 
"org-table-insert-column".  I didn't find it bound to any key and wondered why isn't it bound.

So, my question is why isn't e.g. "org-table-insert-colunn" bound to a key when using 
Org?  And why does the Info manual suggest that such a key binding exists, without qualification?  
That function (and others) can be found in a keymap--as described above--but that binding seems to 
be reserved for minor mode "orgtbl-mode" (invoking that mode when in Org is not allowed).

Is this what you are looking for

shift-alt-rightarrrow

to insert column?

likewise shift-alt-leftarrow removes a column

Also org has a list

emacs-orgmode@gnu.org
If I do

(where-is 'org-table-insert-column)

I get the following:

org-table-insert-column is not on any key

Function "orgtbl-setup" contains the following:

(bindings
         '(([(meta shift left)]  org-table-delete-column)
           ([(meta left)]        org-table-move-column-left)
           ([(meta right)]       org-table-move-column-right)
           ([(meta shift right)] org-table-insert-column)
           ([(meta shift up)]    org-table-kill-row)
           ([(meta shift down)]  org-table-insert-row)
           ([(meta up)]          org-table-move-row-up)
           ([(meta down)]        org-table-move-row-down)
           ("\C-c\C-w"                 org-table-cut-region)
           ("\C-c\M-w"                 org-table-copy-region)
           ("\C-c\C-y"                 org-table-paste-rectangle)
           ("\C-c\C-w"           org-table-wrap-region)
           ("\C-c-"            org-table-insert-hline)
           ("\C-c}"            org-table-toggle-coordinate-overlays)
           ("\C-c{"            org-table-toggle-formula-debugger)
           ("\C-m"             org-table-next-row)
           ([(shift return)]     org-table-copy-down)
           ("\C-c?"            org-table-field-info)
           ("\C-c "            org-table-blank-field)
           ("\C-c+"            org-table-sum)
           ("\C-c="            org-table-eval-formula)
           ("\C-c'"            org-table-edit-formulas)
           ("\C-c`"            org-table-edit-field)
           ("\C-c*"            org-table-recalculate)
           ("\C-c^"            org-table-sort-lines)
           ("\M-a"             org-table-beginning-of-field)
           ("\M-e"             org-table-end-of-field)
           ([(control ?#)]       org-table-rotate-recalc-marks)))

while in org mode a number of these that I checked were not bound to
any key sequence.

The Info node that I referenced says:

'M-S-<right>     (org-table-insert-column)'
      Insert a new column to the left of the cursor position.

& that is what I was expecting to find, but didn't.

I must be missing the point. Are you asking why C-h w or M-x whereis does not report that M-S-right is bound to org-table-insert-column, even though it is bound?

I agree that C-h w org-table-insert-column gives the tesult that you received, i.e. not bound to any key.

And yet - meta-shift-right is the key chord for org-table-insert-column which does insert a column to the left of the point

Perhaps there is a bug vis-a-vis, "whereis" and the orgmode keybindings, and I suggest that you post this question to the orgmode mailing list at emacs-orgmode@gnu.org, since it is there you will find the org-mode gurus

Best,

Charlie



reply via email to

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