On Fri, Dec 05, 2003 at 07:29:18PM +0100, Christian Ridderström wrote:
> This started in some charStyle thread... it is about a suggestion to 
> change the behaviour of C-left/right in mathed (aka word-backward/forward)
> 
> Originally I was (approx.) complaining that it takes a lot of left/right's
> to move in mathed because of all the boundaries you have to cross.
> Then I suggested that maybe C-left/right could be used to move at a 
> 'courser' level...
> 
> [Brief interlude in the dialog were we are informed of Andre's 14 year 
>  old configuration of his window manager - it steals his C-left/right)

[It doesn't steal it. It does what it is supposed to do...]

> Now back from the break, my suggestion is that we change the behaviour of 
> word-backward/forward so that it uses something other spaces as word 
> separators. One idea could be to use '+' and '-', essentially moving the 
> cursor one term at a time in a formula.

This is close to useless. I have one-page-formulas where '+' and '-'
appear (at best) in some index computations. So going to the begin of
the current box is much more sensible than searching for the next '+'.

> While on the subject, something's rotten in Denmark.. mathed, since
> 
>         line-beginning/end
> 
> behave the same as
> 
>         word-backward/forward
> 
> as far as I can tell.

Such things could be proven quickly by looking at the source.

> Both move the cursor to the first or last position 
> of the mathed box, and this seems pointless to me.

Better idea?
 
> In fact, even inside \textrm{adsfas asdf asfd} word-backward/forward
> doesn't work (i.e. go to the next word separated by a space).

Mathed has almost no idea what a 'word' or a 'space' is.
 
> Anyway, my conclusion (?) is perhaps that a 'word' in a formula should
> correspond to something like a 'term' in a mathematical expression.

How do you detect a term?

Andre'

Reply via email to