* Feature request for copy cell in tables
@ 2008-09-08 17:16 Chris Randle
2008-09-08 18:19 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Chris Randle @ 2008-09-08 17:16 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Feature request for copy cell in tables
2008-09-08 17:16 Feature request for copy cell in tables Chris Randle
@ 2008-09-08 18:19 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-09-08 18:19 UTC (permalink / raw)
To: Chris Randle; +Cc: emacs-orgmode
Hi Chris,
both proposals do make sense, and I have implemented them.
- Carsten
On Sep 8, 2008, at 7:16 PM, Chris Randle wrote:
> 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
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-08 18:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08 17:16 Feature request for copy cell in tables Chris Randle
2008-09-08 18:19 ` Carsten Dominik
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).