emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* copy entire column of one table into another
@ 2013-07-13 21:03 Torsten Wagner
  2013-07-13 22:10 ` Suvayu Ali
  0 siblings, 1 reply; 3+ messages in thread
From: Torsten Wagner @ 2013-07-13 21:03 UTC (permalink / raw)
  To: Org Mode Mailing List

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

Hi again,

I was wondering, is there a way to copy the entire column of one table into
another possibly adding rows to the target table to make it fit?

I know I can use $1=remote(original, @@#$6) to copy row 6 into row 1
(albeit I did not yet fully understand the @@# part)
However, I would to take care that the target table has the same amount of
rows as the host table.
I work with many tables at the moment and frighten I might overlook a row
soon or later.
Thus, I would prefer a way to say... copy column of table X into table Y.
If table Y has to less rows, add blanks rows until all rows of table X are
copied.

Any chance to get this working?

Thanks for help and ideas

Torsten

[-- Attachment #2: Type: text/html, Size: 863 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: copy entire column of one table into another
  2013-07-13 21:03 copy entire column of one table into another Torsten Wagner
@ 2013-07-13 22:10 ` Suvayu Ali
  2013-07-15  9:39   ` Torsten Wagner
  0 siblings, 1 reply; 3+ messages in thread
From: Suvayu Ali @ 2013-07-13 22:10 UTC (permalink / raw)
  To: emacs-orgmode

On Sat, Jul 13, 2013 at 11:03:37PM +0200, Torsten Wagner wrote:
> Hi again,
> 
> I was wondering, is there a way to copy the entire column of one table into
> another possibly adding rows to the target table to make it fit?

See:

org-table-copy-region
org-table-paste-rectangle

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: copy entire column of one table into another
  2013-07-13 22:10 ` Suvayu Ali
@ 2013-07-15  9:39   ` Torsten Wagner
  0 siblings, 0 replies; 3+ messages in thread
From: Torsten Wagner @ 2013-07-15  9:39 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: Org Mode Mailing List

[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]

Hi Suvayu,

thanks for the info. Actually I was looking for a more automatized version.
I used
#+TBLFM: $1=remote(prf94120_orig, @@#$6)
To get the data from one into another table.
That works great, but it requires to create a table exactly as long as the
original, otherwise all remaining rows of the original table will be
silently truncated.
I will use
  org-table-copy-region
  org-table-paste-rectangle
as a intermediate solution and look-out for something which enables me to
create as many rows as needed to make the data fit into the target table.

Thanks

Torsten



On 14 July 2013 00:10, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:

> On Sat, Jul 13, 2013 at 11:03:37PM +0200, Torsten Wagner wrote:
> > Hi again,
> >
> > I was wondering, is there a way to copy the entire column of one table
> into
> > another possibly adding rows to the target table to make it fit?
>
> See:
>
> org-table-copy-region
> org-table-paste-rectangle
>
> Cheers,
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>
>

[-- Attachment #2: Type: text/html, Size: 1636 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-15  9:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-13 21:03 copy entire column of one table into another Torsten Wagner
2013-07-13 22:10 ` Suvayu Ali
2013-07-15  9:39   ` Torsten Wagner

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).