From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Randle 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 Message-ID: <4BA642AA.9040907@amlog.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NtO5o-0002lU-Pw for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 12:33:37 -0400 Received: from [140.186.70.92] (port=38472 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtO5k-0002Ue-34 for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 12:33:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtNqR-0001h4-Hb for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 12:17:44 -0400 Received: from anchor-post-3.mail.demon.net ([195.173.77.134]:52091) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtNqR-0001gs-Bf for emacs-orgmode@gnu.org; Sun, 21 Mar 2010 12:17:43 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: filebat Mark Cc: emacs-orgmode@gnu.org 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.