emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo Butler <Leo.Butler@umanitoba.ca>
To: Jude DaShiell <jdashiel@panix.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: orgmode tables
Date: Mon, 22 Apr 2024 21:16:42 +0000	[thread overview]
Message-ID: <871q6x2j46.fsf@t14.reltub.ca> (raw)
In-Reply-To: <a10a945e-7907-a0db-d4a1-ae0307a81452@panix.com> (Jude DaShiell's message of "Mon, 22 Apr 2024 15:05:52 -0400")


Beyond what Mark and Ihor have written, you can insert the column in the
table as you did, and then use M-<RIGHT> or M-<LEFT> to move it. That
works for me with:

(insert (emacs-version))
GNU Emacs 29.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)
 of 2024-02-26, modified by Debian

(insert (org-version))
9.6.23

and either terminal emacs (in an xterm) or gui emacs.

Leo

‘M-<LEFT>’ (‘org-table-move-column-left’)
     Move the current column left.

‘M-<RIGHT>’ (‘org-table-move-column-right’)
     Move the current column right.

‘M-S-<LEFT>’ (‘org-table-delete-column’)
     Kill the current column.

‘M-S-<RIGHT>’ (‘org-table-insert-column’)
     Insert a new column at point position.  Move the recent column and
     all cells to the right of this column to the right.


On Mon, Apr 22 2024, Jude DaShiell <jdashiel@panix.com> wrote:

> m-s-right is meta-shift-rightarrow if I have that correct.  Now if I put
> point in the last column of the table and do that, I'll get a column to
> the left which will be blank.  What I tried to ask is if I put point in
> the last column of the table what can I do to have a new column appear to
> the right of where point exists?
>
>
> --
>  Jude <jdashiel at panix dot com>
>  "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo.
>  Please use in that order."
>  Ed Howdershelt 1940.
>
> On Mon, 22 Apr 2024, Leo Butler wrote:
>
>> (info "(org)Built-in Table Editor")
>>
>> ‘M-S-<RIGHT>’ (‘org-table-insert-column’)
>>      Insert a new column at point position.  Move the recent column and
>>      all cells to the right of this column to the right.
>>
>> Leo
>>
>> On Mon, Apr 22 2024, Jude DaShiell <jdashiel@panix.com> wrote:
>>
>> > when making a table in orgmode, I forgot to add three columns to the
>> > table.  What command or commands would I use to add columns to a table?
>> >
>> >
>> > --
>> >  Jude <jdashiel at panix dot com>
>> >  "There are four boxes to be used in defense of liberty:
>> >  soap, ballot, jury, and ammo.
>> >  Please use in that order."
>> >  Ed Howdershelt 1940.

      parent reply	other threads:[~2024-04-22 21:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-22 17:38 orgmode tables Jude DaShiell
2024-04-22 18:08 ` Leo Butler
2024-04-22 19:05   ` Jude DaShiell
2024-04-22 19:17     ` Jude DaShiell
2024-04-22 19:56       ` Mark Barton
2024-04-22 20:26         ` Jude DaShiell
2024-04-22 20:02       ` Dave Marquardt
2024-04-22 20:01     ` Dave Marquardt
2024-04-22 20:22       ` Jude DaShiell
2024-04-22 20:27         ` Ihor Radchenko
2024-04-22 21:16     ` Leo Butler [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=871q6x2j46.fsf@t14.reltub.ca \
    --to=leo.butler@umanitoba.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=jdashiel@panix.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).