emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Randle <chris@amlog.co.uk>
To: filebat Mark <filebat.mark@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is there a way to fill org-mode's table cell with the values nearby?
Date: Sun, 21 Mar 2010 16:00:42 +0000	[thread overview]
Message-ID: <4BA642AA.9040907@amlog.co.uk> (raw)
In-Reply-To: <b93cb5f31003210422u48d7d6e9veef8de86568c3a0b@mail.gmail.com>

Denny Zhang (filebat Mark) wrote:
> I am wondering whether we have a handy way to fill table's cell with the 
> values nearby.

S-RET will do the trick. If the current cell is empty, it copies the 
first non-blank line above. If the current cell is not empty, it copies 
and moves to the cell below. It will also (depending on value of 
org-table-copy-increment) increment integer values as it does so.

If you supply an arg, S-RET copies from that many non-empty lines above. 
With a 0 (zero) as the arg, it disables the integer increment for the 
next copy.

There's a description on p.18 of v6.34c of the manual.

-- 
Chris Randle.

  reply	other threads:[~2010-03-21 16:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-21 11:22 Is there a way to fill org-mode's table cell with the values nearby? filebat Mark
2010-03-21 16:00 ` Chris Randle [this message]
2010-03-21 19:08 ` Carsten Dominik
2010-03-22  8:07   ` filebat Mark

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=4BA642AA.9040907@amlog.co.uk \
    --to=chris@amlog.co.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=filebat.mark@gmail.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).