GNU bug report logs -
#50721
Wrong point position or display while moving point
Previous Next
Full log
Message #8 received at 50721 <at> debbugs.gnu.org (full text, mbox):
> From: Cos Chan <rosettas <at> gmail.com>
> Date: Tue, 21 Sep 2021 14:26:44 +0200
>
> To change system tab width by
> $ tabs 4
> would create a problem that the display is wrong while moving point (for example M-b/M-f/C-up/C-down or
> kill words/line).
> The point or the characters would be in the wrong places until I manually run M-x redraw-display to get it
> back.
>
> I may reproduce this problem in Debian 10, 11 and FreeBSD 12, 13. Tested in zsh and tcsh by add tabs 4
> into .zshrc and .tcshrc
Thanks.
We initialize the tab width used for display on TTY frames from the
"tw" termcap/terminfo capability. Does anyone know whether this is
updated by the 'tabs' command? If not, is there a way Emacs could
know that the tab stops have been changed from their usual default?
If everything else fails, I guess we could provide a variable to
disable using TAB characters in cursor motion on TTYs, then users who
do the above could control how Emacs behaves in this case.
This bug report was last modified 3 years and 322 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.