On Fri, Mar 1, 2013 at 4:15 AM, Jean-Marc Lasgouttes <[email protected]> wrote:
> Le 28/02/2013 23:32, Rich Shepard a écrit :
>
>>    I am curious why sometimes the Tab key moves the cursor from cell to
>> cell
>> in a table and other times appends (unwanted) text to the data in the
>> cell.
>>
>>    Most of the time [Tab] moves the cursor to the next cell to the right
>> (or
>> the next row from the end of the row above) but sometimes it generates
>> unwanted text. For example, in a table cell I enter '10' and press [Tab];
>> the result is '10-years'. In another cell I entered 'June' and when the
>> [Tab] key is pressed the contents are changed to 'JuneJune'.
>
>
> It is because Tab is a multi-bound key (I am not sure this terms means
> anything) and one of these bindings is completion-accept..
>
> \bind "Tab"        "command-alternatives
> completion-accept;cell-forward;tab-insert;depth-increment;outline-in"
>
> What would other people think about removing it from the Tab binding and
> putting it somewhere else?

>The alternative would be to have it as last choice.

Would this be equivalent to removing it? If it is after tab-insert,
won't any place that enables completion-accept also enable tab-insert
and thus completion-accept would never be run? I have not tested
anything and I don't even know why completion is offered in this case.
I think I've only seen completion when entering LaTeX in math.

Scott

Reply via email to