all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Charles Millar <millarc@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Org keymap question
Date: Sat, 04 Jul 2015 21:43:29 -0400	[thread overview]
Message-ID: <55988BC1.5040300@verizon.net> (raw)
In-Reply-To: <2203d80d-4792-44d4-9eb9-4519ca34511d@googlegroups.com>

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	other threads:[~2015-07-05  1:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-04 14:56 Org keymap question Alan
2015-07-04 15:23 ` Charles Millar
     [not found] ` <mailman.6315.1436023460.904.help-gnu-emacs@gnu.org>
2015-07-04 22:38   ` Alan
2015-07-05  1:43     ` Charles Millar [this message]
2015-07-05  2:02       ` Óscar Fuentes
     [not found]       ` <mailman.6347.1436061779.904.help-gnu-emacs@gnu.org>
2015-07-05 21:59         ` Alan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55988BC1.5040300@verizon.net \
    --to=millarc@verizon.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.