Variable: tty-cursor-movement-use-TAB

tty-cursor-movement-use-TAB is a variable defined in term.c.

Value

t

Documentation

Whether TTY frames may use TAB for cursor motion.

On TTY frames, as a display optimization, Emacs may move cursor to a position with TAB characters, when this is more efficient. This might produce wrong results if the hardware tabs of the terminal were set to be of different width than Emacs expects. Set this to nil to disable using TABs for cursor motion.

Probably introduced at or before Emacs version 32.1.

Source Code

// Defined in /usr/src/emacs/src/term.c
  DEFVAR_BOOL ("tty-cursor-movement-use-TAB", tty_cursor_movement_use_TAB,
    doc: /* Whether TTY frames may use TAB for cursor motion.
On TTY frames, as a display optimization, Emacs may move cursor to a
position with TAB characters, when this is more efficient.  This might
produce wrong results if the hardware tabs of the terminal were set to
be of different width than Emacs expects.  Set this to nil to disable
using TABs for cursor motion.  */);