emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Question about cursor movement
@ 2008-09-16 14:44 henry atting
  0 siblings, 0 replies; 5+ messages in thread
From: henry atting @ 2008-09-16 14:44 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

|      1 |    2 |    sum |           |
|--------+------+--------+-----------|
| 121.00 | 4.00 | 125.00 | store1    |
| 125.00 | 5.00 | 130.00 | store2    |
| 130.00 |      |        |           |
#+TBLFM: $1=@-1$3::$3=$1+$2

I have a simple table for some sort of expenses. I don't understand why
the cursor behaves the way it does:
I do a `=' in $1 or $3 and  after the result is placed in the field, the
cursor jumps down one row. As *my* intended move would be to the next
columnn in the same row I find this rather inconvenient.
Would'nt it be better if the cursor simply stays where it is and lets me
to decide the matter?

Cheers
henry

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

* RE: Question about cursor movement
@ 2008-09-16 16:56 Sullivan, Gregory (US SSA)
  2008-09-17 14:37 ` henry atting
  0 siblings, 1 reply; 5+ messages in thread
From: Sullivan, Gregory (US SSA) @ 2008-09-16 16:56 UTC (permalink / raw)
  To: henry atting, emacs-orgmode

Try leaving the cell with <TAB> to move to the next field (in
left-to-right, top-to-bottom order), whereas <RET> goes down one row.

--Greg

--
Gregory T. Sullivan, Ph.D.
BAE Systems Advanced Information Technologies
6 New England Executive Park, Burlington, MA 01803
781-262-4553 (office),  978-430-3461 (cell)
gregory.sullivan@baesystems.com 


-----Original Message-----
From: emacs-orgmode-bounces+gregory.sullivan=baesystems.com@gnu.org
[mailto:emacs-orgmode-bounces+gregory.sullivan=baesystems.com@gnu.org]
On Behalf Of henry atting
Sent: Tuesday, September 16, 2008 10:44 AM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] Question about cursor movement

Hi,

|      1 |    2 |    sum |           |
|--------+------+--------+-----------|
| 121.00 | 4.00 | 125.00 | store1    |
| 125.00 | 5.00 | 130.00 | store2    |
| 130.00 |      |        |           |
#+TBLFM: $1=@-1$3::$3=$1+$2

I have a simple table for some sort of expenses. I don't understand why
the cursor behaves the way it does:
I do a `=' in $1 or $3 and  after the result is placed in the field, the
cursor jumps down one row. As *my* intended move would be to the next
columnn in the same row I find this rather inconvenient.
Would'nt it be better if the cursor simply stays where it is and lets me
to decide the matter?

Cheers
henry



_______________________________________________
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] 5+ messages in thread

* Re: Question about cursor movement
  2008-09-16 16:56 Question about cursor movement Sullivan, Gregory (US SSA)
@ 2008-09-17 14:37 ` henry atting
  2008-09-17 16:26   ` Chris Randle
  0 siblings, 1 reply; 5+ messages in thread
From: henry atting @ 2008-09-17 14:37 UTC (permalink / raw)
  To: emacs-orgmode

Zitat - Sullivan, Gregory (US SSA) * Di Sep 16 2008 um 18:56 -

> Try leaving the cell with <TAB> to move to the next field (in
> left-to-right, top-to-bottom order), whereas <RET> goes down one row.

Okay, that explains how to move the cursor. 
But the question is how to reduce the cursor movement (or to avoid
unnecessary cursor movement in that particular case)
I read in another thread that a prinicple of orgmode is to minimize the
movement of the cursor. If it is so I would expect the cursor to stay in
the field where the formula is evaluated. But maybe I got it wrong...

henry

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

* RE: Re: Question about cursor movement
  2008-09-17 14:37 ` henry atting
@ 2008-09-17 16:26   ` Chris Randle
  2008-09-17 16:42     ` henry atting
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Randle @ 2008-09-17 16:26 UTC (permalink / raw)
  To: emacs-orgmode

henry atting wrote:
> Okay, that explains how to move the cursor.
> But the question is how to reduce the cursor movement (or to avoid
> unnecessary cursor movement in that particular case)

Would 'C-c C-c' do the trick?

-- 
Chris Randle
Windows XP SP3 - GNU Emacs 22.1.1 - Org-mode 6.06b

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

* Re: Question about cursor movement
  2008-09-17 16:26   ` Chris Randle
@ 2008-09-17 16:42     ` henry atting
  0 siblings, 0 replies; 5+ messages in thread
From: henry atting @ 2008-09-17 16:42 UTC (permalink / raw)
  To: emacs-orgmode

Zitat - Chris Randle * Mi Sep 17 2008 um 18:26 -

> henry atting wrote:
>> Okay, that explains how to move the cursor.
>> But the question is how to reduce the cursor movement (or to avoid
>> unnecessary cursor movement in that particular case)
>
> Would 'C-c C-c' do the trick?

Indeed it does. :)

henry

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

end of thread, other threads:[~2008-09-17 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-16 16:56 Question about cursor movement Sullivan, Gregory (US SSA)
2008-09-17 14:37 ` henry atting
2008-09-17 16:26   ` Chris Randle
2008-09-17 16:42     ` henry atting
  -- strict thread matches above, loose matches on Subject: below --
2008-09-16 14:44 henry atting

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