emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Is there a way to fill org-mode's table cell with the values nearby?
@ 2010-03-21 11:22 filebat Mark
  2010-03-21 16:00 ` Chris Randle
  2010-03-21 19:08 ` Carsten Dominik
  0 siblings, 2 replies; 4+ messages in thread
From: filebat Mark @ 2010-03-21 11:22 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 269 bytes --]

Hi All

I am wondering whether we have a handy way to fill table's cell with the
values nearby.
Like in office excel:
- C-d: Fill current cell with the value of the upper cell
- C-r: Fill current cell with the value of the left cell.

-- 
Thanks & Regards

Denny Zhang

[-- Attachment #1.2: Type: text/html, Size: 312 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please 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] 4+ messages in thread

* Re: Is there a way to fill org-mode's table cell with the values nearby?
  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
  2010-03-21 19:08 ` Carsten Dominik
  1 sibling, 0 replies; 4+ messages in thread
From: Chris Randle @ 2010-03-21 16:00 UTC (permalink / raw)
  To: filebat Mark; +Cc: emacs-orgmode

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.

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

* Re: Is there a way to fill org-mode's table cell with the values nearby?
  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
@ 2010-03-21 19:08 ` Carsten Dominik
  2010-03-22  8:07   ` filebat Mark
  1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2010-03-21 19:08 UTC (permalink / raw)
  To: filebat Mark; +Cc: emacs-orgmode


On Mar 21, 2010, at 12:22 PM, filebat Mark wrote:

> Hi All
>
> I am wondering whether we have a handy way to fill table's cell with  
> the values nearby.
> Like in office excel:
> - C-d: Fill current cell with the value of the upper cell
> - C-r: Fill current cell with the value of the left cell.

No we do not, but this would be easily programmed.

The keys you propose are not possible though.

- Carsten

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

* Re: Is there a way to fill org-mode's table cell with the values nearby?
  2010-03-21 19:08 ` Carsten Dominik
@ 2010-03-22  8:07   ` filebat Mark
  0 siblings, 0 replies; 4+ messages in thread
From: filebat Mark @ 2010-03-22  8:07 UTC (permalink / raw)
  To: Carsten Dominik, chris; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 659 bytes --]

Many thanks, Chris and Carsten!

I got your points. It show me a way which solves my problem gracefully.

Regards,
Denny

On 3/22/10, Carsten Dominik <carsten.dominik@gmail.com> wrote:
>
>
> On Mar 21, 2010, at 12:22 PM, filebat Mark wrote:
>
>  Hi All
>>
>> I am wondering whether we have a handy way to fill table's cell with the
>> values nearby.
>> Like in office excel:
>> - C-d: Fill current cell with the value of the upper cell
>> - C-r: Fill current cell with the value of the left cell.
>>
>
> No we do not, but this would be easily programmed.
>
> The keys you propose are not possible though.
>
> - Carsten
>
>


-- 
Thanks & Regards

Denny Zhang

[-- Attachment #1.2: Type: text/html, Size: 1228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please 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] 4+ messages in thread

end of thread, other threads:[~2010-03-22  8:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-03-21 19:08 ` Carsten Dominik
2010-03-22  8:07   ` filebat Mark

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