From unknown Sat Aug 09 13:18:01 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#50721 <50721@debbugs.gnu.org> To: bug#50721 <50721@debbugs.gnu.org> Subject: Status: Wrong point position or display while moving point Reply-To: bug#50721 <50721@debbugs.gnu.org> Date: Sat, 09 Aug 2025 20:18:01 +0000 retitle 50721 Wrong point position or display while moving point reassign 50721 emacs submitter 50721 Cos Chan severity 50721 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 21 10:01:50 2021 Received: (at submit) by debbugs.gnu.org; 21 Sep 2021 14:01:50 +0000 Received: from localhost ([127.0.0.1]:47406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSgLF-0008WE-T2 for submit@debbugs.gnu.org; Tue, 21 Sep 2021 10:01:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:53388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSet4-0007pO-Vf for submit@debbugs.gnu.org; Tue, 21 Sep 2021 08:28:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSet1-0003R5-FT for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 08:28:38 -0400 Received: from mail-ua1-x92a.google.com ([2607:f8b0:4864:20::92a]:41810) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSerR-00029U-4p for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 08:28:34 -0400 Received: by mail-ua1-x92a.google.com with SMTP id f24so13306737uav.8 for ; Tue, 21 Sep 2021 05:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=iNn79pRtdgI6GdCyd/R0MjAdTn4+CxYyfhbeJuAk0iA=; b=SKB/Zb6Wr8bSAt/MuJM9kqV0KBZybzwN0rKQWLbX6bi3cDT8N1KoIO1d55xk3ZJUvt 2agLllNzaU+DRWl9eKz/YSDA2F4XaP4ArXDjXr0Vl78bYCmY8ghT4oJ1CNzSIeBTvOt6 6Q9dygXJ9odW5+nuFR/GQqOKKguAV0x7od8IuwyBEXN8N5vOsxPD9oBuVo+E1fZfWKf2 Ymo4hao3rwGdZNcO1Rd0V0t8Mlnu4IRhuVp4bfNmY0crMUIbSCioeasUpAll9YZGJNe9 /tnh92GGmSk4n+IYyZrYaVrFXSMvZhVHU9hB7+BZS+csErjhiv/lnOWPt1UFLD8LG2tn usAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=iNn79pRtdgI6GdCyd/R0MjAdTn4+CxYyfhbeJuAk0iA=; b=5Hd8W2yXbd2IU7RywCtwv8ec3mRDYIzJR+jNWlrzOkUy5uWtjBcsO7SXA/KYntxbyH sVfAzZ/qpfezlAts6RtoV4MckgscmloG5cMbI9d3gw2UK0/TOttiMJhAB0DXriaSRJSn E6BBhRIOqv4YgXVbaPCipUvWgZ6WMMGCIFeLCLmS34x6IR309fozJzrbhXkHzrPcyObY TPVNnVOdf+tXVL8pQTA+zN2eILKNEqelSwr+5vuXQLxeH/ysrSVLYxZ5BLUng0cNqh0S kLysT7kyxBrHyyIii4NPPdJcwY8XOQQgSafk7OXMdAzPaRUuMr1OL2kfhMec8eBfA+ev Pr6Q== X-Gm-Message-State: AOAM532UaqEea+ineLBa1GgbOZmXmYa/nvQitkQtHxL3VkuJnPJHZNN0 TCiGgrYHS7a3uoZUZrrwdT9vrtE7pdFGYHb90e4a76hZO4E= X-Google-Smtp-Source: ABdhPJwWKtvWrbr9xkbP41JUixLd/Rbo2YmiLePR1bmQND05reEzShr6FUa15oImQVhP2YuQzJTEQ5I/kYfidJMIldE= X-Received: by 2002:ab0:39c7:: with SMTP id g7mr15832379uaw.80.1632227215964; Tue, 21 Sep 2021 05:26:55 -0700 (PDT) MIME-Version: 1.0 From: Cos Chan Date: Tue, 21 Sep 2021 14:26:44 +0200 Message-ID: Subject: Wrong point position or display while moving point To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000667dd905cc808327" Received-SPF: pass client-ip=2607:f8b0:4864:20::92a; envelope-from=rosettas@gmail.com; helo=mail-ua1-x92a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 21 Sep 2021 10:01:49 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000667dd905cc808327 Content-Type: text/plain; charset="UTF-8" From: rosettas@gmail.com To: bug-gnu-emacs@gnu.org Subject: 27.1; Wrong point position or display while moving point --text follows this line-- This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from 'emacs -Q': 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 my .emacs file content: (add-to-list 'load-path "~/.emacs.d/lisp/") ;; lisp scripts (require 'sudo-save) ;; editting settings (setq-default indent-tabs-mode t) (setq-default tab-width 4) (normal-erase-is-backspace-mode 1) ;; backup and autosave to temporary directory (setq backup-directory-alist `((".*" . ,temporary-file-directory))) (setq auto-save-file-name-transforms `((".*" ,temporary-file-directory t))) ;; set color to be compatible with dark background (setq frame-background-mode 'dark) If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: 'bt full' and 'xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/27.1/etc/DEBUG. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu) of 2021-03-27, modified by Debian built on x86-conova-01 System Description: Debian GNU/Linux 11 (bullseye) In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu) of 2021-03-27, modified by Debian built on x86-conova-01 System Description: Debian GNU/Linux 11 (bullseye) Recent messages: Loading /etc/emacs/site-start.d/00debian.el (source)...done Loading /etc/emacs/site-start.d/50tcsh.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. delete-backward-char: Text is read-only [3 times] Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=no --without-gsettings 'CFLAGS=-g -O2 -ffile-prefix-map=/build/emacs-LlFm6W/emacs-27.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: SOUND GPM DBUS NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 ZLIB XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail tool-bar rmail-loaddefs text-property-search time-date subr-x seq mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm byte-opt gv bytecomp byte-compile cconv regexp-opt sudo-save tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 48684 10446) (symbols 48 6056 1) (strings 32 15989 1774) (string-bytes 1 511028) (vectors 16 8200) (vector-slots 8 87466 8132) (floats 8 22 473) (intervals 56 216 0) (buffers 1000 12)) -- Regards Cos Chan --000000000000667dd905cc808327 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
From: rosettas@gmail= .com
To: bug-gnu-emacs@gnu.= org
Subject: 27.1; Wrong point position or display while moving poin= t
--text follows this line--

This bug report will be sent to the = Bug-GNU-Emacs mailing list =C2=A0 =C2=A0 =C2=A0 =C2=A0
and the GNU bug t= racker at debbugs.gnu.org.=C2=A0 Ple= ase check that =C2=A0 =C2=A0 =C2=A0 =C2=A0
the From: line contains a val= id email address.=C2=A0 After a delay of up =C2=A0
to one day, you shou= ld receive an acknowledgment at that address. =C2=A0 =C2=A0
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0
Please write in English if possible, as the Emacs maintai= ners =C2=A0 =C2=A0 =C2=A0 =C2=A0
usually do not have translators for ot= her languages. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
Please describe exactly what actions tr= iggered the bug, and =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
the precise sym= ptoms of the bug.=C2=A0 If you can, give a recipe =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0
starting from 'emacs -Q': =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0
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. Test= ed in zsh and tcsh by add tabs 4 into .zshrc and .tcshrc

my .emacs f= ile content:
(add-to-list 'load-path "~/.emacs.d/lisp/");; lisp scripts
(require 'sudo-save)
;; editting settings
(s= etq-default indent-tabs-mode t)
(setq-default tab-width 4)
(normal-er= ase-is-backspace-mode 1)
;; backup and autosave to temporary directory(setq backup-directory-alist
=C2=A0 =C2=A0 =C2=A0 `((".*" . = ,temporary-file-directory)))
(setq auto-save-file-name-transforms
=C2= =A0 =C2=A0 =C2=A0 `((".*" ,temporary-file-directory t)))
;; se= t color to be compatible with dark background
(setq frame-background-mod= e 'dark)

If Emacs crashed, and you have the Emacs process in the= gdb debugger,
please include the output from the following gdb command= s: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
=C2=A0 =C2=A0 'bt full&= #39; and 'xbacktrace'. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0
For information about debugging Emacs, please read th= e file =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
/usr/share/emacs/27.1/etc/DEB= UG. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0
In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu) =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0of 2021-03-27, modified by Debian built on x86-conova-01 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
System Description: Debian GNU/Linux 11= (bullseye) =C2=A0



In GNU Emacs 27.1 (build 1, x86_64-pc-li= nux-gnu)
=C2=A0of 2021-03-27, modified by Debian built on x86-conova-01<= br>System Description: Debian GNU/Linux 11 (bullseye)

Recent message= s:
Loading /etc/emacs/site-start.d/00debian.el (source)...done
Loadin= g /etc/emacs/site-start.d/50tcsh.el (source)...done
For information abou= t GNU Emacs and the GNU system, type C-h C-a.
delete-backward-char: Text= is read-only [3 times]

Configured using:
=C2=A0'configure --= build x86_64-linux-gnu --prefix=3D/usr
=C2=A0--sharedstatedir=3D/var/lib= --libexecdir=3D/usr/lib
=C2=A0--localstatedir=3D/var/lib --infodir=3D/u= sr/share/info
=C2=A0--mandir=3D/usr/share/man --enable-libsystemd --with= -pop=3Dyes
=C2=A0--enable-locallisppath=3D/etc/emacs:/usr/local/share/em= acs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/s= ite-lisp:/usr/share/emacs/site-lisp
=C2=A0--with-sound=3Dalsa --without-= gconf --with-mailutils --build
=C2=A0x86_64-linux-gnu --prefix=3D/usr --= sharedstatedir=3D/var/lib
=C2=A0--libexecdir=3D/usr/lib --localstatedir= =3D/var/lib
=C2=A0--infodir=3D/usr/share/info --mandir=3D/usr/share/man = --enable-libsystemd
=C2=A0--with-pop=3Dyes
=C2=A0--enable-locallisppa= th=3D/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emac= s/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp
= =C2=A0--with-sound=3Dalsa --without-gconf --with-mailutils --with-x=3Dno=C2=A0--without-gsettings 'CFLAGS=3D-g -O2
=C2=A0-ffile-prefix-map= =3D/build/emacs-LlFm6W/emacs-27.1+1=3D. -fstack-protector-strong
=C2=A0-= Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time=C2=A0-D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro'

Config= ured features:
SOUND GPM DBUS NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXM= L2 ZLIB XIM
MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP

Imp= ortant settings:
=C2=A0 value of $LANG: C.UTF-8
=C2=A0 locale-coding-= system: utf-8-unix

Major mode: Fundamental

Minor modes in eff= ect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 ele= ctric-indent-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-= mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 auto-composition-mode:= t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
= =C2=A0 buffer-read-only: t
=C2=A0 line-number-mode: t
=C2=A0 transien= t-mark-mode: t

Load-path shadows:
None found.

Features:(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
f= ormat-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
ep= g-config gnus-util rmail tool-bar rmail-loaddefs text-property-search
ti= me-date subr-x seq mm-decode mm-bodies mm-encode mail-parse rfc2231
mail= abbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047
rfc2045 = ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm
byte-opt gv by= tecomp byte-compile cconv regexp-opt sudo-save tooltip
eldoc electric un= iquify ediff-hook vc-hooks lisp-float-type
tabulated-list replace newcom= ment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu= -bar rfn-eshadow isearch timer
select mouse jit-lock font-lock syntax fa= cemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgi= an utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japa= nese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiop= ic indian
cyrillic chinese composite charscript charprop case-table epa-= hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loadd= efs
button faces cus-face macroexp files text-properties overlay sha1 md= 5
base64 format env code-pages mule custom widget hashtable-print-readab= le
backquote threads dbusbind inotify lcms2 multi-tty make-network-proce= ss
emacs)

Memory information:
((conses 16 48684 10446)
=C2= =A0(symbols 48 6056 1)
=C2=A0(strings 32 15989 1774)
=C2=A0(string-by= tes 1 511028)
=C2=A0(vectors 16 8200)
=C2=A0(vector-slots 8 87466 813= 2)
=C2=A0(floats 8 22 473)
=C2=A0(intervals 56 216 0)
=C2=A0(buffe= rs 1000 12))

--
Regards
Cos C= han
--000000000000667dd905cc808327-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 21 10:25:44 2021 Received: (at 50721) by debbugs.gnu.org; 21 Sep 2021 14:25:44 +0000 Received: from localhost ([127.0.0.1]:47459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSgiN-0001Qx-UA for submit@debbugs.gnu.org; Tue, 21 Sep 2021 10:25:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSgiL-0001Qf-S3 for 50721@debbugs.gnu.org; Tue, 21 Sep 2021 10:25:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52614) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSgiG-0001df-M2; Tue, 21 Sep 2021 10:25:36 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1786 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSghm-0005gS-8o; Tue, 21 Sep 2021 10:25:11 -0400 Date: Tue, 21 Sep 2021 17:25:02 +0300 Message-Id: <83k0jaxayp.fsf@gnu.org> From: Eli Zaretskii To: Cos Chan In-Reply-To: (message from Cos Chan on Tue, 21 Sep 2021 14:26:44 +0200) Subject: Re: bug#50721: Wrong point position or display while moving point References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50721 Cc: 50721@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Cos Chan > 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.