From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chris Randle" Subject: Feature request for copy cell in tables Date: Mon, 8 Sep 2008 18:16:19 +0100 Message-ID: <115A0D3B78AC446E8935252C269BD0E3@CUBE> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KckLq-0006bW-Pe for emacs-orgmode@gnu.org; Mon, 08 Sep 2008 13:16:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KckLo-0006bI-LI for emacs-orgmode@gnu.org; Mon, 08 Sep 2008 13:16:33 -0400 Received: from [199.232.76.173] (port=58442 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KckLo-0006bF-IO for emacs-orgmode@gnu.org; Mon, 08 Sep 2008 13:16:32 -0400 Received: from anchor-post-31.mail.demon.net ([194.217.242.89]:3100) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KckLo-0002Sq-Ft for emacs-orgmode@gnu.org; Mon, 08 Sep 2008 13:16:32 -0400 Received: from amlog.demon.co.uk ([80.177.106.135] helo=CUBE) by anchor-post-31.mail.demon.net with esmtp (Exim 4.67) id 1KckLl-0005ee-4w for emacs-orgmode@gnu.org; Mon, 08 Sep 2008 17:16:29 +0000 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: emacs-orgmode@gnu.org Hi Carsten I use the table feature in org-mode daily to keep a log of incoming work requests. These requests have a 16-digit ID based on date such as the first row/column in the example below. Sometimes I want to copy the same ID to the line below, but S-return gives the result in the second row: |------------------+----| | 2008090910000121 | 10 | | -2147483648 | 11 | |------------------+----| This is presumably due to integer overflow. Secondly, I sometimes want to duplicate the cell which contains a simple integer such as 10 without it being incremented to 11 (although the auto-increment is also very useful). I don't really want to start setting org-table-copy-increment one way or the other as I'd use both types of copy equally. Two ideas: A) Could the table copy feature be altered to do a string-type copy if integer arithmetic is overflowing or wrapping round? And/or B) Could there be some keystroke to ignore integer increment and just treat the number as text? Would 'C-u 0 S-return' do the trick or has someone got a more elegant combination? C-S-return might also be a candidate, although it currently seems to mimic C-return and call (org-insert-heading-after-current). Thanks for your consideration. -- Chris Randle Windows XP SP3 - GNU Emacs 22.1.1 - Org-mode 6.06b