emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "\"Martin G. Skjæveland\"" <martige@ifi.uio.no>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: table, moving cells
Date: Thu, 30 Sep 2010 09:51:36 +0200	[thread overview]
Message-ID: <4CA44188.2050909@ifi.uio.no> (raw)
In-Reply-To: <E73DE45F-6B06-41AA-8A59-C1AC89511D29@gmail.com>

On 29/09/10 17:58, Carsten Dominik wrote:
> Hi Martin,
>
> On Sep 25, 2010, at 6:02 PM, Martin G. Skjæveland wrote:
>
>> Hi,
>>
>> is there a quick way for moving a cell about in a table? I enjoy
>> swapping the order of rows and columns in a table using Meta +
>> [arrow], but I have not found a ways of doing the same for a single
>> cell. Is it possible?
>>
>> Example, with the cursor on '2' in the following table
>>
>> | A | B | C |
>> | 1 | 2 | 3 |
>> | x | y | z |
>>
>> and pressing [move cell left] would give me
>>
>> | A | B | C |
>> | 2 | 1 | 3 |
>> | x | y | z |
>>
>> Thanks!

Hi Carsten

> I fail to see the use case for this.

I have come across two use cases lately where I have been missing this 
feature: 1) in a timetable, swapping a cell or two, e.g., the title of a 
talk and the speaker, with next week's values; and 2) making a seating 
plan for a social event. In the latter, moving people about quick and 
easy is nice.

> Yes, this can
> be useful sometimes, and you can use `C-c C-x C-w' and
> `C-c C-x C-y' to cut and paste individual fields or
> even rectangular regions.

Ok, thanks, I did not know about these.

> But for pushing a cell value
> to a neighboring cell, I don't see a frequent use that
> would call for a special command beyond what I listed above.
> Do you?

I agree that it is not a frequent operation.

For the seating plan, I ended up with lots of post-it notes on a wall, 
which worked just fine! :)

Thanks again!
Martin

  reply	other threads:[~2010-09-30  7:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-25 16:02 table, moving cells "Martin G. Skjæveland"
2010-09-25 21:19 ` Charles C. Berry
2010-09-25 22:24   ` Nick Dokos
2010-09-27  7:50     ` "Martin G. Skjæveland"
2010-09-26  5:46 ` Noorul Islam
2010-09-29 15:58 ` Carsten Dominik
2010-09-30  7:51   ` "Martin G. Skjæveland" [this message]
2010-09-30  8:22     ` Indraneel Majumdar
2010-09-30 13:31     ` brian powell

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=4CA44188.2050909@ifi.uio.no \
    --to=martige@ifi.uio.no \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@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 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).