<div dir="ltr"><div dir="ltr">On Mon, Nov 30, 2020 at 5:46 PM Paul A. Rubin <<a href="mailto:parubin73@gmail.com" target="_blank">parubin73@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <div>On 11/30/20 5:13 PM, Scott Kostyshak
      wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>On Mon, Nov 30, 2020 at 04:11:41PM -0500, Maria Gouskova wrote:
</pre>
      <blockquote type="cite">
        <pre>Hi LyX users,

I'm probably missing something obvious in Preferences, but I couldn't
figure out how to turn off tab autocompletion for tables. I don't mind it
in math mode, so it's checked, but I pretty much never ever want that
behavior in a table. When I hit the Tab key in a table, I want to advance
to the next cell, and not to see a drop-down menu of random words that
start with the same string I just typed.

so, how do I make Tab always advance to the next cell in a table?
</pre>
      </blockquote>
      <pre>I have similar preferences to you. We just had a similar discussion on lyx-devel:

  <a href="https://www.mail-archive.com/search?l=mid&q=20201120032750.3austjolf7ornvpg%40tallinn" target="_blank">https://www.mail-archive.com/search?l=mid&q=20201120032750.3austjolf7ornvpg%40tallinn</a>

You mention that you "don't mind it in math mode". If you also don't
mind *not* having it in math, then the solution is simple:

rebind <Tab>. The default binding is the following:

  "command-alternatives completion-accept;cell-forward;tab-insert;outline-in;depth-increment"

Just remove the "completion-accept" part in your rebinding.

If you do want to keep autocompletion for math, then things are more
complicated. I have a simple patch that does this, but you would have to
compile LyX with the patch. If you by chance use Ubuntu, I can compile a
.deb for you, but I can't compile for other platforms.

Scott
</pre>
      <br>
      <fieldset></fieldset>
    </blockquote>
    Scott: Perhaps you can alleviate my confusion here. I use the CUA
    bind file (with a couple of tweaks) and have the same binding for
    Tab that you listed. In the preferences dialog, tab completion is on
    for math mode and off for text mode. In a math inset, if I type
    something like \right and start playing with the tab key, it does
    various completion tasks. If I'm not part way into a LaTeX command
    (but, say, in an align* environment), tabbing moves from cell to
    cell.<br>
    <br>
    In a text table, Tab moves from cell to cell, period. I do *not*
    under any circumstances get prompted to do word completion. (If it
    matters, I do have continuous spell checking on, using Enchant.) So
    I can't reproduce the problem. While I'm not complaining, either I
    don't understand the problem or you and Maria both failed to appease
    some digital deity with whom I am apparently on good terms.<br>
    <br>
    This is on Linux Mint 20, so behavior should be the same as on
    Ubuntu Focal.<br>
    <br>
    Paul<br></div></blockquote><div><br></div><div>Paul, I also have cua on Linux Mint. The rest of my LyX is minimally customized, so whatever is on by default is what I usually have.<br>One good way to set this off is to have words in the text around the table that start with the same substring. Try this for a minimal example:</div><div><br></div><div>"notion, notation, noble, nonsectarian, nondeterministic"</div><div><br></div><div>then in table: enter "no" in a cell, and hit Tab. (If you hit "yes", it should move you to the next tab, which iis what we want.") After "no", though, I see "nominal" in my minimal example, as well as some of the words from the list I entered above. <br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    <br>
  </div>

-- <br>
lyx-users mailing list<br>
<a href="mailto:lyx-users@lists.lyx.org" target="_blank">lyx-users@lists.lyx.org</a><br>
<a href="http://lists.lyx.org/mailman/listinfo/lyx-users" rel="noreferrer" target="_blank">http://lists.lyx.org/mailman/listinfo/lyx-users</a><br>
</blockquote></div></div>