GNU logs - #78474, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Bastien Guerry <bzg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 17 May 2025 22:56:02 +0000
Resent-Message-ID: <handler.78474.B.174752255528674 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 78474 <at> debbugs.gnu.org
Cc: =?UTF-8?Q?S=C3=A9bastien?= Hinderer <Sebastien.Hinderer@HIDDEN>, Samuel Thibault <samuel.thibault@HIDDEN>
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.174752255528674
          (code B ref -1); Sat, 17 May 2025 22:56:02 +0000
Received: (at submit) by debbugs.gnu.org; 17 May 2025 22:55:55 +0000
Received: from localhost ([127.0.0.1]:52178 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uGQRe-0007SN-4Q
	for submit <at> debbugs.gnu.org; Sat, 17 May 2025 18:55:55 -0400
Received: from lists.gnu.org ([2001:470:142::17]:38242)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <bzg@HIDDEN>) id 1uGQRZ-0007Rz-2N
 for submit <at> debbugs.gnu.org; Sat, 17 May 2025 18:55:52 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bzg@HIDDEN>) id 1uGQRR-0002r5-Ll
 for bug-gnu-emacs@HIDDEN; Sat, 17 May 2025 18:55:41 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bzg@HIDDEN>)
 id 1uGQRP-0002f7-SO; Sat, 17 May 2025 18:55:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:
 references; bh=ZlswemFrC9VUeVuwtAyn8CVtWedY92JdaMPlCV8Savk=; b=K5V+xOlfvlq7m3
 1i4bQ6erHg/Cg/y0ojiKOpTJpiWjjfxTgbN9GzI7g+J87m73wowGjpbatdSZuZ71N+nmrD4FHsmOV
 bwnOmBiJuIiMGu2LFm2GoNGko7cV5gO89xuAqyEgNIoo9/KIkqS5NKjXsOJOu6odbInK4LY55t6WD
 ZgI6PIFQdENl1SownJ3GvyvHDzHStMf0gIoISr/pIQpD4vXkVSvlTLyRKojxnjbHOnoOfiWkPtEO7
 AdG4n8lhBrZVAoyAW4zSKHVZHwsuVAmtyq9ez/ZcDLH0LuSwolnbZkeIt5S00W34g/I3e7L8qXpMI
 Krcr9ZgVxTsWB8xmhAXA==;
From: Bastien Guerry <bzg@HIDDEN>
Organization: GNU
Date: Sun, 18 May 2025 00:53:13 +0200
Message-ID: <87wmaeonmu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


With Emacs >= 24 in rxvt (not urxvt), steps to reproduce:

1. find a new buffer and write "Coucou"
2. hit SPC
3. see the space inserted: it is too large.

https://dept-info.labri.fr/~thibault/tmp/coucou.png illustrates the bug.

Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
(\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"

This char insertion problem confuses assistive technologies for the
visually impaired.

Sebastien reported this problem and both Samuel and Sebastien might help
with further information on how to reproduce this, if needed.


In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.38, cairo version 1.16.0) of 2025-05-16 built on guerry
Repository revision: 7d7d821c495abcd740fd20f6a8df6da5bd920cd3
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Debian GNU/Linux 12 (bookworm)

Configured using:
 'configure --with-native-compilation --without-compress-install
 --with-mailutils --with-tree-sitter --with-imagemagick'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
IMAGEMAGICK JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINERAMA XINPUT2 XPM
XRANDR GTK3 ZLIB

Important settings:
  value of $LANG: fr_FR.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: IBuffer

Minor modes in effect:
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  server-mode: t
  pdf-occur-ibuffer-minor-mode: t
  pdf-occur-global-minor-mode: t
  envrc-global-mode: t
  envrc-mode: t
  which-key-mode: t
  hidden-mode-line-mode: t
  bzg-big-fringe-mode: t
  global-hl-line-mode: t
  pixel-scroll-mode: t
  auto-insert-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/bzg/.emacs.d/elpa/transient-20250511.1808/transient hides /usr/local/share/emacs/31.0.50/lisp/transient
/home/bzg/.emacs.d/elpa/bind-key-20230203.2004/bind-key hides /usr/local/share/emacs/31.0.50/lisp/bind-key
/home/bzg/.emacs.d/elpa/which-key-20240620.2145/which-key hides /usr/local/share/emacs/31.0.50/lisp/which-key
/home/bzg/.emacs.d/elpa/use-package-20230426.2324/use-package-ensure hides /usr/local/share/emacs/31.0.50/lisp/use-package/use-package-ensure
/home/bzg/.emacs.d/elpa/use-package-20230426.2324/use-package-core hides /usr/local/share/emacs/31.0.50/lisp/use-package/use-package-core
/home/bzg/.emacs.d/elpa/use-package-20230426.2324/use-package hides /usr/local/share/emacs/31.0.50/lisp/use-package/use-package
/home/bzg/.emacs.d/elpa/use-package-20230426.2324/use-package-diminish hides /usr/local/share/emacs/31.0.50/lisp/use-package/use-package-diminish
/home/bzg/.emacs.d/elpa/use-package-20230426.2324/use-package-delight hides /usr/local/share/emacs/31.0.50/lisp/use-package/use-package-delight
/home/bzg/.emacs.d/elpa/use-package-20230426.2324/use-package-bind-key hides /usr/local/share/emacs/31.0.50/lisp/use-package/use-package-bind-key
/home/bzg/.emacs.d/elpa/use-package-20230426.2324/use-package-jump hides /usr/local/share/emacs/31.0.50/lisp/use-package/use-package-jump
/home/bzg/.emacs.d/elpa/use-package-20230426.2324/use-package-lint hides /usr/local/share/emacs/31.0.50/lisp/use-package/use-package-lint
/home/bzg/.emacs.d/elpa/markdown-ts-mode-20240422.2329/markdown-ts-mode hides /usr/local/share/emacs/31.0.50/lisp/textmodes/markdown-ts-mode
/home/bzg/.emacs.d/elpa/peg-20150708.641/peg hides /usr/local/share/emacs/31.0.50/lisp/progmodes/peg
~/install/git/org/org-mode/lisp/org-colview hides /usr/local/share/emacs/31.0.50/lisp/org/org-colview
~/install/git/org/org-mode/lisp/org-mouse hides /usr/local/share/emacs/31.0.50/lisp/org/org-mouse
~/install/git/org/org-mode/lisp/ox-org hides /usr/local/share/emacs/31.0.50/lisp/org/ox-org
~/install/git/org/org-mode/lisp/ol-docview hides /usr/local/share/emacs/31.0.50/lisp/org/ol-docview
~/install/git/org/org-mode/lisp/ob-calc hides /usr/local/share/emacs/31.0.50/lisp/org/ob-calc
~/install/git/org/org-mode/lisp/org-mobile hides /usr/local/share/emacs/31.0.50/lisp/org/org-mobile
~/install/git/org/org-mode/lisp/ob-lua hides /usr/local/share/emacs/31.0.50/lisp/org/ob-lua
~/install/git/org/org-mode/lisp/ob-lisp hides /usr/local/share/emacs/31.0.50/lisp/org/ob-lisp
~/install/git/org/org-mode/lisp/org-archive hides /usr/local/share/emacs/31.0.50/lisp/org/org-archive
~/install/git/org/org-mode/lisp/ol-info hides /usr/local/share/emacs/31.0.50/lisp/org/ol-info
~/install/git/org/org-mode/lisp/ob-julia hides /usr/local/share/emacs/31.0.50/lisp/org/ob-julia
~/install/git/org/org-mode/lisp/org hides /usr/local/share/emacs/31.0.50/lisp/org/org
~/install/git/org/org-mode/lisp/ob-awk hides /usr/local/share/emacs/31.0.50/lisp/org/ob-awk
~/install/git/org/org-mode/lisp/ol-gnus hides /usr/local/share/emacs/31.0.50/lisp/org/ol-gnus
~/install/git/org/org-mode/lisp/ob-sass hides /usr/local/share/emacs/31.0.50/lisp/org/ob-sass
~/install/git/org/org-mode/lisp/org-attach-git hides /usr/local/share/emacs/31.0.50/lisp/org/org-attach-git
~/install/git/org/org-mode/lisp/org-list hides /usr/local/share/emacs/31.0.50/lisp/org/org-list
~/install/git/org/org-mode/lisp/org-agenda hides /usr/local/share/emacs/31.0.50/lisp/org/org-agenda
~/install/git/org/org-mode/lisp/ol-w3m hides /usr/local/share/emacs/31.0.50/lisp/org/ol-w3m
~/install/git/org/org-mode/lisp/ob-haskell hides /usr/local/share/emacs/31.0.50/lisp/org/ob-haskell
~/install/git/org/org-mode/lisp/ox-koma-letter hides /usr/local/share/emacs/31.0.50/lisp/org/ox-koma-letter
~/install/git/org/org-mode/lisp/ob-sed hides /usr/local/share/emacs/31.0.50/lisp/org/ob-sed
~/install/git/org/org-mode/lisp/ob-clojure hides /usr/local/share/emacs/31.0.50/lisp/org/ob-clojure
~/install/git/org/org-mode/lisp/ox-ascii hides /usr/local/share/emacs/31.0.50/lisp/org/ox-ascii
~/install/git/org/org-mode/lisp/ox-texinfo hides /usr/local/share/emacs/31.0.50/lisp/org/ox-texinfo
~/install/git/org/org-mode/lisp/ob-exp hides /usr/local/share/emacs/31.0.50/lisp/org/ob-exp
~/install/git/org/org-mode/lisp/ob-plantuml hides /usr/local/share/emacs/31.0.50/lisp/org/ob-plantuml
~/install/git/org/org-mode/lisp/org-id hides /usr/local/share/emacs/31.0.50/lisp/org/org-id
~/install/git/org/org-mode/lisp/ob-comint hides /usr/local/share/emacs/31.0.50/lisp/org/ob-comint
~/install/git/org/org-mode/lisp/ol-irc hides /usr/local/share/emacs/31.0.50/lisp/org/ol-irc
~/install/git/org/org-mode/lisp/ox-publish hides /usr/local/share/emacs/31.0.50/lisp/org/ox-publish
~/install/git/org/org-mode/lisp/ob-processing hides /usr/local/share/emacs/31.0.50/lisp/org/ob-processing
~/install/git/org/org-mode/lisp/org-faces hides /usr/local/share/emacs/31.0.50/lisp/org/org-faces
~/install/git/org/org-mode/lisp/ob-sqlite hides /usr/local/share/emacs/31.0.50/lisp/org/ob-sqlite
~/install/git/org/org-mode/lisp/org-attach hides /usr/local/share/emacs/31.0.50/lisp/org/org-attach
~/install/git/org/org-mode/lisp/ob-lob hides /usr/local/share/emacs/31.0.50/lisp/org/ob-lob
~/install/git/org/org-mode/lisp/ox-beamer hides /usr/local/share/emacs/31.0.50/lisp/org/ox-beamer
~/install/git/org/org-mode/lisp/ox-latex hides /usr/local/share/emacs/31.0.50/lisp/org/ox-latex
~/install/git/org/org-mode/lisp/ob-core hides /usr/local/share/emacs/31.0.50/lisp/org/ob-core
~/install/git/org/org-mode/lisp/org-persist hides /usr/local/share/emacs/31.0.50/lisp/org/org-persist
~/install/git/org/org-mode/lisp/ob-octave hides /usr/local/share/emacs/31.0.50/lisp/org/ob-octave
~/install/git/org/org-mode/lisp/ob-gnuplot hides /usr/local/share/emacs/31.0.50/lisp/org/ob-gnuplot
~/install/git/org/org-mode/lisp/org-element-ast hides /usr/local/share/emacs/31.0.50/lisp/org/org-element-ast
~/install/git/org/org-mode/lisp/oc-natbib hides /usr/local/share/emacs/31.0.50/lisp/org/oc-natbib
~/install/git/org/org-mode/lisp/org-capture hides /usr/local/share/emacs/31.0.50/lisp/org/org-capture
~/install/git/org/org-mode/lisp/org-timer hides /usr/local/share/emacs/31.0.50/lisp/org/org-timer
~/install/git/org/org-mode/lisp/ob-scheme hides /usr/local/share/emacs/31.0.50/lisp/org/ob-scheme
~/install/git/org/org-mode/lisp/ob-ditaa hides /usr/local/share/emacs/31.0.50/lisp/org/ob-ditaa
~/install/git/org/org-mode/lisp/ol-mhe hides /usr/local/share/emacs/31.0.50/lisp/org/ol-mhe
~/install/git/org/org-mode/lisp/org-feed hides /usr/local/share/emacs/31.0.50/lisp/org/org-feed
~/install/git/org/org-mode/lisp/ol-man hides /usr/local/share/emacs/31.0.50/lisp/org/ol-man
~/install/git/org/org-mode/lisp/org-macro hides /usr/local/share/emacs/31.0.50/lisp/org/org-macro
~/install/git/org/org-mode/lisp/ol hides /usr/local/share/emacs/31.0.50/lisp/org/ol
~/install/git/org/org-mode/lisp/ob-makefile hides /usr/local/share/emacs/31.0.50/lisp/org/ob-makefile
~/install/git/org/org-mode/lisp/oc-basic hides /usr/local/share/emacs/31.0.50/lisp/org/oc-basic
~/install/git/org/org-mode/lisp/ob-ocaml hides /usr/local/share/emacs/31.0.50/lisp/org/ob-ocaml
~/install/git/org/org-mode/lisp/org-table hides /usr/local/share/emacs/31.0.50/lisp/org/org-table
~/install/git/org/org-mode/lisp/ob-groovy hides /usr/local/share/emacs/31.0.50/lisp/org/ob-groovy
~/install/git/org/org-mode/lisp/ox-man hides /usr/local/share/emacs/31.0.50/lisp/org/ox-man
~/install/git/org/org-mode/lisp/org-footnote hides /usr/local/share/emacs/31.0.50/lisp/org/org-footnote
~/install/git/org/org-mode/lisp/org-clock hides /usr/local/share/emacs/31.0.50/lisp/org/org-clock
~/install/git/org/org-mode/lisp/ob-tangle hides /usr/local/share/emacs/31.0.50/lisp/org/ob-tangle
~/install/git/org/org-mode/lisp/ob-screen hides /usr/local/share/emacs/31.0.50/lisp/org/ob-screen
~/install/git/org/org-mode/lisp/ob-forth hides /usr/local/share/emacs/31.0.50/lisp/org/ob-forth
~/install/git/org/org-mode/lisp/oc-biblatex hides /usr/local/share/emacs/31.0.50/lisp/org/oc-biblatex
~/install/git/org/org-mode/lisp/ol-bibtex hides /usr/local/share/emacs/31.0.50/lisp/org/ol-bibtex
~/install/git/org/org-mode/lisp/org-duration hides /usr/local/share/emacs/31.0.50/lisp/org/org-duration
~/install/git/org/org-mode/lisp/org-pcomplete hides /usr/local/share/emacs/31.0.50/lisp/org/org-pcomplete
~/install/git/org/org-mode/lisp/ob-css hides /usr/local/share/emacs/31.0.50/lisp/org/ob-css
~/install/git/org/org-mode/lisp/ob-C hides /usr/local/share/emacs/31.0.50/lisp/org/ob-C
~/install/git/org/org-mode/lisp/ob-matlab hides /usr/local/share/emacs/31.0.50/lisp/org/ob-matlab
~/install/git/org/org-mode/lisp/ob-latex hides /usr/local/share/emacs/31.0.50/lisp/org/ob-latex
~/install/git/org/org-mode/lisp/org-tempo hides /usr/local/share/emacs/31.0.50/lisp/org/org-tempo
~/install/git/org/org-mode/lisp/org-protocol hides /usr/local/share/emacs/31.0.50/lisp/org/org-protocol
~/install/git/org/org-mode/lisp/org-macs hides /usr/local/share/emacs/31.0.50/lisp/org/org-macs
~/install/git/org/org-mode/lisp/ol-eww hides /usr/local/share/emacs/31.0.50/lisp/org/ol-eww
~/install/git/org/org-mode/lisp/ob-R hides /usr/local/share/emacs/31.0.50/lisp/org/ob-R
~/install/git/org/org-mode/lisp/ob-dot hides /usr/local/share/emacs/31.0.50/lisp/org/ob-dot
~/install/git/org/org-mode/lisp/ol-bbdb hides /usr/local/share/emacs/31.0.50/lisp/org/ol-bbdb
~/install/git/org/org-mode/lisp/org-datetree hides /usr/local/share/emacs/31.0.50/lisp/org/org-datetree
~/install/git/org/org-mode/lisp/org-fold hides /usr/local/share/emacs/31.0.50/lisp/org/org-fold
~/install/git/org/org-mode/lisp/ob-emacs-lisp hides /usr/local/share/emacs/31.0.50/lisp/org/ob-emacs-lisp
~/install/git/org/org-mode/lisp/ob-fortran hides /usr/local/share/emacs/31.0.50/lisp/org/ob-fortran
~/install/git/org/org-mode/lisp/org-habit hides /usr/local/share/emacs/31.0.50/lisp/org/org-habit
~/install/git/org/org-mode/lisp/ob-lilypond hides /usr/local/share/emacs/31.0.50/lisp/org/ob-lilypond
~/install/git/org/org-mode/lisp/org-loaddefs hides /usr/local/share/emacs/31.0.50/lisp/org/org-loaddefs
~/install/git/org/org-mode/lisp/oc hides /usr/local/share/emacs/31.0.50/lisp/org/oc
~/install/git/org/org-mode/lisp/org-keys hides /usr/local/share/emacs/31.0.50/lisp/org/org-keys
~/install/git/org/org-mode/lisp/ob-org hides /usr/local/share/emacs/31.0.50/lisp/org/ob-org
~/install/git/org/org-mode/lisp/ol-doi hides /usr/local/share/emacs/31.0.50/lisp/org/ol-doi
~/install/git/org/org-mode/lisp/org-element hides /usr/local/share/emacs/31.0.50/lisp/org/org-element
~/install/git/org/org-mode/lisp/ob-sql hides /usr/local/share/emacs/31.0.50/lisp/org/ob-sql
~/install/git/org/org-mode/lisp/ox-md hides /usr/local/share/emacs/31.0.50/lisp/org/ox-md
~/install/git/org/org-mode/lisp/ob-eshell hides /usr/local/share/emacs/31.0.50/lisp/org/ob-eshell
~/install/git/org/org-mode/lisp/org-ctags hides /usr/local/share/emacs/31.0.50/lisp/org/org-ctags
~/install/git/org/org-mode/lisp/ob-shell hides /usr/local/share/emacs/31.0.50/lisp/org/ob-shell
~/install/git/org/org-mode/lisp/oc-csl hides /usr/local/share/emacs/31.0.50/lisp/org/oc-csl
~/install/git/org/org-mode/lisp/ox hides /usr/local/share/emacs/31.0.50/lisp/org/ox
~/install/git/org/org-mode/lisp/org-indent hides /usr/local/share/emacs/31.0.50/lisp/org/org-indent
~/install/git/org/org-mode/lisp/org-plot hides /usr/local/share/emacs/31.0.50/lisp/org/org-plot
~/install/git/org/org-mode/lisp/org-fold-core hides /usr/local/share/emacs/31.0.50/lisp/org/org-fold-core
~/install/git/org/org-mode/lisp/org-inlinetask hides /usr/local/share/emacs/31.0.50/lisp/org/org-inlinetask
~/install/git/org/org-mode/lisp/org-refile hides /usr/local/share/emacs/31.0.50/lisp/org/org-refile
~/install/git/org/org-mode/lisp/ob-ruby hides /usr/local/share/emacs/31.0.50/lisp/org/ob-ruby
~/install/git/org/org-mode/lisp/ob-java hides /usr/local/share/emacs/31.0.50/lisp/org/ob-java
~/install/git/org/org-mode/lisp/ob-maxima hides /usr/local/share/emacs/31.0.50/lisp/org/ob-maxima
~/install/git/org/org-mode/lisp/org-cycle hides /usr/local/share/emacs/31.0.50/lisp/org/org-cycle
~/install/git/org/org-mode/lisp/org-lint hides /usr/local/share/emacs/31.0.50/lisp/org/org-lint
~/install/git/org/org-mode/lisp/ox-html hides /usr/local/share/emacs/31.0.50/lisp/org/ox-html
~/install/git/org/org-mode/lisp/ob-perl hides /usr/local/share/emacs/31.0.50/lisp/org/ob-perl
~/install/git/org/org-mode/lisp/ob-eval hides /usr/local/share/emacs/31.0.50/lisp/org/ob-eval
~/install/git/org/org-mode/lisp/org-entities hides /usr/local/share/emacs/31.0.50/lisp/org/org-entities
~/install/git/org/org-mode/lisp/org-crypt hides /usr/local/share/emacs/31.0.50/lisp/org/org-crypt
~/install/git/org/org-mode/lisp/org-compat hides /usr/local/share/emacs/31.0.50/lisp/org/org-compat
~/install/git/org/org-mode/lisp/org-num hides /usr/local/share/emacs/31.0.50/lisp/org/org-num
~/install/git/org/org-mode/lisp/ob-js hides /usr/local/share/emacs/31.0.50/lisp/org/ob-js
~/install/git/org/org-mode/lisp/oc-bibtex hides /usr/local/share/emacs/31.0.50/lisp/org/oc-bibtex
~/install/git/org/org-mode/lisp/ob-table hides /usr/local/share/emacs/31.0.50/lisp/org/ob-table
~/install/git/org/org-mode/lisp/ol-rmail hides /usr/local/share/emacs/31.0.50/lisp/org/ol-rmail
~/install/git/org/org-mode/lisp/ob-python hides /usr/local/share/emacs/31.0.50/lisp/org/ob-python
~/install/git/org/org-mode/lisp/ol-eshell hides /usr/local/share/emacs/31.0.50/lisp/org/ol-eshell
~/install/git/org/org-mode/lisp/ob-ref hides /usr/local/share/emacs/31.0.50/lisp/org/ob-ref
~/install/git/org/org-mode/lisp/org-goto hides /usr/local/share/emacs/31.0.50/lisp/org/org-goto
~/install/git/org/org-mode/lisp/org-src hides /usr/local/share/emacs/31.0.50/lisp/org/org-src
~/install/git/org/org-mode/lisp/ox-icalendar hides /usr/local/share/emacs/31.0.50/lisp/org/ox-icalendar
~/install/git/org/org-mode/lisp/org-version hides /usr/local/share/emacs/31.0.50/lisp/org/org-version
~/install/git/org/org-mode/lisp/ox-odt hides /usr/local/share/emacs/31.0.50/lisp/org/ox-odt
~/install/git/org/org-mode/lisp/ob hides /usr/local/share/emacs/31.0.50/lisp/org/ob

Features:
(shadow emacs-news-mode emacsbug cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine helpful cc-langs cc-vars cc-defs
trace edebug info-look elisp-refs helpful-autoloads elisp-refs-autoloads
loaddefs-gen tar-mode display-line-numbers finder-inf macros hippie-exp
vc-filewise tramp-cmds tramp-cache time-stamp pdf-sync pdf-annot
pdf-outline pdf-links pdf-history gnus-search eieio-opt speedbar ezimage
dframe lsp-zig lsp-yang lsp-yaml lsp-xml lsp-wgsl lsp-volar
lsp-vimscript lsp-vhdl lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v
lsp-typespec lsp-typeprof lsp-ttcn3 lsp-ts-query lsp-trunk lsp-toml
lsp-tilt lsp-tex lsp-terraform lsp-svelte lsp-steep lsp-sqls lsp-sql
lsp-sorbet lsp-solidity lsp-solargraph lsp-semgrep lsp-rust lsp-ruff
lsp-ruby-syntax-tree lsp-ruby-lsp lsp-rubocop lsp-roslyn lsp-roc lsp-rf
lsp-remark lsp-racket lsp-r lsp-qml lsp-pylsp lsp-pyls lsp-pwsh
lsp-purescript lsp-postgres lsp-pls lsp-php lsp-perlnavigator lsp-perl
lsp-openscad lsp-ocaml find-file lsp-nushell lsp-nix lsp-nim lsp-nginx
lsp-nextflow lsp-move lsp-mojo lsp-mint lsp-meson lsp-mdx lsp-matlab
lsp-marksman lsp-markdown lsp-magik lsp-fennel lsp-lua lsp-lisp
lsp-kubernetes-helm lsp-kotlin lsp-json lsp-jq lsp-javascript lsp-idris
lsp-haxe lsp-hack lsp-groovy lsp-graphql lsp-golangci-lint lsp-glsl
lsp-gleam lsp-gdscript lsp-fsharp lsp-futhark lsp-fortran lsp-eslint
lsp-erlang lsp-emmet lsp-elm lsp-elixir lsp-earthly lsp-dockerfile
lsp-dhall lsp-d lsp-cypher lsp-cucumber lsp-copilot lsp-css lsp-c3
lsp-csharp lsp-crystal lsp-credo lsp-cobol lsp-cmake lsp-clojure
lsp-clangd lsp-bufls lsp-go lsp-completion lsp-beancount lsp-bash
lsp-awk lsp-autotools lsp-astro lsp-asm lsp-ansible lsp-angular lsp-ada
lsp-semantic-tokens lsp-actionscript lsp-mode lsp-protocol tree-widget
markdown-mode ht f ewoc company-oddmuse company-keywords company-etags
etags fileloop company-gtags company-dabbrev-code company-dabbrev
company-files company-clang company-capf company-cmake company-semantic
company-template company-bbdb company origami origami-parsers cl s
org-duration help-fns radix-tree cl-print debug backtrace cal-iso
cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays
holiday-loaddefs cal-move tabify elfeed-link elfeed-show elfeed-search
elfeed-csv elfeed elfeed-curl elfeed-log xml-query elfeed-db elfeed-lib
bbdb-message mailalias flow-fill vc-hg vc-bzr vc-src vc-sccs vc-svn
vc-cvs vc-rcs log-view bug-reference magit-extras face-remap
magit-bookmark magit-submodule magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs magit-status
magit magit-repos magit-apply magit-wip magit-log which-func magit-diff
smerge-mode diff git-commit log-edit pcvs-util add-log magit-core
magit-autorevert autorevert magit-margin magit-transient magit-process
with-editor server magit-mode transient benchmark magit-git magit-base
magit-section llama dabbrev url-http url-gw url-cache url-auth char-fold
misearch multi-isearch sort gnus-cite smiley mm-archive mail-extr qp
textsec uni-scripts idna-mapping ucs-normalize uni-confusable
textsec-check gnus-async gnus-bcklg gnus-dup gnus-ml cursor-sensor nndoc
utf-7 network-stream nsm nnfolder nnnil gptel-curl gptel-org cus-start
gptel-anthropic gptel gptel-openai compat pdf-occur ibuf-ext tablist
tablist-filter semantic/wisent/comp semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch
let-alist pdf-misc pdf-tools pdf-view bookmark pdf-cache pdf-info tq
pdf-util pdf-macs dired-subtree dired-hacks-utils dired-aux dash envrc
inheritenv which-key register-list ibuffer ibuffer-loaddefs whitespace
flycheck-clj-kondo flycheck clojure-ts-mode clj-refactor cap-words
superword subword hydra lv inflections mc-hide-unmatched-lines-mode
mc-mark-more sgml-mode facemenu mc-cycle-cursors multiple-cursors-core
rect yasnippet cider tramp-sh cider-debug cider-browse-ns cider-mode
cider-xref-backend cider-find cider-completion cider-profile
cider-inspector cider-eval cider-jar arc-mode archive-mode compile
cider-repl-history pulse cider-repl cider-resolve cider-test
cider-overlays cider-stacktrace cider-doc cider-browse-spec
cider-clojuredocs cider-eldoc cider-docstring cider-client cider-common
xref project cider-completion-context cider-connection cider-popup
sesman-browser nrepl-client sesman vc queue nrepl-dict cider-util color
spinner parseedn parseclj-parser parseclj-lex parseclj-alist
clojure-mode lisp-mnt imenu align paredit edmacro kmacro dired-x notmuch
notmuch-tree notmuch-jump notmuch-hello notmuch-show notmuch-print
notmuch-crypto notmuch-mua notmuch-message notmuch-draft
notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser
notmuch-wash coolj goto-addr notmuch-tag notmuch-lib notmuch-compat
hl-line bbdb-gnus bbdb-mua bbdb-anniv bbdb-com crm bbdb bbdb-site
timezone gnus-dired gnus-icalendar org-capture icalendar gnus-alias
advice gnus-delay gnus-draft gnus-agent gnus-srvr gnus-score score-mode
nnvirtual nntp gnus-cache gnus-msg nndraft nnmh use-package-core appt
diary-lib diary-loaddefs vc-git diff-mode track-changes vc-dispatcher
oc-basic disp-table ol-eww eww vtable mule-util url-queue mm-url
ol-rmail ol-mhe ol-irc ol-info ol-docview doc-view filenotify jka-compr
image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi
ox-koma-letter ox-beamer ox-md ox-odt rng-loc rng-uri rng-parse
rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok
nxml-util ox-latex ox-icalendar org-agenda ox-html table ox-ascii
ox-publish ox org-attach ob-gnuplot ob-R ob-plantuml ob-scheme ob-ledger
ob-ditaa ob-org ob-clojure ob-dot ob-shell org-clock org-element
org-persist org-id org-refile avl-tree generator ol-gnus nnselect
gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo
gnus-spec gnus-int gnus-range message sendmail yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev gmm-utils gnus-win gnus nnheader gnus-util
text-property-search range mm-util mail-prsvr org-bullets org-tempo
tempo txl easy-mmode guess-language flyspell ispell org ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit
executable ob-comint org-element-ast inline org-pcomplete org-list
org-footnote org-faces org-entities noutline outline ob-emacs-lisp
ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys
oc org-loaddefs thingatpt find-func cal-menu calendar cal-loaddefs
org-version org-compat org-macs request mailheader mail-utils
modus-operandi-theme modus-themes derived pixel-scroll cua-base time
autoinsert comp comp-cstr cl-extra comp-run comp-common tramp trampver
tramp-integration files-x tramp-message help-mode tramp-compat shell
pcomplete comint ansi-osc ring parse-time iso8601 time-date format-spec
ansi-color tramp-loaddefs cus-edit pp cus-load wid-edit affe-autoloads
aggressive-indent-autoloads async-autoloads bbdb-autoloads
browse-kill-ring-autoloads clj-refactor-autoloads
clojure-ts-mode-autoloads company-autoloads consult-autoloads
csv-mode-autoloads deadgrep-autoloads debbugs-autoloads
diff-hl-autoloads dired-narrow-autoloads dired-ranger-autoloads
dired-subtree-autoloads dired-hacks-utils-autoloads docker-autoloads
aio-autoloads elfeed-autoloads elpher-autoloads envrc-autoloads
exec-path-from-shell-autoloads fd-dired-autoloads
flycheck-clj-kondo-autoloads flycheck-clojure-autoloads
flycheck-autoloads cider-autoloads fzf-autoloads
git-timemachine-autoloads gnus-alias-autoloads gptel-autoloads
guide-key-autoloads htmlize-autoloads inf-clojure-autoloads
clojure-mode-autoloads inheritenv-autoloads jinx-autoloads
json-mode-autoloads rx json-reformat-autoloads
know-your-http-well-autoloads lsp-ui-autoloads lsp-mode-autoloads
ht-autoloads f-autoloads magit-autoloads pcase markdown-mode-autoloads
markdown-ts-mode-autoloads multiple-cursors-autoloads
nginx-mode-autoloads notmuch-autoloads org-noter-autoloads
orgalist-autoloads ox-json-autoloads pandoc-mode-autoloads
hydra-autoloads lv-autoloads paredit-autoloads parseedn-autoloads
parseclj-autoloads pdf-tools-autoloads dash-autoloads po-mode-autoloads
popwin-autoloads warnings relint-autoloads restclient-autoloads
rg-autoloads s-autoloads sesman-autoloads tablist-autoloads
taxy-magit-section-autoloads taxy-autoloads magit-section-autoloads
llama-autoloads transient-autoloads txl-autoloads
guess-language-autoloads request-autoloads use-package-autoloads
bind-key-autoloads varuga-autoloads vterm-autoloads web-mode-autoloads
wgrep-autoloads which-key-autoloads info with-editor-autoloads
xr-autoloads yasnippet-autoloads package browse-url xdg url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs icons password-cache json
subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib
rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt
fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode
register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
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 emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar
make-network-process tty-child-frames native-compile emacs)

Memory information:
((conses 16 3611857 536322) (symbols 48 113233 45)
 (strings 32 1093966 148111) (string-bytes 1 38051469)
 (vectors 16 319894) (vector-slots 8 4352010 963665)
 (floats 8 4560 13360) (intervals 56 217767 5934) (buffers 1064 100))

-- 
 Bastien




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Bastien Guerry <bzg@HIDDEN>
Subject: bug#78474: Acknowledgement (31.0.50; Wrong char insertion in rxvt)
Message-ID: <handler.78474.B.174752255528674.ack <at> debbugs.gnu.org>
References: <87wmaeonmu.fsf@HIDDEN>
X-Gnu-PR-Message: ack 78474
X-Gnu-PR-Package: emacs
Reply-To: 78474 <at> debbugs.gnu.org
Date: Sat, 17 May 2025 22:56:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 78474 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
78474: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78474
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 18 May 2025 05:15:02 +0000
Resent-Message-ID: <handler.78474.B78474.174754525228271 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Bastien Guerry <bzg@HIDDEN>
Cc: 78474 <at> debbugs.gnu.org, samuel.thibault@HIDDEN, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.174754525228271
          (code B ref 78474); Sun, 18 May 2025 05:15:02 +0000
Received: (at 78474) by debbugs.gnu.org; 18 May 2025 05:14:12 +0000
Received: from localhost ([127.0.0.1]:53894 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uGWLk-0007Lu-0f
	for submit <at> debbugs.gnu.org; Sun, 18 May 2025 01:14:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60394)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uGWLg-0007Le-VT
 for 78474 <at> debbugs.gnu.org; Sun, 18 May 2025 01:14:09 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1uGWLa-0005rH-1l; Sun, 18 May 2025 01:14:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=n2rY8t91AQROeNbMlASkdazB5rh/LF+74Ihv1ZxdYxo=; b=OXvQHzltfuX27Fb+kWTD
 9jSxaW9qm9ePsRG6OkMiqjLBu8QEQUqmpUMHTf6CbjHnxl5+lUk3NpTeEA+NsXScIqTsgM9Xi+X0b
 9LFgJw0IK+8c41QhaNG+/QqHyxfjDLGFnaF7mKkwbXM50TXB7key/2NM6v2C9L30ACG96zBynvOB5
 zDYVBQGEYJQOFpfClmqXUuVy2OoEVBGl5BIINwsFMns2RccGeeXvY0h6dNX7mYcDcN/ywQCmD/7Hj
 4oZRBjZ0/wd/Dd3KxglEv7sVLd33niG2xEpPWY6kVbZIPzEBZrFAmh1n3EvSQNENH0kf5Nlf8EXZv
 IZBQr83+JVo8eA==;
Date: Sun, 18 May 2025 08:13:58 +0300
Message-Id: <864ixiv6uh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87wmaeonmu.fsf@HIDDEN> (message from Bastien Guerry on Sun, 18
 May 2025 00:53:13 +0200)
References: <87wmaeonmu.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: Sébastien Hinderer <Sebastien.Hinderer@HIDDEN>,
>  Samuel Thibault <samuel.thibault@HIDDEN>
> From: Bastien Guerry <bzg@HIDDEN>
> Date: Sun, 18 May 2025 00:53:13 +0200
> 
> 
> With Emacs >= 24 in rxvt (not urxvt), steps to reproduce:
> 
> 1. find a new buffer and write "Coucou"
> 2. hit SPC
> 3. see the space inserted: it is too large.
> 
> https://dept-info.labri.fr/~thibault/tmp/coucou.png illustrates the bug.
> 
> Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
> (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> 
> This char insertion problem confuses assistive technologies for the
> visually impaired.
> 
> Sebastien reported this problem and both Samuel and Sebastien might help
> with further information on how to reproduce this, if needed.

Emacs has code to estimate the cost of the various ways of getting the
same effect on a text-only terminal and choose the least expensive
one, see cm.c.  If some of the calculations there need to be augmented
to avoid confusing the technologies you mention, someone who knows
about those technologies should study the code and tell us how to
modify the calculations.  Then we could have those modifications
either optional (subject to some user option), or even unconditional.

If Sébastien or Samuel (or someone else) can help us understand how to
modify the cost calculations and/or what optimizations of cursor
motion to avoid when these technologies for the visually impaired are
used, we could see how to fix this.

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 18 May 2025 08:02:02 +0000
Resent-Message-ID: <handler.78474.B78474.17475552893871 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Bastien Guerry <bzg@HIDDEN>, 78474 <at> debbugs.gnu.org, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17475552893871
          (code B ref 78474); Sun, 18 May 2025 08:02:02 +0000
Received: (at 78474) by debbugs.gnu.org; 18 May 2025 08:01:29 +0000
Received: from localhost ([127.0.0.1]:54941 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uGYxd-00010K-7m
	for submit <at> debbugs.gnu.org; Sun, 18 May 2025 04:01:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46818)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1uGYxa-0000zv-Ko
 for 78474 <at> debbugs.gnu.org; Sun, 18 May 2025 04:01:27 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1uGYxU-0007Ik-2G; Sun, 18 May 2025 04:01:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=1C1dgfKyClqK6EthJg0yViAXLZXpQfKehgk7KuOy23A=; b=sWMmJ8UJXQVJbl1o9R3n
 BAEFeU8LJR391+8fGg73RkqCs2STqEQOrQltJIB/VyM1BXV5azaEr5B+tFbPDKbo3xYRhwqlMrm93
 LUYKJVsnAnQ5vE4t5yVyC81wOgMgqXYPSmsl18z6fEO9J2LGKCPYtc12goRFdL9Jk2zdX5/BJLxIz
 RzkjDY5pjmjVETOQigqQJUdT8voYcFmfzbnQTPXNpzcW3rrQx6IABX0O0UhNV4vPE+JHsHI5LcQKv
 jm5/2kidoGzn3GwdiQtL4bh4eVKbrf1O+0xBGFzerbZ1wFUDlk9HVFnKPZrMTKQMNR1fXq/e9WGmW
 eXmYB5I70d76GA==;
Date: Sun, 18 May 2025 10:01:17 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aCmTzRHXl_yVj4SO@begin>
References: <87wmaeonmu.fsf@HIDDEN>
 <864ixiv6uh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <864ixiv6uh.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

Eli Zaretskii, le dim. 18 mai 2025 08:13:58 +0300, a ecrit:
> > Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
> > (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> 
> If Sébastien or Samuel (or someone else) can help us understand how to
> modify the cost calculations and/or what optimizations of cursor
> motion to avoid when these technologies for the visually impaired are
> used, we could see how to fix this.

That is exactly what is written above.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 18 May 2025 08:06:01 +0000
Resent-Message-ID: <handler.78474.B78474.17475555614881 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17475555614881
          (code B ref 78474); Sun, 18 May 2025 08:06:01 +0000
Received: (at 78474) by debbugs.gnu.org; 18 May 2025 08:06:01 +0000
Received: from localhost ([127.0.0.1]:54955 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uGZ20-0001Ge-Rs
	for submit <at> debbugs.gnu.org; Sun, 18 May 2025 04:06:01 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46180)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uGZ1y-0001G5-88
 for 78474 <at> debbugs.gnu.org; Sun, 18 May 2025 04:05:59 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1uGZ1s-00088t-Jt; Sun, 18 May 2025 04:05:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=bm5ErhylHmB2hQtAvZ6RykWwbl6MRCLaW64v3T4h21k=; b=G53X8DdlpE0rPnjHsQK5
 UtuX5xWLuTNJ6zCM+rt9J6Zu6xulYXOQOAs7scvwZ+wF1Re/GDZyzMjjpAFFAKw8YWwi/3oGnw6jm
 af6K30L9gsBzJiS7fwJSYQvwQRbbM1XQLHeljwQreze30HqWRyzbB3P13RTnErSX76GXxanusf5p3
 MYnOvKs5htMWJusDSA7an7JuPU8N40jAcohiFeOTmanN+UV6IfjB4hh14jAbo0VSiI4StEgdo0YIa
 ucvlKE/DjI/qka/u8uUJQSeouqFySBXjIQ1e6sGu/HP6pQh6PYD2i1f7+oWRooPc5ASV5pAL38vsz
 U2voiHfQYKYToQ==;
Date: Sun, 18 May 2025 11:05:49 +0300
Message-Id: <86o6vqtkbm.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aCmTzRHXl_yVj4SO@begin> (message from Samuel Thibault on Sun, 18
 May 2025 10:01:17 +0200)
References: <87wmaeonmu.fsf@HIDDEN>
 <864ixiv6uh.fsf@HIDDEN> <aCmTzRHXl_yVj4SO@begin>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sun, 18 May 2025 10:01:17 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Bastien Guerry <bzg@HIDDEN>, 78474 <at> debbugs.gnu.org,
> 	Sebastien.Hinderer@HIDDEN
> 
> Hello,
> 
> Eli Zaretskii, le dim. 18 mai 2025 08:13:58 +0300, a ecrit:
> > > Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
> > > (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> > 
> > If Sébastien or Samuel (or someone else) can help us understand how to
> > modify the cost calculations and/or what optimizations of cursor
> > motion to avoid when these technologies for the visually impaired are
> > used, we could see how to fix this.
> 
> That is exactly what is written above.

Sorry, I don't understand: what is written above?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 18 May 2025 08:31:02 +0000
Resent-Message-ID: <handler.78474.B78474.174755701911643 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.174755701911643
          (code B ref 78474); Sun, 18 May 2025 08:31:02 +0000
Received: (at 78474) by debbugs.gnu.org; 18 May 2025 08:30:19 +0000
Received: from localhost ([127.0.0.1]:55327 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uGZPX-00031j-Bc
	for submit <at> debbugs.gnu.org; Sun, 18 May 2025 04:30:19 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39450)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1uGZPU-00031R-HX
 for 78474 <at> debbugs.gnu.org; Sun, 18 May 2025 04:30:16 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1uGZPO-0003ru-4d; Sun, 18 May 2025 04:30:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=w0v2BHA7IEWtnDvQqd5obZ2CHiwFhEhHAXOjEmoNsDk=; b=XSSJQgyZjj7FJ0xp1CQI
 /Glbd+RAb1VNbkQOzpeuMcynJm0O5uLGkS+23PxzrvflbhniOsUbp8RB3bYiO3wQ++q/KIT/SXPsu
 Zl+WlprX9e9a7DucCZyXEQXzgJ1VMtBAf/h6woqeY8ZPEI8G37ra7YC13Kg2tpexAUF69P0dZ7WsP
 yDaKyRGoZqfZU0uiSLzmPqMFMSEYM9ttGoA3+KEMIBI6NSXi6FJ1PuKjDhOqk5VDTFlYyj+cKn2aD
 jm7tZ+9xVRQqp6NJMyN7jSg/qD/X2oNtHriDeogbTgA1mVGySVgGfl3LhXb0zvY6JJZ7niA6V9M0j
 tQ30cTYWLeA1uw==;
Date: Sun, 18 May 2025 10:30:01 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aCmaiVtyRDLIj74V@begin>
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <86o6vqtkbm.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le dim. 18 mai 2025 11:05:49 +0300, a ecrit:
> > Eli Zaretskii, le dim. 18 mai 2025 08:13:58 +0300, a ecrit:
> > > > Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
> > > > (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> > > 
> > > If Sébastien or Samuel (or someone else) can help us understand how to
> > > modify the cost calculations and/or what optimizations of cursor
> > > motion to avoid when these technologies for the visually impaired are
> > > used, we could see how to fix this.
> > 
> > That is exactly what is written above.
> 
> Sorry, I don't understand: what is written above?

?

"Emacs, instead of sending a rightward cursor movement
(\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"

that is the optimization that disturbs some terminals such as rxvt or
vte.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Bastien Guerry <bzg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 18 May 2025 08:58:02 +0000
Resent-Message-ID: <handler.78474.B78474.174755864617367 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.174755864617367
          (code B ref 78474); Sun, 18 May 2025 08:58:02 +0000
Received: (at 78474) by debbugs.gnu.org; 18 May 2025 08:57:26 +0000
Received: from localhost ([127.0.0.1]:55430 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uGZpm-0004W2-Ge
	for submit <at> debbugs.gnu.org; Sun, 18 May 2025 04:57:26 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58674)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <bzg@HIDDEN>) id 1uGZpk-0004Vj-HZ
 for 78474 <at> debbugs.gnu.org; Sun, 18 May 2025 04:57:24 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bzg@HIDDEN>)
 id 1uGZpe-00073E-2P; Sun, 18 May 2025 04:57:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=3B42/HFegqUYDg9I35orrTpDMUSrzP1uhZJnJbAwCFQ=; b=XZi7evM5HmYuRLMVsyWT
 5yit1E/mOgIDdiYSvbJpOpvLHRtxMxBosHzEhemi04b521EkEdMfB4jf8gjZGInXYXJuqAbIg3hzO
 f06p/JO2Nm7BV7fUJ/N9BWjaj+6gu9FtnVYD+qxsOAgkfIZsQMfrHuCA5lf7158UDPaSQmhFghuD9
 qvs4exNCTit3IjavxeM7B8w09lur/ATYdYtfXjQSXTuw0L2XSa8lxnC02xs51djD0UAfaOmVugEl7
 zfSQ/EilPLmv6FKqzru8RRA8aJcEXixpylI42v8Z8Ottyb7isi5Y9n044bYRmcnY35+WbkfV6povG
 P/Bqmzk8yzT9Sg==;
From: Bastien Guerry <bzg@HIDDEN>
In-Reply-To: <aCmaiVtyRDLIj74V@begin>
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin>
Date: Sun, 18 May 2025 10:54:50 +0200
Message-ID: <87zffauwmd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Samuel Thibault <samuel.thibault@HIDDEN> writes:

> "Emacs, instead of sending a rightward cursor movement
> (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"

I'd describe it as the result of the "optimization" rather than the
optimization itself...

Line 90 of cm.c, there is this if clause that leads to a comment:

	if (tty->Wcm->cm_magicwrap)
	    ;			/* "limbo" */

I guess rxvt and vte implement a variant of magicwrap that is not
handled by addcol, which leaves the cursor in "limbo" state.

Maybe Samuel you can give details on how rxvt vte handle auto/magic
wrapping and, perhaps, how addcol should be fixed?

I don't see any interaction between addcol and evalcost but I might
be wrong.

-- 
 Bastien




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 18 May 2025 09:19:01 +0000
Resent-Message-ID: <handler.78474.B78474.174755992322155 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.174755992322155
          (code B ref 78474); Sun, 18 May 2025 09:19:01 +0000
Received: (at 78474) by debbugs.gnu.org; 18 May 2025 09:18:43 +0000
Received: from localhost ([127.0.0.1]:55526 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uGaAN-0005lH-9j
	for submit <at> debbugs.gnu.org; Sun, 18 May 2025 05:18:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35230)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uGaAK-0005kx-4i
 for 78474 <at> debbugs.gnu.org; Sun, 18 May 2025 05:18:40 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1uGaAE-0001kI-Ft; Sun, 18 May 2025 05:18:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=Gndv77X7rNhgK5iT9HvJPT3k84YJrWOLG+w++97kdQw=; b=S633iMef5L+cZL69hJ4+
 bYe1LpydT1pChYn81qJnWJe9JWoqTW8xHFZ1M+nN73jFKtvM2CamTvrQQdr6XMI4Ge0KsgvQBFyPi
 9ADK59X0gFLeoDTj8a06f7y4Wr9mqCt7/yjr3pzpypo3qPyjuJhRY2kBeL/Q0FGF2iwkkM4DXwjNP
 HPcFjh/QdvIlLfFz+nNd8uaBcslqYMZpHrWRg+p0i2HbWYEmd/mNKIHJmp7W+TC2pDp9EsqeO9bhk
 p8LqFBuqmsPmwIjap+zZu6RNZ2YPMerAaGVqM4IHggyQ9g8s09IpCe5pzk8Vf16jtugd8X2IWhYpM
 XyoZZuIeeqQIkQ==;
Date: Sun, 18 May 2025 12:18:32 +0300
Message-Id: <86ldqutgyf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aCmaiVtyRDLIj74V@begin> (message from Samuel Thibault on Sun, 18
 May 2025 10:30:01 +0200)
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin>
 <86o6vqtkbm.fsf@HIDDEN> <aCmaiVtyRDLIj74V@begin>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sun, 18 May 2025 10:30:01 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Sebastien.Hinderer@HIDDEN
> 
> Eli Zaretskii, le dim. 18 mai 2025 11:05:49 +0300, a ecrit:
> > > Eli Zaretskii, le dim. 18 mai 2025 08:13:58 +0300, a ecrit:
> > > > > Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
> > > > > (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> > > > 
> > > > If Sébastien or Samuel (or someone else) can help us understand how to
> > > > modify the cost calculations and/or what optimizations of cursor
> > > > motion to avoid when these technologies for the visually impaired are
> > > > used, we could see how to fix this.
> > > 
> > > That is exactly what is written above.
> > 
> > Sorry, I don't understand: what is written above?
> 
> ?
> 
> "Emacs, instead of sending a rightward cursor movement
> (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> 
> that is the optimization that disturbs some terminals such as rxvt or
> vte.

Yes, but what does that mean in general?  Should Emacs refrain from
sending TAB in all the cases?  Are there other characters that should
not be sent for similar reasons?

To modify the code, it is not enough to understand what should be done
in this specific case, we need to better understand the problem and
its various aspects, in order to be able to translate that into code
changes.

Also, I'm a bit confused: you say that sending \009\008 disturbs rxvt
or vte, but the original report seemed to be not about what the
terminals do, but about what that causes to the various software
solutions for the visually impaired.  Can you please tell more about
this to resolve the confusion?

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 18 May 2025 09:27:02 +0000
Resent-Message-ID: <handler.78474.B78474.174756037423970 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Bastien Guerry <bzg@HIDDEN>
Cc: 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.174756037423970
          (code B ref 78474); Sun, 18 May 2025 09:27:02 +0000
Received: (at 78474) by debbugs.gnu.org; 18 May 2025 09:26:14 +0000
Received: from localhost ([127.0.0.1]:55555 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uGaHe-0006EY-GW
	for submit <at> debbugs.gnu.org; Sun, 18 May 2025 05:26:14 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35684)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1uGaHc-0006ED-4X
 for 78474 <at> debbugs.gnu.org; Sun, 18 May 2025 05:26:12 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1uGaHW-0002dn-7F; Sun, 18 May 2025 05:26:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=JmLjuWX1BR+oz9VMGbgFbOnPD189nCUiM0XfAeee56s=; b=knl3B7qEZmmGBtlBSsFM
 3M9tUv4uZg0bJPQi/A1FkrEyonFc7huBmlIkcZrJjy4BlDaiQWs/Z6YQ8GBTJjP7cvF/ZGEof+T9r
 leojd5RkA3d9UYlxYIUBxkm04YWV+avooQYMaVEAEROKXmM1Z06f3WhKNduT414qjdnsaWdiyEe/A
 RGF4ZOCDUHC+sh6apjyWNUdP8teKXkgkAWvQ93pQdj6rWNToKntRpFB/KEI3ke3EApXBiKton1IZY
 5nljyRzOI5M6cLiA78TRxq74LZAZUGKyB7LSrCOYaMHcbViRBkzJbZOJJXXqmg84W/nvfejmgYpv2
 M+L1ApxTfo+Uow==;
Date: Sun, 18 May 2025 11:26:03 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aCmnq2wJ7BwB4BZq@begin>
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin> <87zffauwmd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87zffauwmd.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

Bastien Guerry, le dim. 18 mai 2025 10:54:50 +0200, a ecrit:
> Samuel Thibault <samuel.thibault@HIDDEN> writes:
> 
> > "Emacs, instead of sending a rightward cursor movement
> > (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> 
> I'd describe it as the result of the "optimization" rather than the
> optimization itself...
> 
> Line 90 of cm.c, there is this if clause that leads to a comment:
> 
> 	if (tty->Wcm->cm_magicwrap)
> 	    ;			/* "limbo" */

But this is only about the end of a line? We are not talking about the
end of a line here.

That said, that pointed me to the optimization code in calccost, which
looks at tty->Wcm->cm_usetabs to determine whether to use tabs or not,
which is set from tabs_safe_p and TabWidth. Apparently, using 

stty -tabs

does avoid the issue, by making rxvt & vte switch to destructive tabs,
which emacs then knows to avoid just for moving the cursor.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 18 May 2025 09:34:01 +0000
Resent-Message-ID: <handler.78474.B78474.174756079225417 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.174756079225417
          (code B ref 78474); Sun, 18 May 2025 09:34:01 +0000
Received: (at 78474) by debbugs.gnu.org; 18 May 2025 09:33:12 +0000
Received: from localhost ([127.0.0.1]:55575 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uGaON-0006bs-KV
	for submit <at> debbugs.gnu.org; Sun, 18 May 2025 05:33:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41912)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1uGaOK-0006bb-18
 for 78474 <at> debbugs.gnu.org; Sun, 18 May 2025 05:33:09 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1uGaOE-0003LP-89; Sun, 18 May 2025 05:33:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=OYKIfJGXcnzpyBW3GK+Ai+8Qa5h5MiwRhJcdEZUm9WM=; b=ldKZgyiqJ6aYuvMPrG+i
 nyI61ri1WpmZzfYMenos7tITzirh15eEvJlDnO6ntbxBbhIIvZxPXpbsPQE8EOib78vydlwhAUjub
 OjGELNlO9Isl+3MUTaKHd3VBnecJ7zp+QPNDrLpAPbx2N1EIkBsGngTHmw0l3sPf58d/GU7z4wKrh
 R6wqWFyqcFDG56p8Xpe+FCp4UIuarWiDQ5uce7SRfO0B95YpNntmzXghJSdoXYo0Xjyl9cHWsye5F
 cy68lH9ksj5SkdqaLABJ3ql9cO3DnTx7WhsKT6TftUmI5ZsWFmvaFLgRocq0xUHPihW7hQOcwv4nu
 0W9S1ftdszSk/g==;
Date: Sun, 18 May 2025 11:33:00 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aCmpTPkiT6qphNUW@begin>
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <86ldqutgyf.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le dim. 18 mai 2025 12:18:32 +0300, a ecrit:
> > Date: Sun, 18 May 2025 10:30:01 +0200
> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Sebastien.Hinderer@HIDDEN
> > 
> > Eli Zaretskii, le dim. 18 mai 2025 11:05:49 +0300, a ecrit:
> > > > Eli Zaretskii, le dim. 18 mai 2025 08:13:58 +0300, a ecrit:
> > > > > > Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
> > > > > > (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> > > > > 
> > > > > If Sébastien or Samuel (or someone else) can help us understand how to
> > > > > modify the cost calculations and/or what optimizations of cursor
> > > > > motion to avoid when these technologies for the visually impaired are
> > > > > used, we could see how to fix this.
> > > > 
> > > > That is exactly what is written above.
> > > 
> > > Sorry, I don't understand: what is written above?
> > 
> > ?
> > 
> > "Emacs, instead of sending a rightward cursor movement
> > (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> > 
> > that is the optimization that disturbs some terminals such as rxvt or
> > vte.
> 
> Yes, but what does that mean in general?  Should Emacs refrain from
> sending TAB in all the cases?

At least, having an option to avoid this optimization would be useful.

> Are there other characters that should not be sent for similar
> reasons?

I'm not aware of any other character movement sequence that would be
confused with text addition.

> Also, I'm a bit confused: you say that sending \009\008 disturbs rxvt
> or vte, but the original report seemed to be not about what the
> terminals do, but about what that causes to the various software
> solutions for the visually impaired.  Can you please tell more about
> this to resolve the confusion?

The eventual issue is that what when typing "coucou " in emacs, what
ends up sent by emacs to vte is "coucou\x09\x08", and what vte exposes
to accessibility technologies is "coucou\t", and it is then unable to
expose to them that the cursor position is in the middle of that "\t".

And it happens that rxvt gets a similar confusion, leading to that wide
cursor appearance
https://dept-info.labri.fr/~thibault/tmp/coucou.png

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 18 May 2025 09:40:02 +0000
Resent-Message-ID: <handler.78474.B78474.174756119326788 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Bastien Guerry <bzg@HIDDEN>
Cc: 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, Samuel Thibault <samuel.thibault@HIDDEN>, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.174756119326788
          (code B ref 78474); Sun, 18 May 2025 09:40:02 +0000
Received: (at 78474) by debbugs.gnu.org; 18 May 2025 09:39:53 +0000
Received: from localhost ([127.0.0.1]:55593 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uGaUr-0006xz-IR
	for submit <at> debbugs.gnu.org; Sun, 18 May 2025 05:39:53 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:49737)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <whitebox@HIDDEN>)
 id 1uGaUp-0006xi-AE
 for 78474 <at> debbugs.gnu.org; Sun, 18 May 2025 05:39:51 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4b0bPx2HTrz1sG88;
 Sun, 18 May 2025 11:39:49 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.68])
 by mail.m-online.net (Postfix) with ESMTP id 4b0bPx02X2z1qqlS;
 Sun, 18 May 2025 11:39:48 +0200 (CEST)
X-Virus-Scanned: amavis at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024)
 with ESMTP id l2KKRM7VgD-N; Sun, 18 May 2025 11:39:40 +0200 (CEST)
X-Auth-Info: Bly8HAVqRjQWTzkKeuO8DX/Z7PQ4MD0lbW2pXgoIbJUtLpi/rbyuHc9B0EcCzGAo
Received: from tiger (aftr-82-135-83-178.dynamic.mnet-online.de
 [82.135.83.178])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun, 18 May 2025 11:39:40 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
In-Reply-To: <87zffauwmd.fsf@HIDDEN> (Bastien Guerry's message of "Sun, 18
 May 2025 10:54:50 +0200")
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin> <87zffauwmd.fsf@HIDDEN>
X-Yow: After THIS, let's go to PHILADELPHIA and have TRIPLETS!!
Date: Sun, 18 May 2025 11:39:39 +0200
Message-ID: <87a57a2r6s.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Mai 18 2025, Bastien Guerry wrote:

> Line 90 of cm.c, there is this if clause that leads to a comment:

That line is inside a #if 0 block.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Bastien Guerry <bzg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Jul 2025 15:24:01 +0000
Resent-Message-ID: <handler.78474.B78474.175224742615999 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175224742615999
          (code B ref 78474); Fri, 11 Jul 2025 15:24:01 +0000
Received: (at 78474) by debbugs.gnu.org; 11 Jul 2025 15:23:46 +0000
Received: from localhost ([127.0.0.1]:38602 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uaFbG-00049y-7e
	for submit <at> debbugs.gnu.org; Fri, 11 Jul 2025 11:23:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34672)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <bzg@HIDDEN>) id 1uaFbB-00049Q-Aq
 for 78474 <at> debbugs.gnu.org; Fri, 11 Jul 2025 11:23:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bzg@HIDDEN>)
 id 1uaFb4-0004we-BC; Fri, 11 Jul 2025 11:23:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=v49NIrvGZklbB71/LRH3s1gnAaJuPQLcihNpMK2uB4E=; b=LhA05g/xYOBfvQdlkUvN
 GgyyyiFP+V3LaeN8G4J7eBEdcdSs+pvR9yPY24zBFF6CuJp++2iBT5/fnvrbAefhdKqgucUGB5b+L
 2xMUtPkmNArietgIBbkDSsJWO78NC2NDOhNlht8oQdxub1VGFJd3RVT8OOubtX7Ifae3YwhGKBX1U
 AtYvVZ0My43fAqYQk6KDVgBamScKoZagI4C04eoz1OgrcfP6Lbxjiq+1zQVv7zrJxFI1fA0oE7/Sn
 gNOKJBS9Xko4rdw90Uw9cJNqaEpf21HunzILoiXulmAX4ebd4t+ajz4CIyFFmYchntKty3vZluWNC
 aWaqYvo66BagDg==;
From: Bastien Guerry <bzg@HIDDEN>
In-Reply-To: <aCmpTPkiT6qphNUW@begin>
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin>
Date: Fri, 11 Jul 2025 17:20:52 +0200
Message-ID: <87ecumg3e3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Is there anyone working on this?

It's beyond my skills, but I'd hate to see this bug closed due to lack
of activity/interest.  Let me know if I can help somehow.

-- 
 Bastien Guerry




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Jul 2025 17:33:01 +0000
Resent-Message-ID: <handler.78474.B78474.175225517422854 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Bastien Guerry <bzg@HIDDEN>
Cc: 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, Samuel Thibault <samuel.thibault@HIDDEN>, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175225517422854
          (code B ref 78474); Fri, 11 Jul 2025 17:33:01 +0000
Received: (at 78474) by debbugs.gnu.org; 11 Jul 2025 17:32:54 +0000
Received: from localhost ([127.0.0.1]:39319 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uaHcD-0005wW-U0
	for submit <at> debbugs.gnu.org; Fri, 11 Jul 2025 13:32:54 -0400
Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:51628)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1uaHcA-0005w7-O8
 for 78474 <at> debbugs.gnu.org; Fri, 11 Jul 2025 13:32:52 -0400
Received: by mail-wm1-x330.google.com with SMTP id
 5b1f17b1804b1-4550709f2c1so6307885e9.3
 for <78474 <at> debbugs.gnu.org>; Fri, 11 Jul 2025 10:32:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1752255164; x=1752859964; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=zZVFo971gUcjVKFtqrD9gf97Z0v/Iy59L7WZuBMHyZs=;
 b=QOnKU3JFqIKKkUa/2KBTTUBTZCnCA6DizSOn80TWcQsmoC/cqBK+7pa4yF9Kxs/e4l
 QLbUDnisgw33wSgrQmtDFEkSpc1gwoIB3lvLepqVW0mWu9he2tdAssNpzB8Lrt2Gyu05
 PBy7lJ+ibZAQf+3Mlr5rsSGuyadAFhuaSPC/QyYsy0SEpgFdCVI1nJ9ONcm7y9LJIk7y
 U+e3FPiu3zV7cD4n/kL3mHRn6D+MRFiXSudiULI1vRdBcZnBFv062en9sAV/fK8zcFfT
 uUupGycB9qMXewZDMR6U0Wehiy4CDSwVQ/2o6mwXzcXiOgFRgfrrC0PN3Ft3qotzWCjV
 BarQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1752255164; x=1752859964;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=zZVFo971gUcjVKFtqrD9gf97Z0v/Iy59L7WZuBMHyZs=;
 b=snp5aRABFKzux7i/Hak8A8xa8GDvJQkjykmYRGZyR4QZZvO/jdXhpLwC3wbJloV0lU
 eMXQJN8PY8moVXLKiIlMTYjFdp7u1nyD553QoOZ4oqtZk0Ud5C3lo6K8FpizVlGZ3lpi
 ss7SLYEkMlxV4Uk5tP2L1ylJMv6G1WbN3UqjFu3iXSGkfu1XdPdX1Ujpw1Os+L7NAhJq
 zpO6Mv/n9xZXkoM0K3UEOx0MpNQj5YozDTM6d79Q9Z+LZlhFHVCP8GODV2G4/wcwrAQA
 O+wFh8UFzd18aPylz9PlkpD3hn0ZV10xB2vcxzvmfK5aGmuGTCjdMfhVHezgPbL99uz5
 ZdSQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCV/nAbewwZElcJJiQBPUNFt2r+FF8DzCtXQxRBR8QgJflX5tScDm2inGUAfgbHHkTgB6VoulA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YybuJLmHuYQpZwmxknkGAy9VpLLXc2vy0uUXyUhbzEQIAr8sf0l
 LUljXmExSRXuVXh2Im0IwZ4zO4SsVDP9/NXpfJo97sXMPPicVoSRlKJn
X-Gm-Gg: ASbGnctlpeQ9/hiufxmgWcqiToZR4GWRxxzjE/4MZSdWM3a8TEoEdlG22PxBOD8tQea
 k6/vCaCQ7Wv4HKst7ImHRSmji8BDafetQcncQTrwXth8pRH11B4INSpMZiZGs7yPUOFQexlMpOz
 vkPlU0Sdwm7h37lUjwVnCaAlrv2ToQfUdJEsDc3cZWritwVP9l04WOOmFUK68vADEYQMF3s08GL
 sr3FLHnK4dHbEvSn89eWzMl3EePGxqDhxT0EOtSW1+ytYZUPiQq5jemjEYyjJ4IO8S3ImsF0+N1
 nML+OXdOv5jKSkEzXp1QWR3kwwA68n7RRcRTL4bcC9tv84X2qYOfyM3G9QcI0A1dbciYD06naVy
 PWZoHy6MkFA==
X-Google-Smtp-Source: AGHT+IHFrCLbI/JzQGpDTUhqFEbP9Oz44fksc4JILeWb7sazkA4KCRb03QCBArf0AmsBvm3ERD53og==
X-Received: by 2002:a05:600c:c103:b0:445:49e:796b with SMTP id
 5b1f17b1804b1-455bd87aa3bmr29309365e9.17.1752255164067; 
 Fri, 11 Jul 2025 10:32:44 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb51:2b9c:f3bc:ba70:8486])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3b5e8dc3a54sm5109047f8f.39.2025.07.11.10.32.43
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 11 Jul 2025 10:32:43 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87ecumg3e3.fsf@HIDDEN>
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin> <87ecumg3e3.fsf@HIDDEN>
Date: Fri, 11 Jul 2025 19:32:43 +0200
Message-ID: <87jz4efxac.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Fri, 11 Jul 2025 17:20:52 +0200, Bastien Guerry <bzg@HIDDEN> said:

    Bastien> Is there anyone working on this?
    Bastien> It's beyond my skills, but I'd hate to see this bug closed due to lack
    Bastien> of activity/interest.  Let me know if I can help somehow.

I can take a look at it. Eli, a clue as to where this optimization
happens in the redisplay code?

Robert
-- 




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Jul 2025 18:58:02 +0000
Resent-Message-ID: <handler.78474.B78474.175226026116313 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Bastien Guerry <bzg@HIDDEN>
Cc: 78474 <at> debbugs.gnu.org, samuel.thibault@HIDDEN, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175226026116313
          (code B ref 78474); Fri, 11 Jul 2025 18:58:02 +0000
Received: (at 78474) by debbugs.gnu.org; 11 Jul 2025 18:57:41 +0000
Received: from localhost ([127.0.0.1]:39867 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uaIwG-0004F2-Nb
	for submit <at> debbugs.gnu.org; Fri, 11 Jul 2025 14:57:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51988)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uaIwE-0004Ef-77
 for 78474 <at> debbugs.gnu.org; Fri, 11 Jul 2025 14:57:39 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1uaIw7-0005VF-1Y; Fri, 11 Jul 2025 14:57:31 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=CQcgHKGG2VxrnB3ginzQLgn5wIbbhRrWhON8MUQ066M=; b=OPjDJNmCwMB9
 rKYaJNUEzcPjXD//Z8YzftriBHLL7dEDoGPqiTOG1K8usJUClEo8Lk0h6zaMU7HPzKfWPerWru5UF
 0etf3/l3+6007HgagXHHQzGr5aLvB6znNlqQv7m+MkJJVX+dSdlOTH6Xmkwv09dLKEm6LLwdztJdF
 /Nxe+7hjxrZ1/RlRLUBAgH/WyGZl3MdrNvRQj3tHUfAbPsE6TOsD2/J3/EmJsdTfF/qDe7emVyQ1A
 ofdkm0WW+VcHwP9/96a+JsxAzz64zolSDGQ8mNxw6v4qXwDNEoTU7qbfgYsuL5t704aKKsUR9yoxp
 9lhsb7JXmsgPrsdzdLsjbQ==;
Date: Fri, 11 Jul 2025 21:57:26 +0300
Message-Id: <864ivih7xl.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87ecumg3e3.fsf@HIDDEN> (message from Bastien Guerry on Fri, 11
 Jul 2025 17:20:52 +0200)
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin> <87ecumg3e3.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Bastien Guerry <bzg@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  78474 <at> debbugs.gnu.org,
>   Sebastien.Hinderer@HIDDEN
> Date: Fri, 11 Jul 2025 17:20:52 +0200
> 
> Is there anyone working on this?
> 
> It's beyond my skills, but I'd hate to see this bug closed due to lack
> of activity/interest.  Let me know if I can help somehow.

Sorry, there's not enough useful information in this discussion to
make any progress.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Jul 2025 19:08:02 +0000
Resent-Message-ID: <handler.78474.B78474.175226082719513 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, samuel.thibault@HIDDEN, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175226082719513
          (code B ref 78474); Fri, 11 Jul 2025 19:08:02 +0000
Received: (at 78474) by debbugs.gnu.org; 11 Jul 2025 19:07:07 +0000
Received: from localhost ([127.0.0.1]:39927 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uaJ5P-00054e-0s
	for submit <at> debbugs.gnu.org; Fri, 11 Jul 2025 15:07:07 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40890)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uaJ5M-00053n-QH
 for 78474 <at> debbugs.gnu.org; Fri, 11 Jul 2025 15:07:05 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1uaJ5E-0007cf-Sg; Fri, 11 Jul 2025 15:06:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=2jHibi1uvRpAlCMKlI7n4BEv8A9vsS3Jk3GMagxExlg=; b=P1zTuTi8zSY4
 FeDFALs2/mzvkeYgScTM+ZmVaUVkqve5mhKiTVwguF42U8Au7ykfH47b6cFqGEwhGcmcwJzh4GiAG
 /tula7q3X/uXyVUB/3FO01Y0Z5LzrnHzy8gm9IQlfUoWEEarLOijQ11jFJglhMq/B6CzyGyxubrPn
 3+ZTVEGISen/Idlp9/b72BKQY2yAVC9Xp5X2a2jYSVcSBe2V4n7d7nohok3+MX49fT5tVX/fvXZ6H
 G3GJcqOFHApLP8tyXFZCn6/OomBK3nOuRrTcbrHv2YKB4ih3ueG7DewQ/WFniiKezwyk4B01E0l+N
 4YYdCUT/kTT8x5KLe5yeIQ==;
Date: Fri, 11 Jul 2025 22:06:25 +0300
Message-Id: <86zfdafsy6.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87jz4efxac.fsf@HIDDEN> (message from Robert Pluim on Fri, 11
 Jul 2025 19:32:43 +0200)
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin> <87ecumg3e3.fsf@HIDDEN>
 <87jz4efxac.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Cc: Samuel Thibault <samuel.thibault@HIDDEN>,  78474 <at> debbugs.gnu.org,  Eli
>  Zaretskii <eliz@HIDDEN>,  Sebastien.Hinderer@HIDDEN
> Date: Fri, 11 Jul 2025 19:32:43 +0200
> 
> >>>>> On Fri, 11 Jul 2025 17:20:52 +0200, Bastien Guerry <bzg@HIDDEN> said:
> 
>     Bastien> Is there anyone working on this?
>     Bastien> It's beyond my skills, but I'd hate to see this bug closed due to lack
>     Bastien> of activity/interest.  Let me know if I can help somehow.
> 
> I can take a look at it. Eli, a clue as to where this optimization
> happens in the redisplay code?

I mentioned that up-thread: it's in cm.c.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 16 Jul 2025 15:44:01 +0000
Resent-Message-ID: <handler.78474.B78474.175268064020839 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, samuel.thibault@HIDDEN, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175268064020839
          (code B ref 78474); Wed, 16 Jul 2025 15:44:01 +0000
Received: (at 78474) by debbugs.gnu.org; 16 Jul 2025 15:44:00 +0000
Received: from localhost ([127.0.0.1]:50278 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uc4Ia-0005Q3-8r
	for submit <at> debbugs.gnu.org; Wed, 16 Jul 2025 11:44:00 -0400
Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:48569)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1uc4IW-0005Pc-P5
 for 78474 <at> debbugs.gnu.org; Wed, 16 Jul 2025 11:43:58 -0400
Received: by mail-wr1-x433.google.com with SMTP id
 ffacd0b85a97d-3a54700a46eso4286932f8f.1
 for <78474 <at> debbugs.gnu.org>; Wed, 16 Jul 2025 08:43:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1752680630; x=1753285430; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=dSP/4YnFIo+MxB2wMrL1tCyzXpCBLrXiwh41dgtFa2A=;
 b=fW2yarlKZoPsZWiZOZNdvRkA+k8BDaVDWPXzQoaHMwpvJT3eez9sbQjssTRNzWjcmR
 SRnB66YKxrtnz3P3FNaHvYTLGB8O8aufHabJLMQRp+sYG1MAPCVHJHwxk3IekY/aABvg
 +fYSf19noz6tyq8a6i0b4C5tQWCedoKDK367U4uMqVYzaelCUAcyFikICewvGqu2CoYJ
 GRdl6/+37dTYDk98F6pimSKZqSx2QhTjc57G/QmSp6/o18GgZLtuwNUUBVzRaVfAaxvY
 x45ZJHZVbXrq8PEDQZvUN1CtS3T4GE/9VpIfbuzH2P7zUTG7P7SXbtrMzwb6uoBjUALL
 28aA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1752680630; x=1753285430;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=dSP/4YnFIo+MxB2wMrL1tCyzXpCBLrXiwh41dgtFa2A=;
 b=E80IkfAkGYENfV8sekCDmbsSkP4AQ0a42xW+7fNIVXJaedBi0FtqnDgW0jU8DDnlrb
 m4oP1ZgaK6/epQPlp6eInLoXG2m3suQnbyTxoLmmvS8y0KTOCuw+ZYNZ2yguJj/xKgCX
 POAjdVZ5avFvWuA+099xSSEgyguVvBt2W4MdLpSyZXHuiRjh3oCiHb8DgnNYqVXDpHoj
 0447Elvzxw6Hx61T5Px9Fu2AGFeesjMAffaCJJYgYnw7457PLm4aY54RY9RvhiIV4alk
 LD5/m8REf7waNpUEzotxrzXHj/4Gj50ET9qp8PNcjMdtLQGyIYdQTxSqsDYVMgNm+/xQ
 gwzQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCWUQTwpahlkoJdYSm+vOp34ZMHLc7gE6I2TpD+iqhgiuMGjPdxXeZebYGfJjOtPaDt64kcHCA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YyBdlExxOka3pHrPdqh+0yUavnorIbbGKcklv8G5o/5ovELxkPR
 UafYRdCZgChuqLR5kcpfkUhSUN7HfPMpp+8PiAAHXFKroeeI61+IhO7g
X-Gm-Gg: ASbGncv4nqRatIcu3zgfRJg0aeo7nZAtN3Xwcr7dQGQW1kbRGwotDAVvlUT/SURCkSW
 AHiBzheHIeOpyO6gklcndmDiHI25ezYCTuCb2TdayQHVvPU20zKlNKcrfToyGByxElCg1vHCNXE
 Ts8q86LMvktv9xWZh/YKXrTKVqKAUuB0+JbbbSTODihRrwygCRxCd8NoxRGdJcR8/YIPYBWQyVH
 KX9qRx7DK9VhhhMNlu98l18W153IN3SCBoXVPV9HFRbG6PrTDDJyiWNPiYx6LxTUnNlnVjA1HwM
 fkCVkF8B/gWTMwRIE/7YwM2Bbj18zRwF7aWGloulARcfwY40T4clXs1eYiRW7V64lM9NA82Ml1N
 0zavAKoAL
X-Google-Smtp-Source: AGHT+IHQPVNrzZqvIsxGh8v76/L7MLXHx/NpoRCEOFCVOgT2wx0/91CSnslzu2+DDXarEL7dY2fDtg==
X-Received: by 2002:a05:6000:4402:b0:3a3:621a:d3c5 with SMTP id
 ffacd0b85a97d-3b60dd548f0mr1979103f8f.19.1752680630256; 
 Wed, 16 Jul 2025 08:43:50 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb51:352a:9931:aa5:7fd0])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3b5e8dc3a62sm18048705f8f.40.2025.07.16.08.43.49
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 16 Jul 2025 08:43:49 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <86zfdafsy6.fsf@HIDDEN>
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin> <87ecumg3e3.fsf@HIDDEN>
 <87jz4efxac.fsf@HIDDEN> <86zfdafsy6.fsf@HIDDEN>
Date: Wed, 16 Jul 2025 17:43:49 +0200
Message-ID: <87frewf8ei.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Fri, 11 Jul 2025 22:06:25 +0300, Eli Zaretskii <eliz@HIDDEN> said:

    >> From: Robert Pluim <rpluim@HIDDEN>
    >> Cc: Samuel Thibault <samuel.thibault@HIDDEN>,  78474@HIDDEN=
g,  Eli
    >> Zaretskii <eliz@HIDDEN>,  Sebastien.Hinderer@HIDDEN
    >> Date: Fri, 11 Jul 2025 19:32:43 +0200
    >>=20
    >> >>>>> On Fri, 11 Jul 2025 17:20:52 +0200, Bastien Guerry <bzg@HIDDEN=
g> said:
    >>=20
    Bastien> Is there anyone working on this?
    Bastien> It's beyond my skills, but I'd hate to see this bug closed due=
 to lack
    Bastien> of activity/interest.  Let me know if I can help somehow.
    >>=20
    >> I can take a look at it. Eli, a clue as to where this optimization
    >> happens in the redisplay code?

    Eli> I mentioned that up-thread: it's in cm.c.

Thanks, I=CA=BCd missed that.

cm.c works out the cost of either

- moving past the destination with tabs then moving left
- moving towards the destination with tabs then moving right
- moving right directly to the destination

According to my instrumentation, emitting the 'move right' command
costs 3 times as much as 'emit tab' or 'move left' here, so it=CA=BCs an
optimization that makes sense, especially if the destination is far
away.

So I don=CA=BCt think a generic 'make tabs expensive' is a good idea, but I
guess we could add a user option to disable the use of tabs for motion
on ttys.

Robert
--=20




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 17 Jul 2025 05:32:01 +0000
Resent-Message-ID: <handler.78474.B78474.175273029229570 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, samuel.thibault@HIDDEN, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175273029229570
          (code B ref 78474); Thu, 17 Jul 2025 05:32:01 +0000
Received: (at 78474) by debbugs.gnu.org; 17 Jul 2025 05:31:32 +0000
Received: from localhost ([127.0.0.1]:52429 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ucHDQ-0007gs-1n
	for submit <at> debbugs.gnu.org; Thu, 17 Jul 2025 01:31:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36754)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ucHDO-0007gN-3P
 for 78474 <at> debbugs.gnu.org; Thu, 17 Jul 2025 01:31:30 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ucHDG-0000Mu-I2; Thu, 17 Jul 2025 01:31:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=jlqY8E+Zc7+leKe0j5mD44//Xcr4CcPAtyYsvp1VdiY=; b=jOVUQ/VYxavNQxAezIWB
 neY2i8mv0f6H467mrJwS/S7s0JcBVGGjo/72vUX0qAMmEWCLSHNc2A176A9giG5AsRvY/aLT4YXRn
 tAsFAzCRUrx+p44LMWxARPcPv6ONzBPoa9BNPjICOtO6mfIH3HS+vHHkrKQFjAelGzYjPXYPGiq4e
 hWuGjHBN6bWFL8WnQyyjY7+8Ue9BXHiUo+FiPs7vtBH6D0knMrIM7/F8KSLfU6SD1PibWuFYE6EPF
 uGyfqcH439VNXU+RACaj10z3qaR+ECUMEQ3Fvq9XPs9gcDbtuit7Rb8/MMtCq/fcXH5OgOmixjR5H
 5GwJHjkPhHJZ5w==;
Date: Thu, 17 Jul 2025 08:30:44 +0300
Message-Id: <8634avidtn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87frewf8ei.fsf@HIDDEN> (message from Robert Pluim on Wed, 16
 Jul 2025 17:43:49 +0200)
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin> <87ecumg3e3.fsf@HIDDEN>
 <87jz4efxac.fsf@HIDDEN> <86zfdafsy6.fsf@HIDDEN>
 <87frewf8ei.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Cc: bzg@HIDDEN,  78474 <at> debbugs.gnu.org,  samuel.thibault@HIDDEN,
>   Sebastien.Hinderer@HIDDEN
> Date: Wed, 16 Jul 2025 17:43:49 +0200
> 
> >>>>> On Fri, 11 Jul 2025 22:06:25 +0300, Eli Zaretskii <eliz@HIDDEN> said:
> 
>     >> From: Robert Pluim <rpluim@HIDDEN>
>     >> Cc: Samuel Thibault <samuel.thibault@HIDDEN>,  78474 <at> debbugs.gnu.org,  Eli
>     >> Zaretskii <eliz@HIDDEN>,  Sebastien.Hinderer@HIDDEN
>     >> Date: Fri, 11 Jul 2025 19:32:43 +0200
>     >> 
>     >> >>>>> On Fri, 11 Jul 2025 17:20:52 +0200, Bastien Guerry <bzg@HIDDEN> said:
>     >> 
>     Bastien> Is there anyone working on this?
>     Bastien> It's beyond my skills, but I'd hate to see this bug closed due to lack
>     Bastien> of activity/interest.  Let me know if I can help somehow.
>     >> 
>     >> I can take a look at it. Eli, a clue as to where this optimization
>     >> happens in the redisplay code?
> 
>     Eli> I mentioned that up-thread: it's in cm.c.
> 
> Thanks, Iʼd missed that.
> 
> cm.c works out the cost of either
> 
> - moving past the destination with tabs then moving left
> - moving towards the destination with tabs then moving right
> - moving right directly to the destination
> 
> According to my instrumentation, emitting the 'move right' command
> costs 3 times as much as 'emit tab' or 'move left' here, so itʼs an
> optimization that makes sense, especially if the destination is far
> away.
> 
> So I donʼt think a generic 'make tabs expensive' is a good idea, but I
> guess we could add a user option to disable the use of tabs for motion
> on ttys.

Feel free to suggest a patch with such a variable.

We should also think how to make the accessibility-related knobs more
discoverable.  Perhaps a new section in the user manual is in order.

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 12:14:01 +0000
Resent-Message-ID: <handler.78474.B78474.17530999869500 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, samuel.thibault@HIDDEN, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17530999869500
          (code B ref 78474); Mon, 21 Jul 2025 12:14:01 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 12:13:06 +0000
Received: from localhost ([127.0.0.1]:56117 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udpOE-0002T9-47
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 08:13:06 -0400
Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:56696)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1udpOA-0002SB-1w
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 08:13:02 -0400
Received: by mail-wm1-x32e.google.com with SMTP id
 5b1f17b1804b1-4561a4a8bf2so46879985e9.1
 for <78474 <at> debbugs.gnu.org>; Mon, 21 Jul 2025 05:13:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1753099975; x=1753704775; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=l1as9WeFZ7za4sXs7r6oAcF+f1gjq5JNX3EBa3eiGHk=;
 b=AsfQvb/FSh8TVc5DgX6O7lhB8HkcZTN0PxwYq3JVROFQQGhrvtOO8IsxQmyXHHKmWO
 taaoAQ4kcqb8RX9iVRFNb3+LPGVjtjLEl21djHO3kIcPdllU+Mbg5iWICwbOFqxlY2xq
 G5rd16MVAb2wTxOl2F516z2RVcwo7BvfJdSQhYDD6cPuLIftE7gvkYkVdOCHL0mAARb6
 byyO22V0oASC1/qXX8H4npcLzrPqvf65yPTMKX7v8eo6dEMQ1afE2IEa4QWCTSy6RPtX
 9kTR9BRLP5+WsaRAhPkpLNQgyggZj6qr8psAksGgjHOdCYH/tZvV9AOdiWYLttl0yclD
 Aq+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1753099975; x=1753704775;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=l1as9WeFZ7za4sXs7r6oAcF+f1gjq5JNX3EBa3eiGHk=;
 b=GBb1P435ztxLxME3kaub1PKPPOG/mgYuk2yBlWTi3RR+6jmlgRQrLvda9b6A+TNqB7
 pdOn4Y+ZiX9s3RMZfojJN0Ll3iT7O0YJyHOBbYlJ88dH08nG8V2ak7bXqkNl+7yb0MzM
 ZKZqL4AcmU/ggG3mFNBrNkskZy2A2ukqqfbghOhe5H9VpbKyx9AOhwv0PbXfQiVOpKfY
 tTDNWWNnUwel66rxGGK+TziwhY/ywxTU06YgHG8lSNwcabqnviQkyHEy1oLXHEgZsdsA
 gORYZV5qaabh9V9o8KFXC+staBELYu9Zz8psPVsqs41BRf7d5mz24nscjMtsn+0WHSPH
 +YmQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCXREmLdTTWHhyURdtRVGx9MOVt8joSifbrtp3CN7bbWMbcznz7A0K9hGp+Ndf0K/ltOYYHy0w==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzeAIIbhZlACAasMa//pUFSSURJd6s/gNWTOLnRYSvNEOjRNnhP
 fx9Qjb/x1AWTJqFJuX89dkRGv1aMWQmxt+4uITphEKw/6Q7202Z5Syar
X-Gm-Gg: ASbGncs33U371MjLzkesnh9yrB3mqe2uQXfOjCq7/ZQrglZigw/UJRTFpew8gEch0tM
 jmDY+aS5AhaY9j4K7lXFC8Ov99O7EFGvDbbEILktgiMEvmG+i1zNhe4AyUG/qgBhR1HN72m3ffS
 md4GJOMIZkv3Pxr1SJNGJfaF08HqHQb0J96WvSz5KV2pDei79TEWD4S5syzaUO6xTgBemdUANZK
 f8GsDWt3FXrlZqO+Ri4kDS/0TW6sJ1HdKTCnnx3IfLKF8Dw5I64P9lBJYvmsR9VugdS38MEJXQB
 YDN5bekMTWQbtjyEGotiBvg5kRfHy9nBrcGIj7DGFpMZRT/3DTWkjw3b3QGGdf1LfslDWwaG6T/
 AL+tc442gWQ==
X-Google-Smtp-Source: AGHT+IGAmhVftHM5O9rkwoGKetegjtb9FpQCth45NNhOBLYsAi/eD6MqA8P/R3krzpoVS8zb9/GNgw==
X-Received: by 2002:a05:600c:5289:b0:456:2771:e654 with SMTP id
 5b1f17b1804b1-4562e37726dmr165037035e9.24.1753099975193; 
 Mon, 21 Jul 2025 05:12:55 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb51:502d:72af:3b4b:2e7b])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-45626c8e104sm138887795e9.0.2025.07.21.05.12.54
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 21 Jul 2025 05:12:54 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <8634avidtn.fsf@HIDDEN>
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin> <87ecumg3e3.fsf@HIDDEN>
 <87jz4efxac.fsf@HIDDEN> <86zfdafsy6.fsf@HIDDEN>
 <87frewf8ei.fsf@HIDDEN> <8634avidtn.fsf@HIDDEN>
Date: Mon, 21 Jul 2025 14:12:54 +0200
Message-ID: <87bjpdg2t5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Thu, 17 Jul 2025 08:30:44 +0300, Eli Zaretskii <eliz@HIDDEN> said:

    Eli> Feel free to suggest a patch with such a variable.

See below. I have zero ego about the name of the option.

Perhaps the "stty -tabs" workaround should go into PROBLEMS.

    Eli> We should also think how to make the accessibility-related knobs m=
ore
    Eli> discoverable.  Perhaps a new section in the user manual is in orde=
r.

Indeed, I didn=CA=BCt find a good place to put this. What else would go in
this new node apart from this new user option? `text-scale-increase',
I guess, and discussion of the high-contrast themes.

(did anyone ever (re-)implement sticky modifier keys for Emacs? That=CA=BCs
about the only thing I miss from XEmacs)

Robert
--=20

diff --git c/etc/NEWS i/etc/NEWS
index f7aebdf538f..637df26d246 100644
--- c/etc/NEWS
+++ i/etc/NEWS
@@ -78,6 +78,13 @@ the 'standard-display-table's extra slots with Unicode c=
haracters.
 Please see the documentation of that function to see which slots of the
 display table it changes.
=20
++++
+** New user option 'tty-allow-tabs-for-motion'.
+The display optimization where TAB characters may be used to move around
+on a TTY frame can now be disabled by customizing the user option
+'tty-allow-tabs-for-motion' to nil (default t).  This is to accomodate
+screen readers which may interpret those TAB characters literally.
+
 +++
 ** Child frames are now supported on TTY frames.
 This supports use-cases like Posframe, Corfu, and child frames acting
diff --git c/lisp/cus-start.el i/lisp/cus-start.el
index 09364b68e11..d74459657f3 100644
--- c/lisp/cus-start.el
+++ i/lisp/cus-start.el
@@ -602,6 +602,7 @@ minibuffer-prompt-properties--setter
 						    "21.1")
              ;; term.c
              (visible-cursor cursor boolean "22.1")
+             (tty-allow-tabs-for-motion cursor boolean "31.1")
              ;; terminal.c
              (ring-bell-function display
               (choice
diff --git c/src/cm.c i/src/cm.c
index 150d1c9a580..a464fd5d0d4 100644
--- c/src/cm.c
+++ i/src/cm.c
@@ -225,7 +225,8 @@ calccost (struct tty_display_info *tty,
 	goto dodelta;		/* skip all the tab junk */
     }
     /* Tabs (the toughie) */
-    if (tty->Wcm->cc_tab >=3D BIG || !tty->Wcm->cm_usetabs)
+    if (!tty_allow_tabs_for_motion /* Bug#78474.  */
+	|| tty->Wcm->cc_tab >=3D BIG || !tty->Wcm->cm_usetabs)
 	goto olddelta;		/* forget it! */
=20
     /*
diff --git c/src/term.c i/src/term.c
index 8aa47322d19..acb21c66e05 100644
--- c/src/term.c
+++ i/src/term.c
@@ -5167,6 +5167,17 @@ syms_of_term (void)
 trigger redisplay.  */);
   tty_menu_calls_mouse_position_function =3D 0;
=20
+  DEFVAR_BOOL ("tty-allow-tabs-for-motion", tty_allow_tabs_for_motion,
+    doc: /* Whether TTY frames may use TAB characters for moving around.
+As a display optimization, Emacs may move between two positions on a TTY
+frame by emitting TAB characters, combined with TTY motion commands,
+when this is more efficient than using only motion commands.  These
+characters can interfere with the functioning of some software, such as
+screen readers, which interpret the TAB characters literally.  Set this
+to nil to disable this optimization, but be warned that this may affect
+redisplay performance.  */);
+  tty_allow_tabs_for_motion =3D 1;
+
   defsubr (&Stty_display_color_p);
   defsubr (&Stty_display_color_cells);
   defsubr (&Stty_no_underline);




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 12:53:01 +0000
Resent-Message-ID: <handler.78474.B78474.175310236620205 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, samuel.thibault@HIDDEN, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175310236620205
          (code B ref 78474); Mon, 21 Jul 2025 12:53:01 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 12:52:46 +0000
Received: from localhost ([127.0.0.1]:56298 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udq0c-0005Fm-BY
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 08:52:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47400)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1udq0Z-0005FE-GV
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 08:52:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1udq0R-0006TX-5d; Mon, 21 Jul 2025 08:52:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=pSnXNfELpSKGO3KBwgRZ5GtsI5ifa4+itpGXEyLe8MA=; b=k8BuH/5/Xx8jv5X5RFJF
 hwnUSyu8EDO2NAB5NlK8cjBYKTuMQmIC2Di3U288V4f0ROqtCeXv4Gv/PItgHWgEqJoXqyAvKO8zn
 d5xBVSqiw4125nByFFcUtac3UaOcAISmu1sYGt4/34ySnATyibkIdorAmF00AWaFQx+JveNPQpvv5
 H3MIWc6yr9DdJQpDcYb1s9xtNDbsPOffv1kuhTIs47hDCNa49WqRsqKlqS7Q6yYs55aC5LXJTaEtF
 z5nSp5QnVl1hgQu8b7450Lg+/YvjxLo0dyiVEteXEWoFhjwfkBJhlXNbEb3Z9EfkVHfvt/IUEjiWS
 dwdo8S77tokuMg==;
Date: Mon, 21 Jul 2025 15:52:31 +0300
Message-Id: <86v7nlbt9s.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87bjpdg2t5.fsf@HIDDEN> (message from Robert Pluim on Mon, 21
 Jul 2025 14:12:54 +0200)
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin> <87ecumg3e3.fsf@HIDDEN>
 <87jz4efxac.fsf@HIDDEN> <86zfdafsy6.fsf@HIDDEN>
 <87frewf8ei.fsf@HIDDEN> <8634avidtn.fsf@HIDDEN>
 <87bjpdg2t5.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Cc: bzg@HIDDEN,  78474 <at> debbugs.gnu.org,  samuel.thibault@HIDDEN,
>   Sebastien.Hinderer@HIDDEN
> Date: Mon, 21 Jul 2025 14:12:54 +0200
> 
> >>>>> On Thu, 17 Jul 2025 08:30:44 +0300, Eli Zaretskii <eliz@HIDDEN> said:
> 
>     Eli> Feel free to suggest a patch with such a variable.
> 
> See below. I have zero ego about the name of the option.

See below.

> Perhaps the "stty -tabs" workaround should go into PROBLEMS.

A good idea, but please add that to PROBLEMS on the release branch
(unlike the rest of the patch).

>     Eli> We should also think how to make the accessibility-related knobs more
>     Eli> discoverable.  Perhaps a new section in the user manual is in order.
> 
> Indeed, I didnʼt find a good place to put this. What else would go in
> this new node apart from this new user option? `text-scale-increase',
> I guess, and discussion of the high-contrast themes.

Also w32-use-visible-system-caret (a link to the relevant appendix
should be enough).  Hopefully, the list will grow.

> (did anyone ever (re-)implement sticky modifier keys for Emacs? Thatʼs
> about the only thing I miss from XEmacs)

Are there nowadays systems which don't have this built-in?

> +** New user option 'tty-allow-tabs-for-motion'.

I suggest 'cursor-motion-use-tabs' instead.

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 14:13:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531071492221 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531071492221
          (code B ref 78474); Mon, 21 Jul 2025 14:13:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 14:12:29 +0000
Received: from localhost ([127.0.0.1]:57425 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udrFk-0000Ze-Lh
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:12:29 -0400
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:25802)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1udr8N-0008Fu-Ce
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:04:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:in-reply-to;
 bh=LmDBaJGNGmaC4CtyOFPF1uj68ACYQpOqbV6na7w8Z8E=;
 b=ZDsHffO6guBHK09J9AygCn2D+S19DlMeejDCrPanEgWG3yVVgUw9seVH
 psv10Kr0dI8S0R8Hy0lROzGDKgRo8GDgwwGVv3X3h2pphXZ6qIyACFJU3
 0o6IaJa58wX0XS565HGb5o2MrrjTB1UgNHiW+KiaJx2JnJcfO4fjJ4ew4 s=;
X-CSE-ConnectionGUID: OLDOw6cpR8+O+UO31EFN/Q==
X-CSE-MsgGUID: rEV2MLayRvahCDHkML5N9A==
Authentication-Results: mail3-relais-sop.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,329,1744063200"; d="scan'208";a="121857415"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail3-relais-sop.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2025 16:04:44 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1udr8F-000000003DZ-3exk; Mon, 21 Jul 2025 16:04:43 +0200
Date: Mon, 21 Jul 2025 16:04:43 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH5I-wp8IPGndpBN@jnana>
References: <86o6vqtkbm.fsf@HIDDEN> <aCmaiVtyRDLIj74V@begin>
 <86ldqutgyf.fsf@HIDDEN> <aCmpTPkiT6qphNUW@begin>
 <87ecumg3e3.fsf@HIDDEN> <87jz4efxac.fsf@HIDDEN>
 <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <87bjpdg2t5.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Mailman-Approved-At: Mon, 21 Jul 2025 10:12:26 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

I apologize in advance if my question is stupid, I have been able to
follow the discussion only from afar.

Is the proposed solution going to work out of the box, or is theuser who
will need it going to have to enable it and what we are discussing is
how easy it will be for that user to discover how?

Again sorry if the answer is obvious and  I simply missed it.

Seb.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 14:13:03 +0000
Resent-Message-ID: <handler.78474.B78474.17531071492227 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Robert Pluim <rpluim@HIDDEN>, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531071492227
          (code B ref 78474); Mon, 21 Jul 2025 14:13:03 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 14:12:29 +0000
Received: from localhost ([127.0.0.1]:57427 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udrFl-0000Zm-65
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:12:29 -0400
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:25891)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1udrAo-00006p-Qc
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:07:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:in-reply-to;
 bh=cn1Aw8kkkGkTVG0nAk835Q++oOmySOxVz6lMpwkmjXI=;
 b=rMRInmhWYmSdboEzm1Mnyy+NxCmrTz8K10EJwVFx1AIhC7js5CwhfWxI
 vKhm2vI69+aOY1c7ICen/wsmpzjvClrbqbYdqRat5TsCqVkQ1Ce5L5QBc
 8xE1yGDrK09NEqBk3GqVWIzkGwVW8OR8d8iIs7iGeTjhze6rS6wkeCiQW k=;
X-CSE-ConnectionGUID: J9tZZpI/SuKhbBu8ibS52A==
X-CSE-MsgGUID: gnPZj8m0RyKY/dq9piwEWA==
Authentication-Results: mail3-relais-sop.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,329,1744063200"; d="scan'208";a="121857682"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail3-relais-sop.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2025 16:07:14 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1udrAf-000000003G3-3c8J; Mon, 21 Jul 2025 16:07:13 +0200
Date: Mon, 21 Jul 2025 16:07:13 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH5JkRLPbM_nze69@jnana>
References: <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin> <87ecumg3e3.fsf@HIDDEN>
 <87jz4efxac.fsf@HIDDEN> <86zfdafsy6.fsf@HIDDEN>
 <87frewf8ei.fsf@HIDDEN> <8634avidtn.fsf@HIDDEN>
 <87bjpdg2t5.fsf@HIDDEN> <86v7nlbt9s.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <86v7nlbt9s.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Mailman-Approved-At: Mon, 21 Jul 2025 10:12:26 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii (2025/07/21 15:52 +0300):
> Are there nowadays systems which don't have this built-in?

I am not sure theLinux console does.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 14:18:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531074784075 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531074784075
          (code B ref 78474); Mon, 21 Jul 2025 14:18:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 14:17:58 +0000
Received: from localhost ([127.0.0.1]:57485 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udrL3-00013f-Jc
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:17:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33784)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1udrL1-00012s-00
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:17:55 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1udrKs-0001m2-N5; Mon, 21 Jul 2025 10:17:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=B+ReU2PZhP4/GmMFcbLSXSEVhtxd7RvtqRJ1St7SjnI=; b=kzemER3Yl07F
 RrO5VB/NEVRHsZr9RtirJymskWpvcqKLyOdvh0dAI3sV5hEijlvLJoSkMlluOouQbfvcUH/ZGkibV
 lOj2FyMVC2C3jZV7fe+pWTzqPfMg8LmoSpw35FHISTL8bg7OdJe+XRoA6xJ9KJKpB5fLf0lsUX2zY
 h4Rxq1EUlhH/J5Td3AfIcdlKjjD09w7P6yDVQk9Ijh7Tiu519GIhLzNJ5V9hvM32Z7UVV0zn+jbrB
 dX0JcNhbc6z99MmNMjOacB7C5V6y+K43AoTBpbouqObpruGCEL6x2OMYb49d2SK2E6dhOEbbi/Z/n
 A9+ayPCVfqUAArQQAs7mJQ==;
Date: Mon, 21 Jul 2025 17:17:43 +0300
Message-Id: <86ms8xbpbs.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5I-wp8IPGndpBN@jnana> (message from Seb Hinderer on Mon, 21
 Jul 2025 16:04:43 +0200)
References: <86o6vqtkbm.fsf@HIDDEN> <aCmaiVtyRDLIj74V@begin>
 <86ldqutgyf.fsf@HIDDEN> <aCmpTPkiT6qphNUW@begin>
 <87ecumg3e3.fsf@HIDDEN> <87jz4efxac.fsf@HIDDEN>
 <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN>
 <87bjpdg2t5.fsf@HIDDEN> <aH5I-wp8IPGndpBN@jnana>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 16:04:43 +0200
> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>, bzg@HIDDEN, 78474 <at> debbugs.gnu.org,
> 	samuel.thibault@HIDDEN
> 
> Hello,
> 
> I apologize in advance if my question is stupid, I have been able to
> follow the discussion only from afar.
> 
> Is the proposed solution going to work out of the box, or is theuser who
> will need it going to have to enable it and what we are discussing is
> how easy it will be for that user to discover how?

The user will need to customize the option to disable the use of tabs.

We plan on describing the option in the Emacs user manual, in a
special section dedicated to accessibility-related features.  I hope
this will be discoverable enough.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 14:20:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531075504402 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531075504402
          (code B ref 78474); Mon, 21 Jul 2025 14:20:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 14:19:10 +0000
Received: from localhost ([127.0.0.1]:57500 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udrME-00018v-FR
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:19:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34446)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1udrMB-000189-N4
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:19:08 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1udrM5-0001xT-CG; Mon, 21 Jul 2025 10:19:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=NPpp1bYdTEQI2HsTbKrNzVtIiY42dS7PdCguq6w6UDg=; b=SlAyCpVDEsZZ
 hP5mssR06epJ1PPR4rt/v6NuP/Xv9dYsu5OolXDCWoS0IO/zDK0VMZPAVLjgS36SQ4iKBY9MA48gB
 CHy7xmsrQHoMlJHyhpLhrtvmNcLs2KtSgaP30WzjB8ArS8IhRXKaS0DeSAjgxeAIpeM51WCGGA0Xh
 hMZoneCfpFS+P2kBY4nsYLhIF6dTjXnJbs+6JzA3ZUmuwGWDpiPPZE7klDNFlA0CDfitxuQ196ODB
 h7Q4yru/JqxjP40fnsnZ5HTswVIYdUD/xY5YKcBnA1djaMQdyzvDSarcSqBbHltOYYCS4S1cIMKCD
 di2K4Jj2nVZ82VZWQceS4A==;
Date: Mon, 21 Jul 2025 17:18:58 +0300
Message-Id: <86ldohbp9p.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5JkRLPbM_nze69@jnana> (message from Seb Hinderer on Mon, 21
 Jul 2025 16:07:13 +0200)
References: <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin> <87ecumg3e3.fsf@HIDDEN>
 <87jz4efxac.fsf@HIDDEN> <86zfdafsy6.fsf@HIDDEN>
 <87frewf8ei.fsf@HIDDEN> <8634avidtn.fsf@HIDDEN>
 <87bjpdg2t5.fsf@HIDDEN>
 <86v7nlbt9s.fsf@HIDDEN> <aH5JkRLPbM_nze69@jnana>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 16:07:13 +0200
> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> Cc: Robert Pluim <rpluim@HIDDEN>, bzg@HIDDEN, 78474 <at> debbugs.gnu.org,
> 	samuel.thibault@HIDDEN
> 
> Eli Zaretskii (2025/07/21 15:52 +0300):
> > Are there nowadays systems which don't have this built-in?
> 
> I am not sure theLinux console does.

It isn't a feature of the console, I think, it's a feature of the
keyboard input subsystem.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 14:21:01 +0000
Resent-Message-ID: <handler.78474.B78474.17531076175061 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, samuel.thibault@HIDDEN, Sebastien.Hinderer@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531076175061
          (code B ref 78474); Mon, 21 Jul 2025 14:21:01 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 14:20:17 +0000
Received: from localhost ([127.0.0.1]:57512 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udrNJ-0001JY-8S
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:20:17 -0400
Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:52518)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1udrNG-0001GT-C8
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:20:15 -0400
Received: by mail-wm1-x32a.google.com with SMTP id
 5b1f17b1804b1-4555f89b236so43782315e9.1
 for <78474 <at> debbugs.gnu.org>; Mon, 21 Jul 2025 07:20:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1753107608; x=1753712408; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=/UzN/vJumq/Vbgif+VkKboNRaPJQ+jDJ6Jip+GWSDxM=;
 b=IZ+voOB8VSgoRksfYWgzR/mabTAURfTLfhuooCIzWYC8DS4H+SUsPbyPYkSbIpNiXz
 cGGTeEhE9R8UmUREhsWyl0p4qEbyKQwC2dpoyYu1AuSl3u4/AIvkMtRICbAuio4wN/QA
 ZSbfMrMPSdrCwrYRz1lIZgNIi62A+CkgdA60/jCga4J415afoluF09lxdR8Py/dxrH++
 Garc7J9Slfg2oBYSNxDw+V/QIhzuAUGalIeHvrihOCAk8zsO1vmlDDAebBiNiu5CUGJG
 LC2lxdHWBnmhOEV3x2oBjQ6VchrTIzYP+FZdLPE88BajmRuvzhrjpkXb5O+7KEeXkk+u
 Owww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1753107608; x=1753712408;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=/UzN/vJumq/Vbgif+VkKboNRaPJQ+jDJ6Jip+GWSDxM=;
 b=ShVuY6XgrsMkuw3h4LGuth1z4CjU7Jr+RQsSBz+7a/43GzE3zDErbic1YUFVRbn4wI
 3dzM/Ffw8jAiwfVW3UHt6fJvwYLROwNrDXuQhYa7ch3xhrKF/81eCcUBFia4s6bTlf36
 SU74fxZa9gir09/DBVGp/7map1nLA5bzkVvUyAfgFUkY7is3wKPFyRsKRteXm46ToM+Z
 /UBvoq4B7et0brBc9LY6eceYMXBhlRJWt4xvsOl5PlIzAF/jh6Pqe4hI70VZyq1CHMQn
 3n5sqsot5KDwin/VmsLe6sF2bkUxIRAzN9OZGmie+qWe8IAUbctj5y/dzl1eYJZ2V805
 qb6w==
X-Forwarded-Encrypted: i=1;
 AJvYcCWP56K2YqGJX3KybwZCPE+4oTOE7/++4QQRPb0V5vh1bO55SaffnUvXutnUpvlze4bh2mR5vA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YwxuyPIGthpAQQeULseggAv6GvAVLvHHGGtcfMbmJki0F+Ijgfh
 D/EbxQ+27bbBFxJpZV1eyT1CW9b6ARjULF3flWxCYT1VtzMqnNm0k1Pl
X-Gm-Gg: ASbGncunP4K7SWxSn5TWeYdjHgOUPijIO0FXLuMcMDHEvjpGNPStjv8Pqwqs1OGEa+s
 44wAyrbbcC6nGPRGQbLu/iGhOdgxMawe2iWgFCLDRyokkD3oiCw80McU3aAR1F89US2DELMcyVe
 Fubex6havrx+HFjTfo3F2gw9pFgYBisRHPtzJwvgHbbLmzxg29oYX1boYVri/k3ftP5mh6Vgq1V
 ttnWKwaGUO0LrBFymYSKNZUnKDj4+L+ZN1Cw0PoFSqk+iz+cJY63338qrRfAdKjByQI8lDm+w4P
 xtKVFL4/EaKCySQQcsnc7uXDbTylUxpNsBoMw95eJswn8+Wd6OUyKun0emHD1sxOcevlvMxa/DJ
 IX5vRZ6kL3WoqcX4MlHCk
X-Google-Smtp-Source: AGHT+IHwnerimPDclBTVsTnJ1FiSp4PqY+62c+dJ/05+MdypKB/FnggMCG2Ij8ce7WtPWfbdNst6Sw==
X-Received: by 2002:a05:600c:4f85:b0:44a:b478:1387 with SMTP id
 5b1f17b1804b1-4562e39b996mr228678735e9.17.1753107607640; 
 Mon, 21 Jul 2025 07:20:07 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb51:502d:72af:3b4b:2e7b])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3b61ca2bf4bsm10497120f8f.31.2025.07.21.07.20.06
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 21 Jul 2025 07:20:07 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <86v7nlbt9s.fsf@HIDDEN>
References: <87wmaeonmu.fsf@HIDDEN> <864ixiv6uh.fsf@HIDDEN>
 <aCmTzRHXl_yVj4SO@begin> <86o6vqtkbm.fsf@HIDDEN>
 <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin> <87ecumg3e3.fsf@HIDDEN>
 <87jz4efxac.fsf@HIDDEN> <86zfdafsy6.fsf@HIDDEN>
 <87frewf8ei.fsf@HIDDEN> <8634avidtn.fsf@HIDDEN>
 <87bjpdg2t5.fsf@HIDDEN> <86v7nlbt9s.fsf@HIDDEN>
Date: Mon, 21 Jul 2025 16:20:06 +0200
Message-ID: <877c01fwx5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

>>>>> On Mon, 21 Jul 2025 15:52:31 +0300, Eli Zaretskii <eliz@HIDDEN> said:

    >> From: Robert Pluim <rpluim@HIDDEN>
    >> Cc: bzg@HIDDEN,  78474 <at> debbugs.gnu.org,  samuel.thibault@HIDDEN,
    >> Sebastien.Hinderer@HIDDEN
    >> Date: Mon, 21 Jul 2025 14:12:54 +0200
    >>=20
    >> >>>>> On Thu, 17 Jul 2025 08:30:44 +0300, Eli Zaretskii <eliz@HIDDEN=
g> said:
    >>=20
    Eli> Feel free to suggest a patch with such a variable.
    >>=20
    >> See below. I have zero ego about the name of the option.

    Eli> See below.

    >> Perhaps the "stty -tabs" workaround should go into PROBLEMS.

    Eli> A good idea, but please add that to PROBLEMS on the release branch
    Eli> (unlike the rest of the patch).

Done

    Eli> We should also think how to make the accessibility-related knobs m=
ore
    Eli> discoverable.  Perhaps a new section in the user manual is in orde=
r.
    >>=20
    >> Indeed, I didn=CA=BCt find a good place to put this. What else would=
 go in
    >> this new node apart from this new user option? `text-scale-increase',
    >> I guess, and discussion of the high-contrast themes.

    Eli> Also w32-use-visible-system-caret (a link to the relevant appendix
    Eli> should be enough).  Hopefully, the list will grow.

OK, I=CA=BCve put this on my list. Could we point at EmacsSpeak as well?

    >> (did anyone ever (re-)implement sticky modifier keys for Emacs? That=
=CA=BCs
    >> about the only thing I miss from XEmacs)

    Eli> Are there nowadays systems which don't have this built-in?

    >> +** New user option 'tty-allow-tabs-for-motion'.

    Eli> I suggest 'cursor-motion-use-tabs' instead.

Done. Patch attached, without any manual changes, for now.

Robert
--=20


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0001-Allow-disabling-use-of-TABS-for-motion-on-TTYs-Bug-7.patch

From 5101647f3c762f2155aa754d0499b962779478dc Mon Sep 17 00:00:00 2001
From: Robert Pluim <rpluim@HIDDEN>
Date: Mon, 21 Jul 2025 16:13:41 +0200
Subject: [PATCH] Allow disabling use of TABS for motion on TTYs (Bug#78474)

* src/term.c (syms_of_term): New user option
'cursor-motion-use-tabs'.
* src/cm.c (calccost): Don't emit TAB for motion when
'cursor-motion-use-tabs' is false.
* lisp/cus-start.el (standard): Add custom spec for it.

* etc/NEWS: Announce the new user option.
---
 etc/NEWS          |  7 +++++++
 lisp/cus-start.el |  1 +
 src/cm.c          |  3 ++-
 src/term.c        | 11 +++++++++++
 4 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/etc/NEWS b/etc/NEWS
index b469b22aacf..85d089bd126 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -85,6 +85,13 @@ the 'standard-display-table's extra slots with Unicode characters.
 Please see the documentation of that function to see which slots of the
 display table it changes.
 
+---
+** New user option 'cursor-motion-use-tabs'.
+The display optimization where TAB characters may be used to move around
+on a TTY frame can now be disabled by customizing the user option
+'cursor-motion-use-tabs' to nil (default t).  This is to accommodate
+screen readers which may interpret those TAB characters literally.
+
 +++
 ** Child frames are now supported on TTY frames.
 This supports use-cases like Posframe, Corfu, and child frames acting
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 3bc296e4ad1..d68113e27f7 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -602,6 +602,7 @@ minibuffer-prompt-properties--setter
 						    "21.1")
              ;; term.c
              (visible-cursor cursor boolean "22.1")
+             (cursor-motion-use-tabs cursor boolean "31.1")
              ;; terminal.c
              (ring-bell-function display
               (choice
diff --git a/src/cm.c b/src/cm.c
index 150d1c9a580..0eaa1c41337 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -225,7 +225,8 @@ calccost (struct tty_display_info *tty,
 	goto dodelta;		/* skip all the tab junk */
     }
     /* Tabs (the toughie) */
-    if (tty->Wcm->cc_tab >= BIG || !tty->Wcm->cm_usetabs)
+    if (!cursor_motion_use_tabs /* Bug#78474.  */
+	|| tty->Wcm->cc_tab >= BIG || !tty->Wcm->cm_usetabs)
 	goto olddelta;		/* forget it! */
 
     /*
diff --git a/src/term.c b/src/term.c
index 8aa47322d19..b6dbf100437 100644
--- a/src/term.c
+++ b/src/term.c
@@ -5167,6 +5167,17 @@ syms_of_term (void)
 trigger redisplay.  */);
   tty_menu_calls_mouse_position_function = 0;
 
+  DEFVAR_BOOL ("cursor-motion-use-tabs", cursor_motion_use_tabs,
+    doc: /* Whether TTY frames may use TAB characters for moving around.
+As a display optimization, Emacs may move between two positions on a TTY
+frame by emitting TAB characters, combined with TTY motion commands,
+when this is more efficient than using only motion commands.  These
+characters can interfere with the functioning of some software, such as
+screen readers, which interpret the TAB characters literally.  Set this
+to nil to disable this optimization, but be warned that this may affect
+redisplay performance.  */);
+  cursor_motion_use_tabs = 1;
+
   defsubr (&Stty_display_color_p);
   defsubr (&Stty_display_color_cells);
   defsubr (&Stty_no_underline);
-- 
2.39.5


--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 14:28:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531080477072 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, samuel.thibault@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531080477072
          (code B ref 78474); Mon, 21 Jul 2025 14:28:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 14:27:27 +0000
Received: from localhost ([127.0.0.1]:57551 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udrUF-0001q0-2X
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:27:27 -0400
Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:45390)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1udrUB-0001pN-SE
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:27:24 -0400
Received: by mail-wr1-x431.google.com with SMTP id
 ffacd0b85a97d-3a522224582so2182639f8f.3
 for <78474 <at> debbugs.gnu.org>; Mon, 21 Jul 2025 07:27:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1753108037; x=1753712837; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=rmmqYUHR/QA8JTETDXPgd1otaf0vruUrZppM35R06R4=;
 b=WujRrKOF4c5NU2cTewrXgODrWnhe71zSBjwSDLiNScMzUp1zSxvqaFGfiK3CIWHgGx
 SIzzwXd9gWyySYEax0tVEHanMu5frVHKYBMWvWBdWblnb6rOi2xzeXeCCtUewzFz2nV/
 SpzFVXZ9ELTW2PDlI6aPhWprMoJLf7PVtJH2paFzLE7g9lmwD6/RJ7tZ6KH8gv0kGPDi
 Mpxcbf6wL42ame0nSy9cBieZiSVwik9YxbgcjP0OLfuR/K5rqI/C1nLT0U52g8DvjIif
 VKaHZpTPLcTiSqGHyh1ClKMZo3sva0rhHGgIfayWUNlT3p6G83cYO5cMBv1ZzxGUIrYu
 FjYA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1753108037; x=1753712837;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=rmmqYUHR/QA8JTETDXPgd1otaf0vruUrZppM35R06R4=;
 b=HYssj2fjpcPll/otiKHOVKxbEhINep9PdBRhLT3RuzSLGibRG9uMS82hVPWfnJIYd8
 jDW4O6OwmfHd0QlS/KNCQ8WnexMZTCIRgpQUYjlm4KaQNtjnFKO+3dRra5PGt5kr/B3m
 YaKrympSc61XAtoa6wJ/NJH9e48v7zPnsqihH5witU1xxHEEZSMbm9i1SUV2KyPgreIb
 QCslYXHImTB5wOB55T4S/+NhNogynAxpvxWXuzpNpbz9iWdpr0+L1a2JB8wDwuod6lkU
 Fvdt3a7eRUVYG5V2d47isR98B6XY5QyTt4sHJkWP/LLm60pSr8EY43vi3mOqj77AUdoR
 wFug==
X-Forwarded-Encrypted: i=1;
 AJvYcCVALNFNiRrecDaOQ8h6l5UIHW4IH9ZjjC671v4vSEndBg4wPdof0SPKaTEOxQjON3zyYH8zxA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yzt7dA2vvOg7k8xXrvxLtQpzvnvrFbpxJPJ1iTznaQwRQxIRi3a
 d72VX0exAOJAJcictEKGrDM2fHKKB1iBnydmEE6h5WTD6RvTvZBJ4tSd
X-Gm-Gg: ASbGncup4hGJ23ZfOpcb6JtnT8D1XtnzDbU9dMMMp93iXi9wiTiuO2o6CKXBhJqibsi
 1LahNs7VOZ0TrCBCem5j8t5EMBVvPFuinK5Z/3VP41/7Fzs8DaNoQCFs/Pf+VGHDMzCSp0xDzGw
 AMntEnRjwDuSaW5SMpZ6IfNFHWHZ1beUZOVtd++NzDLA4ZftyingDDYwzog5Pe3DwEDJXAZJzol
 YcW/5n7E6fbiSWR8VdFfQR0abksnZ5Tx6E1gyUSapxc+kh1SSV++hBhYbA5BnCA2ab0+/GYR3ko
 d5eKu9GeUU3JJ7OKs07GJhiK0G+ZyBNPGXljulJcXOfV73fzO5qeyOec07Tx98oI5TPApfa2ytB
 Eb1f4oiSGlw==
X-Google-Smtp-Source: AGHT+IGby61cqMLPZacruwHEiU97M7cHJ06FXI1jQqbPxiEcfz4Y8LJ44/qlFc3iHSRFqSsYhze6wg==
X-Received: by 2002:a05:6000:43c7:10b0:3b6:17b5:413c with SMTP id
 ffacd0b85a97d-3b617b542cbmr8952560f8f.39.1753108037315; 
 Mon, 21 Jul 2025 07:27:17 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb51:502d:72af:3b4b:2e7b])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4562e57200csm162515365e9.0.2025.07.21.07.27.16
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 21 Jul 2025 07:27:16 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <86ldohbp9p.fsf@HIDDEN>
References: <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin> <87ecumg3e3.fsf@HIDDEN>
 <87jz4efxac.fsf@HIDDEN> <86zfdafsy6.fsf@HIDDEN>
 <87frewf8ei.fsf@HIDDEN> <8634avidtn.fsf@HIDDEN>
 <87bjpdg2t5.fsf@HIDDEN> <86v7nlbt9s.fsf@HIDDEN>
 <aH5JkRLPbM_nze69@jnana> <86ldohbp9p.fsf@HIDDEN>
Date: Mon, 21 Jul 2025 16:27:16 +0200
Message-ID: <8734apfwl7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Mon, 21 Jul 2025 17:18:58 +0300, Eli Zaretskii <eliz@HIDDEN> said:

    >> Date: Mon, 21 Jul 2025 16:07:13 +0200
    >> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
    >> Cc: Robert Pluim <rpluim@HIDDEN>, bzg@HIDDEN, 78474@HIDDEN=
org,
    >> samuel.thibault@HIDDEN
    >>=20
    >> Eli Zaretskii (2025/07/21 15:52 +0300):
    >> > Are there nowadays systems which don't have this built-in?
    >>=20
    >> I am not sure theLinux console does.

    Eli> It isn't a feature of the console, I think, it's a feature of the
    Eli> keyboard input subsystem.

All the systems I use have a way to turn on a 'sticky keys' or similar
feature. But they=CA=BCre all different, and I access different Emacs
running on different target systems from different source systems. So
it would be nice if there was a way to enable it in Emacs instead of
changing the configuration of the system where I happen to be typing
from. But it=CA=BCs less of problem now that my Ctrl key is next to the
space bar everywhere =F0=9F=98=80

Robert
--=20




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 14:36:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531085169423 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531085169423
          (code B ref 78474); Mon, 21 Jul 2025 14:36:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 14:35:16 +0000
Received: from localhost ([127.0.0.1]:57604 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udrbn-0002Rm-HJ
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:35:16 -0400
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:50314)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1udrbk-0002QO-OG
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:35:14 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:content-transfer-encoding:in-reply-to;
 bh=iOwgnEwvYx4ADfzPy+FC4jqeCs1HNtAPv2fryHYz4ck=;
 b=Qyd/97wiMtAXMh1oPlaQVN+NZwMaeMdnADaq9LxEA9V+u6EAi3+1VcgZ
 izpOEQ8+O4Y8n9h6d1/MZV28/Z5ZjE86uo/ZVq7vyT6c4AceKE54hkHwM
 fEfjzNGXA9+LsfHjJ8tM4vshRbZYZc1o2aJgx9BYAlMM6Y83XhA8AFP31 Y=;
X-CSE-ConnectionGUID: pQ6AbbD2R2CXCENJgMWxjg==
X-CSE-MsgGUID: mQHYEfKHRc+0GWla831ttg==
Authentication-Results: mail3-relais-sop.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,329,1744063200"; d="scan'208";a="121860911"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail3-relais-sop.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2025 16:35:06 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1udrbd-000000003cR-1MHX; Mon, 21 Jul 2025 16:35:05 +0200
Date: Mon, 21 Jul 2025 16:35:05 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH5QGe3fWGizcRlV@jnana>
References: <86ldqutgyf.fsf@HIDDEN> <aCmpTPkiT6qphNUW@begin>
 <87ecumg3e3.fsf@HIDDEN> <87jz4efxac.fsf@HIDDEN>
 <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <86ms8xbpbs.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii (2025/07/21 17:17 +0300):
> > Date: Mon, 21 Jul 2025 16:04:43 +0200
> > From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> > Cc: Eli Zaretskii <eliz@HIDDEN>, bzg@HIDDEN, 78474 <at> debbugs.gnu.org,
> > 	samuel.thibault@HIDDEN
> >
> > Hello,
> >
> > I apologize in advance if my question is stupid, I have been able to
> > follow the discussion only from afar.
> >
> > Is the proposed solution going to work out of the box, or is theuser who
> > will need it going to have to enable it and what we are discussing is
> > how easy it will be for that user to discover how?
>
> The user will need to customize the option to disable the use of tabs.
>
> We plan on describing the option in the Emacs user manual, in a
> special section dedicated to accessibility-related features.  I hope
> this will be discoverable enough.

Okay, thanks. Let me first say that I do  appreciate the effort and
sincere will to make tools accessible. Also, I am not especially fond of
the posture of the person who is never happy withanything, even when
others do efforts. In general I try very hard not to be such a person,
but...
I would like to emphasize that, generally speaking, ifsomebody is in
need of accessibility, one can quite reasonably assume that the life of
this person is already rather hard. So I tend to be of the opinion that,
as easy as the discoverability of such options may be, it still leaves
the «configuration burden»on the shoulders of people who already have a
lot to tinker with.

This leads me to the suggestion that the configuration where tab is not
used is the one enabled by default, leaving the configuraitn burden to
those to whom performance matters enough for them to care.

Apologies if at any stage I misunderstood theproblem, I am not strongly
attached to my point of view and ready to change my mind, especially if
I am being proven wrong.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 14:54:01 +0000
Resent-Message-ID: <handler.78474.B78474.175310962415575 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175310962415575
          (code B ref 78474); Mon, 21 Jul 2025 14:54:01 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 14:53:44 +0000
Received: from localhost ([127.0.0.1]:57727 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udrtg-000437-88
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:53:44 -0400
Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:47168)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1udrtd-00042Z-Ia
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 10:53:42 -0400
Received: by mail-wr1-x433.google.com with SMTP id
 ffacd0b85a97d-3b45edf2303so4115747f8f.2
 for <78474 <at> debbugs.gnu.org>; Mon, 21 Jul 2025 07:53:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1753109615; x=1753714415; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=KV8DLdkUAVq2P2IIv9eHm3HJB1GiYGT0VdWZCUlR3Qk=;
 b=dFJ2RSb7KnPDE+g1wNORzeZFCXTVlWBtWGjO8TYMN9FeTmjhanF123EccE9q8eXwMg
 mEoq9xoaz7gzr253aWBrWmEYXeHLYdr8murtl/7/KUBS2G4fBW0RjSB4CBNBc6MycNWA
 QRHu8ctlAgTynV1qH+cPewncf15ZheobFy6mWs2ia6t3ReRpq1gtG/6CUiTzPNTbaR+n
 37WNQ1SmgXu9friiSMYpTAVXkqjSDtZSsYwxyaPoY5lVsDnwuqvkdN/BRGSYb7xdgnZt
 fccgyCcFl7nRAWWbYQI8NLlI7daOjwE+TW4K6V9BjRlqmdLzNUt/jgmx5MDDJ6fHBpSv
 3DKA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1753109615; x=1753714415;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=KV8DLdkUAVq2P2IIv9eHm3HJB1GiYGT0VdWZCUlR3Qk=;
 b=hslq77zrwLtXjl+L1KeDt4N+oybXIhd539h9NysXZ5LacFCETUdpNg9jW4DKroPg0e
 c/0JC8T+hR+tD2etcDC4FXWcPcYY6LSzn36U03YJnsrWbisz40f4v2Avjz2k4egGJPZs
 XS59Vxo4OArEUBvN1tvdLffTeFZPdcup4UfEPrJmgjLk6sPhuEtZHNgWUnnvXM0aaAvj
 mMJt4QtQblDHppcYKxdX9+e6aPMmfYcBdL9Ot/uKZ367bj1Xidew3W+LRtdw28hAp8bj
 vEJv+1OLMCLh6rqGWgkxf6bvsDGbwKxATOBnkkURijSwOM/VMIROjTr9F52UozFPJ/7F
 747g==
X-Forwarded-Encrypted: i=1;
 AJvYcCU+wvdoG2CyD1dDyANNTlLKTA3s0kTWTV1a+hvopC3MEiPsN9LvkPFI88VnuJodqAHPG6OnNg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YwIWwcqlPirg0rkw6jd4RsviurgW4fmhOO6OPXOlrLUQ2wACzam
 uKsLg92INjvulw04GB4J5ujITWt36cDOXQK7rhtEvBnaUm5ClKuBcJdmQ/s01A==
X-Gm-Gg: ASbGncs+CJY0o/9Yl+oCuKB6wAzyjnOYHTV8BcCf4pOa/1kJpyMk6SATB8cVPoDlJOJ
 s7fnwlEtIXLge7rONRhZLB/scvK1F/oleci8OL3JkBOp4VxKLCd3pcOjR/lS/xK5dUpXZxraX+T
 cw7iRhIwxJG9nMfjOF/36bHV02/7+A8rSOHbmJXcxvJoI4Zs5jRjLZP2qgphP7thnP1eDGYpXkx
 r6QIuEjLu1bW07RwxqZjX7wukMxuy9ZRyAlTGGb7pYHWao3FOA8NT5hMCamd+PBvyt+xx9mpJ2V
 0tcQ3zWnoa72SBOetT7dZOOhPEXoZJUsuLYOZnV2kP4a6RhHrjB/m3AjS7rbpiOCCncljU/14tD
 ygPGssHYANw==
X-Google-Smtp-Source: AGHT+IFd3BTD59wHz1BO5QQBaTpZBaW4IIGhEysO11wBi5AMbLOM2hMemo1Y16TGFy1JKVXzKN/GGw==
X-Received: by 2002:a05:6000:290b:b0:3a4:e56a:48c1 with SMTP id
 ffacd0b85a97d-3b60dd887c5mr19636664f8f.55.1753109614829; 
 Mon, 21 Jul 2025 07:53:34 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb51:502d:72af:3b4b:2e7b])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3b61ca2553esm10384515f8f.13.2025.07.21.07.53.34
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 21 Jul 2025 07:53:34 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <aH5QGe3fWGizcRlV@jnana>
References: <86ldqutgyf.fsf@HIDDEN> <aCmpTPkiT6qphNUW@begin>
 <87ecumg3e3.fsf@HIDDEN> <87jz4efxac.fsf@HIDDEN>
 <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana>
Date: Mon, 21 Jul 2025 16:53:34 +0200
Message-ID: <87o6tdegsx.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Mon, 21 Jul 2025 16:35:05 +0200, Seb Hinderer <Sebastien.Hinderer@=
inria.fr> said:

    Seb> Eli Zaretskii (2025/07/21 17:17 +0300):
    >> > Date: Mon, 21 Jul 2025 16:04:43 +0200
    >> > From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
    >> > Cc: Eli Zaretskii <eliz@HIDDEN>, bzg@HIDDEN, 78474@HIDDEN=
rg,
    >> > 	samuel.thibault@HIDDEN
    >> >
    >> > Hello,
    >> >
    >> > I apologize in advance if my question is stupid, I have been able =
to
    >> > follow the discussion only from afar.
    >> >
    >> > Is the proposed solution going to work out of the box, or is theus=
er who
    >> > will need it going to have to enable it and what we are discussing=
 is
    >> > how easy it will be for that user to discover how?
    >>=20
    >> The user will need to customize the option to disable the use of tab=
s.
    >>=20
    >> We plan on describing the option in the Emacs user manual, in a
    >> special section dedicated to accessibility-related features.  I hope
    >> this will be discoverable enough.

    Seb> Okay, thanks. Let me first say that I do  appreciate the effort and
    Seb> sincere will to make tools accessible. Also, I am not especially f=
ond of
    Seb> the posture of the person who is never happy withanything, even wh=
en
    Seb> others do efforts. In general I try very hard not to be such a per=
son,
    Seb> but...
    Seb> I would like to emphasize that, generally speaking, ifsomebody is =
in
    Seb> need of accessibility, one can quite reasonably assume that the li=
fe of
    Seb> this person is already rather hard. So I tend to be of the opinion=
 that,
    Seb> as easy as the discoverability of such options may be, it still le=
aves
    Seb> the =C2=ABconfiguration burden=C2=BBon the shoulders of people who=
 already have a
    Seb> lot to tinker with.

Yes. Is there any way of detecting that the screen reader software
we=CA=BCre confusing is running? If so, we could add code to disable the
use of TAB for that case.

    Seb> This leads me to the suggestion that the configuration where tab i=
s not
    Seb> used is the one enabled by default, leaving the configuraitn burde=
n to
    Seb> those to whom performance matters enough for them to care.

That=CA=BCs a valid point of view. The Emacs maintainers need to balance
that against the principle of not breaking backwards compatibility or
introducing performance regressions unless absolutely necessary.

I honestly don=CA=BCt know if the performance optimization makes any
difference these days, I=CA=BCll see if I can come up with some kind of
test (does `baud-rate' actually affect anything?).

    Seb> Apologies if at any stage I misunderstood theproblem, I am not str=
ongly
    Seb> attached to my point of view and ready to change my mind, especial=
ly if
    Seb> I am being proven wrong.

No worries. Only the Sith deal in absolutes =F0=9F=98=89
Robert
--=20




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 15:13:01 +0000
Resent-Message-ID: <handler.78474.B78474.175311075823177 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311075823177
          (code B ref 78474); Mon, 21 Jul 2025 15:13:01 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 15:12:38 +0000
Received: from localhost ([127.0.0.1]:57874 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udsBx-00061j-QI
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:12:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45410)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1udsBv-00060j-0J
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:12:35 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1udsBo-0004Ev-58; Mon, 21 Jul 2025 11:12:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=IbBWZrSKji5Rowfkicl6pQ5s5xCyZxhkAef83XyWvjs=; b=fWEr88lErApI
 LQXv8E+Qai+klHvZSp+8r4qZyWb1SDxwSxHSN+/wGPU7yDkVhPr+r0Tdrv445FukiO2rHik0oX4FB
 7xogCUr8fRsPMCGDY8lfkOeAqC6UcSBtm4D6m0F1TwMVmSV5OPoDnxSNPUlPmAz/jDRjdXLDBY6xa
 Pe76v7uClJaJhJSUyGpwvL2rKT6RKFB5NQIUovrLFc7Yh9gZMimVwL5NpotnbphaaybR0JgnNhrcx
 MNxfHME8f329t6PPQD9/VodyyAqCg/RDd6qbaOKaQT2s6ME16taAjycH8/tjlvzYn8vEoSarJa7mw
 bgS/1eJwTrfQzn66ESLu9Q==;
Date: Mon, 21 Jul 2025 18:12:25 +0300
Message-Id: <86ikjlbmsm.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5QGe3fWGizcRlV@jnana> (message from Seb Hinderer on Mon, 21
 Jul 2025 16:35:05 +0200)
References: <86ldqutgyf.fsf@HIDDEN> <aCmpTPkiT6qphNUW@begin>
 <87ecumg3e3.fsf@HIDDEN> <87jz4efxac.fsf@HIDDEN>
 <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana>
 <86ms8xbpbs.fsf@HIDDEN> <aH5QGe3fWGizcRlV@jnana>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 16:35:05 +0200
> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> Cc: rpluim@HIDDEN, bzg@HIDDEN, 78474 <at> debbugs.gnu.org,
> 	samuel.thibault@HIDDEN
> 
> This leads me to the suggestion that the configuration where tab is not
> used is the one enabled by default, leaving the configuraitn burden to
> those to whom performance matters enough for them to care.

I see where you're coming from, but IMO such a change can only fly if
we enabled this new behavior when some screen-reading software is in
use.  And that requires some means for Emacs to detect this.  If
someone knows how to do that on Posix systems, please speak up.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 15:35:01 +0000
Resent-Message-ID: <handler.78474.B78474.175311207531863 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311207531863
          (code B ref 78474); Mon, 21 Jul 2025 15:35:01 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 15:34:35 +0000
Received: from localhost ([127.0.0.1]:58090 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udsXC-0008Hq-J7
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:34:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54076)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udsX9-0008H1-Ni
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:34:32 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udsX3-0000if-DC; Mon, 21 Jul 2025 11:34:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=7TPLTegdvgKvYY4NZLGPd/Ieen3S0tqTtjxZuIIQSgA=; b=LFaJWKwXuh2OKaCDD3K+
 J23qQmEoFEI+7kb29pWj90ABBQghv84RBcN0QmRuHGkKGfykLfRHjMw0/9Jk+5SfV5sr1SJ5iMYQu
 /CDB3lrKZrXnF5m9iVB7MUnwPtJ3dMd/vvnCnmtATXafElVRUYFLn3DFExJdPyqRGlrJ2TkOLpBJT
 5xx3IltZTdScDDaqqjDqpbHp+iLLpSmP88jW4Ef4GI7Zp6jobxXXUY6btECA6810NmiZgyF1VA02v
 XiIxgBa5j9j4kpjLHBVwxj13a9zVLtdaPXIkfpTgsZYQ+frT4Vx0lNoU/tS6Z8Q7iaRngjq5bwL9h
 qkfDU+KO9VsfbQ==;
Date: Mon, 21 Jul 2025 17:34:22 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH5d_k3bBmW3aDSm@begin>
References: <87ecumg3e3.fsf@HIDDEN> <87jz4efxac.fsf@HIDDEN>
 <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <86ikjlbmsm.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

Eli Zaretskii, le lun. 21 juil. 2025 18:12:25 +0300, a ecrit:
> > Date: Mon, 21 Jul 2025 16:35:05 +0200
> > From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> > Cc: rpluim@HIDDEN, bzg@HIDDEN, 78474 <at> debbugs.gnu.org,
> > 	samuel.thibault@HIDDEN
> > 
> > This leads me to the suggestion that the configuration where tab is not
> > used is the one enabled by default, leaving the configuraitn burden to
> > those to whom performance matters enough for them to care.
> 
> I see where you're coming from, but IMO such a change can only fly if
> we enabled this new behavior when some screen-reading software is in
> use.  And that requires some means for Emacs to detect this.  If
> someone knows how to do that on Posix systems, please speak up.

That does not exist in terminals, only in graphical sessions (and it's
not posix, it's gnomish).

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 15:38:02 +0000
Resent-Message-ID: <handler.78474.B78474.1753112236579 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.1753112236579
          (code B ref 78474); Mon, 21 Jul 2025 15:38:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 15:37:16 +0000
Received: from localhost ([127.0.0.1]:58122 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udsZn-00009F-Po
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:37:16 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42178)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udsZl-00008k-Rr
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:37:14 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udsZf-0001JB-OW; Mon, 21 Jul 2025 11:37:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=+XWND/ZxglPxzhDLNkb80fdo8XrjBzEUAFw6999E7Zg=; b=M8hB1wIuHkbYb2lnDO1U
 jydz743RT+5VsdmCTqFlXYgOadJfWe3fXihJw/ko6FSimcf+IcRpq3s7JRHiWufCWeP7A+SwHrpGy
 A2S1iO85zdDoh6At+1f/HixZwGDO+4AnW4uqae2CVwmgwr5Ve7o1tEy380y2ltD0Kx11c7ZW3LMo4
 PtBBETHmt687nzCRtzBlsonCaGxnOEHma5briEUt8oKDTV5/yg7DRmrgjwvTgYdqa+p16veFF/97s
 YzvTx0ZOp8iU4+xwyyJL+TjxPGo564ikSgloHgHkxvo06uEWlKh8aRpdvVKWhYqPSZqYfUqNtUlKE
 svTRUvTB9Xb/rw==;
Date: Mon, 21 Jul 2025 17:37:02 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH5engOVzezx7_80@begin>
References: <87ecumg3e3.fsf@HIDDEN> <87jz4efxac.fsf@HIDDEN>
 <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87o6tdegsx.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

Robert Pluim, le lun. 21 juil. 2025 16:53:34 +0200, a ecrit:
> I honestly donʼt know if the performance optimization makes any
> difference these days,

I don't think it will be actually measurable by any mean. The
optimization we are talking about saves transmitting one byte while
making the terminal interpret one more character sequence (tab+backspace
vs arrow-right). In the common case of running emacs in a terminal, I'd
rather guess that the overhead of the additional character sequence
interpretation is most probably way more expensive than the transmission
of an additional byte.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 15:44:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531126123131 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531126123131
          (code B ref 78474); Mon, 21 Jul 2025 15:44:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 15:43:32 +0000
Received: from localhost ([127.0.0.1]:58187 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udsfs-0000oR-38
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:43:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42632)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1udsfp-0000ng-71
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:43:29 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1udsfi-0002SI-6w; Mon, 21 Jul 2025 11:43:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=/WXSlaMslthh659E5ZHsOCXbqr9mNmXSEs9gJm7MsnQ=; b=sam3uyJiHLdX
 NB8/QWY8KOqxAh07wUDfPNDFktJvYlUQkHF6xpq/rCrYMO1eWOXqff0LTF7idX/bfNFW4pXBX3ao6
 z9a+HBWn6C6s37/eDwr31nETAJMw45FSEJrBRv/aMex7e7sD6E24DREHGKOSKjO/FB+voe+0dFFfQ
 FxB1EgwyDSwMPTMMy+p8VPZE5rmiAq6d+9eqqJQZA42B2SjSomjkV2GKAi7rccDUe94TzcgyJM8FB
 /B5RPahC3qS2VllJIaVCal/XzCWZtQGjkoiQTxh+EhfJY9d50oybycmWNATDH7hWBPnrZXAVhauFi
 KWd7aU9KRW/V6OTVUlIb6Q==;
Date: Mon, 21 Jul 2025 18:43:19 +0300
Message-Id: <86h5z5bld4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5d_k3bBmW3aDSm@begin> (message from Samuel Thibault on Mon, 21
 Jul 2025 17:34:22 +0200)
References: <87ecumg3e3.fsf@HIDDEN> <87jz4efxac.fsf@HIDDEN>
 <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana>
 <86ikjlbmsm.fsf@HIDDEN> <aH5d_k3bBmW3aDSm@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 17:34:22 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN,
> 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> 
> Hello,
> 
> Eli Zaretskii, le lun. 21 juil. 2025 18:12:25 +0300, a ecrit:
> > > Date: Mon, 21 Jul 2025 16:35:05 +0200
> > > From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> > > Cc: rpluim@HIDDEN, bzg@HIDDEN, 78474 <at> debbugs.gnu.org,
> > > 	samuel.thibault@HIDDEN
> > > 
> > > This leads me to the suggestion that the configuration where tab is not
> > > used is the one enabled by default, leaving the configuraitn burden to
> > > those to whom performance matters enough for them to care.
> > 
> > I see where you're coming from, but IMO such a change can only fly if
> > we enabled this new behavior when some screen-reading software is in
> > use.  And that requires some means for Emacs to detect this.  If
> > someone knows how to do that on Posix systems, please speak up.
> 
> That does not exist in terminals, only in graphical sessions

How come?  Screen readers should announce themselves quite prominently
to any system, so I'd be very surprised to hear that they are
invisible on Linux terminals.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 15:46:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531127053702 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531127053702
          (code B ref 78474); Mon, 21 Jul 2025 15:46:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 15:45:05 +0000
Received: from localhost ([127.0.0.1]:58197 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udshL-0000xV-Sl
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:45:04 -0400
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:63130)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1udshJ-0000vl-Fa
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:45:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:content-transfer-encoding:in-reply-to;
 bh=GyBKTWzL6VXxxI5xa+VU3UxwfMLu1K0zrvpXbTV21Jk=;
 b=j+0uv3YRWG6ecMIjQ4nIA420N0W0z2qeRbvd6QwIjE2FmMKtb0dYZL+D
 L0hEhWaTzpUu5tbmrD81dix+kURHcX+xwViS758X8uerzunkXIJ9+KeCh
 VFoxSS0ATOGVL8zGgk4tDffxItHt+rq7/rqD89MpPTM6zFsdWKWQRwGVV A=;
X-CSE-ConnectionGUID: b/dD1JXeTcSSsPnRWQfQeA==
X-CSE-MsgGUID: p9m8Mtk5TimAdvcJyABjFw==
Authentication-Results: mail2-relais-roc.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,329,1744063200"; d="scan'208";a="232504589"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail2-relais-roc.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2025 17:44:55 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1udshD-000000004KT-0big; Mon, 21 Jul 2025 17:44:55 +0200
Date: Mon, 21 Jul 2025 17:44:55 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH5gd6q-snGuRbzs@jnana>
References: <87ecumg3e3.fsf@HIDDEN> <87jz4efxac.fsf@HIDDEN>
 <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87o6tdegsx.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Robert Pluim (2025/07/21 16:53 +0200):
> Yes. Is there any way of detecting that the screen reader software
> weʼre confusing is running? If so, we could add code to disable the
> use of TAB for that case.

As Samuel has explained, no, there is no need to.

Also, if I understand correctly, we are talking about a behaviour which
is buggy even in contexts beyond accessibility, I think it were rxvt
terminals which were mentionned at the beginning of the thread.

So to me, trying to optimize a code which actually does not quite work
everywhere feels like like taking the problem the wrong way as we should
first make the code work everywhere, and then, potentially, try to
optimize it.

>     Seb> This leads me to the suggestion that the configuration where tab is not
>     Seb> used is the one enabled by default, leaving the configuraitn burden to
>     Seb> those to whom performance matters enough for them to care.
>
> Thatʼs a valid point of view. The Emacs maintainers need to balance
> that against the principle of not breaking backwards compatibility or
> introducing performance regressions unless absolutely necessary.

I trust them on those as I have my self no clue on what are the impacts,
neither on performance nor on backward compatibility. I'd assume that,
of the two, backward compatibility is the most critical. Regarding
performance, compared to what web browsers and graphical user interfaces
do, well, I am not sure a few characters are even worht talkinb about,
even though I do not think that the others doing it in a pour way is an
excuse for us to do likewise. ;)

Seb.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 15:48:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531128375008 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531128375008
          (code B ref 78474); Mon, 21 Jul 2025 15:48:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 15:47:17 +0000
Received: from localhost ([127.0.0.1]:58239 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udsjV-0001Ig-A0
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:47:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47524)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1udsjT-0001I5-Bu
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:47:15 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1udsjO-00031L-0J; Mon, 21 Jul 2025 11:47:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=N9wtoxbBsuL9OjTmHIy4JiX3BxjcRoK/+gYydryRnMU=; b=GbFDe5D8WKwRUT4+D3XA
 HiwKHJHx2VPRI0Ro3KHB+fR/sVYhqWj8GxCcSmm8mHtVoUOfamjDXwInebm68gHInz9f6CskXdx0x
 jCzOaZ/PulozkMOpmFKTeqwmyr8bcPePC43MCQ+6Xa90IbH4dp7TNDz9p/yFck7jej+r8gqEc+OnT
 LG/nRzhnXrLQJ4W8rJBSEOFU1Czo1N7HVKuLp9z1zyCoAWyMS+m7wEMIcELLQuQloGgKQZtWOhdw+
 xZjqgmfcyr2kIsF7i5gq4a8TlnF8Tr9S5kaREOmbLPt99joRZfDqjiqN7ma0gCrXIQulkdGGJ8onM
 vyjRALONgWcumQ==;
Date: Mon, 21 Jul 2025 18:47:07 +0300
Message-Id: <86frepbl6s.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5engOVzezx7_80@begin> (message from Samuel Thibault on Mon, 21
 Jul 2025 17:37:02 +0200)
References: <87ecumg3e3.fsf@HIDDEN> <87jz4efxac.fsf@HIDDEN>
 <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana>
 <87o6tdegsx.fsf@HIDDEN> <aH5engOVzezx7_80@begin>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 17:37:02 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Seb Hinderer <Sebastien.Hinderer@HIDDEN>,
> 	Eli Zaretskii <eliz@HIDDEN>, bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> 
> Hello,
> 
> Robert Pluim, le lun. 21 juil. 2025 16:53:34 +0200, a ecrit:
> > I honestly donʼt know if the performance optimization makes any
> > difference these days,
> 
> I don't think it will be actually measurable by any mean. The
> optimization we are talking about saves transmitting one byte while
> making the terminal interpret one more character sequence (tab+backspace
> vs arrow-right). In the common case of running emacs in a terminal, I'd
> rather guess that the overhead of the additional character sequence
> interpretation is most probably way more expensive than the transmission
> of an additional byte.

There's no interpretation.  The bytes are sent and executed by the
video driver.  Using tabs can save several spaces or several bytes of
a cursor movement command, and that is not a trivial difference.

So let's please not argue about this.  We can only turn this feature
on by default if Emacs can tell, with a sufficient degree of
certainty, that a screen-reading software is in use.  Otherwise, users
will need to enable this manually.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 15:48:03 +0000
Resent-Message-ID: <handler.78474.B78474.17531128605192 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, Samuel Thibault <samuel.thibault@HIDDEN>
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531128605192
          (code B ref 78474); Mon, 21 Jul 2025 15:48:03 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 15:47:40 +0000
Received: from localhost ([127.0.0.1]:58245 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udsjr-0001Le-Vl
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:47:40 -0400
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:33884)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1udsjp-0001KV-A1
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:47:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:in-reply-to;
 bh=i0y5MeCZeN3qNlMpQbTlsLicevGd981xiOHI6X7inuc=;
 b=aBOYdH/ck33ISVun/ZInxctI7wH5YFUKZITkKMo+KzhumB88NPDSsGDi
 e4VksqmMD2WFFnLg/S3BnjRNggYXQm7EHhp5epUpOAB0ECIe2Qyiggkzh
 Ag+/ToMql6dnFV9nRM7MQWYjKL1yeXHC64GZK2K7NcCoJ/h1ZY7KVKD8R k=;
X-CSE-ConnectionGUID: Ys3whGjESZuMhcKVsnj52g==
X-CSE-MsgGUID: BCd5v3BeSlGoHSvhESmGhQ==
Authentication-Results: mail3-relais-sop.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,329,1744063200"; d="scan'208";a="121868367"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail3-relais-sop.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2025 17:47:31 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1udsji-000000004MV-0oLg; Mon, 21 Jul 2025 17:47:30 +0200
Date: Mon, 21 Jul 2025 17:47:30 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH5hEg7C9JDCZZ-y@jnana>
References: <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <86h5z5bld4.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii (2025/07/21 18:43 +0300):
> > Date: Mon, 21 Jul 2025 17:34:22 +0200
> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > Cc: Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN,
> > 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> >
> > Hello,
> >
> > Eli Zaretskii, le lun. 21 juil. 2025 18:12:25 +0300, a ecrit:
> > > > Date: Mon, 21 Jul 2025 16:35:05 +0200
> > > > From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> > > > Cc: rpluim@HIDDEN, bzg@HIDDEN, 78474 <at> debbugs.gnu.org,
> > > > 	samuel.thibault@HIDDEN
> > > >
> > > > This leads me to the suggestion that the configuration where tab is not
> > > > used is the one enabled by default, leaving the configuraitn burden to
> > > > those to whom performance matters enough for them to care.
> > >
> > > I see where you're coming from, but IMO such a change can only fly if
> > > we enabled this new behavior when some screen-reading software is in
> > > use.  And that requires some means for Emacs to detect this.  If
> > > someone knows how to do that on Posix systems, please speak up.
> >
> > That does not exist in terminals, only in graphical sessions
>
> How come?  Screen readers should announce themselves quite prominently
> to any system,

Can you elaborate why you are thingking so?

> so I'd be very surprised to hear that they are
> invisible on Linux terminals.

Well then, be surprised, they are. Basically the kernel provides
/dev/vcsa and then every tool that needs to monitor the screen reads it.
There is no API for a screen reader to present itself as such because
there has never really been the need for that.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 15:48:04 +0000
Resent-Message-ID: <handler.78474.B78474.17531128825340 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531128825340
          (code B ref 78474); Mon, 21 Jul 2025 15:48:04 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 15:48:02 +0000
Received: from localhost ([127.0.0.1]:58251 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udskD-0001Nv-Ds
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:48:01 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47118)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udskB-0001N5-0i
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:47:59 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udsk5-00036h-MG; Mon, 21 Jul 2025 11:47:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=jA7pWBusbf/6RT5nON5S6RFtbBbQQmH9gQn21l7AdxM=; b=YFUs21HtcUICscjavKKr
 VTHsrNFEY4xOOFsaEYcI8RPLXCnWAG42UxmyJ0tyBwAfdQEB9++a64JpUEbnhovQHkIAwNyJzdirx
 MIuXprBzo0ldwV65/Y57DQMj+N2ZjZ3JKYoiJmSvvPnq3n0TLJi4pzF4zlgpQzw8r3bNKI1lXh4ep
 JX+Vtv6Stz2whA2O/4uGh18+SEzubbKt3hwcORTqvY7c7Bv9fbeOTFL5FkbQiz3ehoH9MKhD13frY
 ltUw6GRUYbyXxdIReJwjHLAjQCT7g8MHknf9tdG6TFnfB0WZx8THKjzyTIcKAC2lpG1jf0qmx0ZOZ
 GUzZiTZ4WxcS4w==;
Date: Mon, 21 Jul 2025 17:47:37 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH5hGXz58cr8CXds@begin>
References: <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <86h5z5bld4.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le lun. 21 juil. 2025 18:43:19 +0300, a ecrit:
> > Eli Zaretskii, le lun. 21 juil. 2025 18:12:25 +0300, a ecrit:
> > > > Date: Mon, 21 Jul 2025 16:35:05 +0200
> > > > From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> > > > Cc: rpluim@HIDDEN, bzg@HIDDEN, 78474 <at> debbugs.gnu.org,
> > > > 	samuel.thibault@HIDDEN
> > > > 
> > > > This leads me to the suggestion that the configuration where tab is not
> > > > used is the one enabled by default, leaving the configuraitn burden to
> > > > those to whom performance matters enough for them to care.
> > > 
> > > I see where you're coming from, but IMO such a change can only fly if
> > > we enabled this new behavior when some screen-reading software is in
> > > use.  And that requires some means for Emacs to detect this.  If
> > > someone knows how to do that on Posix systems, please speak up.
> > 
> > That does not exist in terminals, only in graphical sessions
> 
> How come?  Screen readers should announce themselves quite prominently
> to any system, so I'd be very surprised to hear that they are
> invisible on Linux terminals.

They really are, since they just read the content from /dev/vcsa.

Samul




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 15:52:01 +0000
Resent-Message-ID: <handler.78474.B78474.17531131177130 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531131177130
          (code B ref 78474); Mon, 21 Jul 2025 15:52:01 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 15:51:57 +0000
Received: from localhost ([127.0.0.1]:58299 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udso0-0001qt-Qg
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:51:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57790)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1udsnx-0001qS-Tc
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:51:54 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1udsnr-0003ic-Br; Mon, 21 Jul 2025 11:51:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=e1GPeR3RlxzDNOgLFfvTzjRAiiyz7J/oxJIuYqeoUWY=; b=PYIBFvl30OXY27g8e3DH
 Iv1zYSJnXSCggxjsp5AGyznZxmtvsYh4om87VAz+8iLgFCr7wJP1fRwnB0aKZelarlW9Y6gyihyCv
 qCOqyAhVk3qL90z0ALsFXkOTkV9T72i0p63STVZv8nxN1r/R1kfAgGQLpFbvEhzrJu/6BOm81OGBE
 VFMT7r+gHlqBu7WYJAkiyrUa05hJ1LYdqFi5LrGACS9LNVWZRvvbzd9zbV5xBOhOKjZMPoU5dMCN2
 U5Wnqv6Xrm7jG4NYbxKQZuRUMSNeCx5yp+So4nBSrIy+ndVNCaGr2MNAU5+Rmee0c9/E/rVDevuBy
 Mi78W1yTCLkrhw==;
Date: Mon, 21 Jul 2025 18:51:42 +0300
Message-Id: <86ecu9bkz5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5gd6q-snGuRbzs@jnana> (message from Seb Hinderer on Mon, 21
 Jul 2025 17:44:55 +0200)
References: <87ecumg3e3.fsf@HIDDEN> <87jz4efxac.fsf@HIDDEN>
 <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana>
 <87o6tdegsx.fsf@HIDDEN> <aH5gd6q-snGuRbzs@jnana>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 17:44:55 +0200
> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>, bzg@HIDDEN, 78474 <at> debbugs.gnu.org,
> 	samuel.thibault@HIDDEN
> 
> Robert Pluim (2025/07/21 16:53 +0200):
> > Yes. Is there any way of detecting that the screen reader software
> > weʼre confusing is running? If so, we could add code to disable the
> > use of TAB for that case.
> 
> As Samuel has explained, no, there is no need to.

I understood that he said there was no means, not that there was no
need.  The need clearly exists -- for Emacs.

> Also, if I understand correctly, we are talking about a behaviour which
> is buggy even in contexts beyond accessibility, I think it were rxvt
> terminals which were mentionned at the beginning of the thread.

I'm not aware of any bugs with this behavior, on any terminal we
support.

This feature is being added for the benefit of users who run
screen-reading software.  I'm not aware of any other reasons to
disable the use of tabs in Emacs cursor motion.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 15:56:01 +0000
Resent-Message-ID: <handler.78474.B78474.17531133038132 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531133038132
          (code B ref 78474); Mon, 21 Jul 2025 15:56:01 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 15:55:03 +0000
Received: from localhost ([127.0.0.1]:58320 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udsr0-000274-LZ
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:55:03 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38828)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1udsqy-000268-LA
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:55:01 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1udsqs-00042O-NF; Mon, 21 Jul 2025 11:54:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=cChKdvTG9gdR1k5WuAv53Dpl+0qF0vK/U9OmAnf8jTs=; b=KfxE0bn04bas
 slHB4Af4mMgMj+BOS+KpFCIERs3k1eZu0hM+1Loa8sAu6t8T3kPdhftVZtktwKC6OSz3i9QJ7mHAl
 b8Ow7TpRPIxshxxVoHck4ajpLDQw3k9UNPAEC2yMi3e60ukqF7MjAGj2MUSnICDftmU7BD3HwulRj
 EDYCq0q2dzXWregr4/GUUKzxL4AyYJG9v2VN1HPRmVyYdEVv6Rtdp7vx+1tlRqdjKGqJEn0//PqdY
 radOMOYgyQelMD5G3TGhq4rx23dXKzHTgqxp+O3K/ZwqIhXWNGNrQMDH+CZfyLLNb1/7gR04NJ0R4
 HhvC5DaKh8qaEln/JELLvA==;
Date: Mon, 21 Jul 2025 18:54:45 +0300
Message-Id: <86cy9tbku2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5hEg7C9JDCZZ-y@jnana> (message from Seb Hinderer on Mon, 21
 Jul 2025 17:47:30 +0200)
References: <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin>
 <86h5z5bld4.fsf@HIDDEN> <aH5hEg7C9JDCZZ-y@jnana>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 17:47:30 +0200
> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> Cc: Samuel Thibault <samuel.thibault@HIDDEN>, rpluim@HIDDEN,
> 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii (2025/07/21 18:43 +0300):
> > > Date: Mon, 21 Jul 2025 17:34:22 +0200
> > > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > > Cc: Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN,
> > > 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> > >
> > > > I see where you're coming from, but IMO such a change can only fly if
> > > > we enabled this new behavior when some screen-reading software is in
> > > > use.  And that requires some means for Emacs to detect this.  If
> > > > someone knows how to do that on Posix systems, please speak up.
> > >
> > > That does not exist in terminals, only in graphical sessions
> >
> > How come?  Screen readers should announce themselves quite prominently
> > to any system,
> 
> Can you elaborate why you are thingking so?

Because catching screen output is not an easy feat on modern
platforms.

> > so I'd be very surprised to hear that they are
> > invisible on Linux terminals.
> 
> Well then, be surprised, they are. Basically the kernel provides
> /dev/vcsa and then every tool that needs to monitor the screen reads it.
> There is no API for a screen reader to present itself as such because
> there has never really been the need for that.

Then maybe the /dev/vcsa driver itself could be the sign we need?  Or
any of those other tools you mention?  Anything that happens on those
systems and can serve as a reliable-enough indication of the use of
screen-reading software, will do.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 15:59:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531134979349 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531134979349
          (code B ref 78474); Mon, 21 Jul 2025 15:59:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 15:58:17 +0000
Received: from localhost ([127.0.0.1]:58348 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udsu8-0002Qj-Mz
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:58:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:32814)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1udsu6-0002Q6-Ns
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 11:58:15 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1udsu1-0004eP-9M; Mon, 21 Jul 2025 11:58:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=JZf6x81mmd/8+cVRPizNT0FNJQdH1shsaLFXvd0kLkk=; b=YQYfX7zChINR
 8WM437WeEVj7ZONhsw02cSp1blotrdSUfqKltuZX7zOrD1QhTRRgKaZGprIFQxXOmk0YtNCG+gfED
 +fnLexQCOMHW3PsMBtYin44cRvXpFKClTVCZY0VRO61xb2RP0UfAxTt8d7Wtx0ctnZu8v8Iy3dU7d
 82W1kT6rTNweK8GTZXZqMer0WXTl+She6+cZnKDjBdgCwwkZryEGgc0HmWi4oBDvgtbeVD6/br5Fq
 mXGMDCbFB1PxELC8TRbENs1IdLPVfRjo0Hry1pleBfQBXmO4wiiTHLao2PgLIi2RbGE54eyPAqWwd
 JfJONFK4gaB/MzrFzHZW1w==;
Date: Mon, 21 Jul 2025 18:58:06 +0300
Message-Id: <86bjpdbkoh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5hGXz58cr8CXds@begin> (message from Samuel Thibault on Mon, 21
 Jul 2025 17:47:37 +0200)
References: <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin>
 <86h5z5bld4.fsf@HIDDEN> <aH5hGXz58cr8CXds@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 17:47:37 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> > > That does not exist in terminals, only in graphical sessions
> > 
> > How come?  Screen readers should announce themselves quite prominently
> > to any system, so I'd be very surprised to hear that they are
> > invisible on Linux terminals.
> 
> They really are, since they just read the content from /dev/vcsa.

OK, but the reader itself is a program that is loaded into memory,
right?  Can those programs be detected somehow?  Do they leave some
traces somewhere on the system?  E.g., if those programs have known
names, we could scan the processes running on the system and look for
them, if no better method exists.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 16:02:02 +0000
Resent-Message-ID: <handler.78474.B78474.175311366710592 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: samuel.thibault@HIDDEN
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311366710592
          (code B ref 78474); Mon, 21 Jul 2025 16:02:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 16:01:07 +0000
Received: from localhost ([127.0.0.1]:58373 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udswt-0002kl-8x
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:01:07 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58940)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1udswr-0002jf-EE
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:01:05 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1udswm-000548-3f; Mon, 21 Jul 2025 12:01:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=shbYexNVO5OeOMRdQsS4zLve/vbz4NaQFtoBJUGDN5Y=; b=SC2sIZbI+9+y
 ZLiW7oNUq/LA56VSAEpsZVwRtR7C6Y5qdNVPz9gzdFlKbwg+ezkWr9Dw9iuCUSNQNIHBNkVoXTbs4
 yL7uNvnOpOkdbS+Vl1gAudFAyHF9ccX2XaekzGYk1ciGIfHiEgC0UA98dYyrmXTsEY0FKZKqpJLAo
 4BhpV+T5seOR49+EpJ7te4niKeHUN6z1do2isz2TWl8sxNlsduUjGCrr54n/7lNcwyq6dmFnvnH9f
 nHY1zaNW02F4sU3jaOw02UVGcjAlVCA2GW7qyLzRy6hB2fpUWmFqgZFnmuI83i0EiZt0/ODlwbRlK
 ixKTS/8JkgAes3AO9hLhZQ==;
Date: Mon, 21 Jul 2025 19:00:40 +0300
Message-Id: <86a54xbkk7.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <86bjpdbkoh.fsf@HIDDEN> (message from Eli Zaretskii on Mon, 21
 Jul 2025 18:58:06 +0300)
References: <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin>
 <86h5z5bld4.fsf@HIDDEN> <aH5hGXz58cr8CXds@begin> <86bjpdbkoh.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN,
>  78474 <at> debbugs.gnu.org
> Date: Mon, 21 Jul 2025 18:58:06 +0300
> From: Eli Zaretskii <eliz@HIDDEN>
> 
> > Date: Mon, 21 Jul 2025 17:47:37 +0200
> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > Cc: Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, bzg@HIDDEN,
> > 	78474 <at> debbugs.gnu.org
> > 
> > > > That does not exist in terminals, only in graphical sessions
> > > 
> > > How come?  Screen readers should announce themselves quite prominently
> > > to any system, so I'd be very surprised to hear that they are
> > > invisible on Linux terminals.
> > 
> > They really are, since they just read the content from /dev/vcsa.
> 
> OK, but the reader itself is a program that is loaded into memory,
> right?  Can those programs be detected somehow?  Do they leave some
> traces somewhere on the system?  E.g., if those programs have known
> names, we could scan the processes running on the system and look for
> them, if no better method exists.

Or maybe some completely indirect indication, not directly related to
screen-readers.  For example, is there an indication that the user
activated some accessibility features?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 16:02:02 +0000
Resent-Message-ID: <handler.78474.B78474.175311367710637 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311367710637
          (code B ref 78474); Mon, 21 Jul 2025 16:02:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 16:01:17 +0000
Received: from localhost ([127.0.0.1]:58379 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udsx2-0002lV-OE
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:01:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39156)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udsx0-0002kv-EN
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:01:14 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udswv-00054r-4I; Mon, 21 Jul 2025 12:01:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=qpq+gc5GpensOvfD710CWiRau2FHbAkVquy7zgnmWxQ=; b=OjE6yBsaZoC2oT8qCALv
 25+n8g8bJDDLzoGSbdlOPLgQvgY29C5akl6vuf50LdUsnwlKCbTiRvqytS3v4WRMEY5tOnJWGK7Xy
 nRfDNI5ofG62BomxBBf/eP2wOcI2H4HubH0HzyZ363nGjRlqybZ+pzNRK3FrYl4chLMFWicUfJdBS
 86r/M0BHUbpa2khFtHNavb29JoCGym0yjPhwfbueTJpjc7G0TYW6FsHrdyEPk3E871EO7KJGy1k26
 2/ErO0YtbYIZdpKFhYvvoqRudeHvq5bx3/Y+zpZZubHV0ZBoDuu581zJ/rYytizXZV5rXRvI6Bf+g
 kJtfBM2SBRzIMw==;
Date: Mon, 21 Jul 2025 18:00:47 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH5kL--nv1uaPKYD@begin>
References: <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5engOVzezx7_80@begin> <86frepbl6s.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="EPkKBQ5CJe6YHO7T"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <86frepbl6s.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


--EPkKBQ5CJe6YHO7T
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Eli Zaretskii, le lun. 21 juil. 2025 18:47:07 +0300, a ecrit:
> > Robert Pluim, le lun. 21 juil. 2025 16:53:34 +0200, a ecrit:
> > > I honestly donʼt know if the performance optimization makes any
> > > difference these days,
> > 
> > I don't think it will be actually measurable by any mean. The
> > optimization we are talking about saves transmitting one byte while
> > making the terminal interpret one more character sequence (tab+backspace
> > vs arrow-right). In the common case of running emacs in a terminal, I'd
> > rather guess that the overhead of the additional character sequence
> > interpretation is most probably way more expensive than the transmission
> > of an additional byte.
> 
> There's no interpretation.

Of course there is.

> The bytes are sent and executed by the video driver.

No, it's the terminal layer.

> Using tabs can save several spaces or several bytes of
> a cursor movement command, and that is not a trivial difference.

But a right-arrow interpretation is quite more trivial than a tab
interpretation plus backspace interpretation.

Really, please come up with actual figures. We can't be trading
performance for accuracy without significant figures.

I have tried the attached test which reproduces both ways and reports
the time to achieve one million iteration, on my system:

- with rxvt: non-optimized way takes ~1.9s, optimized way takes ~2.1s.
- with mate-terminal: non-optimized way takes ~1.8s, optimized way takes
  ~2.0s.

So on my system at least the "optimized" way is actually slower.

Samuel

--EPkKBQ5CJe6YHO7T
Content-Type: text/x-csrc; charset=us-ascii
Content-Disposition: attachment; filename="test.c"

#include <stdio.h>
#include <unistd.h>
#include <sys/time.h>

int main(void) {
	int i;
	struct timeval tv;
	double last, new;

	gettimeofday(&tv, NULL);
	last = tv.tv_sec + tv.tv_usec*0.000001;

	write(1, "      ", 6);
	while(1) {
#if 0
		write(1, "\e[C", 3);
#else
		write(1, "\t\b", 2);
#endif
		write(1, "\b", 1);
		i++;

		if (i == 1000000) {
			i = 0;
			gettimeofday(&tv, NULL);
			new = tv.tv_sec + tv.tv_usec*0.000001;
			printf("%f\n", new - last);
			last = new;
			write(1, "      ", 6);
		}
	}
}

--EPkKBQ5CJe6YHO7T--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 16:03:02 +0000
Resent-Message-ID: <handler.78474.B78474.175311373210984 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311373210984
          (code B ref 78474); Mon, 21 Jul 2025 16:03:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 16:02:12 +0000
Received: from localhost ([127.0.0.1]:58403 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udsxw-0002r4-7V
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:02:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37476)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udsxs-0002q8-HS
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:02:10 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udsxn-00059b-7X; Mon, 21 Jul 2025 12:02:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=OMdwDF23hZvQI7b+WhI9UkEV+HqLF1lRiOkZzeyZwnw=; b=SG5B8J5rQbA162AqQ6UV
 XLkPBmoFfaJ4ewuOgg22rd94M6piHMGf1BfvYA1Vp06rNfqp0Gavg2r/thuvh4C8HS9WlkVUOivRo
 hMhCA2Rni5OtmN7sTZE2Gbl5wKUE+DCalIjM5VL110P42yuwxuFHt4SD0sWZ/wO6aFuTN4HuqAhtW
 iJvVBI/aZ22nWMwO/YM5fxGYo9MYErlPkUFdeO+ZTWjqeV7k91ffMbMd3uxKYNTbM/uND81rOqe9a
 mXRTg6GUq+fGGccFrcaGVKjXKij/auoGgcl6v/QjJGSk9KTVQ0SEKmxABvIo91l0V5HgSsmy9tV73
 Ye+TZ0V5Jjgoxg==;
Date: Mon, 21 Jul 2025 18:02:00 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH5keG_TpKP2G_V2@begin>
References: <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <86ecu9bkz5.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le lun. 21 juil. 2025 18:51:42 +0300, a ecrit:
> > Date: Mon, 21 Jul 2025 17:44:55 +0200
> > From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> > Cc: Eli Zaretskii <eliz@HIDDEN>, bzg@HIDDEN, 78474 <at> debbugs.gnu.org,
> > 	samuel.thibault@HIDDEN
> > 
> > Robert Pluim (2025/07/21 16:53 +0200):
> > > Yes. Is there any way of detecting that the screen reader software
> > > weʼre confusing is running? If so, we could add code to disable the
> > > use of TAB for that case.
> > 
> > As Samuel has explained, no, there is no need to.
> 
> I understood that he said there was no means, not that there was no
> need.  The need clearly exists -- for Emacs.
> 
> > Also, if I understand correctly, we are talking about a behaviour which
> > is buggy even in contexts beyond accessibility, I think it were rxvt
> > terminals which were mentionned at the beginning of the thread.
> 
> I'm not aware of any bugs with this behavior, on any terminal we
> support.

It is buggy on rxvt, as the very first mail of this whole thread talks
about:

https://dept-info.labri.fr/~thibault/tmp/coucou.png

The cursor it two times too big.

> This feature is being added for the benefit of users who run
> screen-reading software.  I'm not aware of any other reasons to
> disable the use of tabs in Emacs cursor motion.

It's actually even slower on my box.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 16:04:02 +0000
Resent-Message-ID: <handler.78474.B78474.175311381211398 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311381211398
          (code B ref 78474); Mon, 21 Jul 2025 16:04:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 16:03:32 +0000
Received: from localhost ([127.0.0.1]:58422 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udszD-0002xg-0V
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:03:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36784)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udszA-0002wv-7K
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:03:28 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udsz4-0005Sz-Nb; Mon, 21 Jul 2025 12:03:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=OC4NAiAhy28jHdLAxi3Mvneyq9+z8Vb2fvlSTlitT1M=; b=Q3Mc/zGKr4dWAcYLZouj
 d9cx328coU+sh+yAVz87xsTpQjcp9lzKKYV+MLaeM/5IYFD11B/JnSFXrT2rlHFNxFGB41K9V1r06
 BAxE4qhaPg1ak/SsA5/TyUU8MJw4MRAwAjs8PFvCmyWCdP90llBbhL1qLdTfdLNxHmQMJjMjG1pRx
 o7mtXjDSnjO5fvxWr/lj9cOkqnlfUrPpzuhjp4HznZhttG/pDZH+xMjY29OXf/4yOlyXigHWscF4J
 OGyPMiAZd965hgk3zx49JG1ZiTxDgH3bsXWzKxZKwAoxo9hW9KDSJDJZhM0BB/WXw6oNk98Azk6t+
 nxoSB+XbsQWW+Q==;
Date: Mon, 21 Jul 2025 18:03:19 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH5kxwpjNi4Y6yeq@begin>
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hEg7C9JDCZZ-y@jnana> <86cy9tbku2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <86cy9tbku2.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le lun. 21 juil. 2025 18:54:45 +0300, a ecrit:
> > Eli Zaretskii (2025/07/21 18:43 +0300):
> > > > Date: Mon, 21 Jul 2025 17:34:22 +0200
> > > > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > > > Cc: Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN,
> > > > 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> > > >
> > > > > I see where you're coming from, but IMO such a change can only fly if
> > > > > we enabled this new behavior when some screen-reading software is in
> > > > > use.  And that requires some means for Emacs to detect this.  If
> > > > > someone knows how to do that on Posix systems, please speak up.
> > > >
> > > > That does not exist in terminals, only in graphical sessions
> > >
> > > How come?  Screen readers should announce themselves quite prominently
> > > to any system,
> > 
> > Can you elaborate why you are thingking so?
> 
> Because catching screen output is not an easy feat on modern
> platforms.

It is. Cat /dev/vcs, and you have it.

> > > so I'd be very surprised to hear that they are
> > > invisible on Linux terminals.
> > 
> > Well then, be surprised, they are. Basically the kernel provides
> > /dev/vcsa and then every tool that needs to monitor the screen reads it.
> > There is no API for a screen reader to present itself as such because
> > there has never really been the need for that.
> 
> Then maybe the /dev/vcsa driver itself could be the sign we need?

It is also used by other tools.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 16:04:03 +0000
Resent-Message-ID: <handler.78474.B78474.175311383811571 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311383811571
          (code B ref 78474); Mon, 21 Jul 2025 16:04:03 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 16:03:58 +0000
Received: from localhost ([127.0.0.1]:58426 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udszd-00030U-0H
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:03:58 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35876)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udsza-0002zl-79
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:03:55 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udszU-0005dL-Rv; Mon, 21 Jul 2025 12:03:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=TX46eYWouapiiEUf7/q7PkZHbZgZFyb5H1epA96ahTA=; b=YkR2crR7FqYIKgaFRWYW
 9ziixWP5AuQ6KJxPZI9VJWUNSf25VtHXxN6raRQJFzLv2ribxIhZMT1TcIqoOE7RRfzTUkmWpZDEC
 rsW44GXOVMKLqpY9CWtyfwZNlnCg1OuI2At9t/+oTX74zkp4Z/uQ6X0ZCoXALrQ7rVZ0anr0x/Giy
 wGJ2+/rEbZZuWffBi48Cvf9rNdgzPkUvqEQIh1zppZ4HKbGGB8e5F9FqGdXzP8AdYjhKrZuwJsRrX
 ytGyfuXbUufCr2kPgmc73OgZGthVH02qHAnLv9nVIhC6L1J7azvlkn/usjHAxP+e2IzrGVBlw7Utz
 f8nZoeUBhF0HSA==;
Date: Mon, 21 Jul 2025 18:03:47 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH5k40rhLbnJBEND@begin>
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hGXz58cr8CXds@begin> <86bjpdbkoh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <86bjpdbkoh.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le lun. 21 juil. 2025 18:58:06 +0300, a ecrit:
> > > > That does not exist in terminals, only in graphical sessions
> > > 
> > > How come?  Screen readers should announce themselves quite prominently
> > > to any system, so I'd be very surprised to hear that they are
> > > invisible on Linux terminals.
> > 
> > They really are, since they just read the content from /dev/vcsa.
> 
> OK, but the reader itself is a program that is loaded into memory,
> right?  Can those programs be detected somehow?  Do they leave some
> traces somewhere on the system?  E.g., if those programs have known
> names, we could scan the processes running on the system and look for
> them, if no better method exists.

Do you allow me to puke?

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 16:09:02 +0000
Resent-Message-ID: <handler.78474.B78474.175311412413072 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311412413072
          (code B ref 78474); Mon, 21 Jul 2025 16:09:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 16:08:44 +0000
Received: from localhost ([127.0.0.1]:58461 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udt4F-0003Ol-Mt
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:08:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35938)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udt4C-0003O5-Rl
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:08:41 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udt46-0006MI-Le; Mon, 21 Jul 2025 12:08:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=A29+e05Cr5u4jAiDd8+U8UNIR2lp1KM2QhygLaqXKU0=; b=QhHPsGsmZ74Gv38VnZ1G
 RO+V7uk93xGTn/k+WkD+jRMFW2OSdYU4oBrfBLybcIgTHNqgaLzWMyw6CsBcQ9LV4v2tD1sI/2IS7
 6+jDUYWuG0MXnzUE9Pd2FaLgi5/ZsfhqCR8m2Ah0G9BBXvb2uViS8VefcNwdh50YEZ2rUDbpbbIJo
 FTBpHwzZ32NZJwVcNeMOGZ5IWlalC4Ckrxi1i16eLaui6zoKt8R/Xl9L78s3158Q133K7WRcPde3d
 oC2J0giqiOZnSiLP7oi39yVtTTKYDXLZUTxl0G4EF8fa2d9Uxcw6nlRMQz8NhlhxEBJEB4J9Fd567
 ePU6Te4m+43uRA==;
Date: Mon, 21 Jul 2025 18:08:27 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH5l--8j65J64apY@begin>
References: <87frewf8ei.fsf@HIDDEN> <8634avidtn.fsf@HIDDEN>
 <87bjpdg2t5.fsf@HIDDEN> <aH5I-wp8IPGndpBN@jnana>
 <86ms8xbpbs.fsf@HIDDEN> <aH5QGe3fWGizcRlV@jnana>
 <87o6tdegsx.fsf@HIDDEN> <aH5engOVzezx7_80@begin>
 <86frepbl6s.fsf@HIDDEN> <aH5kL--nv1uaPKYD@begin>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <aH5kL--nv1uaPKYD@begin>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Samuel Thibault, le lun. 21 juil. 2025 18:00:47 +0200, a ecrit:
> I have tried the attached test which reproduces both ways and reports
> the time to achieve one million iteration, on my system:
> 
> - with rxvt: non-optimized way takes ~1.9s, optimized way takes ~2.1s.
> - with mate-terminal: non-optimized way takes ~1.8s, optimized way takes
>   ~2.0s.

On the Linux console (fbcon)
- non-optimized way takes ~7.2s
- optimized way takes ~10.0s

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 16:13:02 +0000
Resent-Message-ID: <handler.78474.B78474.175311433614223 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311433614223
          (code B ref 78474); Mon, 21 Jul 2025 16:13:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 16:12:16 +0000
Received: from localhost ([127.0.0.1]:58515 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udt7g-0003hL-9k
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:12:16 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57252)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udt7e-0003h4-G2
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:12:14 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udt7Y-00074z-LY; Mon, 21 Jul 2025 12:12:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=yR/M2O6d+MUviiR2CJMPuUOgiiOiTl3GnQi879Fz8Fg=; b=c6AEyYvs2Lugx2xdewo1
 mYvcpPKLoKmZGG8uWLcAWBilhkwvcs5aM7VmESlsozOPIRSx37R7wsJKvJnNWiDnT4jTEHDRWs1eU
 k4yDLfq0aybvrdb/qLLwgREh7i5wu9sVmNe2D8z6VhIi8iGYRUgyAN64Io5tMnBOvTla1LpMaKaAX
 2gDv42+Mga55pwKxSZX1WEqPeqNqbWeA7V9zt4u4Je1NW7rjodhF6rJiYaRMSWy+TzD2x75SFnD0T
 XSmp6LZcWe9Uw7qk+mLnrUTNM/KT6ntTRD3butcbHG9Ro0hlU9U/tyg7RSA9tEtuLPDf+SlniPAS7
 OVFjM2nKLXtJNA==;
Date: Mon, 21 Jul 2025 18:12:04 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH5m1Jtfte0rVjRl@begin>
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5engOVzezx7_80@begin> <86frepbl6s.fsf@HIDDEN>
 <aH5kL--nv1uaPKYD@begin> <aH5l--8j65J64apY@begin>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <aH5l--8j65J64apY@begin>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Samuel Thibault, le lun. 21 juil. 2025 18:08:28 +0200, a ecrit:
> Samuel Thibault, le lun. 21 juil. 2025 18:00:47 +0200, a ecrit:
> > I have tried the attached test which reproduces both ways and reports
> > the time to achieve one million iteration, on my system:
> > 
> > - with rxvt: non-optimized way takes ~1.9s, optimized way takes ~2.1s.
> > - with mate-terminal: non-optimized way takes ~1.8s, optimized way takes
> >   ~2.0s.
> 
> On the Linux console (fbcon)
> - non-optimized way takes ~7.2s
> - optimized way takes ~10.0s

I also tried through ssh in rxvt, which is a case where the additional
byte is supposed to matter. non-optimized way takes ~5.4s, optimized way
takes ~7.0s...

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 16:16:02 +0000
Resent-Message-ID: <handler.78474.B78474.175311452415237 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, Samuel Thibault <samuel.thibault@HIDDEN>
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311452415237
          (code B ref 78474); Mon, 21 Jul 2025 16:16:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 16:15:24 +0000
Received: from localhost ([127.0.0.1]:58530 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udtAi-0003xf-3n
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:15:24 -0400
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:64747)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1udtAf-0003xA-DN
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:15:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:content-transfer-encoding:in-reply-to;
 bh=9rzhGaIbPkim1/+jl3xDfBRY2vMiG6JzcDPYh8uUkWA=;
 b=bS5cZU+fFE/UbHZbsVMoiF2/HjGsWP+2EoyLd7HLJQGLBVxkgtVEUTkp
 0MwEPstbhTAzk9FhtOq1/d3Ywkqh/B2G09pfuK6yLgnVRnrA7AfLnxFoS
 4zFWN3F1itfrNmdSLJZGq5uizKouu1Yb+6NsMlGB1M/W51kJRNWaSIgcf 8=;
X-CSE-ConnectionGUID: td6fTxFtT76yc0LoGVPGYA==
X-CSE-MsgGUID: r51VDfkLQS+0EuKRrVr74w==
Authentication-Results: mail2-relais-roc.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,329,1744063200"; d="scan'208";a="232509028"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail2-relais-roc.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2025 18:15:15 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1udtAY-000000004TG-2w5z; Mon, 21 Jul 2025 18:15:14 +0200
Date: Mon, 21 Jul 2025 18:15:14 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH5nki06BZe431Wc@jnana>
References: <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5engOVzezx7_80@begin> <86frepbl6s.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <86frepbl6s.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii (2025/07/21 18:47 +0300):
> > Date: Mon, 21 Jul 2025 17:37:02 +0200
> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > Cc: Seb Hinderer <Sebastien.Hinderer@HIDDEN>,
> > 	Eli Zaretskii <eliz@HIDDEN>, bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> >
> > Hello,
> >
> > Robert Pluim, le lun. 21 juil. 2025 16:53:34 +0200, a ecrit:
> > > I honestly donʼt know if the performance optimization makes any
> > > difference these days,
> >
> > I don't think it will be actually measurable by any mean. The
> > optimization we are talking about saves transmitting one byte while
> > making the terminal interpret one more character sequence (tab+backspace
> > vs arrow-right). In the common case of running emacs in a terminal, I'd
> > rather guess that the overhead of the additional character sequence
> > interpretation is most probably way more expensive than the transmission
> > of an additional byte.
>
> There's no interpretation.  The bytes are sent and executed by the
> video driver.  Using tabs can save several spaces or several bytes of
> a cursor movement command, and that is not a trivial difference.
>
> So let's please not argue about this.

Well I must say I remain unconvinced (1) about how trivial or not the
difference is and (2) about, even non-trivial, whether it outweights the
burden for users of accessibility technologies.

> We can only turn this feature
> on by default if Emacs can tell, with a sufficient degree of
> certainty, that a screen-reading software is in use.  Otherwise, users
> will need to enable this manually.

One possibility might be if distirbutions have a way to configure once
and for all whether accessibility isneeded and then Emacs' configuration
could select its default based on that.


For the sake of completeness of this discussion, Samuel may want to
share a link on a discussion that happened in the context of the Debian
installer. The topic being discussed there was that visually impaired
people need n audible Beep to know whenthe boot process is done andthey
can tyep an 's' to maketheinstallerspeak. Understandably, havingthe beep
turned on by default was deemed annoying by those testingthe installer
whichwas beepingallthe time. In the end, it was accepted to let the beep
on by default because it was considered that its inconveninece for the
testers was less problematic than the burden it represented to turn it
on for those in need for it, thetrick being to plug a headset to the
computer while testing the installer. Samuel will hopefully correct me
if anything I write is wrong or inaccurate.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 16:20:02 +0000
Resent-Message-ID: <handler.78474.B78474.175311477515989 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311477515989
          (code B ref 78474); Mon, 21 Jul 2025 16:20:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 16:19:35 +0000
Received: from localhost ([127.0.0.1]:58548 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udtEl-00049p-D7
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:19:35 -0400
Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:51205)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1udtEi-00049V-8b
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:19:33 -0400
Received: by mail-wm1-x32a.google.com with SMTP id
 5b1f17b1804b1-4538bc52a8dso35655695e9.2
 for <78474 <at> debbugs.gnu.org>; Mon, 21 Jul 2025 09:19:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1753114766; x=1753719566; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=JlHsqcHeT0Zp86jl3ZU77ECTJiJoksVKv0KBGLosOm4=;
 b=Rfyl2k+z1g8uhuTLL529b7wB5LFd4gO4zrzf7XHyJo1ndHPu04WZKPaKm449SvkJbm
 4uwyK/1iSibP3g4f9nuFzhHYw06aXt3wbMVlRi2PU1OomysIUC3F0FJAWIHgea+eihhj
 WAjCbcVbc1PHzh8bK4x47/2XvTWdWxuWdkSnm5R/kYw0YwEiuoGau4fi9p0n3UPUBUE5
 7m0J5K8w6SVLxebWuN1wJELLMVu7CSMf5V+DCayKG5aCxF9my/gXp4FGXV+4f0H8Qy2J
 Kl7RlmV47z2xD22dJCo9ua40E1wY0m6R4AEOBmZqYQOu9cVhFHFwb4O5ipx49xb2tFz/
 n4Lg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1753114766; x=1753719566;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=JlHsqcHeT0Zp86jl3ZU77ECTJiJoksVKv0KBGLosOm4=;
 b=bBROPUSAHauYp6ydoNC4RXSVHfmjKd3ETvRqNF571gy56CbrS+SpMlLBqZCworECXL
 JB4nK/fo2I3qTCp3rVFx1EjjbNQL72QjRK3a4o1Gqj/5UFbXlyag62gt38qbfG1jsnBI
 j3XLlfDS0N8DAUkARGUJeLdlKZEJv78LMEXKAXPD5HRI/xhMFpxUTO5ma96GPDztLqtG
 Umqst2tZgPuu3sQD8Ek4Dtt2LWQ64jmv/SV0nK+sIjCNc4J0nobIpMyghvXvs7RE+mxP
 qjucOt3xLKPcy8tOMfgPFxTRLvPoPJ6cJXatJtBiuNyNk0FeIxDE8FVP3iRk6cganhn6
 iqug==
X-Forwarded-Encrypted: i=1;
 AJvYcCXA/VFW9jsaPUXrzPNKcaNqpwYALQFoc48ocvboj8KhGMSYV7zPqh8SIzBMFCxNYtzg4skp7Q==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YxnpNunGGMtnuDAjxyuL8ZcUOKg6TXa2KCb35p9nhYFiXbe7gN/
 Fs7XED8q5My2FX4qtVgIP9Dqdpn2KD81MKMJlqrCME8yheCvDWVHJOCsMf3+vg==
X-Gm-Gg: ASbGncvepKdJ3lHNj4ViSxLokHkl5j5t8pCaFrohc1UXkb/0lTSGqMnLuPKw7RihY5x
 ZIyDvcObTCbrnv7RJi9i0SY003g2pxzEKo0XdbttXM92OmIaJ3DrpN84aX0RBZwgPLHCT79R28F
 xKQGhGwkBIYyCA7SnywWhUbEH7bifkpug6nPbeg+2DrO3R5d/eAdrQXwQZk0DgKKUIu669ziAVc
 hAZ+QEyvdemyW4kCNIFp/fxO5VHhDirzdRBgeW/3mvdAYfmrcSdSLnUpWCpNN5I2GKyLKB+Rstu
 Dlc6vkdiFMHLletZpAszpwAGjwfz/NGp6HZK8GKj6CVrrlygXytNdtF8ec40qnpfPvxHbAiB+2c
 nwWftwGXdtw==
X-Google-Smtp-Source: AGHT+IFdz1A6cT/QSNYyDrJRI29p0ECxv0W0td4Lmy3gVQB4n4M8k3ziReklN8vlq9ZbEjpG9Z2b1g==
X-Received: by 2002:a05:600c:1d84:b0:456:207e:fd86 with SMTP id
 5b1f17b1804b1-4563b89f7c6mr127798405e9.2.1753114765532; 
 Mon, 21 Jul 2025 09:19:25 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb51:502d:72af:3b4b:2e7b])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4563b754d0fsm106059085e9.30.2025.07.21.09.19.24
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 21 Jul 2025 09:19:25 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <aH5keG_TpKP2G_V2@begin>
References: <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin>
Date: Mon, 21 Jul 2025 18:19:24 +0200
Message-ID: <87jz41ectv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Mon, 21 Jul 2025 18:02:00 +0200, Samuel Thibault <samuel.thibault@=
gnu.org> said:

    Samuel> It is buggy on rxvt, as the very first mail of this whole threa=
d talks
    Samuel> about:

    Samuel> https://dept-info.labri.fr/~thibault/tmp/coucou.png

    Samuel> The cursor it two times too big.

Yet another reason to avoid rxvt *ducks*

    >> This feature is being added for the benefit of users who run
    >> screen-reading software.  I'm not aware of any other reasons to
    >> disable the use of tabs in Emacs cursor motion.

    Samuel> It's actually even slower on my box.

You benchmarked moving by one character. Moving by tabs can move in
multiples of 8 characters, so I doubt it=CA=BCs that cut and dried.

My testing shows that it=CA=BCs slower to have tabs disabled, in that visit=
ing
src/xdisp.c and pressing C-v repeatedly makes redisplay freeze earlier
than when they=CA=BCre enabled (Emacs eventually catches up).

Robert
--=20




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 16:26:02 +0000
Resent-Message-ID: <handler.78474.B78474.175311511818013 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311511818013
          (code B ref 78474); Mon, 21 Jul 2025 16:26:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 16:25:18 +0000
Received: from localhost ([127.0.0.1]:58588 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udtKH-0004gF-LY
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:25:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48340)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udtKF-0004bY-5v
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:25:15 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udtK9-0001uN-0L; Mon, 21 Jul 2025 12:25:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=aC5RIB6zOEAr32yGKhPuNZS5S8kN11gk5viYSFKAz8Y=; b=kgK+qBwexPY/un8OLZ6R
 ekTPK3X2lO8pgP8zdC7gqTIGWVclcdoLteG4ZU4EGqRx/oxw+a12EhDRQS70Jyxms2cTwHPr+Mm/c
 tmCeYQwDKnmsRJATGnIbq4NLHS1bfDqcM9PfqJOQ7y0ZTgA3ObEw4M/yfazGjnDcsZmlJAeUXSgUI
 dddOnd1uZ6V72IJ4QHWNam6ugHM/4va8sf+RhX/E1gdhvEyHbppNMZcZuVVNGCvfGGDkkMr1/kdmF
 OChgBmUy4Vtx4SdPaLa8Sql0r26XeL4v7CIVv055bWn8fpjNMn8MgyoiOU3vamlVt9hqoLwTmg5Gl
 W3xUHGvhKtCvXg==;
Date: Mon, 21 Jul 2025 18:25:05 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH5p4dXc1NuJbV4U@begin>
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87jz41ectv.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Robert Pluim, le lun. 21 juil. 2025 18:19:24 +0200, a ecrit:
> > >> This feature is being added for the benefit of users who run
> > >> screen-reading software.  I'm not aware of any other reasons to
> > >> disable the use of tabs in Emacs cursor motion.
> >
> > Samuel> It's actually even slower on my box.
> 
> You benchmarked moving by one character. Moving by tabs can move in
> multiples of 8 characters, so I doubt itʼs that cut and dried.

The case which actually poses problem is only that \t\b vs \e[C. Using
tab without moving back with \b does not pose problem.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 16:37:02 +0000
Resent-Message-ID: <handler.78474.B78474.175311577021148 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311577021148
          (code B ref 78474); Mon, 21 Jul 2025 16:37:02 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 16:36:10 +0000
Received: from localhost ([127.0.0.1]:58650 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udtUn-0005V0-UZ
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:36:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36512)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udtUh-0005UC-TO
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 12:36:07 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udtUb-0003Zq-Ba; Mon, 21 Jul 2025 12:35:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=BY5p02ZmzmQ4med3FlQIfikMZeXwPWOM+IrjL3qzHlo=; b=ehdDoZjw6ng0NAgqcc0u
 Fh0m0gchni9/C6YzlV5PAF4LkDFKIsTr+I2kL9WpJ4Q6prjTH6OLi/lU26kF+9bBr/NSXbfJWRjy+
 C2PQpsMo86BotTfevIROT67oQFMq2fInbrUiABmkcuNMUbcqlRNd3/iS/abOTxFTPkkUNiWZL4KRX
 pWb2HqHWAqb9jLYtNKKd60/v9wjxtOyMJELD1LQpDx+2TlFxPLZfF2L0prSY9m3KDNlx7yVyi4jwD
 1R6OyURsW15DYE3NZ2at111Z+2QPKVYSiKM32jTd2pMZC2qiBjURaCPQPx31D6KbBZjm5K/fACBJB
 S8yOMzQTteDJwA==;
Date: Mon, 21 Jul 2025 18:35:53 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH5saYL3jI3g6rWZ@begin>
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87jz41ectv.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Robert Pluim, le lun. 21 juil. 2025 18:19:24 +0200, a ecrit:
> >>>>> On Mon, 21 Jul 2025 18:02:00 +0200, Samuel Thibault <samuel.thibault@HIDDEN> said:
> 
>     Samuel> It is buggy on rxvt, as the very first mail of this whole thread talks
>     Samuel> about:
> 
>     Samuel> https://dept-info.labri.fr/~thibault/tmp/coucou.png
> 
>     Samuel> The cursor it two times too big.
> 
> Yet another reason to avoid rxvt *ducks*

Well, one thing is: I was unabled to find an actual reference on what
*exactly* \t is supposed to be doing for the terminal content. Notably,
run:

echo -e 'a\ta'

and copy/paste that text: do you expect the paste to be 'a\ta' or
'a       a' ? I have seen people request for the former.

Also, if you run:

echo -e 'a\t'

is there actually supposed to be some content to copy/paste on the right
of a?

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 21 Jul 2025 17:03:03 +0000
Resent-Message-ID: <handler.78474.B78474.175311733528217 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175311733528217
          (code B ref 78474); Mon, 21 Jul 2025 17:03:03 +0000
Received: (at 78474) by debbugs.gnu.org; 21 Jul 2025 17:02:15 +0000
Received: from localhost ([127.0.0.1]:58780 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1udtu3-0007L1-5A
	for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 13:02:15 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40850)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udtu0-0007KX-JT
 for 78474 <at> debbugs.gnu.org; Mon, 21 Jul 2025 13:02:13 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1udttt-00072p-Rf; Mon, 21 Jul 2025 13:02:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=NnJUtmEV5tVXBtgcIFX7Z4jkUmZu5R+kkuBTtSqYxKs=; b=awB6G4pma1PQCcoATalR
 cEUeKnNemeJUavhGaVwKPytu4E4BzWFXOQjUVBil6jlD4Wwlvhwt4dSbQ1kSMs+y6HwkfFGQ08/md
 KwENd0poZmmme+lZJpbmp+zX3xiR7cq5NtsDLreSlHJwuOc9zxIvdRgZ1cRcsIC4/pznRFPJWdsYD
 A/1CiQ+o4aZh6fX6F+1cBEkUmHSldWLmEs5XACj7jrTG139I/VSonoqADCSaa7pJhGBXwCDMimFck
 ytfD9e16ppHvofMsV8GPKZfmIVRB+zB7Bqq9ppCcgxevc1wwTx/aGyzXBFEUi8Fsa6rZTjM+LszFF
 /bQL7Rek93WlZw==;
Date: Mon, 21 Jul 2025 18:59:40 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH5x_NhD4DKdWdTa@begin>
References: <87bjpdg2t5.fsf@HIDDEN> <aH5I-wp8IPGndpBN@jnana>
 <86ms8xbpbs.fsf@HIDDEN> <aH5QGe3fWGizcRlV@jnana>
 <87o6tdegsx.fsf@HIDDEN> <aH5gd6q-snGuRbzs@jnana>
 <86ecu9bkz5.fsf@HIDDEN> <aH5keG_TpKP2G_V2@begin>
 <87jz41ectv.fsf@HIDDEN> <aH5saYL3jI3g6rWZ@begin>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <aH5saYL3jI3g6rWZ@begin>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Samuel Thibault, le lun. 21 juil. 2025 18:35:53 +0200, a ecrit:
> Robert Pluim, le lun. 21 juil. 2025 18:19:24 +0200, a ecrit:
> > >>>>> On Mon, 21 Jul 2025 18:02:00 +0200, Samuel Thibault <samuel.thibault@HIDDEN> said:
> > 
> >     Samuel> It is buggy on rxvt, as the very first mail of this whole thread talks
> >     Samuel> about:
> > 
> >     Samuel> https://dept-info.labri.fr/~thibault/tmp/coucou.png
> > 
> >     Samuel> The cursor it two times too big.
> > 
> > Yet another reason to avoid rxvt *ducks*
> 
> Well, one thing is: I was unabled to find an actual reference on what
> *exactly* \t is supposed to be doing for the terminal content.

And don't get me wrong, I tried hard, because that's precisely what I'm
missing for getting fixed the behavior of libvte, the only accessible
graphical terminal. They too are waving hands at optimizations which
are making the content wrong. Both emacs and vte are getting borderline
on the precise semantics of \t, and the problem is that they are on
*different* sides.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 08:18:02 +0000
Resent-Message-ID: <handler.78474.B78474.175317226815216 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175317226815216
          (code B ref 78474); Tue, 22 Jul 2025 08:18:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 08:17:48 +0000
Received: from localhost ([127.0.0.1]:34581 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ue8C4-0003xI-BX
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 04:17:48 -0400
Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:50643)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1ue8C1-0003wf-KH
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 04:17:46 -0400
Received: by mail-wr1-x432.google.com with SMTP id
 ffacd0b85a97d-3a4fb9c2436so2959278f8f.1
 for <78474 <at> debbugs.gnu.org>; Tue, 22 Jul 2025 01:17:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1753172259; x=1753777059; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=W+YHVucHVa82JCX9MBZQHbOlePlc8KDoxrWZ3FBOFtM=;
 b=dGoTQiqn7SER3GMEJlmctQ+7M0CwELDOsgaSmcKhZ6k1nLymy4HrszPL3tbSUUm2im
 qR6RmHO3bphsLOA056oEGD1Zc++554gzoSj1yB4UyucKzmQhMtJ9eYIz20jjEIK8QHH5
 LrAT9qfMVFRRXnc/LT26WxrqRahFMBAep/JspDahp3vXlSr6WkpT7j7n8RQ9dRVmcmk+
 sIovYsItZJzTcx1xN7fWAONT6JQLeaC3xfhhyo83z1MEBUOPxfnWu1630VMJabtvtIBF
 aNtmF5Rh26hQpZvZDCVDywd/EZqa8OgRg3Izh700yyEjzcjvQ04/cfSim7gEK3KdVdFd
 wOUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1753172259; x=1753777059;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=W+YHVucHVa82JCX9MBZQHbOlePlc8KDoxrWZ3FBOFtM=;
 b=HJuigjHinpewCR1euKL1hHAnufho2KYsY9jbdsDX0vj5urUkA8j+LLFNSXT4cFWZyY
 QKGoi59WK3EycILf3wxieRkNYPzweb9j1NdVZPYVAasPKOUx1BKHT1Zsnq8jgOaEYCyY
 mxfjVLHQKbq8+9a0M+sgGEPx/jTRAa9UQcZqHAY+KYWIDpkFadLOESivKP1GVisapRD9
 9sK1YiRs5UbIu3rmThMXM5O2wl9egGaBxDuJqMxUIFnY2NjNoII0feDulZAyrxFj6goV
 1k+Sr61L+X2nx0BV6Ro/DRz7WNrnnghexUmn6vptfjJ5yxE4DHCCVXawELimUul0a2Fw
 oDwg==
X-Forwarded-Encrypted: i=1;
 AJvYcCVQ1olaLkh8FAeV/u4c9pEr273Ass6bQGky2m9WOp0sy/NbcKvffPQQq6nOHvSor15GUc2gJw==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzAyISTDqUc/Ir+ErM3qiFPud2jziucYylbncAERLiUxosAHfMh
 44gVJbWV7/FRsO9vxjKs1uGsxssGQNqL6qrdbazW5zl+dAbBNci8sHDnOn+6yw==
X-Gm-Gg: ASbGnct7ttAe3kNjnku28K+Zxh/heSM9fYfbimWsIfGU4uT4S6tf5xLj8l/uPq4mReZ
 XV7tFbRCIsy7WBPvfrHzayBdvi/7zOHm6IDk12Unho/dqwq8nh39559l7NEReSkpW0/Dfv6JMG9
 oSoA18eYm8MALSFiEOcCB5VM5vThMBMy9lOe7RM1HOMh5qG0HCSIouesVCEPQ5xFPQu92HactAK
 zBPDQ6QHmp6Lw3UJiuo/EtniEz26f20QZPQayq70ocIwYPkZghddPzIf85NhYWKuvHO6s6jTfmt
 UvzQmrfLD/+Sa8hB3EQiJS9mDBIe1e5P8SMMQTWOH7rEijYIDtvqnYjXQnEnno56fsWlk29669h
 3k8viuNLPmg==
X-Google-Smtp-Source: AGHT+IFg12ImekxgAmgv9PpobajhB1wjKBOSySUkwa/CRWYGGT2OujCQNao2kmrfizUj5pKcVJ6TCw==
X-Received: by 2002:a05:6000:2f87:b0:3b5:def6:4b2 with SMTP id
 ffacd0b85a97d-3b61b2227e0mr11561160f8f.45.1753172258482; 
 Tue, 22 Jul 2025 01:17:38 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb51:502d:72af:3b4b:2e7b])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3b764e23cb9sm1121761f8f.44.2025.07.22.01.17.37
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 22 Jul 2025 01:17:37 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <aH5p4dXc1NuJbV4U@begin>
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5p4dXc1NuJbV4U@begin>
Date: Tue, 22 Jul 2025 10:17:37 +0200
Message-ID: <87freoej1a.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Mon, 21 Jul 2025 18:25:05 +0200, Samuel Thibault <samuel.thibault@=
gnu.org> said:

    Samuel> Robert Pluim, le lun. 21 juil. 2025 18:19:24 +0200, a ecrit:
    >> > >> This feature is being added for the benefit of users who run
    >> > >> screen-reading software.  I'm not aware of any other reasons to
    >> > >> disable the use of tabs in Emacs cursor motion.
    >> >
    >> > Samuel> It's actually even slower on my box.
    >>=20
    >> You benchmarked moving by one character. Moving by tabs can move in
    >> multiples of 8 characters, so I doubt it=CA=BCs that cut and dried.

    Samuel> The case which actually poses problem is only that \t\b vs \e[C=
. Using
    Samuel> tab without moving back with \b does not pose problem.

But Emacs uses \t for motion for more than that one case. Are you
saying that if we change Emacs to avoid only \t\b then vte and rxvt
will be happy? That=CA=BCs a much less impactful change.

Robert
--=20




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 08:55:02 +0000
Resent-Message-ID: <handler.78474.B78474.175317447126655 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175317447126655
          (code B ref 78474); Tue, 22 Jul 2025 08:55:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 08:54:31 +0000
Received: from localhost ([127.0.0.1]:34773 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ue8la-0006vp-Ef
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 04:54:30 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56050)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ue8lX-0006vA-8A
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 04:54:28 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ue8lN-0007ck-GM; Tue, 22 Jul 2025 04:54:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=shSDfAsU5H1kFj73JdSFS0SaedDqgXG1+gCrKK3Ka1Y=; b=QHoFUQcFlY4KfAmz71rZ
 L1Q9TrqEE6fsBUhevFqwuj5Cbx6iuvB423ItjaBVqdAhlUcBKFz9+7/Umwv268vnna0BIRqsoWCO3
 dIqNyaVyWVsMt44EsDmXyoh0AqxTSHwhJBdVPHXg80qMPuargO+dIrWDmIFlYAfXOxO8XqD/KqPe7
 0jq1GY/Z5veXZKULNGvCFj+7AET5d+LXNNprxbqPya7bKjoZW02+5dqqi3sP6bf+EmlrIKD2iDOeg
 VxiFWlopUDbMHbIQt7j7tD7I93oUeJ/IQy60Zk82Gtxi1aseBCdUqkmWD1uYNitGkEhUgtGXMELB1
 ouvW1jWBO/PvEA==;
Date: Tue, 22 Jul 2025 10:54:15 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH9Rt0kA4zuCrQ7O@begin>
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5p4dXc1NuJbV4U@begin> <87freoej1a.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87freoej1a.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Robert Pluim, le mar. 22 juil. 2025 10:17:37 +0200, a ecrit:
> >>>>> On Mon, 21 Jul 2025 18:25:05 +0200, Samuel Thibault <samuel.thibault@HIDDEN> said:
> 
>     Samuel> Robert Pluim, le lun. 21 juil. 2025 18:19:24 +0200, a ecrit:
>     >> > >> This feature is being added for the benefit of users who run
>     >> > >> screen-reading software.  I'm not aware of any other reasons to
>     >> > >> disable the use of tabs in Emacs cursor motion.
>     >> >
>     >> > Samuel> It's actually even slower on my box.
>     >> 
>     >> You benchmarked moving by one character. Moving by tabs can move in
>     >> multiples of 8 characters, so I doubt itʼs that cut and dried.
> 
>     Samuel> The case which actually poses problem is only that \t\b vs \e[C. Using
>     Samuel> tab without moving back with \b does not pose problem.
> 
> But Emacs uses \t for motion for more than that one case. Are you
> saying that if we change Emacs to avoid only \t\b then vte and rxvt
> will be happy?

Yes. That's the only case that we have reported from the beginning.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 11:28:02 +0000
Resent-Message-ID: <handler.78474.B78474.175318367119291 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, samuel.thibault@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318367119291
          (code B ref 78474); Tue, 22 Jul 2025 11:28:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 11:27:51 +0000
Received: from localhost ([127.0.0.1]:35676 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueB9z-000515-9V
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 07:27:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55774)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueB9v-00050d-80
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 07:27:49 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueB9n-0001JA-M2; Tue, 22 Jul 2025 07:27:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=o14hGMv0C5TUf7wi3vqGOOfskgws3SWBlnpa8gdmnqc=; b=ODJNbE2Mia6mXWrFrpad
 DUbJQqhOCqHMHB7P3BRNUQ4Vtb3Gw6XQeQKHTRrTaL2TSO0SwjMU4seQcyWHavGv5EBMQdf95Q0xO
 7YG0T4ZWPDHDaTOGC2En24P9ioDpV5OZ2uwnXNIMeNTAfNgqBTNy0f9r6sDbWqDs0liT3ztBpOh2z
 S60VrxiC0KaFLBepgCTJLf4ynlMdm7H9mDxmLCPEvxYSC8EgDxu4PFVRsm7c/Twf2aIGvokBUO/fG
 G9NbX6o2zRu6dSrbbUJ3nPiWLbpdb7NWI+Z92dph/1dlENxZvtYFZ3KaPc2BM3hAhCmVrwSO0Qfrr
 XsWfVUMZzWlVuQ==;
Date: Tue, 22 Jul 2025 14:27:31 +0300
Message-Id: <864iv4bh3w.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <8734apfwl7.fsf@HIDDEN> (message from Robert Pluim on Mon, 21
 Jul 2025 16:27:16 +0200)
References: <aCmaiVtyRDLIj74V@begin> <86ldqutgyf.fsf@HIDDEN>
 <aCmpTPkiT6qphNUW@begin> <87ecumg3e3.fsf@HIDDEN>
 <87jz4efxac.fsf@HIDDEN> <86zfdafsy6.fsf@HIDDEN>
 <87frewf8ei.fsf@HIDDEN> <8634avidtn.fsf@HIDDEN>
 <87bjpdg2t5.fsf@HIDDEN> <86v7nlbt9s.fsf@HIDDEN>
 <aH5JkRLPbM_nze69@jnana> <86ldohbp9p.fsf@HIDDEN> <8734apfwl7.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Cc: Seb Hinderer <Sebastien.Hinderer@HIDDEN>,  bzg@HIDDEN,
>   78474 <at> debbugs.gnu.org,  samuel.thibault@HIDDEN
> Date: Mon, 21 Jul 2025 16:27:16 +0200
> 
>     Eli> It isn't a feature of the console, I think, it's a feature of the
>     Eli> keyboard input subsystem.
> 
> All the systems I use have a way to turn on a 'sticky keys' or similar
> feature. But theyʼre all different, and I access different Emacs
> running on different target systems from different source systems. So
> it would be nice if there was a way to enable it in Emacs instead of
> changing the configuration of the system where I happen to be typing
> from.

I think we will only be able to implement this when the raw-key events
feature is installed?  because otherwise, how can we detect the Shift
or Ctrl or Alt keypress, to change state?  Or what am I missing?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 11:29:01 +0000
Resent-Message-ID: <handler.78474.B78474.175318371819493 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318371819493
          (code B ref 78474); Tue, 22 Jul 2025 11:29:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 11:28:38 +0000
Received: from localhost ([127.0.0.1]:35685 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBAj-00054I-S1
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 07:28:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48230)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueBAg-00053f-CW
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 07:28:34 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueBAZ-0001PM-TX; Tue, 22 Jul 2025 07:28:27 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=tJOpA8Vx52flp0UCD5+esOhC4myT87kswE//NgypCOs=; b=MZal7OFh+JaA
 0NmXJy8F+PF9lCSAoOwVrwVmhm1cDPHvhXMMmITcAHpD4AjXDQc6n5yEq06OV4FvT+G5xrKdj/Op2
 +XkrEPpQ/NC+1sNOQO93G4o0yq2Re+VH57HLimW7bbkYvzKy7kviOJaFNvIlMjlFKrATgXlQVFBcm
 Bfi9x70YcENDN44TsKTY+LPE8aUY+zmnTfq/F01diZTyjVJvYQsim5glLmLjb9ZamypNRfWgYnQTm
 ZvjKX3G8dmGv3XbcvRHGmZQ336QEU/XqdpM1ybiX6u/29U3khYHHrUWIJPoxg45r/WBZ+GC67ChmK
 7BfhxW56vnCWxymGc22TCA==;
Date: Tue, 22 Jul 2025 14:28:19 +0300
Message-Id: <8634aobh2k.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5kL--nv1uaPKYD@begin> (message from Samuel Thibault on Mon, 21
 Jul 2025 18:00:47 +0200)
References: <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5engOVzezx7_80@begin>
 <86frepbl6s.fsf@HIDDEN> <aH5kL--nv1uaPKYD@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 18:00:47 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: rpluim@HIDDEN, Sebastien.Hinderer@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> I have tried the attached test which reproduces both ways and reports
> the time to achieve one million iteration, on my system:
> 
> - with rxvt: non-optimized way takes ~1.9s, optimized way takes ~2.1s.
> - with mate-terminal: non-optimized way takes ~1.8s, optimized way takes
>   ~2.0s.
> 
> So on my system at least the "optimized" way is actually slower.

For that particular single case.  Not in general.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 11:31:01 +0000
Resent-Message-ID: <handler.78474.B78474.175318385528718 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318385528718
          (code B ref 78474); Tue, 22 Jul 2025 11:31:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 11:30:55 +0000
Received: from localhost ([127.0.0.1]:35700 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBCx-0007SV-94
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 07:30:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49040)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBCt-0007Ad-3L
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 07:30:52 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBCn-0001u5-FL; Tue, 22 Jul 2025 07:30:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=veuwLJTi5wPGc7GDkik9H95fJSk4rlN7xCPGbrPbPxY=; b=Qa2HMyML0RKqq7Y13Ylm
 dMPNBjqgiAr8xMA7WXcaWfmQ37Ql29SzlQDQ0PsR24jiTQYRS76VNeOfCpF86VFL78oIJ1lbUxW0w
 Jq4MycPTK68NEd/aU3edR2OTbfit0w3b/O/554BJfJfwtfQTDdBidzNLHHxQeXRT5myLXiuzPJfI5
 u2W7MMHgBvehmuWLlh92TGv6ajKoeCoLz7XVdM+uGNC9nsJsfk3IEA+xu7PCO7JBzp7w17DeA8nqq
 wqAEWHX+sqpLvk4PQ4cy0lO0+31oRAAaUK6TNTnRNAhcRioeeAw39zjxrIdVkPqcJkM9jJ1Qmm83A
 xx/pQGmYK/+twg==;
Date: Tue, 22 Jul 2025 13:30:41 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH92YZTzV_W-pL_L@begin>
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5engOVzezx7_80@begin> <86frepbl6s.fsf@HIDDEN>
 <aH5kL--nv1uaPKYD@begin> <8634aobh2k.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <8634aobh2k.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 14:28:19 +0300, a ecrit:
> > Date: Mon, 21 Jul 2025 18:00:47 +0200
> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > Cc: rpluim@HIDDEN, Sebastien.Hinderer@HIDDEN, bzg@HIDDEN,
> > 	78474 <at> debbugs.gnu.org
> > 
> > I have tried the attached test which reproduces both ways and reports
> > the time to achieve one million iteration, on my system:
> > 
> > - with rxvt: non-optimized way takes ~1.9s, optimized way takes ~2.1s.
> > - with mate-terminal: non-optimized way takes ~1.8s, optimized way takes
> >   ~2.0s.
> > 
> > So on my system at least the "optimized" way is actually slower.
> 
> For that particular single case.

Which is exactly the case that we are reporting about.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 11:46:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531847353203 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531847353203
          (code B ref 78474); Tue, 22 Jul 2025 11:46:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 11:45:35 +0000
Received: from localhost ([127.0.0.1]:35785 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBR8-0000pa-UN
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 07:45:35 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34662)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueBR4-0000oi-43
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 07:45:31 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueBQw-0004rJ-48; Tue, 22 Jul 2025 07:45:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=qwlc/tsMh0TRj9Eh8QM+5YgVrdT86/MrL3zp5OrDnBs=; b=EA9qofAYXME4
 uP0A1LFU1e2IvLzWsjD2DgWuSxDXYgApARnyGaVgeICHgy6Kg8DHcLP3VkSkdR3vN2HEPwVfco8F7
 Axdq1w2nqOIMLiOUDvQtlxyJMv+pIgRi5KUEWGWIsWmgx48PQogdtNrWmJM47cLcrTqhayT10ogke
 cVr+maH+3xvfr7GWjkIbDf/t9+j/PJD6TQREw2M5Fg0X27/hWxFIdrnZRHSuNFaS5p9RkpY2oDbeb
 rgTi+D7EPbtRWjDQ8RkQewcUaA4hbfu92Eo3tz57Mx0WEmvsZ3ildwOd6z4kz0kRlG+rCrLukTGkJ
 IT6zjDWRXWOCsY7oAugl6A==;
Date: Tue, 22 Jul 2025 14:45:15 +0300
Message-Id: <86zfcwa1pw.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5keG_TpKP2G_V2@begin> (message from Samuel Thibault on Mon, 21
 Jul 2025 18:02:00 +0200)
References: <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana>
 <86ecu9bkz5.fsf@HIDDEN> <aH5keG_TpKP2G_V2@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 18:02:00 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN,
> 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le lun. 21 juil. 2025 18:51:42 +0300, a ecrit:
> > I'm not aware of any bugs with this behavior, on any terminal we
> > support.
> 
> It is buggy on rxvt, as the very first mail of this whole thread talks
> about:
> 
> https://dept-info.labri.fr/~thibault/tmp/coucou.png
> 
> The cursor it two times too big.

Ah, okay.  Apologies for forgetting that.

However, that seems a rxvt-specific bug, which should be solved there.
It is only tangentially relevant here.  I don't see this on other
terminals; do you?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 11:55:01 +0000
Resent-Message-ID: <handler.78474.B78474.17531852885675 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531852885675
          (code B ref 78474); Tue, 22 Jul 2025 11:55:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 11:54:48 +0000
Received: from localhost ([127.0.0.1]:35854 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBa3-0001TP-UA
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 07:54:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49464)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueBZy-0001Sk-QA
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 07:54:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueBZq-0007to-Hv; Tue, 22 Jul 2025 07:54:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=iuO5otLKAuuo+A8Z73jd2jl9Lkvb4PuLoCMtA/ufg7I=; b=J5Jezr486zKp
 1Ifx6hwA8ktYedqRwb+RwI2cqJUv4Ytle0mHouEMZBXUkVrQNAHTzWkSoFMKwM5wkVaCXVYC/qfaQ
 yfFNYEhydSPxZI2yOYwtlpihmXYpTu3WfM7Vrutcks4TfvR3lidacDCgi8aHDviCZeEiqIc0PEsQu
 OxNVmQ/in/BE3E/eqKQptUAW8QzBEllgjFDTgsA5eo5sk6mfjRUhS0HEiMX7D7nO4pn4o7K9xgjCt
 ZPoNdCQb8IDBuVE80yF7aYUVUwnOfXBNt7RNuLjZl83R7O3ZCD7wr4ioj2qtVcYO5hJrXQL/gGHCh
 TPUSj5wywt7fcJAyBRyvLQ==;
Date: Tue, 22 Jul 2025 14:54:27 +0300
Message-Id: <86y0sga1ak.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5k40rhLbnJBEND@begin> (message from Samuel Thibault on Mon, 21
 Jul 2025 18:03:47 +0200)
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hGXz58cr8CXds@begin>
 <86bjpdbkoh.fsf@HIDDEN> <aH5k40rhLbnJBEND@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 18:03:47 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le lun. 21 juil. 2025 18:58:06 +0300, a ecrit:
> > > > > That does not exist in terminals, only in graphical sessions
> > > > 
> > > > How come?  Screen readers should announce themselves quite prominently
> > > > to any system, so I'd be very surprised to hear that they are
> > > > invisible on Linux terminals.
> > > 
> > > They really are, since they just read the content from /dev/vcsa.
> > 
> > OK, but the reader itself is a program that is loaded into memory,
> > right?  Can those programs be detected somehow?  Do they leave some
> > traces somewhere on the system?  E.g., if those programs have known
> > names, we could scan the processes running on the system and look for
> > them, if no better method exists.
> 
> Do you allow me to puke?

You can, but it will hardly be useful.

And frankly, I don't understand the attitude.  The original request
was to have an option to disable use of TABs for moving the cursor,
see

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78474#29

Adding such an option is a relatively easy decision, and a preliminary
patch was already posted here to that effect.

But now you have changed the request, and are asking to disable the
TABs by default.  That is a much harder decision to make, since the
relevant code is working for us for decades, and disabling TABs will
definitely slow down display on text-mode terminals, especially those
connected via slow-speed connections.  So I'm trying hard to find some
way of determining that the user could be using screen reading
software, or some other accessibility features of the OS, to
automatically disable TABs only in those cases.  (We do something
similar with system caret on MS-Windows, another accessibility feature
related to screen readers.)  IOW, I'm trying to find a way to allow us
to disable TABs in those cases where that matters, instead of asking
the affected users to do that manually.  Why this should cause the
above reaction is beyond me.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:05:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531858538637 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, samuel.thibault@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531858538637
          (code B ref 78474); Tue, 22 Jul 2025 12:05:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:04:13 +0000
Received: from localhost ([127.0.0.1]:35905 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBjA-0002FF-Jt
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:04:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37636)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueBj5-0002EN-N0
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:04:09 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueBiw-0001cE-HS; Tue, 22 Jul 2025 08:04:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=ZR2/q3Iq+MGq1jv+pZIT732cT8XMKanPTB5MeJlM3ho=; b=KhbpcF3dYOYZp8aHU2LM
 hYlJRtoqzbIADXpdeziuKqZjJIz7V2AeRL4vtANvh93d39lgJtDznPP3Hg3XSXl/D6Xesyhdgy666
 6IsOTRZYvnl/QjXUteug896U+bZQ+BAwz6yDvsR35ejBvMvuk0w/rfvqz+hJbeHofdVnHtL0NX4Jy
 TIA4qyuboQ/0Ci4FLrR9AqtV8A8nap8Rq2FgAc+iBSh8d4siM5UYaAzeBUhvakNKn8wJeEp1SCVg8
 V6ZvWf/io/4pIGDFhBkk1hNBIkE4Xv4QVzh0FLOSCEQFjZy2OKj7U3FTkzlWrj8JBY/nuDkYxaC47
 WkSb8mrkQCBD7A==;
Date: Tue, 22 Jul 2025 15:03:52 +0300
Message-Id: <86wm80a0uv.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87jz41ectv.fsf@HIDDEN> (message from Robert Pluim on Mon, 21
 Jul 2025 18:19:24 +0200)
References: <86zfdafsy6.fsf@HIDDEN> <87frewf8ei.fsf@HIDDEN>
 <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  Seb Hinderer
>  <Sebastien.Hinderer@HIDDEN>,  bzg@HIDDEN,  78474 <at> debbugs.gnu.org
> Date: Mon, 21 Jul 2025 18:19:24 +0200
> 
>     Samuel> It's actually even slower on my box.
> 
> You benchmarked moving by one character. Moving by tabs can move in
> multiples of 8 characters, so I doubt itʼs that cut and dried.
> 
> My testing shows that itʼs slower to have tabs disabled, in that visiting
> src/xdisp.c and pressing C-v repeatedly makes redisplay freeze earlier
> than when theyʼre enabled (Emacs eventually catches up).

I have no doubt that the use of TABs speeds up display on average,
because its "cost" notion is based on counting bytes written to the
screen.  It chooses the method that writes the smallest number of
bytes, and that must be faster in general.

Of course, specially-tailored cases could be concocted which show the
contrary, but that's not what this code is about.  The request in this
bug report, AFAIU, was to disable the use of TABs _in_all_cases_, not
just in the particular case shown by the recipe at the beginning of
the discussion.

For users who use screen-reading software the speed gains are
outweighed by the correctness of the spoken text, so disabling TABs in
those cases makes sense.  But if we want to do that automatically, we
should find some reasonably-accurate indication of such uses, like we
do with w32-use-visible-system-caret on MS-Windows.  If the number of
false positives is low, we could risk disabling TABs for a small
fraction of users who don't actually use screen readers.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:06:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531859419330 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531859419330
          (code B ref 78474); Tue, 22 Jul 2025 12:06:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:05:41 +0000
Received: from localhost ([127.0.0.1]:35922 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBkb-0002QO-BQ
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:05:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56188)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueBkY-0002Pv-S2
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:05:39 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueBkS-0001xF-8S; Tue, 22 Jul 2025 08:05:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=+vOEdjPSu/FzufUazz9SRgMNxwdZtIq95iwCExh9Jng=; b=jhwYn3dZ4GXe
 NubR0hWOiRPZDgyEV8SdE3JyKzQF/WIkQf/HG4YY6gIMxxKOxA4pffaEQuo3BxhN5cmtfE2C4aT9R
 B5NjsG0s3qNeYx1Qg3ZXUqucbw93DuCv32NkK0EPBEh94juUWZoX+ubdpDpyeQvfjA1Kc9eI+F9E2
 QgSbNkaxK957M8BVNV0F2hErqq3RsWjOTMR2IfGsR+ljGnh4s92jnocH6U9KH9UXevkMOJWyY+Go7
 StmjBeVoLsBd2Px0JJeIFrC2nhyh6OLLiKsUIkHIghyUbek75M9CZgskvZVTr0NTQ9se+IZmyiVLz
 iR6AZ/J5cT+Tz2Bqkpl8Lg==;
Date: Tue, 22 Jul 2025 15:05:27 +0300
Message-Id: <86v7nka0s8.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5kxwpjNi4Y6yeq@begin> (message from Samuel Thibault on Mon, 21
 Jul 2025 18:03:19 +0200)
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hEg7C9JDCZZ-y@jnana>
 <86cy9tbku2.fsf@HIDDEN> <aH5kxwpjNi4Y6yeq@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 18:03:19 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN,
> 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le lun. 21 juil. 2025 18:54:45 +0300, a ecrit:
> > > > How come?  Screen readers should announce themselves quite prominently
> > > > to any system,
> > > 
> > > Can you elaborate why you are thingking so?
> > 
> > Because catching screen output is not an easy feat on modern
> > platforms.
> 
> It is. Cat /dev/vcs, and you have it.

When I do that on a GNU/Linux system to which I have access, I get:

   $ cat /dev/vcs
   cat: /dev/vcs: Permission denied




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:07:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531860209629 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531860209629
          (code B ref 78474); Tue, 22 Jul 2025 12:07:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:07:00 +0000
Received: from localhost ([127.0.0.1]:35935 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBlr-0002VC-Ko
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:06:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54256)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBlm-0002UW-MM
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:06:57 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBlg-00024j-Tn; Tue, 22 Jul 2025 08:06:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=r/TZ7Xn9w9DkD96WVAmTxK8NaF/ZRZJ5CQmpTyC1sVE=; b=LcgvHrNBDnnvIhHcg82Y
 kPZQK9RtU/pOb7Sok/ddthhEjWirlp/XMrAYGYkHy+Xq7raxmEweh8jBArVlsBialCeow4N/pt38+
 +emnRSK9zacqH1XZmHHG8jSSGvPdrKREZIhm+xNkLQiJSxOcit91pV5hQQBVUsFJ24fh2pxPz89BS
 A5qpHeTeUoIgXj/NZQXrIIeQnDiGrkZsD/tVEVUocpTifWLkXqmiXUajo3DvUAhpQg/qL6QiIHQ8E
 fdn1kfb32WpAVwajlvv8G90CEJeg1JEybS389kYfcpe1y5ibF8LGGtlWkTfQTRxm2X/Cry5w+hmSK
 psmXfFHythRZWA==;
Date: Tue, 22 Jul 2025 14:06:22 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH9-vpmJA2QOzO6q@begin>
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <86zfcwa1pw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <86zfcwa1pw.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 14:45:15 +0300, a ecrit:
> > Date: Mon, 21 Jul 2025 18:02:00 +0200
> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > Cc: Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN,
> > 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> > 
> > Eli Zaretskii, le lun. 21 juil. 2025 18:51:42 +0300, a ecrit:
> > > I'm not aware of any bugs with this behavior, on any terminal we
> > > support.
> > 
> > It is buggy on rxvt, as the very first mail of this whole thread talks
> > about:
> > 
> > https://dept-info.labri.fr/~thibault/tmp/coucou.png
> > 
> > The cursor it two times too big.
> 
> Ah, okay.  Apologies for forgetting that.
> 
> However, that seems a rxvt-specific bug, which should be solved there.

It's also in vte, where it matters for accessibility. And we have a
*hard* time getting it fixed (the upstream bug has been lying there for
a decade already).

We mentioned rxvt because it is easy to see it there.

And again, I have not yet found a document that explicitly says what
terminals are supposed to do for the content.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:09:02 +0000
Resent-Message-ID: <handler.78474.B78474.175318611110038 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318611110038
          (code B ref 78474); Tue, 22 Jul 2025 12:09:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:08:31 +0000
Received: from localhost ([127.0.0.1]:35948 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBnK-0002bo-Oj
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:08:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53882)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueBnH-0002bR-4m
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:08:27 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueBnB-0002DR-Ml; Tue, 22 Jul 2025 08:08:21 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=4d8ujKJwJGpDomeqj7qIOwmRcPjXOKtQBNVBx4Y8FuI=; b=EH/CFuhbE83r6NnpIeZz
 5Vy+ZcAwbhMsFBXeC4QKRB9gAlktGCPfXf8+hd63Q3vhTbbJBRutjrPgssgokSBeFAzfyidXbwDzQ
 CwV4gZJ5TZ2LcX/S+jvgT9l7f8gYPu9kslAgChTOXI6OiXKurrqXT30zIoBWwIsKL6FQcet8exd3x
 R0Ynj9fI0pDMsAecfYrcND+zAkA3Gcx4Cule3KHwAzy1/0w4Gvi4Gkl8CCdkHKlUXI37EQwN5tl3/
 0qsfOVrqWYHgAn7ZmZ7nwJ0Ofhrl7eiY8nbFLFv+1Nee63ALEqYurYOPUr21fIMxyg25DT838sixe
 H2N2xeAoOF39jQ==;
Date: Tue, 22 Jul 2025 15:08:09 +0300
Message-Id: <86tt34a0nq.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5p4dXc1NuJbV4U@begin> (message from Samuel Thibault on Mon, 21
 Jul 2025 18:25:05 +0200)
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin>
 <87jz41ectv.fsf@HIDDEN> <aH5p4dXc1NuJbV4U@begin>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 18:25:05 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,
> 	Seb Hinderer <Sebastien.Hinderer@HIDDEN>, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> > > Samuel> It's actually even slower on my box.
> > 
> > You benchmarked moving by one character. Moving by tabs can move in
> > multiples of 8 characters, so I doubt itʼs that cut and dried.
> 
> The case which actually poses problem is only that \t\b vs \e[C. Using
> tab without moving back with \b does not pose problem.

If that's the only problematic case, then disabling TABs as in the
proposed patch is not TRT.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:10:02 +0000
Resent-Message-ID: <handler.78474.B78474.175318619710330 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, Robert Pluim <rpluim@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318619710330
          (code B ref 78474); Tue, 22 Jul 2025 12:10:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:09:57 +0000
Received: from localhost ([127.0.0.1]:35958 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBoj-0002gX-1S
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:09:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51942)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBof-0002gA-Ml
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:09:54 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBoY-0002Ud-Nn; Tue, 22 Jul 2025 08:09:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=CXv1lCY/7eaNbpYnj6wrzDOBMw7K8VIM74F9JelFQJc=; b=JY8/DJkpOU3lrtNPDa/T
 Fh/tpQw3qNgaMqs1P0xvfvUtTzvAwnzREQrk7F7/u1dizEpBst6Bb7baWpukv2ZEcNpV/t0HATTbM
 lEJlY1ADbBb6yVAq4Rja99SOz7Op8YWVSPg75zS5RRoBDP0wZhImmdFMAa/iV6roFl8vVAh9ju2g4
 0526JcZ/NCa4rLRarhbuffx22IXLHtiOsWgFb8+/DSK8Tp4K82R39jasDoreKfl4W6xMxJHMg4gKp
 rLHUK6bOl4/yGyJ2dzkjOjnWFxi8ZabRF1G9Q6HV8ROEe+dBok5IvwMIaVCBek8vzKKsNcSd4K3Zb
 npsN1xkSNkaTgw==;
Date: Tue, 22 Jul 2025 14:09:40 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH9_hGfJF_SSCqJ1@begin>
References: <87bjpdg2t5.fsf@HIDDEN> <aH5I-wp8IPGndpBN@jnana>
 <86ms8xbpbs.fsf@HIDDEN> <aH5QGe3fWGizcRlV@jnana>
 <87o6tdegsx.fsf@HIDDEN> <aH5gd6q-snGuRbzs@jnana>
 <86ecu9bkz5.fsf@HIDDEN> <aH5keG_TpKP2G_V2@begin>
 <87jz41ectv.fsf@HIDDEN> <86wm80a0uv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <86wm80a0uv.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 15:03:52 +0300, a ecrit:
> Of course, specially-tailored cases could be concocted which show the
> contrary, but that's not what this code is about.  The request in this
> bug report, AFAIU, was to disable the use of TABs _in_all_cases_,

No.

“
Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
(\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"

This char insertion problem confuses assistive technologies for the
visually impaired.
â€

I don't remember really asking for more than that.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:11:01 +0000
Resent-Message-ID: <handler.78474.B78474.175318622810846 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318622810846
          (code B ref 78474); Tue, 22 Jul 2025 12:11:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:10:28 +0000
Received: from localhost ([127.0.0.1]:35966 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBpE-0002oq-20
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:10:28 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53880)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBpA-0002mr-Du
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:10:25 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBp4-0002oQ-Gp; Tue, 22 Jul 2025 08:10:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=qOc81wfAhKHElr8E5/uzMt7yN27z57+4TfqihL9EbwA=; b=sR6gp5I385kVDxOKT8Qu
 0Ii7Boy5Vv9odMSe/NerGE7G97fh16gQnFK9ttLhlYgITefY4FVjAK5ttwrIQqncvrnjiJTawQ+i/
 OiUm0yKK1YZgIFiXe49jIf8DOzUJ+BU6WkM9sapqTLiJC2zoGG3vwYMKRRtv6NdaM/Lj/HmLYj8a+
 uolTCSDbpvB0d2zVlBV0Wf0PPp8t1aOKkps2dYwfUJTlU3hfrckNtOPOYh86xsuKlDiB7uFta2sxT
 R3BDwTz4ZqqcIooyPpTKkdDIBnKXr8oN7BF22jQhmj1vqnhqsgbwLkCCJCGyMvw8Wzqie8LBB3nED
 Q6MI+KLXVWX/nw==;
Date: Tue, 22 Jul 2025 14:10:11 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH9_o1Fu8IthB_s4@begin>
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5p4dXc1NuJbV4U@begin> <86tt34a0nq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <86tt34a0nq.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 15:08:09 +0300, a ecrit:
> > Date: Mon, 21 Jul 2025 18:25:05 +0200
> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > Cc: Eli Zaretskii <eliz@HIDDEN>,
> > 	Seb Hinderer <Sebastien.Hinderer@HIDDEN>, bzg@HIDDEN,
> > 	78474 <at> debbugs.gnu.org
> > 
> > > > Samuel> It's actually even slower on my box.
> > > 
> > > You benchmarked moving by one character. Moving by tabs can move in
> > > multiples of 8 characters, so I doubt itʼs that cut and dried.
> > 
> > The case which actually poses problem is only that \t\b vs \e[C. Using
> > tab without moving back with \b does not pose problem.
> 
> If that's the only problematic case, then disabling TABs as in the
> proposed patch is not TRT.

I don't think I asked for this, and only confirmed that it's one way to
do it.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:16:02 +0000
Resent-Message-ID: <handler.78474.B78474.175318654512281 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318654512281
          (code B ref 78474); Tue, 22 Jul 2025 12:16:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:15:45 +0000
Received: from localhost ([127.0.0.1]:35996 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBuK-0003Bz-Vx
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:15:45 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44520)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueBuH-0003BM-4W
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:15:42 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueBu8-00057Y-Nq; Tue, 22 Jul 2025 08:15:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=OBNVT5RX/+tFm0VZa52o7lIAdwW7Xm3VLYIzWOYBsr4=; b=TDgOMDtX76IY
 xHCwVYH4ktSvzRQE4cYgh719zZhBU03Stx5FjiJtOAGN0GQJjTlGte11bcTPGapk4+8I4KzQQRkjl
 6fsn7ZcO4izWTFRnpUsvpdStfyZV5GF+3C6K+d/4GOYx6bGrWuIhF5QYqZ3tMHRP1FRm5RijAxV9J
 7nWQF+6nV0pA+uftjMQNRxLJsqjm0sZ6hn6Yw9ioqn4m0jmqxjQWh3b77Ukl5HjVXsafRc5xSzlYM
 w+ZbR6v66/358/ISMuQmyF2t1O29wjGwmwJGJTsLH+XYDoVxm4I7QeNE0TgEJfnbjNhxVtxeEF1Q/
 Kkld6SNN4R9Y6+EdU23krw==;
Date: Tue, 22 Jul 2025 15:15:28 +0300
Message-Id: <86qzy8a0bj.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH5saYL3jI3g6rWZ@begin> (message from Samuel Thibault on Mon, 21
 Jul 2025 18:35:53 +0200)
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin>
 <87jz41ectv.fsf@HIDDEN> <aH5saYL3jI3g6rWZ@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 21 Jul 2025 18:35:53 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,
> 	Seb Hinderer <Sebastien.Hinderer@HIDDEN>, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Robert Pluim, le lun. 21 juil. 2025 18:19:24 +0200, a ecrit:
> > >>>>> On Mon, 21 Jul 2025 18:02:00 +0200, Samuel Thibault <samuel.thibault@HIDDEN> said:
> > 
> >     Samuel> It is buggy on rxvt, as the very first mail of this whole thread talks
> >     Samuel> about:
> > 
> >     Samuel> https://dept-info.labri.fr/~thibault/tmp/coucou.png
> > 
> >     Samuel> The cursor it two times too big.
> > 
> > Yet another reason to avoid rxvt *ducks*
> 
> Well, one thing is: I was unabled to find an actual reference on what
> *exactly* \t is supposed to be doing for the terminal content. Notably,
> run:
> 
> echo -e 'a\ta'
> 
> and copy/paste that text: do you expect the paste to be 'a\ta' or
> 'a       a' ? I have seen people request for the former.

What you copy/paste and what is written to the screen are not
necessarily the same thing.  The effect of TAB on the screen is to
move the cursor (or the rest of the line's text) to the right by a
suitably-computed number of columns, which depends on the column where
you do that.  What is copy/paste'd depends on the program which
serves the copy: some give you TAB, others give you spaces.

> Also, if you run:
> 
> echo -e 'a\t'
> 
> is there actually supposed to be some content to copy/paste on the right
> of a?

IME, also depends on the program which serves the copy/paste.

(I think these aspects are tangents, not an integral part of this
discussion.)




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:17:01 +0000
Resent-Message-ID: <handler.78474.B78474.175318658012432 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318658012432
          (code B ref 78474); Tue, 22 Jul 2025 12:17:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:16:20 +0000
Received: from localhost ([127.0.0.1]:36003 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBut-0003ER-JI
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:16:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36474)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBun-0003Du-HT
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:16:14 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBuh-0005aC-2N; Tue, 22 Jul 2025 08:16:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=zye+enBUnqlA2RQAise/oVkzjuDBTv8NfZTceafpYuQ=; b=n1BEdUpstpPjC2B0iQab
 Br8/2L9IbfNn+MyUkPuTdgguoAfQ2yny69jmJmBdb7xCQ383t2FNUOg0ui0e84caEDEIorHR+FvS3
 6Bg4OTyEGFoYBH4TvQmXJIuJWXJI4SzGCWb7VqfWRgM7aUZDDYs3GUkna8z3NHbOaB6yjkUvdE3wf
 0JLaFN73a1WiIyZgP3OkEGGBc1IC8fe8WhAyat7KR1ti+St27kk4l4PQq4A4XiQyyezx5oWQI7PGH
 GND3hPNJHRt5lxOw+t1k55WUI0whPTfA2X8B+QN0IlNZkUxSRDRH3V/+GYaqHm5Zs0xS5Sp7EfnSx
 9FPYi/eu069Zsg==;
Date: Tue, 22 Jul 2025 14:16:02 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH-BAoy5kelDl1rQ@begin>
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hGXz58cr8CXds@begin> <86bjpdbkoh.fsf@HIDDEN>
 <aH5k40rhLbnJBEND@begin> <86y0sga1ak.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <86y0sga1ak.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 14:54:27 +0300, a ecrit:
> > Date: Mon, 21 Jul 2025 18:03:47 +0200
> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > Cc: Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, bzg@HIDDEN,
> > 	78474 <at> debbugs.gnu.org
> > 
> > Eli Zaretskii, le lun. 21 juil. 2025 18:58:06 +0300, a ecrit:
> > > > > > That does not exist in terminals, only in graphical sessions
> > > > > 
> > > > > How come?  Screen readers should announce themselves quite prominently
> > > > > to any system, so I'd be very surprised to hear that they are
> > > > > invisible on Linux terminals.
> > > > 
> > > > They really are, since they just read the content from /dev/vcsa.
> > > 
> > > OK, but the reader itself is a program that is loaded into memory,
> > > right?  Can those programs be detected somehow?  Do they leave some
> > > traces somewhere on the system?  E.g., if those programs have known
> > > names, we could scan the processes running on the system and look for
> > > them, if no better method exists.
> > 
> > Do you allow me to puke?
> 
> You can, but it will hardly be useful.
> 
> And frankly, I don't understand the attitude.

I'm sorry, but I also have a hard time understanding the attitude.

This bug is making emacs user have to avoid working in the graphical
desktop environment, because they cannot reliably edit text. And thus
they miss all the graphical tools that everybody else is using. So
they'd have to switch back&forth between textmode and console to do
their work, a very painful experience.

And you are proposing to probe for the existence of a process to decide
the emacs behavior. There has been already half a dozen graphical
screen readers, some of which have even changed name. How can that be
considered a solution when we are talking about just adding one byte...

> The original request was to have an option to disable use of TABs for
> moving the cursor, see

No.

>   https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78474#29

*Actually* see the _*original*_ request:

“
Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
(\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"

This char insertion problem confuses assistive technologies for the
visually impaired.
â€

Yes. I'm repeating myself. Since you don't seem to be accepting that.

> But now you have changed the request, and are asking to disable the
> TABs by default.

I'm not *asking* for something in particular. I'm asking for a solution
to the *actual* problem, which is \009\008. And not a solution that will
break as soon as somebody creates their own screen reader for their own
use.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:17:02 +0000
Resent-Message-ID: <handler.78474.B78474.175318660112533 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318660112533
          (code B ref 78474); Tue, 22 Jul 2025 12:17:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:16:41 +0000
Received: from localhost ([127.0.0.1]:36008 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBvE-0003G4-E7
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:16:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57330)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBv8-0003FE-Bk
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:16:35 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBv2-0005dq-Oa; Tue, 22 Jul 2025 08:16:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=5+uNaQ8fEcOtWtladJXbWVgiwpOeVVqkhU3uJwMaqaE=; b=Wch3Lu6Sa48tugpsopLC
 nY92wk0Fm4OsHaPyd38YMZmWg4RZaaP1dLup7I0DiuqQf2QEMhmwkVNDe3Jg3S22CEi1verz3HxH5
 R9HvmYNOPjaw5UEyDUn+uUNgGeLEP57S8CLi8Upmx73phwbunRVfEPujf8CR8H8G1azRysWDIqCxT
 +vQte+/ihtfSCTjI+cYa0pHyFoemgFu6RPCdETpmsM+J03uiyXbJS3rv/TEDyN2HDqXG/SbUJrBLC
 VcSVIYOjj6rBsXNbRaG3mkN6NwvgSCGNrs7MTe0tzS5aDL33LFz8DJ5qECHQC3xR+0SzVHLq3yGaD
 ZJ8vf8WndqMs4A==;
Date: Tue, 22 Jul 2025 14:16:25 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH-BGVFT6gu7hTIJ@begin>
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hEg7C9JDCZZ-y@jnana> <86cy9tbku2.fsf@HIDDEN>
 <aH5kxwpjNi4Y6yeq@begin> <86v7nka0s8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <86v7nka0s8.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 15:05:27 +0300, a ecrit:
> > Date: Mon, 21 Jul 2025 18:03:19 +0200
> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > Cc: Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN,
> > 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> > 
> > Eli Zaretskii, le lun. 21 juil. 2025 18:54:45 +0300, a ecrit:
> > > > > How come?  Screen readers should announce themselves quite prominently
> > > > > to any system,
> > > > 
> > > > Can you elaborate why you are thingking so?
> > > 
> > > Because catching screen output is not an easy feat on modern
> > > platforms.
> > 
> > It is. Cat /dev/vcs, and you have it.
> 
> When I do that on a GNU/Linux system to which I have access, I get:
> 
>    $ cat /dev/vcs
>    cat: /dev/vcs: Permission denied

Yes, screen readers have always had to be privileged somehow.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:21:02 +0000
Resent-Message-ID: <handler.78474.B78474.175318684013780 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318684013780
          (code B ref 78474); Tue, 22 Jul 2025 12:21:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:20:40 +0000
Received: from localhost ([127.0.0.1]:36038 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueBz6-0003aB-1d
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:20:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36870)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueBz2-0003Ze-Bh
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:20:37 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueByw-0008Pj-6o; Tue, 22 Jul 2025 08:20:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=Bpapx8YAMKkbe+4Ok7a3CXj+FDg6u5ErU7188i8fhQs=; b=fFgZLW+WsM00jlTqBH5Q
 7fQsbQcRU3dzoRDAU3iZgqQurX3OoXR9m22hub59SczyhUyeIXhxNAplOzLhZAFRaV39JKGXrTfzw
 Bh2p94PpZXMH7Usjjl3dlihwZMkQ9T4pXYW4wWgZY4GqlWd+xePpFJ84Bk6ogni0y+dFIjE2HurdL
 34ysXmmnNoBi54AruuWB5/Uj+tAq8YemPs0Gigl7Zhww4sYT/S3QwRFVIBIx3vVCmwsGp5+1B9n06
 7ba6rxOZMupKk96Z9F5bIY8ZKzTkN1J47T7isFMn6AD1w+NW3lBqOksY3lKiS/asRRcjUEVnheWDJ
 GyPIk07v2Nd9/Q==;
Date: Tue, 22 Jul 2025 14:20:24 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH-CCBeoZDx81BLc@begin>
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5saYL3jI3g6rWZ@begin> <86qzy8a0bj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <86qzy8a0bj.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 15:15:28 +0300, a ecrit:
> > Date: Mon, 21 Jul 2025 18:35:53 +0200
> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > Cc: Eli Zaretskii <eliz@HIDDEN>,
> > 	Seb Hinderer <Sebastien.Hinderer@HIDDEN>, bzg@HIDDEN,
> > 	78474 <at> debbugs.gnu.org
> > 
> > Robert Pluim, le lun. 21 juil. 2025 18:19:24 +0200, a ecrit:
> > > >>>>> On Mon, 21 Jul 2025 18:02:00 +0200, Samuel Thibault <samuel.thibault@HIDDEN> said:
> > > 
> > >     Samuel> It is buggy on rxvt, as the very first mail of this whole thread talks
> > >     Samuel> about:
> > > 
> > >     Samuel> https://dept-info.labri.fr/~thibault/tmp/coucou.png
> > > 
> > >     Samuel> The cursor it two times too big.
> > > 
> > > Yet another reason to avoid rxvt *ducks*
> > 
> > Well, one thing is: I was unabled to find an actual reference on what
> > *exactly* \t is supposed to be doing for the terminal content. Notably,
> > run:
> > 
> > echo -e 'a\ta'
> > 
> > and copy/paste that text: do you expect the paste to be 'a\ta' or
> > 'a       a' ? I have seen people request for the former.
> 
> What you copy/paste and what is written to the screen are not
> necessarily the same thing.  The effect of TAB on the screen is to
> move the cursor (or the rest of the line's text) to the right by a
> suitably-computed number of columns, which depends on the column where
> you do that.  What is copy/paste'd depends on the program which
> serves the copy: some give you TAB, others give you spaces.
> 
> > Also, if you run:
> > 
> > echo -e 'a\t'
> > 
> > is there actually supposed to be some content to copy/paste on the right
> > of a?
> 
> IME, also depends on the program which serves the copy/paste.
> 
> (I think these aspects are tangents, not an integral part of this
> discussion.)

They are fully part of the discussion, because that changes what is
actually supposed to be stored in the terminal, and thus what the
accessibility feature is supposed to expose to the user: should it
expose a tab, or spaces. But if a tab, then how can the cursor be inside
the tab when emitting \t\b. That's the *whole* problem at stake.

And thus why I mentioned looking for an actual document that explictly
says that \t is supposed to produce spaces, because for now the vte
maintainer is saying that there is no text there and thus it should not
be exposed to the accessibility layer, but then the cursor is getting
wrong, making emacs essentially unusable as it is now. If I had a text
that explicitly says that \t produces content, it would be way easier
to fix this on the vte side. For now, we have been stuck for a *decade*
there.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:28:01 +0000
Resent-Message-ID: <handler.78474.B78474.175318726815709 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318726815709
          (code B ref 78474); Tue, 22 Jul 2025 12:28:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:27:48 +0000
Received: from localhost ([127.0.0.1]:36085 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueC5z-00045I-N2
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:27:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60836)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueC5w-00044h-3U
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:27:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueC5p-0001Cj-MK; Tue, 22 Jul 2025 08:27:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=AnWCBjUyvEt59U9yIXOHzIQ/ZVL34IcuuXesdnqEfZw=; b=YOhyjAUmv6pAO0i4u2go
 YHCF02ApwBdrFF5haT7llPzf5tgrxHe38erw1Lk7K6XmdwQtgZJvniYb1KtfuEUoibDjzsaf6SPhI
 Da4pmtYd/LSNIJszJc2aVhbEnEK1Lb4X7Ee79iaq3h/3wLtNCa+TsyvVrTtZnFjrJypZVzYVNeZkF
 j42c5n3gHt2/gxJX7h2pqai1Tb1SIaWqk+UKpM1+mZt2a4wtUZUEx8B+Vi58RqcOJQTsWoHxphIF9
 NPJ4nBqca7qxouBircr1ZoJCtJe/74n2qwTLG4ZGY9DETgFsrDxNzeo25SrXE9fYjF4KCKSwvG7oe
 nEhJf24Iq6zNvQ==;
Date: Tue, 22 Jul 2025 14:27:30 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH-DsgQuvqZ-Iy2i@begin>
References: <86ms8xbpbs.fsf@HIDDEN> <aH5QGe3fWGizcRlV@jnana>
 <86ikjlbmsm.fsf@HIDDEN> <aH5d_k3bBmW3aDSm@begin>
 <86h5z5bld4.fsf@HIDDEN> <aH5hGXz58cr8CXds@begin>
 <86bjpdbkoh.fsf@HIDDEN> <aH5k40rhLbnJBEND@begin>
 <86y0sga1ak.fsf@HIDDEN> <aH-BAoy5kelDl1rQ@begin>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <aH-BAoy5kelDl1rQ@begin>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Samuel Thibault, le mar. 22 juil. 2025 14:16:02 +0200, a ecrit:
> And not a solution that will break as soon as somebody creates their
> own screen reader for their own use.

To put some context here: one of the latest screen readers out there,
odilia, is already concerned by the amount of existing workarounds
for accessibility in general. If they bang their head against walls
concerning \t\b, wondering why that works with the well-known orca
screen reader, and not with their own, and end up seeing a hardcoded
list of the screen readers that are fortunate enough to be known enough
to get the proper behavior of emacs in vte, as opposed to the screen
reader that they are trying to write, then yes, I believe they could
almost litteraly throw up.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:32:01 +0000
Resent-Message-ID: <handler.78474.B78474.175318746416877 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318746416877
          (code B ref 78474); Tue, 22 Jul 2025 12:32:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:31:04 +0000
Received: from localhost ([127.0.0.1]:36107 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueC99-0004O8-MV
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:31:04 -0400
Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:43254)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1ueC96-0004NM-M3
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:31:01 -0400
Received: by mail-wr1-x430.google.com with SMTP id
 ffacd0b85a97d-3a4e742dc97so3383001f8f.0
 for <78474 <at> debbugs.gnu.org>; Tue, 22 Jul 2025 05:31:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1753187454; x=1753792254; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=WSMYlVQAaCCj3I69rnYt18Zx0Y2iGcuQBuWZWxd8efk=;
 b=FsC8/DZmhqHTLByKSWHy/0PJCMi0zt6AorDfNl2bFdu9HkaGDVkeWMcZqVtqAmebLP
 1zl0TJBnj6R8TcnSR12KNYFjz2+vKs3ggYvdmQpFKB5DAk+GnA/DTDh9yIGd3ONw79hY
 2ZDGN+iHmjsZd5S1P6DFA5b7MZIbUqA0s0az7i6wqa3UiGKaEEenDmlRBuvKmaMjUvgW
 5fukkG2o7ur9uXHgHnu2eVpMjJuvxLl7OEnJyUDVtTW+UDe/l81PLNhaAkTHXchgEVGJ
 rNV7DWk9a06zfp2rt0f5bkyz3jpS47bMjVIqoVW7ZIOGXmNBCpufhacSTtV3BhuriSPV
 HOeQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1753187454; x=1753792254;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=WSMYlVQAaCCj3I69rnYt18Zx0Y2iGcuQBuWZWxd8efk=;
 b=siCWw7ov9vwhr4uh+jkhnpCTnw2zLIV4S8uMMAgqGaQmgvYb3OtMpEkvYoG27ewFgA
 krKc08eSc3G8B1k84fWcOFDWDirq6J1KWrIPn4JH+o+enU/sjO8//0diBYqhaNntvK68
 h8tbdlmyTJDNZmzXi9wp4QXvmSe9ZPQdmB/6GzU6Y8xhsImdvOKqEum3Suxuaor4IIlz
 r700CL5x5JqugUnKN3tdGgnIepHHrDOQmk+ERdINefP7CAiWdJPR/iv/4rF3oEkQJzEm
 B/HS0YKrIaD5Nq+MoLtj4YhAa706XkLZSFyRZWhThqHFrjgPIA2RZvLEjLdIj6dcQz/S
 A8Vg==
X-Forwarded-Encrypted: i=1;
 AJvYcCVPNdU6wxB0CwLu06wieWYwk0szLdtvM5B0gLVdEKSSAu/Y9xB3SxxXtAjHyJd3xwcTm/02Xg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YwI6ZXvEMjT4PA7uQo8y2pu3EulW2c8ExxDE/pdBUNS7j0qrCEE
 0kI5FRemRgeYf/DxI+VZHO82AWrf3QSh0CXEzO93DdLFOxunbAY6/fDMCgqk/w==
X-Gm-Gg: ASbGncsCzb1Tw3lqSIC/PVeAcOf93WHOX1RicW8vlh7xwWLuVvR/KKSZxCplM7uKVZ3
 LkhIGF9kRufW2UHQm8L0Up+M5Zfbq7JQ4Upz2wAuopoV2tZSAJvK1Z6HsDhy2i8dMlWBOSc+ZPX
 eWFVbvQ2wKpcQzYbPiLTvQrSYjbOKIzSJPKRYQI6xXeBRmXsn7axRoNDNABHFHX06GzzUI4ePR6
 0UeVLlAsEuezxJVxz/j9kP+lBVNjewY0O+hkqg11vD5UcWs7TnaxMv8tZNLiqJYVal+DS5VzAnt
 0Q35+vA55fHTfMs9psa7Yrq3/r+BVB4O5gzJvL0rxi0phfhTdsAryDqfLjGn+X0dpPxDSTlConc
 zr/jNEF1USA==
X-Google-Smtp-Source: AGHT+IG7PfrPdLF6Ajoby4+4H150NO8pIB4ABq2OxaqRLcdF+C/yXgK4C5gqn3u9/V6uOgM9D081yw==
X-Received: by 2002:a05:6000:40dc:b0:3b5:e78f:f4b3 with SMTP id
 ffacd0b85a97d-3b763491651mr2472847f8f.11.1753187453949; 
 Tue, 22 Jul 2025 05:30:53 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb51:38d8:863a:3c9f:907f])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3b61ca2dfe0sm13373520f8f.36.2025.07.22.05.30.53
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 22 Jul 2025 05:30:53 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <aH9_o1Fu8IthB_s4@begin>
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5p4dXc1NuJbV4U@begin> <86tt34a0nq.fsf@HIDDEN>
 <aH9_o1Fu8IthB_s4@begin>
Date: Tue, 22 Jul 2025 14:30:52 +0200
Message-ID: <874iv4e7b7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Tue, 22 Jul 2025 14:10:11 +0200, Samuel Thibault <samuel.thibault@=
gnu.org> said:

    Samuel> Eli Zaretskii, le mar. 22 juil. 2025 15:08:09 +0300, a ecrit:
    >> > Date: Mon, 21 Jul 2025 18:25:05 +0200
    >> > From: Samuel Thibault <samuel.thibault@HIDDEN>
    >> > Cc: Eli Zaretskii <eliz@HIDDEN>,
    >> > 	Seb Hinderer <Sebastien.Hinderer@HIDDEN>, bzg@HIDDEN,
    >> > 	78474 <at> debbugs.gnu.org
    >> >=20
    >> > > > Samuel> It's actually even slower on my box.
    >> > >=20
    >> > > You benchmarked moving by one character. Moving by tabs can move=
 in
    >> > > multiples of 8 characters, so I doubt it=CA=BCs that cut and dri=
ed.
    >> >=20
    >> > The case which actually poses problem is only that \t\b vs \e[C. U=
sing
    >> > tab without moving back with \b does not pose problem.
    >>=20
    >> If that's the only problematic case, then disabling TABs as in the
    >> proposed patch is not TRT.

    Samuel> I don't think I asked for this, and only confirmed that it's on=
e way to
    Samuel> do it.

That was my misinterpretation of the request. It=CA=BCs easy enough to
restrict the change to only affect the '\t\b' case, but we=CA=BCll have to
come up with a new name for the user option :-)

Robert
--=20




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:34:02 +0000
Resent-Message-ID: <handler.78474.B78474.175318763517448 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318763517448
          (code B ref 78474); Tue, 22 Jul 2025 12:34:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:33:55 +0000
Received: from localhost ([127.0.0.1]:36118 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueCBu-0004XK-Tn
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:33:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36394)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueCBp-0004WY-Dh
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:33:50 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueCBi-0003ET-Ee; Tue, 22 Jul 2025 08:33:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=V2WN5edCGhDTb4vEaKvgdeAhsF0uKULe9/tvH48vYgc=; b=ONqODLkztAG9+H6AIxio
 ux5auSF4OnpTsXWxEKNsr1z0iB9UJYy5YBLKe71hvm7TQCHYLcuKp7pRfVOxqMX4SrKNwHDapnVk1
 i44B2sW8I9qCdHqyywAiY/A2YwrgccDzu5cIbzG8WSQ7sKtCgqlCCx8WEVJYmYePiYJMM3a83qBrA
 Q7Jwe5DjeUwprQ+1KxWH8wRNPMNKQ4YFJ1P6IM386/VeLISZmCA6sc+OmujO9wE1C4AnAB0gpCXMl
 MrRFTKPA02Rnh0W8bNkNX4vGa8UWbVXZDn8ARX5qX+Srcmfsg2X2v9d5RKOL64TgcPh++aBmJ2/fG
 XAHNENk0M4udaA==;
Date: Tue, 22 Jul 2025 14:33:38 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH-FIvgqYWhCJh27@begin>
References: <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5p4dXc1NuJbV4U@begin> <86tt34a0nq.fsf@HIDDEN>
 <aH9_o1Fu8IthB_s4@begin> <874iv4e7b7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <874iv4e7b7.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Robert Pluim, le mar. 22 juil. 2025 14:30:52 +0200, a ecrit:
> >>>>> On Tue, 22 Jul 2025 14:10:11 +0200, Samuel Thibault <samuel.thibault@HIDDEN> said:
> 
>     Samuel> Eli Zaretskii, le mar. 22 juil. 2025 15:08:09 +0300, a ecrit:
>     >> > Date: Mon, 21 Jul 2025 18:25:05 +0200
>     >> > From: Samuel Thibault <samuel.thibault@HIDDEN>
>     >> > Cc: Eli Zaretskii <eliz@HIDDEN>,
>     >> > 	Seb Hinderer <Sebastien.Hinderer@HIDDEN>, bzg@HIDDEN,
>     >> > 	78474 <at> debbugs.gnu.org
>     >> > 
>     >> > > > Samuel> It's actually even slower on my box.
>     >> > > 
>     >> > > You benchmarked moving by one character. Moving by tabs can move in
>     >> > > multiples of 8 characters, so I doubt itʼs that cut and dried.
>     >> > 
>     >> > The case which actually poses problem is only that \t\b vs \e[C. Using
>     >> > tab without moving back with \b does not pose problem.
>     >> 
>     >> If that's the only problematic case, then disabling TABs as in the
>     >> proposed patch is not TRT.
> 
>     Samuel> I don't think I asked for this, and only confirmed that it's one way to
>     Samuel> do it.
> 
> That was my misinterpretation of the request. Itʼs easy enough to
> restrict the change to only affect the '\t\b' case, but weʼll have to
> come up with a new name for the user option :-)

Since \t\b is actually slower than \e[C, I don't see why it should be an
option.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Robert Pluim <rpluim@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 12:46:01 +0000
Resent-Message-ID: <handler.78474.B78474.175318833220877 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175318833220877
          (code B ref 78474); Tue, 22 Jul 2025 12:46:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 12:45:32 +0000
Received: from localhost ([127.0.0.1]:36180 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueCN9-0005Qd-E6
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:45:32 -0400
Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:48268)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1ueCMy-0005Pm-8R
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 08:45:21 -0400
Received: by mail-wm1-x32c.google.com with SMTP id
 5b1f17b1804b1-45610582d07so42674425e9.0
 for <78474 <at> debbugs.gnu.org>; Tue, 22 Jul 2025 05:45:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1753188314; x=1753793114; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=Kotewgzk8w8fGksGb7vti/FlFuWPAk6lz/DNfFyLUKg=;
 b=boeFi7pkHUk3z9uN+90PxHLTn3i10pnjjz0v8yuQuUgj7aZi112cWAa96KqAl1gBVv
 YhYPo/RMTeUgBz3nE3E+jG61YVvhI2RVNXXap0ObhxbaTNG2sPDzVEJb96J8CDzm3E/7
 N6s1MDvFfkoqVCe+M5ub/si+U9MmZ2/K7EH1yPoyPlyuUr2Egd8T12tmiqUC7eAj0bOy
 W5dTKaBv0DNd2MQACnL1LLGe9avKfhnkVpp+tRiRYeUiQXaB/Tb9uiehZlcdHhaQJRyu
 yOTl+VZgBPvL6hI0h6N1NNP1jB+/ECOZJtVob/PGOgvXH2UvmYYRtqvA6XpqSSmXPyZE
 TzPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1753188314; x=1753793114;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=Kotewgzk8w8fGksGb7vti/FlFuWPAk6lz/DNfFyLUKg=;
 b=Qn/W8P27gL3eUWfqUkUWfomzGQQZdnhcod4v1DLz2vTn0I2+98qu9ypVFOuNCqai8T
 2M6GuSFfjLlVk9xbHvUz5HVdmUPBIQpDpBly30g2GfCL6HMaQ0uWXgPiHe2CT1LFjXqD
 fGYIIrSc+Yozj+2BdKxI5rTJFiddOqNqVbrIVSqZDlhG/JUA4mg//jUfXOB+NyfLI62r
 FW1VoAVo7j3gGkJTXg4QoZMO90ZWakOcfbwDID0unHDYZazVUFIwRZ1DHx6UFlS8kdlW
 mgh2WLG14YZ+taq7O7WygqAPCh/lOh2J9gQwqEl2r3dgUq36S/6Uh2iW55D9ORoEKlK/
 BK0Q==
X-Forwarded-Encrypted: i=1;
 AJvYcCVOn+PRhVU+TIGTp0pPEYb4W7EjCb7Is6JDTyFu2VdvNhjr2wciKVbtvRVAUHX3LrU9l72lgg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzdoKaeHOt0lQGMIgh+jZ8bl0aIt17WFwYEY11UBhgTe7LORExX
 EAeev95m8cSN42kGe87UyRNQEFl8ltVVIkrXyav0t9oQ0dogXtPyJnTBw3I8SQ==
X-Gm-Gg: ASbGncuqsgs4bKzZ2h8iEK6qXstOckEd25+VXRIUZGlqZCBfGRNKT/iXiZEdC9qQLoU
 jbsuyg+DYenVQO4/XQHMeJ6AFxiFeir1DKpQJ2K3T8diX515WD5OtzWGKw12K6eGC8lyaFuVI4Q
 triLbIjmPjjlTDqaRxjhGkffmIuEoYrh77W+bCvgwJJV+X8ufNdmqwfeGQbVqp5PsnhVrvt9ttz
 vyu9afvlbkPapvyOoY4fdy801keC12R+Kzy/NZcoFDs/+AgBOv1JOrzC5VlfBw7sdr65rEtO46Y
 lgfSiAmQGSj9YIUW3BZSWWWHdsRwaCItG9eycJUOlLi1Z77wVqdJQrKzAZ+ds0RT5AQPMKO2t6E
 h9XqhIpze2g==
X-Google-Smtp-Source: AGHT+IFh+f7NIb3kk5t8ENfj9TLHlWOVVn/7zhfhysMpKcVmB1zXwbymCqlxyeaaayd8rjPb0ilElw==
X-Received: by 2002:a05:600c:8b0b:b0:456:12ad:ec30 with SMTP id
 5b1f17b1804b1-45635e6d91cmr186430965e9.13.1753188313165; 
 Tue, 22 Jul 2025 05:45:13 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb51:38d8:863a:3c9f:907f])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4562e7f4289sm189840205e9.7.2025.07.22.05.45.12
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 22 Jul 2025 05:45:12 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <aH-FIvgqYWhCJh27@begin>
References: <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5p4dXc1NuJbV4U@begin> <86tt34a0nq.fsf@HIDDEN>
 <aH9_o1Fu8IthB_s4@begin> <874iv4e7b7.fsf@HIDDEN>
 <aH-FIvgqYWhCJh27@begin>
Date: Tue, 22 Jul 2025 14:45:12 +0200
Message-ID: <87zfcwcs2v.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Tue, 22 Jul 2025 14:33:38 +0200, Samuel Thibault <samuel.thibault@=
gnu.org> said:

    >> That was my misinterpretation of the request. It=CA=BCs easy enough =
to
    >> restrict the change to only affect the '\t\b' case, but we=CA=BCll h=
ave to
    >> come up with a new name for the user option :-)

    Samuel> Since \t\b is actually slower than \e[C, I don't see why it sho=
uld be an
    Samuel> option.

You=CA=BCre a braver man than I to make such a statement, and I for one
will not propose a change like this that cannot be controlled with a
variable of some sort.

Robert
--=20




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 13:20:02 +0000
Resent-Message-ID: <handler.78474.B78474.175319034430426 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319034430426
          (code B ref 78474); Tue, 22 Jul 2025 13:20:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 13:19:04 +0000
Received: from localhost ([127.0.0.1]:36357 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueCtb-0007ue-Mj
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:19:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42530)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueCtX-0007tm-VU
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:19:00 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueCtQ-0001tn-Ov; Tue, 22 Jul 2025 09:18:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=XpWgKPqtUB5YgZHzQ72fVX5lwc93PxECmIbaDDiIZiA=; b=C3aChHp6R96u
 spynHt1USBflUtEtb5OrKFbqjrrGqUCNoCQoLTOOFpRdkjfgV70jk/cRDE7VZ4ZoJ9r1zdqkkbRRU
 Fum0TLaA9QHp92a//b+/GVwJFPsVv3/oMP1+Qf706niYiSAS1dx2grMxsPfSG1sjYjJaTP8Fx8FfS
 ssAlMIkN1AttAf4Gp1XwgXfFZcXE3Ayug4dGKrzuOfSQsP2xWgV9D+IWg7BBKCw5REnJVgCK4/wnY
 vqsB8suZENgJIJire6lmwvtWDd+WKpgbtgIOvclUZxHUcDF6gLIObXuRY5iEilOuhlrnCWtNyyzrV
 2pGM4GOk5+0KsUnorYIJvA==;
Date: Tue, 22 Jul 2025 16:18:48 +0300
Message-Id: <867c009xdz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH92YZTzV_W-pL_L@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 13:30:41 +0200)
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5engOVzezx7_80@begin> <86frepbl6s.fsf@HIDDEN>
 <aH5kL--nv1uaPKYD@begin>
 <8634aobh2k.fsf@HIDDEN> <aH92YZTzV_W-pL_L@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 13:30:41 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: rpluim@HIDDEN, Sebastien.Hinderer@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le mar. 22 juil. 2025 14:28:19 +0300, a ecrit:
> > > Date: Mon, 21 Jul 2025 18:00:47 +0200
> > > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > > Cc: rpluim@HIDDEN, Sebastien.Hinderer@HIDDEN, bzg@HIDDEN,
> > > 	78474 <at> debbugs.gnu.org
> > > 
> > > I have tried the attached test which reproduces both ways and reports
> > > the time to achieve one million iteration, on my system:
> > > 
> > > - with rxvt: non-optimized way takes ~1.9s, optimized way takes ~2.1s.
> > > - with mate-terminal: non-optimized way takes ~1.8s, optimized way takes
> > >   ~2.0s.
> > > 
> > > So on my system at least the "optimized" way is actually slower.
> > 
> > For that particular single case.
> 
> Which is exactly the case that we are reporting about.

No, it isn't.  Not even if only \t\b should be disabled.

What we need is to implement a prototype of the change to disable the
above, and then time it on a large enough buffer.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 13:25:02 +0000
Resent-Message-ID: <handler.78474.B78474.175319070132099 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319070132099
          (code B ref 78474); Tue, 22 Jul 2025 13:25:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 13:25:01 +0000
Received: from localhost ([127.0.0.1]:36403 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueCzN-0008Lf-6K
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:25:01 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44986)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueCzK-0008LE-DU
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:24:59 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueCzD-0002n3-CU; Tue, 22 Jul 2025 09:24:51 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=BZ7GK35cxiWfoDJvX41Ri3UvSl3OYyvvghhZh70UTes=; b=WH6R8+P+gIKp3jzGYioF
 ub1/rgVc+ox+4I2Q7qz7d3NKUtTs6+u+GymxIC05TFSy8vkMY7g8ULWED0/hIfjJcRFgFCLgbCSTh
 HqOLAci8mR4bVWDaiySiZkd8QOM9gaPtY/f8LXP6lf9X6c/dmdrVqC/0hhz2PT+zy1DbWhPR/U0CJ
 r2Ci05itmzgf5JlpEA7tnmT6LJc03qmxJdgHY1/wqO83GHRVxC50/HbMDJnGkKUyZMBH6odClQQOk
 CYaIjlys8zjf/F55eiE6uh57prtoIZLtm8luPxZKokhZ+8mE2VPKr1eT9JMf3X1N5k9kWVpODQUo5
 3k0wpSfz9t3ZhQ==;
Date: Tue, 22 Jul 2025 16:24:47 +0300
Message-Id: <865xfk9x40.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH9_hGfJF_SSCqJ1@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 14:09:40 +0200)
References: <87bjpdg2t5.fsf@HIDDEN> <aH5I-wp8IPGndpBN@jnana>
 <86ms8xbpbs.fsf@HIDDEN> <aH5QGe3fWGizcRlV@jnana>
 <87o6tdegsx.fsf@HIDDEN> <aH5gd6q-snGuRbzs@jnana>
 <86ecu9bkz5.fsf@HIDDEN> <aH5keG_TpKP2G_V2@begin>
 <87jz41ectv.fsf@HIDDEN>
 <86wm80a0uv.fsf@HIDDEN> <aH9_hGfJF_SSCqJ1@begin>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 14:09:40 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Robert Pluim <rpluim@HIDDEN>, Sebastien.Hinderer@HIDDEN,
> 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le mar. 22 juil. 2025 15:03:52 +0300, a ecrit:
> > Of course, specially-tailored cases could be concocted which show the
> > contrary, but that's not what this code is about.  The request in this
> > bug report, AFAIU, was to disable the use of TABs _in_all_cases_,
> 
> No.
> 
> “
> Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
> (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> 
> This char insertion problem confuses assistive technologies for the
> visually impaired.
> â€

We are mis-communicating.  When I said "in all cases", I meant even
when TABs do not cause any problems and/or when screen-reading
software is not used at all.

> I don't remember really asking for more than that.

A reminder from https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78474#77

> This leads me to the suggestion that the configuration where tab is not
> used is the one enabled by default, leaving the configuraitn burden to
> those to whom performance matters enough for them to care.

And no, it wasn't you who asked for that; but then I didn't say it was
you.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 13:27:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531908121078 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531908121078
          (code B ref 78474); Tue, 22 Jul 2025 13:27:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 13:26:52 +0000
Received: from localhost ([127.0.0.1]:36438 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueD19-0000HI-Nw
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:26:52 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51222)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueD16-0000Gk-4C
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:26:48 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueD0z-0003EQ-PH; Tue, 22 Jul 2025 09:26:41 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=ExRQlnr1kexDsoUXTXrnTDBVyI9vGEnwvaoMSzUQMVk=; b=TlIGJYR/KmCX
 D4ZhIF/LwbVRFy1Ef/vq4vW4yUfdSYg2Z4sav7d6CjCGLaZgbGtxFNX4fzN3qzlZGSfnHMC/4CzSN
 abku8v4xXcbuduLLx0Yhz2jGojAnXn2Suv7BNCxZTECmdbAhBbsX86CgIHFjOHd9zEE2BA1u+DPdC
 MLTERQwJReLccJtkmY51SoPKFRzgxwLeKOBNxf5GfDXBV+KVosAfJKbw+K5ExgsVaY8vEdyk1PFCP
 CZuRn+SMDDwaawn07/gCHinYYWW0AgqkUexjnTt5QxnaP1R90zT6k4slAMgF61FJkWOykFGuDTYeH
 Jb39XhXxziyUGqA+2vlmcQ==;
Date: Tue, 22 Jul 2025 16:26:38 +0300
Message-Id: <864iv49x0x.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH-BAoy5kelDl1rQ@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 14:16:02 +0200)
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hGXz58cr8CXds@begin> <86bjpdbkoh.fsf@HIDDEN>
 <aH5k40rhLbnJBEND@begin>
 <86y0sga1ak.fsf@HIDDEN> <aH-BAoy5kelDl1rQ@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 14:16:02 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> > But now you have changed the request, and are asking to disable the
> > TABs by default.
> 
> I'm not *asking* for something in particular. I'm asking for a solution
> to the *actual* problem, which is \009\008.

Yes, by default (as opposed to an opt-in solution).  That's what I
meant.  Apologies if that wasn't clear.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 13:28:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531908551239 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531908551239
          (code B ref 78474); Tue, 22 Jul 2025 13:28:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 13:27:35 +0000
Received: from localhost ([127.0.0.1]:36452 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueD1q-0000Jv-L3
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:27:35 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40226)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueD1n-0000Jf-Pm
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:27:32 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueD1i-0003LO-E9; Tue, 22 Jul 2025 09:27:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=fEQm+8ddDkSxkMoY8bR84Tqr3tdKZfNluVW5Bq4y+ww=; b=OLZj3b43MoDk
 BAGq3Fr7WjrIvfyZ9F+zgGj2eXm8U1HcVOHlcT2Gr8defA9D7hM/TWoW3KPQqdMhl2LsZHvMcgCGZ
 Fvo62DIcif69RNtbBH5AchzWQ78CP5SzZGa9Jofo9396MsrqjHGe6JVwyzA5ghz/zqrSUAE+kCFMR
 QsYhGaERTBID0Ru8el4jITAgX1ksOyJZ/NUkV5fzK/PrtT9D3B9U1Cr0bhb3qGQEFnFypjLma6ffv
 LVmiheYPr0QXtuwToeEsUZlujplJCDqOXIVnDiNG6AySLMUPyq2Fxvuu7oSNLdAqCD6Yl3XBSul7U
 lg6LooiIWsD0Tf7ZXDLONg==;
Date: Tue, 22 Jul 2025 16:27:21 +0300
Message-Id: <8634ao9wzq.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH-BGVFT6gu7hTIJ@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 14:16:25 +0200)
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hEg7C9JDCZZ-y@jnana> <86cy9tbku2.fsf@HIDDEN>
 <aH5kxwpjNi4Y6yeq@begin>
 <86v7nka0s8.fsf@HIDDEN> <aH-BGVFT6gu7hTIJ@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 14:16:25 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le mar. 22 juil. 2025 15:05:27 +0300, a ecrit:
> > > It is. Cat /dev/vcs, and you have it.
> > 
> > When I do that on a GNU/Linux system to which I have access, I get:
> > 
> >    $ cat /dev/vcs
> >    cat: /dev/vcs: Permission denied
> 
> Yes, screen readers have always had to be privileged somehow.

Which maybe gives us a way to detect them?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 13:33:01 +0000
Resent-Message-ID: <handler.78474.B78474.175319112713711 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319112713711
          (code B ref 78474); Tue, 22 Jul 2025 13:33:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 13:32:07 +0000
Received: from localhost ([127.0.0.1]:36479 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueD6E-0003Z3-VT
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:32:07 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53736)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueD6B-0003YQ-V1
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:32:05 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueD66-00053e-Gm; Tue, 22 Jul 2025 09:31:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=0JeLRfLgZwwQGoC/vmmwdJzCrsQOLUX+EsynYGAVeX0=; b=Cffu87fk40qC
 BJxeOb5YCKiaOaychaxPWLPWQ7VYbyehQkqbemv3/lXu2A6AbJKAPRFjxfZCJZFRqCgvV1MrET9oV
 vR4HrNMZWN+k2BUw9kjS1iedKvo8uRiRDkp5qz+4DvB+7mH9EEyM9JzPpPlOI+qHxkAaroc2rYacd
 B1c/jB8jIFcm8Km0q7pgptfa+VPQ9E8LZf2xnc+OYbdhzWtEWMC7H1pv0cGDqXPOj4SK0ffsVvhfC
 VYV9jWwQz3hUztfa+8u4wi5awKv8JOvX4WIWIGiXViZCA1mFp91qtnsymf2EHdA9ty0rjBwU/SvD2
 Ky/Fmz5mR3nOwBVlgBbd4w==;
Date: Tue, 22 Jul 2025 16:31:54 +0300
Message-Id: <861pq89ws5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH-CCBeoZDx81BLc@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 14:20:24 +0200)
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5saYL3jI3g6rWZ@begin>
 <86qzy8a0bj.fsf@HIDDEN> <aH-CCBeoZDx81BLc@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 14:20:24 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: rpluim@HIDDEN, Sebastien.Hinderer@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le mar. 22 juil. 2025 15:15:28 +0300, a ecrit:
> > What you copy/paste and what is written to the screen are not
> > necessarily the same thing.  The effect of TAB on the screen is to
> > move the cursor (or the rest of the line's text) to the right by a
> > suitably-computed number of columns, which depends on the column where
> > you do that.  What is copy/paste'd depends on the program which
> > serves the copy: some give you TAB, others give you spaces.
> > 
> > > Also, if you run:
> > > 
> > > echo -e 'a\t'
> > > 
> > > is there actually supposed to be some content to copy/paste on the right
> > > of a?
> > 
> > IME, also depends on the program which serves the copy/paste.
> > 
> > (I think these aspects are tangents, not an integral part of this
> > discussion.)
> 
> They are fully part of the discussion, because that changes what is
> actually supposed to be stored in the terminal, and thus what the
> accessibility feature is supposed to expose to the user: should it
> expose a tab, or spaces. But if a tab, then how can the cursor be inside
> the tab when emitting \t\b. That's the *whole* problem at stake.

So you are saying that even using cursor movement commands could cause
problems, because it is not known what the terminal will store?  And
that Emacs should only use SPCes for that reason?  Or what am I
missing?

> And thus why I mentioned looking for an actual document that explictly
> says that \t is supposed to produce spaces, because for now the vte
> maintainer is saying that there is no text there and thus it should not
> be exposed to the accessibility layer, but then the cursor is getting
> wrong, making emacs essentially unusable as it is now. If I had a text
> that explicitly says that \t produces content, it would be way easier
> to fix this on the vte side. For now, we have been stuck for a *decade*
> there.

I think I understand, but the refusal of the vte developers to provide
some solution doesn't mean it becomes the responsibility of Emacs to
solve that, does it?

Also, what about the "stty -tabs" workaround -- does it work with vte
and rxvt?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 13:40:02 +0000
Resent-Message-ID: <handler.78474.B78474.175319158615675 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319158615675
          (code B ref 78474); Tue, 22 Jul 2025 13:40:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 13:39:46 +0000
Received: from localhost ([127.0.0.1]:36519 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDDd-00044k-JL
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:39:45 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49382)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueDDb-00044H-6d
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:39:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueDDU-00087l-1l; Tue, 22 Jul 2025 09:39:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=YVkaGXtJ/mzJv7ZTdbYPQWk68kGLTmFqhrqlQ6mmDN4=; b=pum+HCRYhOW0
 9Vrfr0ldR3iqDXvRyCpfsG/W4CKNEvDT6n+AmCk0VNUYDpjRfJ6CR4lpJrroF2Gn+PSr4oz07ptgt
 ev7p6TzhSb3xfNZDR/06s/VuUhjdAAn77RwZHRKOnweaif9Oo/wGu6U+1FU7dzRyoKAVuARrMx2Ea
 FhdFiBKIsyyGRpNElX+q3egP8vuH0gv8aH6aCdXY/c0CkJA6/tKoQgL3zU5janHpf17bq3vn25xDV
 Cj6WpktJsBvsGHsYRNUpnTv1fT6S+0Pq4dNdhhcYrSpEQJz0urvJ6uKaotPj2v/Fr2sRnzwi0AlZR
 Ujc1o0CnbfjZM88DnaqZaA==;
Date: Tue, 22 Jul 2025 16:39:33 +0300
Message-Id: <86y0sg8huy.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH-BAoy5kelDl1rQ@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 14:16:02 +0200)
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hGXz58cr8CXds@begin> <86bjpdbkoh.fsf@HIDDEN>
 <aH5k40rhLbnJBEND@begin>
 <86y0sga1ak.fsf@HIDDEN> <aH-BAoy5kelDl1rQ@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 14:16:02 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> And you are proposing to probe for the existence of a process to decide
> the emacs behavior. There has been already half a dozen graphical
> screen readers, some of which have even changed name. How can that be
> considered a solution when we are talking about just adding one byte...

I suggested that as an idea.  I don't know if it is practical or not,
but I wanted to leave no rock unturned.  (Recognizing half a dozen
names of programs doesn't sound terrible to me, if it will give us
what we want: the ability to disable \t\b when it could matter, and
not in other cases.)




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 13:43:02 +0000
Resent-Message-ID: <handler.78474.B78474.175319176316947 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319176316947
          (code B ref 78474); Tue, 22 Jul 2025 13:43:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 13:42:43 +0000
Received: from localhost ([127.0.0.1]:36563 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDGU-0004PG-GQ
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:42:42 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48660)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueDGR-0004Ol-6q
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:42:40 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueDGL-000155-A0; Tue, 22 Jul 2025 09:42:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=INZnSyNVTWsUZb+eSfigUvzEMGzHlwHQ98FhrvubS5k=; b=Ae21etbRHRQs
 hrO7cUwp8uqAJKjLIUNsn+/ThUsyEji86qnNm/MabWLDXsk69I9b3/nO9j8Iqyat/PBsh3DepIKur
 9Lxt00RWCBbxw6XEcgGg7WOHldnpCzMXQm7/761yCEatPQC9zompAeTPo9OP5TQUOsbWI8rskt7oa
 AANUQURRtLyQE+1k2td6ZDb1/UZ99dhFWQMySxt/mvTqjK5WLi9LApXmaFf9s8z/8AbcTD1R74BkW
 UMmhGhg+8dpzq9lxQ9ex7ieGwAk3OyiAnVCsDRwZ4J0gidqg3oIFj51edYaEyCbW4AftOZ1XRNtKe
 SXAAm/axRwIK8PVaPftiXw==;
Date: Tue, 22 Jul 2025 16:42:29 +0300
Message-Id: <86wm808hq2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH-DsgQuvqZ-Iy2i@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 14:27:30 +0200)
References: <86ms8xbpbs.fsf@HIDDEN> <aH5QGe3fWGizcRlV@jnana>
 <86ikjlbmsm.fsf@HIDDEN> <aH5d_k3bBmW3aDSm@begin>
 <86h5z5bld4.fsf@HIDDEN> <aH5hGXz58cr8CXds@begin>
 <86bjpdbkoh.fsf@HIDDEN> <aH5k40rhLbnJBEND@begin>
 <86y0sga1ak.fsf@HIDDEN>
 <aH-BAoy5kelDl1rQ@begin> <aH-DsgQuvqZ-Iy2i@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 14:27:30 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Samuel Thibault, le mar. 22 juil. 2025 14:16:02 +0200, a ecrit:
> > And not a solution that will break as soon as somebody creates their
> > own screen reader for their own use.
> 
> To put some context here: one of the latest screen readers out there,
> odilia, is already concerned by the amount of existing workarounds
> for accessibility in general. If they bang their head against walls
> concerning \t\b, wondering why that works with the well-known orca
> screen reader, and not with their own, and end up seeing a hardcoded
> list of the screen readers that are fortunate enough to be known enough
> to get the proper behavior of emacs in vte, as opposed to the screen
> reader that they are trying to write, then yes, I believe they could
> almost litteraly throw up.

Emacs makes it very easy to modify such databases.  Saying the names
of such programs are "hardcoded" is not really accurate for Emacs,
because we can expose the list as a user option, so users could easily
add/remove programs as needed.

Again, I'm not saying this must be the solution, but it could be, from
where I stand.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 13:49:01 +0000
Resent-Message-ID: <handler.78474.B78474.175319213618655 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, samuel.thibault@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319213618655
          (code B ref 78474); Tue, 22 Jul 2025 13:49:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 13:48:56 +0000
Received: from localhost ([127.0.0.1]:36593 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDMV-0004qp-ON
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:48:56 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47486)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueDMS-0004qK-Nh
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:48:53 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueDMN-0001tf-A6; Tue, 22 Jul 2025 09:48:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=koJ1YSZXz2eGsFBcToEans4dCxyg3uzSwxavCmbMDRM=; b=pTBzJoqZMgK2Gp3zi9ZS
 h/O0aopPV9C1cMjXpRcgjNNS4qUqQsqQEi0nScZxijFAMDm6WTwN9Bg3BajliogbReIpkNKTbNI5I
 j5GQizDg0Ukc0hk+oQsVcU7n0E28I6H+gJEcoXofxRsd0mlmRspHvOy2Au3dWZRp5r+ZXF45cMQeq
 M82YSzd4VQ1O9oYGscBMF6ai3GgH12GpQyMNl6dOYrxadia6wr54e0xybgOu7tPLQNdkBTQY3xF7o
 QwYh/8ZRLK+mkyBpMRAEl6KaBp90yB4kykysih6MqbTg5Naa7K5Coaq4glL2QoQNUd2J9WGEiKSkg
 39Z5GaWm+oR/Hw==;
Date: Tue, 22 Jul 2025 16:48:44 +0300
Message-Id: <86v7nk8hfn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87zfcwcs2v.fsf@HIDDEN> (message from Robert Pluim on Tue, 22
 Jul 2025 14:45:12 +0200)
References: <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5p4dXc1NuJbV4U@begin> <86tt34a0nq.fsf@HIDDEN>
 <aH9_o1Fu8IthB_s4@begin> <874iv4e7b7.fsf@HIDDEN>
 <aH-FIvgqYWhCJh27@begin> <87zfcwcs2v.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  Sebastien.Hinderer@HIDDEN,
>   bzg@HIDDEN,  78474 <at> debbugs.gnu.org
> Date: Tue, 22 Jul 2025 14:45:12 +0200
> 
> >>>>> On Tue, 22 Jul 2025 14:33:38 +0200, Samuel Thibault <samuel.thibault@HIDDEN> said:
> 
>     >> That was my misinterpretation of the request. Itʼs easy enough to
>     >> restrict the change to only affect the '\t\b' case, but weʼll have to
>     >> come up with a new name for the user option :-)
> 
>     Samuel> Since \t\b is actually slower than \e[C, I don't see why it should be an
>     Samuel> option.
> 
> Youʼre a braver man than I to make such a statement, and I for one
> will not propose a change like this that cannot be controlled with a
> variable of some sort.

Yes, I agree.  If only to have a "fire escape" if we ever bump into
some use case where this change might be a culprit, and will want an
easy way of testing that.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 13:55:01 +0000
Resent-Message-ID: <handler.78474.B78474.175319248620289 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, rpluim@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319248620289
          (code B ref 78474); Tue, 22 Jul 2025 13:55:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 13:54:46 +0000
Received: from localhost ([127.0.0.1]:36622 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDS9-0005H8-Ns
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:54:46 -0400
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:25751)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueDS6-0005GY-20
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:54:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:in-reply-to;
 bh=c/UKfL3ehOrm0PhE6EGag4tunKjrkUBKUykiJ7WMV50=;
 b=XPIrdDd0WzMpk/PuO5QZShyvO3JEWe5eRuJskV3ch5jPEXYsl/2gD5Yi
 7eBWuSXSlHxWtdhqkAgW4hcYdieiMea5Phy76YBL2WhkY1/DEDWR5CMAr
 D5GMv9AJM0Y/MjI9Au1C4N5/uz9EE9rE+O/CO9UIyrECS5TDseElm2msj 4=;
X-CSE-ConnectionGUID: dMChnruNTCOp3FK67JZtWw==
X-CSE-MsgGUID: eIleKCv6QryhBT4z6rKSiQ==
Authentication-Results: mail3-relais-sop.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,331,1744063200"; d="scan'208";a="121948878"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail3-relais-sop.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2025 15:54:35 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueDRy-000000002Yd-1aqV; Tue, 22 Jul 2025 15:54:34 +0200
Date: Tue, 22 Jul 2025 15:54:33 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH-YGTwHjjWl4BiY@jnana>
References: <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hGXz58cr8CXds@begin> <86bjpdbkoh.fsf@HIDDEN>
 <aH5k40rhLbnJBEND@begin> <86y0sga1ak.fsf@HIDDEN>
 <aH-BAoy5kelDl1rQ@begin> <aH-DsgQuvqZ-Iy2i@begin>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <aH-DsgQuvqZ-Iy2i@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

And of course, this discussion about which screen reader is running does
not even take into account the ssh case where a blind user is using one
computer with a screen reader to ssh into another where emacs is run.
How then is the emacs run on the server supposed to guess that a screen
reader is being used?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 14:00:02 +0000
Resent-Message-ID: <handler.78474.B78474.175319277522903 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, Samuel Thibault <samuel.thibault@HIDDEN>
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319277522903
          (code B ref 78474); Tue, 22 Jul 2025 14:00:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 13:59:35 +0000
Received: from localhost ([127.0.0.1]:37846 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDWo-0005xJ-Fq
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:59:34 -0400
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:25919)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueDWl-0005wk-TJ
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 09:59:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:content-transfer-encoding:in-reply-to;
 bh=S0RwU2Y0PQ4GokTmh3f+Klv2TKohQoUTAmoHG+x8p3k=;
 b=PlCgaX1bEw6ghPW6dHyUKj9HW+D3PMouMwMHt6H+1wCDxnYjM7CkvVS3
 KVvlqb7S7TNAdMVA58ul4MXHot9uecSFeaq4dM/zmMSwNlaF5rOzi2NcL
 QYQb0+ltnnnqH1PvTsT5SaNe7yizc0GEi/fmpjFEn6F1V5cBqdJc+njra I=;
X-CSE-ConnectionGUID: t6vWT6OtS5yJfc4jCn+CsA==
X-CSE-MsgGUID: cdeu0jffRRa0IT/BnClCpw==
Authentication-Results: mail3-relais-sop.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,331,1744063200"; d="scan'208";a="121949301"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail3-relais-sop.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2025 15:59:25 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueDWe-000000002Ys-21nC; Tue, 22 Jul 2025 15:59:24 +0200
Date: Tue, 22 Jul 2025 15:59:24 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH-ZPK3Qhujlxz1E@jnana>
References: <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5p4dXc1NuJbV4U@begin> <86tt34a0nq.fsf@HIDDEN>
 <aH9_o1Fu8IthB_s4@begin> <874iv4e7b7.fsf@HIDDEN>
 <aH-FIvgqYWhCJh27@begin> <87zfcwcs2v.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87zfcwcs2v.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Robert Pluim (2025/07/22 14:45 +0200):
> >>>>> On Tue, 22 Jul 2025 14:33:38 +0200, Samuel Thibault <samuel.thibault@HIDDEN> said:
>
>     >> That was my misinterpretation of the request. Itʼs easy enough to
>     >> restrict the change to only affect the '\t\b' case, but weʼll have to
>     >> come up with a new name for the user option :-)
>
>     Samuel> Since \t\b is actually slower than \e[C, I don't see why it should be an
>     Samuel> option.
>
> Youʼre a braver man than I to make such a statement, and I for one
> will not propose a change like this that cannot be controlled with a
> variable of some sort.

I am not sure it's a matter of bravety. Do we know one context in
whichthe new way would not be desirable and where one may want to not
have that change?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 14:07:02 +0000
Resent-Message-ID: <handler.78474.B78474.175319318625286 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, Samuel Thibault <samuel.thibault@HIDDEN>
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319318625286
          (code B ref 78474); Tue, 22 Jul 2025 14:07:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 14:06:26 +0000
Received: from localhost ([127.0.0.1]:37897 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDdS-0006Zl-H7
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:06:26 -0400
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:26221)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueDdP-0006Z1-TR
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:06:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:in-reply-to;
 bh=tyZYgK+pLe88F1vzUSzjs5Huxa7p+JOhW0YmABzdRkM=;
 b=nq+DkIzFcJ/I0Nq1VqvBEAWmPHDiSJCNYqC7b62zQ2+5CVzIlXTFA2Me
 Mv0JFQwo1Bko6A5IZ1DyueN6HdtPNPkQs9ffyF+JiAFU7yWRfyRaD1bTL
 6+f7xyIGrzxq8XGXhvZVrpnW8oatT9r/VLsV31gVnme61Gv9vCEqJe5n0 A=;
X-CSE-ConnectionGUID: p0IFH9yrRTye96HBRoXBxA==
X-CSE-MsgGUID: VSci0pSZT7iSMmVCaKV4rA==
Authentication-Results: mail3-relais-sop.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,331,1744063200"; d="scan'208";a="121950153"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail3-relais-sop.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2025 16:06:17 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueDdH-000000002ZK-3HeD; Tue, 22 Jul 2025 16:06:15 +0200
Date: Tue, 22 Jul 2025 16:06:15 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH-a18zbSgVlcW2Z@jnana>
References: <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hEg7C9JDCZZ-y@jnana> <86cy9tbku2.fsf@HIDDEN>
 <aH5kxwpjNi4Y6yeq@begin> <86v7nka0s8.fsf@HIDDEN>
 <aH-BGVFT6gu7hTIJ@begin> <8634ao9wzq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <8634ao9wzq.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii (2025/07/22 16:27 +0300):
> > Yes, screen readers have always had to be privileged somehow.
>
> Which maybe gives us a way to detect them?

Frankly Eli, I cannot urge you enough to just forget about this idea, as
swiftly as possible, for your own good (and ours).

There is the ssh case I mentionned and also, if you go through the WCAG
and all the principles of the Internet, sane communication is based on
agreements on what is exchanged which do not try to depend on which
software is on the other side.

Did you once see one RFC specifying what theprotocol should be depending
on which client or server one is talking to?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 14:08:02 +0000
Resent-Message-ID: <handler.78474.B78474.175319324425527 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, Samuel Thibault <samuel.thibault@HIDDEN>
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319324425527
          (code B ref 78474); Tue, 22 Jul 2025 14:08:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 14:07:24 +0000
Received: from localhost ([127.0.0.1]:37907 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDeO-0006df-0Z
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:07:24 -0400
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:59033)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueDeL-0006d0-Ne
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:07:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:in-reply-to;
 bh=5lN681/2MLRuqkp5kHHazJDtY+ecGfOgfY+oPHHL0kQ=;
 b=MR00rq1JzNxefE+txwbHz45lJb0m8Es521fPsn+W38mEE2hvQ4jcYOfk
 wteNtc/rzeGt9h7B/czT0ngLJpw5lp1MwMZA0Do0G5w7/7o9WfNZWmZ2S
 +R+4uSqGOM1Un6AJkixkIk7peDxi++59RNU4SDuEqfsjt/c/pk7232WcQ w=;
X-CSE-ConnectionGUID: tX2r6wvbRMix0O/g7SPWaA==
X-CSE-MsgGUID: AamFsYlZR+aM7yhrZ9DolQ==
Authentication-Results: mail2-relais-roc.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,331,1744063200"; d="scan'208";a="232651441"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail2-relais-roc.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2025 16:07:15 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueDeE-000000002ZV-2NrZ; Tue, 22 Jul 2025 16:07:14 +0200
Date: Tue, 22 Jul 2025 16:07:14 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH-bEmWbJAuqgM8F@jnana>
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5engOVzezx7_80@begin> <86frepbl6s.fsf@HIDDEN>
 <aH5kL--nv1uaPKYD@begin> <8634aobh2k.fsf@HIDDEN>
 <aH92YZTzV_W-pL_L@begin> <867c009xdz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <867c009xdz.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii (2025/07/22 16:18 +0300):
> What we need is to implement a prototype of the change to disable the
> above, and then time it on a large enough buffer.

Assuming the time actually does depend on the buffer's size, whihc I am
very not convinced about.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 14:10:02 +0000
Resent-Message-ID: <handler.78474.B78474.175319338125974 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Robert Pluim <rpluim@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, Samuel Thibault <samuel.thibault@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319338125974
          (code B ref 78474); Tue, 22 Jul 2025 14:10:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 14:09:41 +0000
Received: from localhost ([127.0.0.1]:37917 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDga-0006ks-PZ
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:09:41 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:41893)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1ueDgX-0006kW-2d
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:09:38 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=lcnuCt84
 zQVw2HoAo7V0mgAzclTXL7vRzbhY8FLeoe8=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=nHkv6HLDeOKMOcvo6OVHB62StJNgQT
 Axy1VQ6Gm3xEw0TYYwf+OuEpT4be65xigZKBJP+QxTSxquoGEKkaGTAg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=lcnuCt84zQVw2HoA
 o7V0mgAzclTXL7vRzbhY8FLeoe8=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=tJn6glK0VeQO3fE8uAC6wgNRhsBBwOhlz2kZXh
 DA717VbWOgsHachR7k+la9jWpR0v7xT5++uRpGO1tAVg+dmvnQx6R3Hg6si0MZ2ZUZ8s0x
 vFRfg2KZBl8eoXGjPJU6vjDsBlEuRfQ2AuEisI3AIulVUDubAl74pdnJ8HO6O0N/lZy4Zk
 9J9hYY8GnB4Xd88dgtzJpFtbobRHC9xTXzoAF5ts9smsaOKrREFGzodXixNAsIRvzpFp9E
 /oBVR6PeSttbi1lsbrTXpmztig3rId6dfSX8lkuBbceNFi9RiJ7uVdPtxNQvYUCB9LlbTH
 mehf6Z324949zDKQxZZi5fBQ==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 3082e810
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Tue, 22 Jul 2025 16:09:35 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <874iv4e7b7.fsf@HIDDEN>
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5p4dXc1NuJbV4U@begin> <86tt34a0nq.fsf@HIDDEN>
 <aH9_o1Fu8IthB_s4@begin> <874iv4e7b7.fsf@HIDDEN>
Date: Tue, 22 Jul 2025 16:09:33 +0200
Message-ID: <87freoz59e.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Robert Pluim <rpluim@HIDDEN> writes:

>>>>>> On Tue, 22 Jul 2025 14:10:11 +0200, Samuel Thibault <samuel.thibault=
@gnu.org> said:
>
>     Samuel> Eli Zaretskii, le mar. 22 juil. 2025 15:08:09 +0300, a ecrit:
>     >> > Date: Mon, 21 Jul 2025 18:25:05 +0200
>     >> > From: Samuel Thibault <samuel.thibault@HIDDEN>
>     >> > Cc: Eli Zaretskii <eliz@HIDDEN>,
>     >> > 	Seb Hinderer <Sebastien.Hinderer@HIDDEN>, bzg@HIDDEN,
>     >> > 	78474 <at> debbugs.gnu.org
>     >> >=20
>     >> > > > Samuel> It's actually even slower on my box.
>     >> > >=20
>     >> > > You benchmarked moving by one character. Moving by tabs can mo=
ve in
>     >> > > multiples of 8 characters, so I doubt it=CA=BCs that cut and d=
ried.
>     >> >=20
>     >> > The case which actually poses problem is only that \t\b vs \e[C.=
 Using
>     >> > tab without moving back with \b does not pose problem.
>     >>=20
>     >> If that's the only problematic case, then disabling TABs as in the
>     >> proposed patch is not TRT.
>
>     Samuel> I don't think I asked for this, and only confirmed that it's =
one way to
>     Samuel> do it.
>
> That was my misinterpretation of the request. It=CA=BCs easy enough to
> restrict the change to only affect the '\t\b' case, but we=CA=BCll have to
> come up with a new name for the user option :-)

What about this?

--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline;
 filename=0001-Do-not-overshoot-and-backup-for-tty-motions.patch

From 002efa4bd1db6efd9f65dc43364b084680906753 Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@HIDDEN>
Date: Tue, 22 Jul 2025 15:15:39 +0200
Subject: [PATCH] Do not overshoot and backup for tty motions

---
 src/cm.c | 24 +++---------------------
 1 file changed, 3 insertions(+), 21 deletions(-)

diff --git a/src/cm.c b/src/cm.c
index 150d1c9a580..fb18ef26251 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -187,9 +187,7 @@ calccost (struct tty_display_info *tty,
                     c,
                     totalcost;
     int     ntabs,
-            n2tabs,
             tabx,
-            tab2x,
             tabcost;
     register const char *p;
 
@@ -229,37 +227,21 @@ calccost (struct tty_display_info *tty,
 	goto olddelta;		/* forget it! */
 
     /*
-     * ntabs is # tabs towards but not past dstx; n2tabs is one more
-     * (ie past dstx), but this is only valid if that is not past the
-     * right edge of the screen.  We can check that at the same time
-     * as we figure out where we would be if we use the tabs (which
-     * we will put into tabx (for ntabs) and tab2x (for n2tabs)).
+     * ntabs is # tabs towards but not past dstx.  tabx is where we
+     * would be if we put those ntabs tabulations.
      */
 
     ntabs = (deltax + srcx % tty->Wcm->cm_tabwidth) / tty->Wcm->cm_tabwidth;
-    n2tabs = ntabs + 1;
     tabx = (srcx / tty->Wcm->cm_tabwidth + ntabs) * tty->Wcm->cm_tabwidth;
-    tab2x = tabx + tty->Wcm->cm_tabwidth;
-
-    if (tab2x >= tty->Wcm->cm_cols)	/* too far (past edge) */
-	n2tabs = 0;
 
     /*
-     * Now set tabcost to the cost for using ntabs, and c to the cost
-     * for using n2tabs, then pick the minimum.
+     * Now set tabcost to the cost for using ntabs.
      */
 
 		   /* cost for ntabs           +    cost for right motion */
     tabcost = ntabs ? ntabs * tty->Wcm->cc_tab + (dstx - tabx) * tty->Wcm->cc_right
 		    : BIG;
 
-		   /* cost for n2tabs          +    cost for left motion */
-    c = n2tabs  ?    n2tabs * tty->Wcm->cc_tab + (tab2x - dstx) * tty->Wcm->cc_left
-		: BIG;
-
-    if (c < tabcost)		/* then cheaper to overshoot & back up */
-	ntabs = n2tabs, tabcost = c, tabx = tab2x;
-
     if (tabcost >= BIG)		/* caint use tabs */
 	goto newdelta;
 
-- 
2.50.1


--=-=-=
Content-Type: text/plain


Words of warning: I'm not a heavy user of tty emacs and don't really
have an idea of what would be the implications of such change (don't
shoot me).  But maybe, Samuel and Sebastien could try this and see if it
solves their issue.  Then, we could decide to guard behind a user option
and what would be the default.
-- 
Manuel Giraud

--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 14:19:03 +0000
Resent-Message-ID: <handler.78474.B78474.175319390428544 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319390428544
          (code B ref 78474); Tue, 22 Jul 2025 14:19:03 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 14:18:24 +0000
Received: from localhost ([127.0.0.1]:37959 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDp1-0007QK-CB
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:18:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48566)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueDoy-0007Ps-CW
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:18:21 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueDos-0002yf-Vv; Tue, 22 Jul 2025 10:18:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=vZpcDQKULIM/k6OKZcd38Bi6MA4tT6gIW4BgtN3Wg3k=; b=haW0o592Xj5a
 1abveY1LADMQcVxgNJ5Mk1H0vNeGQeQPAgzfHVaECeZSir4RjKUziUUfZMMojiCgQaqXKsQAiBItn
 wWh50g9b2tPH8DQaGApBsvM/gZatWo1hR88U3L79WKLxY2pOA/2DVwpvHWRBdbWCP2ieaMG03Crod
 Va6SlG9RGpprC+qpJQrwYTsaXr7wWAcFtQulArUp2Hi36q4jvbNGz3E+/O1IdiskfHd9FfIqWxQyI
 +rOjawEIIgUg5aw5Rau6NeuA8ijvrMh9NLIctZiDfhMBLqHIv0NMVyich0GBbZrmM9DuqOXXg18LT
 CS0LZhDzy+17gh84TwIurA==;
Date: Tue, 22 Jul 2025 17:18:11 +0300
Message-Id: <86tt348g2k.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH-YGTwHjjWl4BiY@jnana> (message from Seb Hinderer on Tue, 22
 Jul 2025 15:54:33 +0200)
References: <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hGXz58cr8CXds@begin> <86bjpdbkoh.fsf@HIDDEN>
 <aH5k40rhLbnJBEND@begin> <86y0sga1ak.fsf@HIDDEN>
 <aH-BAoy5kelDl1rQ@begin>
 <aH-DsgQuvqZ-Iy2i@begin> <aH-YGTwHjjWl4BiY@jnana>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 15:54:33 +0200
> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>, rpluim@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> And of course, this discussion about which screen reader is running does
> not even take into account the ssh case where a blind user is using one
> computer with a screen reader to ssh into another where emacs is run.
> How then is the emacs run on the server supposed to guess that a screen
> reader is being used?

If there's no way of knowing that, the option we are talking about
will still be available to disable the problematic sequences manually.
(And of course, if the remote login uses a terminal emulator that is
not affected by these issues, the problem will not exist in the first
place.)




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 14:21:03 +0000
Resent-Message-ID: <handler.78474.B78474.175319402929331 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319402929331
          (code B ref 78474); Tue, 22 Jul 2025 14:21:03 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 14:20:29 +0000
Received: from localhost ([127.0.0.1]:37977 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDr2-0007cz-TB
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:20:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52692)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueDqt-0007aj-Lj
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:20:25 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueDql-0003S1-Ry; Tue, 22 Jul 2025 10:20:14 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=ELxGpnpy6YakaDprwCGLLLvJF4eCJm4cGe9MPeuXWc0=; b=RW1VhAM666IvI84W+9y4
 xEUhTcI9SILo5SToXYGx7pInrEmaBpIEfYQW1TU/bH6YO9qgvs1Ol8GcksqTzSpvg4S/8WBcwoRvV
 k/hufwfHjQDABFCu3EUD/vDViy+Uv2igBBfytszYW45mImFBiepuP4kR0FJUIYUBGmU6d9rnZPgNJ
 1+fysSy/+NJ1VTsBqX+Kt5k0hKNyeDfToLIX/YRnvJX+myutWsgfxSiASjaLt2babAB7AJkJiuXKp
 kmmR0gceuAmMlHCiHk2roLkI47ipojT1nOKQX2FqxNLmGSQPOubHZXdYs87+d3m2jLHEOYxPq6k9Z
 g7uYdZ4CgsOSVQ==;
Date: Tue, 22 Jul 2025 17:20:08 +0300
Message-Id: <86seio8fzb.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH-ZPK3Qhujlxz1E@jnana> (message from Seb Hinderer on Tue, 22
 Jul 2025 15:59:24 +0200)
References: <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5p4dXc1NuJbV4U@begin> <86tt34a0nq.fsf@HIDDEN>
 <aH9_o1Fu8IthB_s4@begin> <874iv4e7b7.fsf@HIDDEN>
 <aH-FIvgqYWhCJh27@begin>
 <87zfcwcs2v.fsf@HIDDEN> <aH-ZPK3Qhujlxz1E@jnana>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 15:59:24 +0200
> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> Cc: Samuel Thibault <samuel.thibault@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
> 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> 
> Robert Pluim (2025/07/22 14:45 +0200):
> > >>>>> On Tue, 22 Jul 2025 14:33:38 +0200, Samuel Thibault <samuel.thibault@HIDDEN> said:
> >
> >     >> That was my misinterpretation of the request. Itʼs easy enough to
> >     >> restrict the change to only affect the '\t\b' case, but weʼll have to
> >     >> come up with a new name for the user option :-)
> >
> >     Samuel> Since \t\b is actually slower than \e[C, I don't see why it should be an
> >     Samuel> option.
> >
> > Youʼre a braver man than I to make such a statement, and I for one
> > will not propose a change like this that cannot be controlled with a
> > variable of some sort.
> 
> I am not sure it's a matter of bravety. Do we know one context in
> whichthe new way would not be desirable and where one may want to not
> have that change?

We have enough gray hair to know that such contexts will almost
certainly reveal themselves at some point.  And if they don't, then
the option which is never used will; not do any harm, will it?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 14:25:02 +0000
Resent-Message-ID: <handler.78474.B78474.175319428130319 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319428130319
          (code B ref 78474); Tue, 22 Jul 2025 14:25:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 14:24:41 +0000
Received: from localhost ([127.0.0.1]:38016 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDv6-0007sw-QX
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:24:41 -0400
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:60358)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueDv2-0007sd-4j
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:24:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:in-reply-to;
 bh=8ZFvwr8C8NQkDNvfx5rD6wefXQxlyIL3ubXPzPSwPm4=;
 b=BMkY/nbePxkkIZPFoNCqxaxNeeczA0LUyJIPdNSM9Br4+n0aiRRJEweg
 dlPwBsq8793yBOcpyHLtpDK7qsdNw5tpn76nY9vkDlMiF8iIYYOxbStjX
 L1BcV82vcs+BXcfXOpRTO7UBTXz5S71sKb53DC4w6ds6peAJzU926M8hs w=;
X-CSE-ConnectionGUID: ERqwDqvvRfCQXmChP5Q4Ww==
X-CSE-MsgGUID: 92Yn68CGQPedWbEzcomx6g==
Authentication-Results: mail2-relais-roc.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,331,1744063200"; d="scan'208";a="232655802"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail2-relais-roc.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2025 16:24:29 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueDuv-000000002ai-0E0j; Tue, 22 Jul 2025 16:24:29 +0200
Date: Tue, 22 Jul 2025 16:24:28 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH-fHJNxHp01LVWk@jnana>
References: <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hGXz58cr8CXds@begin> <86bjpdbkoh.fsf@HIDDEN>
 <aH5k40rhLbnJBEND@begin> <86y0sga1ak.fsf@HIDDEN>
 <aH-BAoy5kelDl1rQ@begin> <aH-DsgQuvqZ-Iy2i@begin>
 <aH-YGTwHjjWl4BiY@jnana> <86tt348g2k.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <86tt348g2k.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii (2025/07/22 17:18 +0300):
> If there's no way of knowing that, the option we are talking about
> will still be available to disable the problematic sequences manually.

The second part of the discussion: what should be the default.

Backward-compatibility matters suggest to continue to emit exactly the
same thing and the possibility to disable the problematic sequence but,
as I explained earlier in this thread, I really findthis painful and
unfair to people who already have to tinker with everything.

Can we please consider makingthe new style the default and provide the
option to re-enable the sequence if there are people forwhom it
actuallymakes a difference?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 14:26:02 +0000
Resent-Message-ID: <handler.78474.B78474.175319434630891 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319434630891
          (code B ref 78474); Tue, 22 Jul 2025 14:26:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 14:25:46 +0000
Received: from localhost ([127.0.0.1]:38025 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDw4-00081w-TI
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:25:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58346)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueDw0-00081L-W7
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:25:38 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueDvu-0004qb-4c; Tue, 22 Jul 2025 10:25:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=SnM8KN+PPGiXPQwQIFRnxnp2EinGKgcsIkCIFjHQ2/k=; b=BpzZje/tsdvd
 89AMGPbVMnHavGcirrtmJhfu/m8EXbigKdbhDWG8ZQkf9iOzPHByeusD28ZGyoroIeNn2KomvGkQ+
 kkKvs4vgyyjz0OOspJSl3eMsmXJQNhDvd7jQYFoLSNZWmpR+yywnkLmXHWH+ssrJt7i70Khf/izJt
 CCye8+D0FEevcO5T1Xb1FDkxUo59DYi/pLCca5gXNXGltRJjunUZGdjKmzsxB8ev5qc4vrVvStYiQ
 1CUGVJHXJiaCQ4nRAd7xN8CAq2Yap7LKzV8MeSQqF3zSw2zgrYg2oDHknB0IFbaO4hxpOEe9AOELv
 KAil0WpjU+/IaSZUKFPHww==;
Date: Tue, 22 Jul 2025 17:25:26 +0300
Message-Id: <86o6tc8fqh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH-a18zbSgVlcW2Z@jnana> (message from Seb Hinderer on Tue, 22
 Jul 2025 16:06:15 +0200)
References: <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hEg7C9JDCZZ-y@jnana> <86cy9tbku2.fsf@HIDDEN>
 <aH5kxwpjNi4Y6yeq@begin> <86v7nka0s8.fsf@HIDDEN>
 <aH-BGVFT6gu7hTIJ@begin>
 <8634ao9wzq.fsf@HIDDEN> <aH-a18zbSgVlcW2Z@jnana>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 16:06:15 +0200
> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> Cc: Samuel Thibault <samuel.thibault@HIDDEN>, rpluim@HIDDEN,
> 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii (2025/07/22 16:27 +0300):
> > > Yes, screen readers have always had to be privileged somehow.
> >
> > Which maybe gives us a way to detect them?
> 
> Frankly Eli, I cannot urge you enough to just forget about this idea, as
> swiftly as possible, for your own good (and ours).
> 
> There is the ssh case I mentionned and also, if you go through the WCAG
> and all the principles of the Internet, sane communication is based on
> agreements on what is exchanged which do not try to depend on which
> software is on the other side.

If better methods are possible, they are of course preferred.  But if
they are impossible, I don't want to reject other methods, even if
they are less elegant.

> Did you once see one RFC specifying what theprotocol should be depending
> on which client or server one is talking to?

Yes, of course.  Emacs has several features where we change behavior
depending on which external program we are communicating with or using
as a sub-process.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 14:27:03 +0000
Resent-Message-ID: <handler.78474.B78474.175319438131043 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319438131043
          (code B ref 78474); Tue, 22 Jul 2025 14:27:03 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 14:26:21 +0000
Received: from localhost ([127.0.0.1]:38030 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDwi-00084c-8O
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:26:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55720)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueDwd-00083w-Dn
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:26:16 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueDwX-0005Jj-PO; Tue, 22 Jul 2025 10:26:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=HzfH5knyaXw1BwPpVXXTE2s+67PN0O9SoRFqqqj0OlU=; b=OHi7gZmRB2eU
 5ehPRdhvFNKb5Mj5uSF1Ae9nn4tgXgHREhGHb1GOi1re6OGkb/62Clezhyv5TV9+qaNhCkyd8xTV5
 YdHa5gIt79OpLRh61XXxkrvD9O6Q2ubm3HXRKNLncQ4pQ4TPDzJ/XPVg6xHFPvu9SAh1unJztvoUm
 XzgY+EknW8cpqJ+DHrLgs34Onsh6XdApIX7ssouQJjUefhg6w3LZaU96VSOa/LieG2Ipre0SU2N+A
 d9X023F9CKI/9NqPPlOnu1/PhRyqa/KRyetIovvL1UMiVGZm9VKJo9E1ana9A7F7FYCxZgSBAzYIx
 HOLuRrOTuOgNkrPFMOeD0g==;
Date: Tue, 22 Jul 2025 17:26:06 +0300
Message-Id: <86ms8w8fpd.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH-bEmWbJAuqgM8F@jnana> (message from Seb Hinderer on Tue, 22
 Jul 2025 16:07:14 +0200)
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5engOVzezx7_80@begin> <86frepbl6s.fsf@HIDDEN>
 <aH5kL--nv1uaPKYD@begin> <8634aobh2k.fsf@HIDDEN>
 <aH92YZTzV_W-pL_L@begin>
 <867c009xdz.fsf@HIDDEN> <aH-bEmWbJAuqgM8F@jnana>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 16:07:14 +0200
> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> Cc: Samuel Thibault <samuel.thibault@HIDDEN>, rpluim@HIDDEN,
> 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii (2025/07/22 16:18 +0300):
> > What we need is to implement a prototype of the change to disable the
> > above, and then time it on a large enough buffer.
> 
> Assuming the time actually does depend on the buffer's size, whihc I am
> very not convinced about.

The buffer size is a means to get a good average measure of the speed.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 14:29:02 +0000
Resent-Message-ID: <handler.78474.B78474.175319452531603 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319452531603
          (code B ref 78474); Tue, 22 Jul 2025 14:29:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 14:28:45 +0000
Received: from localhost ([127.0.0.1]:38061 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueDz2-0008Df-EL
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:28:44 -0400
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:60736)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueDyu-0008Cq-Re
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:28:39 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:in-reply-to;
 bh=UJphKCan4f6IsqcmFzlch9PCdAv4rUn5XMM3OoI1mSk=;
 b=nGfvOapfeKIW0KvDSM+1+hcrhipQ0+HgT3ls2rlGuxhT2lyMIlYX7OBA
 bZ6I7DmPrmVHzs8F0h/inMdCEqcI2zGs07dk6YLyg2JXaZvHB65krfnst
 YkjF4/54Ch8jxWpM6hRmkbAOHvy7HJb1FeeL4/O3SOpP9cMJaT8Oigjf8 Y=;
X-CSE-ConnectionGUID: aVzXNBJMROqAOv/VEHQqng==
X-CSE-MsgGUID: 8a0DIhFCSjyInHen3KrC9g==
Authentication-Results: mail2-relais-roc.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,331,1744063200"; d="scan'208";a="232657659"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail2-relais-roc.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2025 16:28:30 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueDyo-000000002bB-1Hs1; Tue, 22 Jul 2025 16:28:30 +0200
Date: Tue, 22 Jul 2025 16:28:30 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH-gDn6YPOm1DoqZ@jnana>
References: <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hEg7C9JDCZZ-y@jnana> <86cy9tbku2.fsf@HIDDEN>
 <aH5kxwpjNi4Y6yeq@begin> <86v7nka0s8.fsf@HIDDEN>
 <aH-BGVFT6gu7hTIJ@begin> <8634ao9wzq.fsf@HIDDEN>
 <aH-a18zbSgVlcW2Z@jnana> <86o6tc8fqh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <86o6tc8fqh.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii (2025/07/22 17:25 +0300):
> > Did you once see one RFC specifying what theprotocol should be depending
> > on which client or server one is talking to?
>
> Yes, of course.  Emacs has several features where we change behavior
> depending on which external program we are communicating with or using
> as a sub-process.

I was asking about RFCs and you respond  Emacs...




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 14:47:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531956184598 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531956184598
          (code B ref 78474); Tue, 22 Jul 2025 14:47:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 14:46:58 +0000
Received: from localhost ([127.0.0.1]:38130 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueEGg-0001C3-2J
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:46:58 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34980)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueEGU-0001BK-My
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:46:53 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueEGM-0003kV-SJ; Tue, 22 Jul 2025 10:46:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=27nuKetxFyPxphTa5PuvLPGz4xq8Ft3gLepu2guZ7dw=; b=U09GK6w4+ehk
 TeW1PGHtbRmjrC47Mg6xBswKfdg+PFH9XyMa2DbJPIj9EZ+N3cUsPdgyrQiizLI+76NWkf6w6GTz1
 vjKoUum92LlzwsvuShb0IKmVccTYS23qN1quCv8UD8xwByxC3cPbDcGcYI6wDhe7/Yy3rZKtxyo8w
 Zgt2abyhDbN0KnSzfy4utcHIlCnYx09+l5T3x4rdjEabOEyaDUE0FtXJF/7KukwbeFX/Vfgu75P/g
 Bs+wcEl2/pEBgp1u3bPazePwejoN8ciQtMfCbe3I946LGkJZW3MDn0rFHze6Qthhx3M/d002svpN7
 a82PNHQXBa0haEoSX8OyOQ==;
Date: Tue, 22 Jul 2025 17:46:35 +0300
Message-Id: <86ldog8er8.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH-fHJNxHp01LVWk@jnana> (message from Seb Hinderer on Tue, 22
 Jul 2025 16:24:28 +0200)
References: <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hGXz58cr8CXds@begin> <86bjpdbkoh.fsf@HIDDEN>
 <aH5k40rhLbnJBEND@begin> <86y0sga1ak.fsf@HIDDEN>
 <aH-BAoy5kelDl1rQ@begin> <aH-DsgQuvqZ-Iy2i@begin>
 <aH-YGTwHjjWl4BiY@jnana>
 <86tt348g2k.fsf@HIDDEN> <aH-fHJNxHp01LVWk@jnana>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 16:24:28 +0200
> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> Cc: samuel.thibault@HIDDEN, rpluim@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii (2025/07/22 17:18 +0300):
> > If there's no way of knowing that, the option we are talking about
> > will still be available to disable the problematic sequences manually.
> 
> The second part of the discussion: what should be the default.

If the default is not right for everyone, setting the option manually
is still a viable alternative -- provided that we succeed to handle
the majority of the cases correctly.

> Backward-compatibility matters suggest to continue to emit exactly the
> same thing and the possibility to disable the problematic sequence but,
> as I explained earlier in this thread, I really findthis painful and
> unfair to people who already have to tinker with everything.
> 
> Can we please consider makingthe new style the default and provide the
> option to re-enable the sequence if there are people forwhom it
> actuallymakes a difference?

That's what we are discussing.  We are not done yet.  In fact, we
don't even have a working agreed-upon patch which implements the
request when \t\b sequences are disabled.  The question of the default
behavior will become relevant once we are past that.

So please be a bit more patient while we discuss this.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 14:51:02 +0000
Resent-Message-ID: <handler.78474.B78474.17531958065346 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17531958065346
          (code B ref 78474); Tue, 22 Jul 2025 14:51:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 14:50:06 +0000
Received: from localhost ([127.0.0.1]:38146 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueEJh-0001Nj-Vc
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:50:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44642)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueEJe-0001MC-Gu
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 10:50:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueEJY-0004Pl-Ia; Tue, 22 Jul 2025 10:49:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=Xjlr6cBYHie858em8ZKCjecTBqaFuYxWcgQTjKEOJ44=; b=IgTDGc7icTAp
 INbVddBhgFL66Yn9HsIVw4XCnvlYnCBs0938UjNbO3Wdpt4TgzKGOWEKQtt62WKFdY35pR+S/MrP0
 a1d5mKjHHQCdtJND7wfSbfYQyH0RbHR9aJDzOvrY/9x3zC5nXH78tPZWbUc4xgyKIS6KBsXJt9HPZ
 Dek13iZS9aSWDfZO9si+6torMuELO6qr/n39abhgkV86KH2m5M6soVk0ZrpqJBhrDVci1wafumTG6
 jlhkusrFkPx6MONfnKsboOFmvPozsc76nPWAeDT/IcqeXIhsjhIIYEi4WwpJ0ksEH7E+j0qIKC9yg
 SZ5A4fHE8IlKEWk1/hlZwA==;
Date: Tue, 22 Jul 2025 17:49:53 +0300
Message-Id: <86jz408elq.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH-gDn6YPOm1DoqZ@jnana> (message from Seb Hinderer on Tue, 22
 Jul 2025 16:28:30 +0200)
References: <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hEg7C9JDCZZ-y@jnana> <86cy9tbku2.fsf@HIDDEN>
 <aH5kxwpjNi4Y6yeq@begin> <86v7nka0s8.fsf@HIDDEN>
 <aH-BGVFT6gu7hTIJ@begin> <8634ao9wzq.fsf@HIDDEN>
 <aH-a18zbSgVlcW2Z@jnana>
 <86o6tc8fqh.fsf@HIDDEN> <aH-gDn6YPOm1DoqZ@jnana>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 16:28:30 +0200
> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> Cc: samuel.thibault@HIDDEN, rpluim@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii (2025/07/22 17:25 +0300):
> > > Did you once see one RFC specifying what theprotocol should be depending
> > > on which client or server one is talking to?
> >
> > Yes, of course.  Emacs has several features where we change behavior
> > depending on which external program we are communicating with or using
> > as a sub-process.
> 
> I was asking about RFCs and you respond  Emacs...

But we _are_ talking about Emacs.  Emacs is not driven by RFCs, and
doesn't blindly follow RFCs unless we consider that useful.

I think the fact that Emacs already takes specific programs into
consideration means that such solutions _are_ possible.  If we
conclude that doing so would be a reasonably good solution for this
problem, I don't see why we should not use that.  If such a solution
will make our users happy, why should anyone care whether it follows
some RFC or is pretty?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 15:48:01 +0000
Resent-Message-ID: <handler.78474.B78474.175319925022906 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Sebastien.Hinderer@HIDDEN, samuel.thibault@HIDDEN
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175319925022906
          (code B ref 78474); Tue, 22 Jul 2025 15:48:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 15:47:30 +0000
Received: from localhost ([127.0.0.1]:38435 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueFDG-0005xO-27
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 11:47:30 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53262)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueFDD-0005x2-Id
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 11:47:28 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueFD7-0003S4-1U; Tue, 22 Jul 2025 11:47:21 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=B4HrECviVJjoJLN5j01lI5ViQ1oA8hE9Rgdm3VDMKbY=; b=nyDTaUw60gJ3
 LlNJ4CS4BXfHBHi0Sk3cXOW6bMs95qKawQ0m8dYEaGNTGhxYhP7P4/7ZBXalUZq/Gx0xQtyTimuLq
 vs8+EO638u5iGPpFOffclbhrT/y/2hnjHgyEMCiy6jLoEMyRelObdQuH8o+tkuegXOwuQPQYSs/lC
 OveEC2v3qniWgTVuuug0R51TfV7xN8Ve6RlBrjT3VK3ztAawCNd4f1nxTLPW+CRMpw8XefIyzJ+DG
 ukWz+ddWy9i4EmsQglo8+nyhEjrlc5enS/Vq8wgO5hvoMTvyKzfshU7W4o07vd2ADwaG7xqY/HqPv
 2EapXLosPbq5T6oNboZ/Jw==;
Date: Tue, 22 Jul 2025 18:47:18 +0300
Message-Id: <86h5z48by1.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <86ldog8er8.fsf@HIDDEN> (message from Eli Zaretskii on Tue, 22
 Jul 2025 17:46:35 +0300)
References: <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hGXz58cr8CXds@begin> <86bjpdbkoh.fsf@HIDDEN>
 <aH5k40rhLbnJBEND@begin> <86y0sga1ak.fsf@HIDDEN>
 <aH-BAoy5kelDl1rQ@begin> <aH-DsgQuvqZ-Iy2i@begin>
 <aH-YGTwHjjWl4BiY@jnana>
 <86tt348g2k.fsf@HIDDEN> <aH-fHJNxHp01LVWk@jnana> <86ldog8er8.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN,
>  samuel.thibault@HIDDEN
> Date: Tue, 22 Jul 2025 17:46:35 +0300
> From: Eli Zaretskii <eliz@HIDDEN>
> 
> > Backward-compatibility matters suggest to continue to emit exactly the
> > same thing and the possibility to disable the problematic sequence but,
> > as I explained earlier in this thread, I really findthis painful and
> > unfair to people who already have to tinker with everything.
> > 
> > Can we please consider makingthe new style the default and provide the
> > option to re-enable the sequence if there are people forwhom it
> > actuallymakes a difference?
> 
> That's what we are discussing.  We are not done yet.  In fact, we
> don't even have a working agreed-upon patch which implements the
> request when \t\b sequences are disabled.  The question of the default
> behavior will become relevant once we are past that.
> 
> So please be a bit more patient while we discuss this.

Btw, let me make sure I understand correctly: is screen-reading
software affected by this only on those two kinds of terminals (rxvt
and vte), where \t\b produces wrong output?  Or do other terminals,
where the above sequence is processed correctly, also dupe screen
readers into reading incorrect content?

If only those two terminals are affected, both in the effect of the
cursor motion and what that does to screen readers, then we could
disable the \t\b sequence only for those two terminals.  Emacs can
look at the name of the terminal to decide what to do.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 16:06:01 +0000
Resent-Message-ID: <handler.78474.B78474.175320032629011 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175320032629011
          (code B ref 78474); Tue, 22 Jul 2025 16:06:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 16:05:26 +0000
Received: from localhost ([127.0.0.1]:38550 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueFUb-0007Xm-NR
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 12:05:26 -0400
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:29356)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueFUY-0007Ww-7i
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 12:05:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:in-reply-to;
 bh=szdtCOqLktgNDqyPq/VP9evmSBLHjZ4pcAYWBxG8kpE=;
 b=BGsQGrvj2fMtcM+6OXvp52oxIhHPSvbY63+UIAT+uekQbp/S+XhkYgMT
 VKTED7q3VRWslE/Ttq5NUchEcF3Dm5kwsJDNvh9irrI4NJ6rAGqHfJWVL
 +/tfEMa0tsh9Y7MuXoVhIPrEayfbOi7xtGxUC2J/+Iz/yr5OaF/2V19i7 U=;
X-CSE-ConnectionGUID: KPW1pdPGSCKbRISGjjd9cA==
X-CSE-MsgGUID: Lkp2VWN/Rz6CnvVNNrRgmw==
Authentication-Results: mail2-relais-roc.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,331,1744063200"; d="scan'208";a="232676713"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail2-relais-roc.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2025 18:05:16 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueFUR-000000002lj-2ZBt; Tue, 22 Jul 2025 18:05:15 +0200
Date: Tue, 22 Jul 2025 18:05:14 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aH-2utiZ87cb79Z0@jnana>
References: <86bjpdbkoh.fsf@HIDDEN> <aH5k40rhLbnJBEND@begin>
 <86y0sga1ak.fsf@HIDDEN> <aH-BAoy5kelDl1rQ@begin>
 <aH-DsgQuvqZ-Iy2i@begin> <aH-YGTwHjjWl4BiY@jnana>
 <86tt348g2k.fsf@HIDDEN> <aH-fHJNxHp01LVWk@jnana>
 <86ldog8er8.fsf@HIDDEN> <86h5z48by1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <86h5z48by1.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii (2025/07/22 18:47 +0300):
> Btw, let me make sure I understand correctly: is screen-reading
> software affected by this only on those two kinds of terminals (rxvt
> and vte), where \t\b produces wrong output?

I am not completely sure and would rather let Samuel complete here. What
I know isthat libvte is used for several terminals so I expect all of
them to  be affected.

> If only those two terminals are affected, both in the effect of the
> cursor motion and what that does to screen readers, then we could
> disable the \t\b sequence only for those two terminals.  Emacs can
> look at the name of the terminal to decide what to do.

Would that be ssh-proof? Andwhat about running screen or tmux in such a
terminal?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 17:01:02 +0000
Resent-Message-ID: <handler.78474.B78474.175320360512534 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN, samuel.thibault@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175320360512534
          (code B ref 78474); Tue, 22 Jul 2025 17:01:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 17:00:05 +0000
Received: from localhost ([127.0.0.1]:38830 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueGLU-0003G2-Fm
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 13:00:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36930)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueGLS-0003Eo-9N
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 13:00:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueGLJ-0006mv-Ek; Tue, 22 Jul 2025 12:59:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=uTLf1JUblIefowORX2tnGMDtaYMpduR9+nn8Q3pmX3I=; b=qT45lO1IQdSU
 lvS1CQofo4RIOYfsASh99xIr8BScG5sPU3dGmty7X7ikr2WnSv10awUkDprxGfkGEYauc5qkKTmaZ
 4kD7SPawQYKq3FduyGFRNUkUcEv1XU4YzegmAK+cThMiRu+3s+x5Ldn8YwcPBhM7DlkVI85eJdmoX
 fhgVKZZtAx5HrWoKcNYrx6u7yRarZTMqc8Jpa8RZmFwiNYaytzHvzAjB+0hc0P426kkZ87026133e
 UjzbCaPQ3RepjtYuumHwBbTcIBX8yv3jkHyBNusbuEMlDm3uKvSr2zaQm0+DWZpuN02oR/CJniC+8
 ETMfJk0VP/SMAk90sLq+cg==;
Date: Tue, 22 Jul 2025 19:59:50 +0300
Message-Id: <86freo88l5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH-2utiZ87cb79Z0@jnana> (message from Seb Hinderer on Tue, 22
 Jul 2025 18:05:14 +0200)
References: <86bjpdbkoh.fsf@HIDDEN> <aH5k40rhLbnJBEND@begin>
 <86y0sga1ak.fsf@HIDDEN> <aH-BAoy5kelDl1rQ@begin>
 <aH-DsgQuvqZ-Iy2i@begin> <aH-YGTwHjjWl4BiY@jnana>
 <86tt348g2k.fsf@HIDDEN> <aH-fHJNxHp01LVWk@jnana>
 <86ldog8er8.fsf@HIDDEN>
 <86h5z48by1.fsf@HIDDEN> <aH-2utiZ87cb79Z0@jnana>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 18:05:14 +0200
> From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
> Cc: samuel.thibault@HIDDEN, bzg@HIDDEN, 78474 <at> debbugs.gnu.org,
> 	rpluim@HIDDEN
> 
> Eli Zaretskii (2025/07/22 18:47 +0300):
> > Btw, let me make sure I understand correctly: is screen-reading
> > software affected by this only on those two kinds of terminals (rxvt
> > and vte), where \t\b produces wrong output?
> 
> I am not completely sure and would rather let Samuel complete here. What
> I know isthat libvte is used for several terminals so I expect all of
> them to  be affected.

We can still know the names of those terminals, even if they are more
than 2.

> > If only those two terminals are affected, both in the effect of the
> > cursor motion and what that does to screen readers, then we could
> > disable the \t\b sequence only for those two terminals.  Emacs can
> > look at the name of the terminal to decide what to do.
> 
> Would that be ssh-proof?

You need to set TERM in the ssh session.

> And what about running screen or tmux in such a terminal?

Again, TERM should be set.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
References: <87wmaeonmu.fsf@HIDDEN>
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 17:50:02 +0000
Resent-Message-ID: <handler.78474.B78474.175320658326855 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>, Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175320658326855
          (code B ref 78474); Tue, 22 Jul 2025 17:50:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 17:49:43 +0000
Received: from localhost ([127.0.0.1]:39070 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueH7W-0006yw-2d
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 13:49:42 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43666)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueH7U-0006yL-Cf
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 13:49:41 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueH7O-000491-1D; Tue, 22 Jul 2025 13:49:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:Subject:To:From:Date:
 references; bh=d0uowJDT7rFbSfbUNqPFAHQNVmEnfQ6i1KJ7ZqWhH4Q=; b=c2agOicmCvJsk4
 ORPGiV8ZbB8Rag+YBRrWNfQEv/yERKU/NMaOhOa6WldyKzc5TNXFophFFXOKeQcZDZAADwSoDUofb
 OX/8JgXBdFxi/L8nZKAYz/uCxJcn1hZtxJhZLp5ujggD59Dbhu5QkD6X+rdvUboPkr9RxMEGnf081
 c83VIh7+9CIir8W8OD1Ouke7b5gOvZGkWlXFEqAvKkwqQQZvxbdwjTRCthwfCoGfX9ntlw1GGncZw
 9CnY3BYq/VLotlUtZSBfqePzBGiuRzVzUVq7bjPa8klEkBs8WhB14+u/nOmkEV3DB7t8y2DAtqusm
 /O60kvxV4H3hjRnTcSWw==;
Date: Tue, 22 Jul 2025 19:49:31 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH_PK1cU30dPhUGf@begin>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <86freo88l5.fsf@HIDDEN> <aH-2utiZ87cb79Z0@jnana>
 <86h5z48by1.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 18:47:18 +0300, a ecrit:
> Btw, let me make sure I understand correctly: is screen-reading
> software affected by this only on those two kinds of terminals (rxvt
> and vte), where \t\b produces wrong output?

Yes. But vte happens to be the only terminal layer that implements
accessibility. Screen readers cannot be used with all the others.

Seb Hinderer, le mar. 22 juil. 2025 18:05:14 +0200, a ecrit:
> I am not completely sure and would rather let Samuel complete here. What
> I know isthat libvte is used for several terminals so I expect all of
> them to  be affected.

Yes, there is a dozen of those in Debian, at least.

> If only those two terminals are affected, both in the effect of the
> cursor motion and what that does to screen readers, then we could
> disable the \t\b sequence only for those two terminals.  Emacs can
> look at the name of the terminal to decide what to do.

No, it cannot.

Eli Zaretskii, le mar. 22 juil. 2025 19:59:50 +0300, a ecrit:
> > > Emacs can look at the name of the terminal to decide what to do.
> > 
> > Would that be ssh-proof?
> 
> You need to set TERM in the ssh session.

Yes, although libvte announces itself as xterm-256color.

> > And what about running screen or tmux in such a terminal?
> 
> Again, TERM should be set.

In that case it's actually screen and tmux that interpret sequences, and
TERM is then screen and tmux. And those happen not to be using the \t\b
trick when re-displaying their output, so they "fix" the issue.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 17:57:01 +0000
Resent-Message-ID: <handler.78474.B78474.175320699029142 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175320699029142
          (code B ref 78474); Tue, 22 Jul 2025 17:57:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 17:56:30 +0000
Received: from localhost ([127.0.0.1]:39117 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueHE5-0007Zx-H3
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 13:56:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54832)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHE3-0007ZF-4u
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 13:56:27 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHDw-0005bF-6I; Tue, 22 Jul 2025 13:56:21 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=FZOERkRsXiX/rM4zv8MbKaTvihrZD8i1xEMztXiK0b8=; b=GTY93SNP1BxzKafUQvGr
 cdNNSiALt7wfu9pRXzdXBIT5fiXZWCVAH+0tJi3GI2KCjV9MHA4xlraC2BDRw30MehLbY0pgyPha2
 TDSdo0Q81zRCG1k/ZcYdOKGFHpSliFMPf9FQib3iUdOGlWeb4hjzkVnTYG1Afra/BKsPv1Gyt+/K7
 0Wur3b177NqewIo0ZylIh6aMM02XuVuqb1VsiSREjYPTZqIR4APb46wnoZgeyP+mXmOPIDwDG8dL7
 PS3hhbIWL8cnY2uSuxHj5RkrwmGW+uQzOBCQatwdMKFo5FqXuT5smkQnpefNdsmBOMe8oDGZLArtH
 1B7y0b1siiCe9A==;
Date: Tue, 22 Jul 2025 19:56:05 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH_QtdPXY1DwuF8x@begin>
References: <86ms8xbpbs.fsf@HIDDEN> <aH5QGe3fWGizcRlV@jnana>
 <87o6tdegsx.fsf@HIDDEN> <aH5gd6q-snGuRbzs@jnana>
 <86ecu9bkz5.fsf@HIDDEN> <aH5keG_TpKP2G_V2@begin>
 <87jz41ectv.fsf@HIDDEN> <86wm80a0uv.fsf@HIDDEN>
 <aH9_hGfJF_SSCqJ1@begin> <865xfk9x40.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <865xfk9x40.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 16:24:47 +0300, a ecrit:
> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > Eli Zaretskii, le mar. 22 juil. 2025 15:03:52 +0300, a ecrit:
> > > Of course, specially-tailored cases could be concocted which show the
> > > contrary, but that's not what this code is about.  The request in this
> > > bug report, AFAIU, was to disable the use of TABs _in_all_cases_,
> > 
> > No.
> > 
> > “
> > Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
> > (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> > 
> > This char insertion problem confuses assistive technologies for the
> > visually impaired.
> > â€
> 
> We are mis-communicating.  When I said "in all cases", I meant even
> when TABs do not cause any problems and/or when screen-reading
> software is not used at all.

But we were talking about my benchmark moving only by one character
(where the optimization loses) vs moving by 8 characters (where it
most probably wins since that's 8 interpretations and 8 bytes vs 1
interpretation and 1 byte).

The discussion was not about it being a default for everybody or not.

> > I don't remember really asking for more than that.
> 
> A reminder from https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78474#77

Yes, and I do agree with really asking for that one: we don't want to
put the burden of configuration on people who already have a hard time
using computers.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 17:59:01 +0000
Resent-Message-ID: <handler.78474.B78474.175320708929530 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175320708929530
          (code B ref 78474); Tue, 22 Jul 2025 17:59:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 17:58:09 +0000
Received: from localhost ([127.0.0.1]:39126 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueHFh-0007gE-8J
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 13:58:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47500)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHFe-0007fE-Rr
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 13:58:07 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHFZ-0006PQ-I5; Tue, 22 Jul 2025 13:58:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=/TRWn53c0BgtTNeWKBzc7FN0Hiq7ZjbhL/txaDZ7LI8=; b=YsiZAM3f1akrtoFh2ZHk
 7+6d37VNW8+m3LyFsB4s/tW709u0sofpsN/jjZEN48iKW4G0/vMPGRKFcT+/tI8D1fHXgOF8qegEA
 cm0IeUQQ2Q2qx+u8ifBm50Ut2H6UkxB9OEyITY8wjzzVCQ2AGCyzQCxbxfzTWepWgIRrY8sAIeMPG
 a+Ip8aOPCKxeud1xU31pukH/P3AvTCKc7DARRAY4VFynJ9z91U9915QXZCPEIX28tTAgI65nFxb3X
 BQAbxooHgR4P66aCyuCvWcds7Fuqx3R7i/cYwl5flhc678XVGZYfrZVqhGYR+UGquSXMtTDi9VJ+P
 ejRGQuE6Vwtr1A==;
Date: Tue, 22 Jul 2025 19:57:39 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH_REwLlWm4NYbM2@begin>
References: <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5saYL3jI3g6rWZ@begin> <86qzy8a0bj.fsf@HIDDEN>
 <aH-CCBeoZDx81BLc@begin> <861pq89ws5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <861pq89ws5.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 16:31:54 +0300, a ecrit:
> Also, what about the "stty -tabs" workaround -- does it work with vte
> and rxvt?

Of course, since emacs then duly respects not using tabs at all.

But again, that's to be configured (and even more arcane than modifying
.emacs)

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 18:05:02 +0000
Resent-Message-ID: <handler.78474.B78474.175320748531513 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175320748531513
          (code B ref 78474); Tue, 22 Jul 2025 18:05:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 18:04:45 +0000
Received: from localhost ([127.0.0.1]:39169 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueHM5-0008CD-2b
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:04:45 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43738)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHM2-0008BQ-6B
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:04:42 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHLt-0000zx-03; Tue, 22 Jul 2025 14:04:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=DNMYvW+lA/wO62MzIlBIFWuL/2fllwaVgK2LEEr1ChI=; b=bkjm6KYbLkpHQtcGtIge
 YT1+Hu9cf9tp5GfPDlHAtolCWkEzBqfR63ls4WG0Q9zyHvIEhgoGrvIenpM90ZKjqCNkaMdvWZQLu
 +lf6eqHnhhr4WfTmiskCAVRObFlT9+G5p84CLgUNP1ssPanbxwkQal9DHOg6+6bcCf9QhShs7x/TH
 2Z7aJnQDjHzbN9GA1oyFFNb3ywG8qEpofhJbpIxqs+0Yvu2jwdQJlCm78HqXJui1wA7xpnWd8zDWQ
 kqHHquqOd2TelgYIkFm9B5r/JP3mihCADQ+5QiHxPfqjO8NWIyfoj29SlhdXHl9ABpiBkbnPxRDlh
 mxAfBVViogweMA==;
Date: Tue, 22 Jul 2025 20:04:06 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH_SlqqlGjHGxY2B@begin>
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5engOVzezx7_80@begin> <86frepbl6s.fsf@HIDDEN>
 <aH5kL--nv1uaPKYD@begin> <8634aobh2k.fsf@HIDDEN>
 <aH92YZTzV_W-pL_L@begin> <867c009xdz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <867c009xdz.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 16:18:48 +0300, a ecrit:
> > Eli Zaretskii, le mar. 22 juil. 2025 14:28:19 +0300, a ecrit:
> > > > I have tried the attached test which reproduces both ways and reports
> > > > the time to achieve one million iteration, on my system:
> > > > 
> > > > - with rxvt: non-optimized way takes ~1.9s, optimized way takes ~2.1s.
> > > > - with mate-terminal: non-optimized way takes ~1.8s, optimized way takes
> > > >   ~2.0s.
> > > > 
> > > > So on my system at least the "optimized" way is actually slower.
> > > 
> > > For that particular single case.
> > 
> > Which is exactly the case that we are reporting about.
> 
> No, it isn't.  Not even if only \t\b should be disabled.

? I don't understand.

\t\b really is the only issue that we are having.

And the benchmark above, which you can try on various terminals, does
show that \t\b happens to be less efficient than \e[C. So it would
actually benefit everybody to just use \e[C by default instead of \t\b.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 18:06:01 +0000
Resent-Message-ID: <handler.78474.B78474.175320756132137 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175320756132137
          (code B ref 78474); Tue, 22 Jul 2025 18:06:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 18:06:01 +0000
Received: from localhost ([127.0.0.1]:39181 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueHNI-0008ME-I8
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:06:00 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59122)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHNG-0008Lk-2u
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:05:58 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHNA-0001Iq-Ca; Tue, 22 Jul 2025 14:05:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=8KQRpvgdXJoHf3Id0xOzE7G3Bi57PhSoEHBREx1cFE8=; b=XsBXxxn14lFMiu7Q1+Ub
 0TkB6ghLEYlTX9HWCoD/tqraKylFLT4ht9V/xyN2wr+WHOAB8SopF1HYd4FbIwb0TbR13Mw6fdAhK
 OoxDbd6nhy8hreXxXMhzxIbbLNEg+eBY1uIFouep/q/rvKOPx8hsMMeblseAKQnMyyp3TtqpzvsoK
 A0mi5k1glkpSMb9LgCf4yuuDb6GyPHxWm0wDJq1YivBx07qmHJQZVfQ1HyWHskwMZ57sywAfSVtlZ
 oLwFuiDTa/cpWvifMQEJA5iG9CrkWyrrunQw+lLwapPogyRbS2ywi8djxaKYkii7XqFY9CGRmRyo2
 c3vKmqQZAt43bg==;
Date: Tue, 22 Jul 2025 20:05:26 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH_S5mkXpEajay94@begin>
References: <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hGXz58cr8CXds@begin> <86bjpdbkoh.fsf@HIDDEN>
 <aH5k40rhLbnJBEND@begin> <86y0sga1ak.fsf@HIDDEN>
 <aH-BAoy5kelDl1rQ@begin> <864iv49x0x.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <864iv49x0x.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 16:26:38 +0300, a ecrit:
> > > But now you have changed the request, and are asking to disable the
> > > TABs by default.
> > 
> > I'm not *asking* for something in particular. I'm asking for a solution
> > to the *actual* problem, which is \009\008.
> 
> Yes, by default (as opposed to an opt-in solution).  That's what I
> meant.  Apologies if that wasn't clear.

Thanks for making it clear. It's indeed important that we get our exact
respective positions.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 18:09:02 +0000
Resent-Message-ID: <handler.78474.B78474.1753207736373 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.1753207736373
          (code B ref 78474); Tue, 22 Jul 2025 18:09:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 18:08:56 +0000
Received: from localhost ([127.0.0.1]:39196 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueHQ8-00005w-AR
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:08:56 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43804)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHQ6-000059-4G
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:08:54 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHPz-0001ak-Si; Tue, 22 Jul 2025 14:08:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=eVuYZw5yrr5Mt/y/YcFoqN5Wt/4cjSwfGDyZKy8NGwc=; b=rVFQPrjSzeUrFUNM8kd+
 YSxG/HM+GKouSxGLX+NyIaq8FH/Ty/bwbcK0HMD8cnwtn4uXwUl5l2UX/gB/1vNNBInExmCrmFMzr
 Gf70Nkafh/+DJT5NvllaBuw1UpuSsV9n0OX1ixCrsuvX+6IJBo6QFDDNYt2ukyUPVDCXVX3cWiFvW
 zalFL5HY7VBcDC2fG01WaTxoZp2bbsp5AXfz1BP6c4gbbHGUPSIlDW9HiFReyWLDBl9bK4Gb2ASee
 lguO7+yEK17N9L9QD5M07pmuJPTpeeX8j1DruqXSPzrFLpjz0SoIgaTGGhji74uvfpHlIcsSKen5O
 gS3TKTqRLtNRdQ==;
Date: Tue, 22 Jul 2025 20:08:43 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH_Tq8naAUvHiRpi@begin>
References: <86ikjlbmsm.fsf@HIDDEN> <aH5d_k3bBmW3aDSm@begin>
 <86h5z5bld4.fsf@HIDDEN> <aH5hGXz58cr8CXds@begin>
 <86bjpdbkoh.fsf@HIDDEN> <aH5k40rhLbnJBEND@begin>
 <86y0sga1ak.fsf@HIDDEN> <aH-BAoy5kelDl1rQ@begin>
 <aH-DsgQuvqZ-Iy2i@begin> <86wm808hq2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <86wm808hq2.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 16:42:29 +0300, a ecrit:
> > Samuel Thibault, le mar. 22 juil. 2025 14:16:02 +0200, a ecrit:
> > and end up seeing a hardcoded
> > list of the screen readers that are fortunate enough to be known enough
> > to get the proper behavior of emacs in vte,
> 
> Emacs makes it very easy to modify such databases.  Saying the names
> of such programs are "hardcoded" is not really accurate for Emacs,
> because we can expose the list as a user option, so users could easily
> add/remove programs as needed.

But it's *really* hard for users to walk the way from "the cursor does
not move when I press space!" down to "maybe I should try disabling the
use of tab for optimization". I don't think Sebastien would have found
such an option or even thought it could have existed.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 18:11:02 +0000
Resent-Message-ID: <handler.78474.B78474.1753207808888 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Andreas Schwab <schwab@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.1753207808888
          (code B ref 78474); Tue, 22 Jul 2025 18:11:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 18:10:08 +0000
Received: from localhost ([127.0.0.1]:39208 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueHRH-0000Dv-RW
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:10:08 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36066)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHRF-0000AF-1H
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:10:05 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHR9-0001ip-Ml; Tue, 22 Jul 2025 14:09:59 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=6PAiQVDD4JiiUYIPQ137itbQoQ8f3KrLs79Q2qAIUIs=; b=oifisPvzeBF2f9l5N0ll
 CH1mxHNzIxW0w0ilj7xPFjU2W2eaypt6LzRUbup+XOhRBiEkty7l4RsGVzjzmnxBELAymcWddM8sZ
 q0VE4jQOlZQi0mblpuvvp98npBeiCYPAcb2cxQaROtgueVkhNO2fj4RJjFJFbpZMWFKZihoIyeLOT
 eXxChox90lfemczn9VqwDLrl20A6y0LItXARsO6DsPEhfX+N8jHnqBgHaNJLzTEA9KRjbfShn0XjQ
 qGrrbHFGkYiKoInm7/ZEOMKggNn3iu0ItBRZZI8AEemPR3y8HOe4LY9VOnuFlGVOWv3nMfmuFNkan
 CifDcVUF8wCB7Q==;
Date: Tue, 22 Jul 2025 20:09:56 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH_T9I5GlKWKNqRd@begin>
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hEg7C9JDCZZ-y@jnana> <86cy9tbku2.fsf@HIDDEN>
 <aH5kxwpjNi4Y6yeq@begin> <mvm7c005obf.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <mvm7c005obf.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Andreas Schwab, le mar. 22 juil. 2025 15:48:20 +0200, a ecrit:
> On Jul 21 2025, Samuel Thibault wrote:
> 
> > It is. Cat /dev/vcs, and you have it.
> 
> /dev/vcs contains the rendered contents, so how they were drawn should
> not make any difference.

The question of this thread piece was not about that, but about screen
readers being able to read the screen without getting announced to
applications in any way.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 18:17:02 +0000
Resent-Message-ID: <handler.78474.B78474.17532081683069 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17532081683069
          (code B ref 78474); Tue, 22 Jul 2025 18:17:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 18:16:08 +0000
Received: from localhost ([127.0.0.1]:39248 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueHX6-0000nO-Cw
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:16:08 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33032)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHX4-0000mL-3B
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:16:06 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHWx-0003oX-Of; Tue, 22 Jul 2025 14:16:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=82TPF4ILj/us7FfNGcDM2jUtwiCcGTxnGY9KZSEzihY=; b=c3WGMn37tWgtdLticjnG
 LZE4eawU5PKfh7SDSElIV1pB1UBVltn8qNfDkk9QqYbuRm8pcUs+1jsVrge3zaYzQULhjgvDNFIS0
 CXR8W39zMPMsRJlfJkpQddkM4dZ++1Lf3BZjx6ToXvDQmDdqb1I/7qNHHo+hQAVp5Vs13pddNoEga
 RYpLP1mGqt2Jt9n40d/I/y4h0ttcvATl6DWHz6C68j2H5uBjWVP1IAk+me5AOHgR/MMUS27iMcC1I
 KZ6uFPfxW/tTY1W44P7N23iId8d2SeVlBntq6W9Ybuseek/AkldLMzW4BEbTHJn8vN/FFUcU97Czv
 xQfgX4vxV+0LMA==;
Date: Tue, 22 Jul 2025 20:15:51 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH_VV5xyaGn_AFCI@begin>
References: <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5engOVzezx7_80@begin> <86frepbl6s.fsf@HIDDEN>
 <aH5kL--nv1uaPKYD@begin> <8634aobh2k.fsf@HIDDEN>
 <aH92YZTzV_W-pL_L@begin> <867c009xdz.fsf@HIDDEN>
 <aH-bEmWbJAuqgM8F@jnana> <86ms8w8fpd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <86ms8w8fpd.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 17:26:06 +0300, a ecrit:
> > Eli Zaretskii (2025/07/22 16:18 +0300):
> > > What we need is to implement a prototype of the change to disable the
> > > above, and then time it on a large enough buffer.
> > 
> > Assuming the time actually does depend on the buffer's size, whihc I am
> > very not convinced about.
> 
> The buffer size is a means to get a good average measure of the speed.

But it also makes saving one byte even less a bonus... I tried to write
100 right-left movements (\t\b\b vs \e[C\b) at a time, the \t\b trick
takes ~30s while the standard \e[C takes ~5s.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 18:21:01 +0000
Resent-Message-ID: <handler.78474.B78474.17532084534493 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17532084534493
          (code B ref 78474); Tue, 22 Jul 2025 18:21:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 18:20:53 +0000
Received: from localhost ([127.0.0.1]:39269 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueHbh-0001AP-HQ
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:20:53 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55260)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHbf-00019s-74
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:20:52 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHbY-0004oa-Pq; Tue, 22 Jul 2025 14:20:44 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=jAAuMqOmySwRmlJLA63KW61v4UbJLzaUPX1vYt2R0sw=; b=IWBpejywsoTYxf4O3H4q
 0VHmP7e27o19mNh4VwI/F2rnDnlyYmLgVGCmPkB/M3gKkJRG5Y1Qu5raVXD+1Wwg8+M+pDq8XZo3v
 M1OapmRLWy1VwIZcN9sF2W0k6g9FG5Oi5P0juz3PKcaxsxI6Cj/nNiu26YQPqHh1+6l9fE9JyPfyV
 QBFHSqT9tjumjdVRmcZSIJ+MmHvjj+2gdzD1/yHpVwtOvpnAEflp7lElXB/eS/wE35JlpIW9/xajO
 mpcDBMvLfDWPjz1ksAwrIiqDAA9pqlqyLRdvST8dIXRx5c+CXAs7VpfOyeCR05+kL9HkgtBe13v85
 vUDhPBjYXwZAkA==;
Date: Tue, 22 Jul 2025 20:20:39 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH_WdzA5oYcTEmgp@begin>
References: <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5saYL3jI3g6rWZ@begin> <86qzy8a0bj.fsf@HIDDEN>
 <aH-CCBeoZDx81BLc@begin> <861pq89ws5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <861pq89ws5.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 16:31:54 +0300, a ecrit:
> > If I had a text that explicitly says that \t produces content, it
> > would be way easier to fix this on the vte side. For now, we have
> > been stuck for a *decade* there.
> 
> I think I understand, but the refusal of the vte developers to provide
> some solution doesn't mean it becomes the responsibility of Emacs to
> solve that, does it?

emacs is the only program we know that uses such \t\b trick and thus
poses cursor position problem.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 18:26:02 +0000
Resent-Message-ID: <handler.78474.B78474.17532087395883 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Manuel Giraud <manuel@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17532087395883
          (code B ref 78474); Tue, 22 Jul 2025 18:26:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 18:25:39 +0000
Received: from localhost ([127.0.0.1]:39301 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueHgI-0001Wn-JL
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:25:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51202)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHgG-0001WS-6B
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:25:37 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHgA-0005dY-9i; Tue, 22 Jul 2025 14:25:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=25NKx6maG+MvgU07Lw7teyFl4nIVTJIv/ZgADWpTUiQ=; b=pMZ9hOzPIsMNxwKptEZz
 zyJ2nQCnFwVGP2XUjYYdjfiphoTrP1q1zxH0CoMFAdMbr8L8pD26lohVS0ClaxHvDR8RJdcji2I2/
 VJ+0WQO94IjdChwGY7cGefuXqFO/x98fEhpRGZDSdb/zuNtEBwMejMnU3NosqXj8p7HbPc+uOUZvY
 G+y/+j0Eoi0jzV1hpBqm63EzKI1u95pVV8rYDONscZhrsRZ1btXXtAld8SdLhnP53fyZwKNDFydAZ
 v35/Truc3KghltN0OBMix2CAKA70o+aV5yaAlRJPKkRiJ9Bygfjf/Y6cA4PW1Rf6aCMLLuidNvfg4
 UcBLDHWXt5TNgA==;
Date: Tue, 22 Jul 2025 20:25:27 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH_Xl8kL9jppbAkl@begin>
References: <87o6tdegsx.fsf@HIDDEN> <aH5gd6q-snGuRbzs@jnana>
 <86ecu9bkz5.fsf@HIDDEN> <aH5keG_TpKP2G_V2@begin>
 <87jz41ectv.fsf@HIDDEN> <aH5p4dXc1NuJbV4U@begin>
 <86tt34a0nq.fsf@HIDDEN> <aH9_o1Fu8IthB_s4@begin>
 <874iv4e7b7.fsf@HIDDEN> <87freoz59e.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87freoz59e.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Manuel Giraud, le mar. 22 juil. 2025 16:09:33 +0200, a ecrit:
> Robert Pluim <rpluim@HIDDEN> writes:
> 
> >>>>>> On Tue, 22 Jul 2025 14:10:11 +0200, Samuel Thibault <samuel.thibault@HIDDEN> said:
> >
> >     Samuel> Eli Zaretskii, le mar. 22 juil. 2025 15:08:09 +0300, a ecrit:
> >     >> > Date: Mon, 21 Jul 2025 18:25:05 +0200
> >     >> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> >     >> > Cc: Eli Zaretskii <eliz@HIDDEN>,
> >     >> > 	Seb Hinderer <Sebastien.Hinderer@HIDDEN>, bzg@HIDDEN,
> >     >> > 	78474 <at> debbugs.gnu.org
> >     >> > 
> >     >> > > > Samuel> It's actually even slower on my box.
> >     >> > > 
> >     >> > > You benchmarked moving by one character. Moving by tabs can move in
> >     >> > > multiples of 8 characters, so I doubt itʼs that cut and dried.
> >     >> > 
> >     >> > The case which actually poses problem is only that \t\b vs \e[C. Using
> >     >> > tab without moving back with \b does not pose problem.
> >     >> 
> >     >> If that's the only problematic case, then disabling TABs as in the
> >     >> proposed patch is not TRT.
> >
> >     Samuel> I don't think I asked for this, and only confirmed that it's one way to
> >     Samuel> do it.
> >
> > That was my misinterpretation of the request. Itʼs easy enough to
> > restrict the change to only affect the '\t\b' case, but weʼll have to
> > come up with a new name for the user option :-)
> 
> What about this?

It looks like a very good candidate, thanks!  I'm trying it.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 18:28:02 +0000
Resent-Message-ID: <handler.78474.B78474.17532088576319 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.17532088576319
          (code B ref 78474); Tue, 22 Jul 2025 18:28:02 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 18:27:37 +0000
Received: from localhost ([127.0.0.1]:39319 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueHiC-0001dh-Bg
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:27:37 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44674)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHi7-0001d6-7s
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 14:27:34 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueHi1-0005tq-AH; Tue, 22 Jul 2025 14:27:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=GUIy6lQR3HVv6+fzWg3QfIomzbnS1tOczjBqCAmBXpM=; b=b2420eO0lohd0IW2EZoS
 N0UT+Q+KnWT5W4He27NKJOzmy+bj8LXr3gb8qtXiN7ijM4GXG6ic3zhCXe3D3uAC0GX2XjjLzlOgC
 El+qBQpgoxFgxfdRZ3yAHCm0/xx+2jAIPAY7oUxeUsWYr0bXNL0ffKSdSQ00HtK0JPkdMmmUf207i
 +RLwRuDYutH0YqC90+FtvDgndXoNi9HNAEW/vAum/XRwx3OMSz/aehYTlm7BR1Q/QcxB/OPio2W50
 T1gGArQ57MELuttYUHNQsU75f0xOXW9bgVZY4OD0TMpuhPrrQVNMoXp5J4EAVWO8ZZebJ0DzeLYsp
 N+6F1aE3p8eUDA==;
Date: Tue, 22 Jul 2025 20:27:17 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH_YBc4vmj2Bdnkn@begin>
References: <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5saYL3jI3g6rWZ@begin> <86qzy8a0bj.fsf@HIDDEN>
 <aH-CCBeoZDx81BLc@begin> <861pq89ws5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <861pq89ws5.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mar. 22 juil. 2025 16:31:54 +0300, a ecrit:
> > Eli Zaretskii, le mar. 22 juil. 2025 15:15:28 +0300, a ecrit:
> > > What you copy/paste and what is written to the screen are not
> > > necessarily the same thing.  The effect of TAB on the screen is to
> > > move the cursor (or the rest of the line's text) to the right by a
> > > suitably-computed number of columns, which depends on the column where
> > > you do that.  What is copy/paste'd depends on the program which
> > > serves the copy: some give you TAB, others give you spaces.
> > > 
> > > > Also, if you run:
> > > > 
> > > > echo -e 'a\t'
> > > > 
> > > > is there actually supposed to be some content to copy/paste on the right
> > > > of a?
> > > 
> > > IME, also depends on the program which serves the copy/paste.
> > > 
> > > (I think these aspects are tangents, not an integral part of this
> > > discussion.)
> > 
> > They are fully part of the discussion, because that changes what is
> > actually supposed to be stored in the terminal, and thus what the
> > accessibility feature is supposed to expose to the user: should it
> > expose a tab, or spaces. But if a tab, then how can the cursor be inside
> > the tab when emitting \t\b. That's the *whole* problem at stake.
> 
> So you are saying that even using cursor movement commands could cause
> problems,

The problem is that some people consider \t as not being only a cursor
movement. That's the whole point of the question raised above.

> because it is not known what the terminal will store?  And
> that Emacs should only use SPCes for that reason?

\t alone seems to be not posing problems, and is fine to keep to
optimize some cursor movements. It's \t\b which gets wrong.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Jul 2025 19:55:01 +0000
Resent-Message-ID: <handler.78474.B78474.175321405921883 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Manuel Giraud <manuel@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175321405921883
          (code B ref 78474); Tue, 22 Jul 2025 19:55:01 +0000
Received: (at 78474) by debbugs.gnu.org; 22 Jul 2025 19:54:19 +0000
Received: from localhost ([127.0.0.1]:39737 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueJ46-0005gt-SH
	for submit <at> debbugs.gnu.org; Tue, 22 Jul 2025 15:54:19 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52394)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueJ43-0005gH-SK
 for 78474 <at> debbugs.gnu.org; Tue, 22 Jul 2025 15:54:17 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueJ3w-0004ru-Ht; Tue, 22 Jul 2025 15:54:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=EXiyxny07GmmS71NQHGxLlYVcA4y+c+En8+caMj00p4=; b=jHdS0ccTnez0F6hEjUie
 bPAstoyQrwemvlK0OctTW3Zv1le5ARNj02haDpiyqXzHhER2B7vWawFOtpvioHvlvpy8umvshe3OR
 vH/f7DxUvpQ59+PWpHC92LleOor58OzS5WMvmH2jUT0YDpw0thpzCfCUkjdfD4kPcm9O+XJ2GpqrX
 nsQsOIhOmKoa0kvTiymYhmJTAQXVmNl/AJcienZs+vU57urJCqq3wuhmKGANx/UEn6ulXZY5CLxBQ
 dGKFXGPVZEeHkEEjbsaoioBnEpwUO8ET3DCW5ZsqN3E5M0UabBGroCQi8WEauVyRFTj0qFZbBddE3
 Zo1HPDNLti8ptA==;
Date: Tue, 22 Jul 2025 21:54:05 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aH_sXTEN2yiBSnwL@begin>
References: <87o6tdegsx.fsf@HIDDEN> <aH5gd6q-snGuRbzs@jnana>
 <86ecu9bkz5.fsf@HIDDEN> <aH5keG_TpKP2G_V2@begin>
 <87jz41ectv.fsf@HIDDEN> <aH5p4dXc1NuJbV4U@begin>
 <86tt34a0nq.fsf@HIDDEN> <aH9_o1Fu8IthB_s4@begin>
 <874iv4e7b7.fsf@HIDDEN> <87freoz59e.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87freoz59e.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Re,

Manuel Giraud, le mar. 22 juil. 2025 16:09:33 +0200, a ecrit:
> >>>>>> On Tue, 22 Jul 2025 14:10:11 +0200, Samuel Thibault <samuel.thibault@HIDDEN> said:
> > That was my misinterpretation of the request. Itʼs easy enough to
> > restrict the change to only affect the '\t\b' case, but weʼll have to
> > come up with a new name for the user option :-)
> 
> What about this?

Yes, that works!

> From 002efa4bd1db6efd9f65dc43364b084680906753 Mon Sep 17 00:00:00 2001
> From: Manuel Giraud <manuel@HIDDEN>
> Date: Tue, 22 Jul 2025 15:15:39 +0200
> Subject: [PATCH] Do not overshoot and backup for tty motions
> 
> ---
>  src/cm.c | 24 +++---------------------
>  1 file changed, 3 insertions(+), 21 deletions(-)
> 
> diff --git a/src/cm.c b/src/cm.c
> index 150d1c9a580..fb18ef26251 100644
> --- a/src/cm.c
> +++ b/src/cm.c

> -    if (c < tabcost)		/* then cheaper to overshoot & back up */
> -	ntabs = n2tabs, tabcost = c, tabx = tab2x;
> -
>      if (tabcost >= BIG)		/* caint use tabs */
>  	goto newdelta;

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 07:42:01 +0000
Resent-Message-ID: <handler.78474.B78474.175325648411375 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, rpluim@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175325648411375
          (code B ref 78474); Wed, 23 Jul 2025 07:42:01 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 07:41:24 +0000
Received: from localhost ([127.0.0.1]:47939 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueU6N-0002xL-Sz
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 03:41:24 -0400
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:25234)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueU6K-0002wR-Sc
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 03:41:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:in-reply-to;
 bh=NOZvNY/UkJxR97w77fp8hBXPxuw9+ZrN/9/2IKui4WI=;
 b=LGyIqdqm6qsX5s+2JW40+JwoNHE/UK+LaVz9uXJVeNpqV3ccXYiVJlJa
 KUMWBOz4edX6aZgVHdoCo5kuLoOnG9y1MivtQFjVJHMRlB4Him3ykmifO
 hnW8kU80wYEol/9Wz9BFnxsU/tkCuv3QtBPEXoMoa/6wKFHgqN+2XfAw8 Y=;
X-CSE-ConnectionGUID: b8kRRiuyRGWIH09WvKa7Sw==
X-CSE-MsgGUID: PA+fgrzpTBapWzH50m+7AA==
Authentication-Results: mail2-relais-roc.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,333,1744063200"; d="scan'208";a="232737296"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail2-relais-roc.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2025 09:41:14 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueU6E-000000000fa-0Q1T; Wed, 23 Jul 2025 09:41:14 +0200
Date: Wed, 23 Jul 2025 09:41:14 +0200
From: Seb Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aICSGlPpCsorcG1q@jnana>
References: <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hGXz58cr8CXds@begin> <86bjpdbkoh.fsf@HIDDEN>
 <aH5k40rhLbnJBEND@begin> <86y0sga1ak.fsf@HIDDEN>
 <aH-BAoy5kelDl1rQ@begin> <aH-DsgQuvqZ-Iy2i@begin>
 <86wm808hq2.fsf@HIDDEN> <aH_Tq8naAUvHiRpi@begin>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <aH_Tq8naAUvHiRpi@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Samuel Thibault (2025/07/22 20:08 +0200):
> Eli Zaretskii, le mar. 22 juil. 2025 16:42:29 +0300, a ecrit:
> > > Samuel Thibault, le mar. 22 juil. 2025 14:16:02 +0200, a ecrit:
> > > and end up seeing a hardcoded
> > > list of the screen readers that are fortunate enough to be known enough
> > > to get the proper behavior of emacs in vte,
> >
> > Emacs makes it very easy to modify such databases.  Saying the names
> > of such programs are "hardcoded" is not really accurate for Emacs,
> > because we can expose the list as a user option, so users could easily
> > add/remove programs as needed.
>
> But it's *really* hard for users to walk the way from "the cursor does
> not move when I press space!" down to "maybe I should try disabling the
> use of tab for optimization". I don't think Sebastien would have found
> such an option or even thought it could have existed.

I confirm. And it's not that I am a noob. Well I am, but at the same
time I am also an engineer, so likely what is going to be hard
andpainful for me will be way more so for people who are less into
computers.

And realise that this would be multiplied by the number of software to
use. Just not  viable.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: =?UTF-8?Q?S=C3=A9bastien?= Hinderer <Sebastien.Hinderer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 07:53:02 +0000
Resent-Message-ID: <handler.78474.B78474.175325714214174 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, rpluim@HIDDEN
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175325714214174
          (code B ref 78474); Wed, 23 Jul 2025 07:53:02 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 07:52:22 +0000
Received: from localhost ([127.0.0.1]:47991 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueUGz-0003gX-N3
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 03:52:22 -0400
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:41446)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueUGv-0003fm-Nu
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 03:52:19 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=date:from:to:cc:subject:message-id:references:
 mime-version:in-reply-to;
 bh=Y3CfS3uKMJ6K/U3WKXVXbfafVry6Q2IrtOrIS56ZY8E=;
 b=aCxE67dT/ZJnPe/gPs0MKId7lvUUrZrPC9vSS+RIG30GiQq8qbHFc7rO
 aOekLYqJfVErdsEA6UYxENIh03/9DUOyKMJ/gwh5zqbrniUzIlxafQ5Rh
 o5geAPyC+v/fqrLX1DaCqK4JHg1yMZG/+5XrK5mWSNrJl7Brvp36860Zp E=;
X-CSE-ConnectionGUID: 2xNO4sZcRbSI+E2S8TN0Aw==
X-CSE-MsgGUID: fwv13DsOQ1GlJJhRAZxtZA==
Authentication-Results: mail3-relais-sop.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=Sebastien.Hinderer@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.16,333,1744063200"; d="scan'208";a="121999836"
Received: from wifi-pro-83-064.paris.inria.fr (HELO jnana) ([128.93.83.64])
 by mail3-relais-sop.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2025 09:52:12 +0200
Received: from shindere by jnana with local (Exim 4.98.2)
 (envelope-from <Sebastien.Hinderer@HIDDEN>)
 id 1ueUGo-000000000gy-3rvZ; Wed, 23 Jul 2025 09:52:10 +0200
Date: Wed, 23 Jul 2025 09:52:10 +0200
From: =?UTF-8?Q?S=C3=A9bastien?= Hinderer <Sebastien.Hinderer@HIDDEN>
Message-ID: <aICUqrFXfRQPPWNp@jnana>
References: <87o6tdegsx.fsf@HIDDEN> <aH5gd6q-snGuRbzs@jnana>
 <86ecu9bkz5.fsf@HIDDEN> <aH5keG_TpKP2G_V2@begin>
 <87jz41ectv.fsf@HIDDEN> <aH5saYL3jI3g6rWZ@begin>
 <86qzy8a0bj.fsf@HIDDEN> <aH-CCBeoZDx81BLc@begin>
 <861pq89ws5.fsf@HIDDEN> <aH_WdzA5oYcTEmgp@begin>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <aH_WdzA5oYcTEmgp@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Samuel Thibault (2025/07/22 20:20 +0200):
> Eli Zaretskii, le mar. 22 juil. 2025 16:31:54 +0300, a ecrit:
> > > If I had a text that explicitly says that \t produces content, it
> > > would be way easier to fix this on the vte side. For now, we have
> > > been stuck for a *decade* there.
> >
> > I think I understand, but the refusal of the vte developers to provide
> > some solution doesn't mean it becomes the responsibility of Emacs to
> > solve that, does it?
>
> emacs is the only program we know that uses such \t\b trick and thus
> poses cursor position problem.

And the road down to this findking has been quite longbecause we first
had to fix all the problems in vte, which took the decade Samuel
mentionned and is still not integrated, before then realising that
although we get a nice behaviour with editors suchas vimor joe, that
didn't hold for Emacs. And it took another bunch of time and brain
resources to figure out what was going on there. Credit again goes to
Samuel for that.

A very friendly note to the Emacs maintainers whoare reading this
thread: my intention is *not* tomake you feel bad. I appreciate that you
are here, discuss, genuinely try tounderstand. Precisely, to broaden
your understanding, I would like to explain one point you may be missing
and it's certainly not your faul if you are missing it, but please read
me and think over it.

The discussion we are currently having with you, wehave to  haveon
dozens and dozens of projects. So yes, having to have such discussions
again and again is super tiring and it's kind of a miracle that people
like Samuel are still there, although not directly concerned.

We try to suggest solutions that are viable, as "main stream" as
possible because we believe that the best thing that can happen to
accessibility is that it gets integrated to programs as readily as
possible.

As much as possible, we would like to avoid that accessibility has to go
to dedicated code paths because we know from experience tat, in the long
run, such code paths will receive less testing and maintenance
attenition.

And I think this becomes even more true if, as it seems to be the case
here, the proposed code is actually cleaner, more efficient and more
standard than what was done before. Tome, the fact that the former code
has not had to change for decades does not mean it shouldn't be changed
now.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 08:02:02 +0000
Resent-Message-ID: <handler.78474.B78474.175325770316666 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175325770316666
          (code B ref 78474); Wed, 23 Jul 2025 08:02:02 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 08:01:43 +0000
Received: from localhost ([127.0.0.1]:48033 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueUQ2-0004Kg-K9
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 04:01:43 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:41563)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1ueUPy-0004KL-S0
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 04:01:40 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=I/om5OJi
 50mE9jGsG9rKwxX8sU8HH3s8lNDz0wFzFWI=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=GVbK889mRQuofEBTmnCSgjHl+5nn/H
 j5xaepVzC2JQoSn5ZfiENIr1J9g/fLHed8xlYc26AlViPiwRse9z6EDg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=I/om5OJi50mE9jGs
 G9rKwxX8sU8HH3s8lNDz0wFzFWI=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=DW9uNVJDiuiRjNlkl/xRicE2sGy6yNm4rzrWAx
 w/VskZTClgy7tmN762dHXMyP2QzsCbsJAKLTl16EP51IbwBVnFqeVqLnu5S2ijKFDgNH3n
 RUsvYmzJCMSib9rvJrcIf1fEW1FQtgQvI9AvhWHv41Wcm8cIOgwpYLv5kE9RozWjORU74O
 +Yoh2CUtDOoKDZTwyaC3jpryzQ00v3n7syGF5df9zcc8XO4Hn63sEItSHTSWbV2jieIi6u
 AxrvVHC6aqCquaKCapQKP7765D802MqpW442BHrV1BCADa1fHyi7fkozU5q5sLcJgHeEMB
 ttZNuP+bKAgIJ7KohqRp/Etg==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 931755e2
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Wed, 23 Jul 2025 10:01:36 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <aH_sXTEN2yiBSnwL@begin>
References: <87o6tdegsx.fsf@HIDDEN> <aH5gd6q-snGuRbzs@jnana>
 <86ecu9bkz5.fsf@HIDDEN> <aH5keG_TpKP2G_V2@begin>
 <87jz41ectv.fsf@HIDDEN> <aH5p4dXc1NuJbV4U@begin>
 <86tt34a0nq.fsf@HIDDEN> <aH9_o1Fu8IthB_s4@begin>
 <874iv4e7b7.fsf@HIDDEN> <87freoz59e.fsf@HIDDEN>
 <aH_sXTEN2yiBSnwL@begin>
Date: Wed, 23 Jul 2025 10:01:34 +0200
Message-ID: <87ldofxrmp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Samuel Thibault <samuel.thibault@HIDDEN> writes:

> Re,
>
> Manuel Giraud, le mar. 22 juil. 2025 16:09:33 +0200, a ecrit:
>> >>>>>> On Tue, 22 Jul 2025 14:10:11 +0200, Samuel Thibault
>> > <samuel.thibault@HIDDEN> said:
>> > That was my misinterpretation of the request. It=CA=BCs easy enough to
>> > restrict the change to only affect the '\t\b' case, but we=CA=BCll hav=
e to
>> > come up with a new name for the user option :-)
>>=20
>> What about this?
>
> Yes, that works!

Thanks.  So maybe next step is to decide if we keep this overshoot
behaviour guarded behind a user option (I propose
`inhibit-overshoot-in-tty-motions') and, the hard question, what should
be its default?
--=20
Manuel Giraud




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 08:07:02 +0000
Resent-Message-ID: <handler.78474.B78474.175325799217927 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175325799217927
          (code B ref 78474); Wed, 23 Jul 2025 08:07:02 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 08:06:32 +0000
Received: from localhost ([127.0.0.1]:48056 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueUUi-0004f4-0i
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 04:06:32 -0400
Received: from smtp-out2.suse.de ([195.135.223.131]:44456)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <schwab@HIDDEN>) id 1ueUUe-0004ef-UL
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 04:06:29 -0400
Received: from hawking.nue2.suse.org (unknown [10.168.4.11])
 by smtp-out2.suse.de (Postfix) with ESMTP id EF9251F76C;
 Wed, 23 Jul 2025 08:06:22 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa;
 t=1753257983; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
 mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=LdPCI+dEZEwk8BcysoMzOKnPdBvcs1XD9LosFCnW3ik=;
 b=B7hyDwSdyrY+n0F7Scioo124lUjezRzDh4/8M4bjQPGsg+Q4GWhy4BBh6h2xG5+oDnGwmW
 pu2FYlu271XqMV09A56rUEqgO9qnc9k313i7QEeLNITok7n8GLAjpesduy9IP+bTTCMfzy
 hC3NBuWtPsj0Pqskswn84zgjWqlewdI=
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;
 s=susede2_ed25519; t=1753257983;
 h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
 mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=LdPCI+dEZEwk8BcysoMzOKnPdBvcs1XD9LosFCnW3ik=;
 b=6jOHP9QnTiXc4NXVrjI/Co2v30M80E5k7cRIM8os7CKhviE/7kSIvNuxhdVp6zsUuUvdIn
 g/S4YTVhqk4nFGCg==
Authentication-Results: smtp-out2.suse.de;
	none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa;
 t=1753257982; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
 mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=LdPCI+dEZEwk8BcysoMzOKnPdBvcs1XD9LosFCnW3ik=;
 b=iVv+971qke3JS9zuuI7M6fH81NJT/EX6aGNTQlmD1Mi700c4FnL2jkyC4zr1j/MRpympIp
 HOT/c/MdoCOzz5J+A24xsI1S35QzVFZ82n4C/S43pulyuauxTe9vDSV620H/xh3CAFcaSw
 7nyR1VU4uTKLWbE31n7hBv8jJRIYfPs=
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;
 s=susede2_ed25519; t=1753257982;
 h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
 mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=LdPCI+dEZEwk8BcysoMzOKnPdBvcs1XD9LosFCnW3ik=;
 b=DhzRhhkB3kI2yNo50DYIg5X849yzxjspxLws5psipWjSFChtYKrTF8riHeOR3xLg7q9liT
 xNffG3bUPsZfjuAw==
Received: by hawking.nue2.suse.org (Postfix, from userid 17005)
 id 164464A04E2; Wed, 23 Jul 2025 10:06:20 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
In-Reply-To: <aH_T9I5GlKWKNqRd@begin> (Samuel Thibault's message of "Tue, 22
 Jul 2025 20:09:56 +0200")
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hEg7C9JDCZZ-y@jnana> <86cy9tbku2.fsf@HIDDEN>
 <aH5kxwpjNi4Y6yeq@begin> <mvm7c005obf.fsf@HIDDEN>
 <aH_T9I5GlKWKNqRd@begin>
Date: Wed, 23 Jul 2025 10:06:19 +0200
Message-ID: <mvmo6tb49hg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spamd-Result: default: False [-4.20 / 50.00]; BAYES_HAM(-3.00)[99.99%];
 NEURAL_HAM_LONG(-1.00)[-1.000];
 NEURAL_HAM_SHORT(-0.20)[-0.994]; MIME_GOOD(-0.10)[text/plain];
 RCVD_NO_TLS_LAST(0.10)[]; RCVD_COUNT_ONE(0.00)[1];
 FREEMAIL_ENVRCPT(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+];
 TO_DN_SOME(0.00)[]; ARC_NA(0.00)[];
 FUZZY_RATELIMITED(0.00)[rspamd.com];
 MID_RHS_MATCH_FROM(0.00)[];
 DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];
 FREEMAIL_CC(0.00)[gnu.org,inria.fr,gmail.com,debbugs.gnu.org];
 RCPT_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[];
 DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:mid,suse.de:email]
X-Spam-Flag: NO
X-Spam-Level: 
X-Spam-Score: -4.20
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

On Jul 22 2025, Samuel Thibault wrote:

> Andreas Schwab, le mar. 22 juil. 2025 15:48:20 +0200, a ecrit:
>> On Jul 21 2025, Samuel Thibault wrote:
>> 
>> > It is. Cat /dev/vcs, and you have it.
>> 
>> /dev/vcs contains the rendered contents, so how they were drawn should
>> not make any difference.
>
> The question of this thread piece was not about that, but about screen
> readers being able to read the screen without getting announced to
> applications in any way.

Since screen readers using /dev/vcs are not affected by this issue they
are irrelevant here.

-- 
Andreas Schwab, SUSE Labs, schwab@HIDDEN
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 08:16:02 +0000
Resent-Message-ID: <handler.78474.B78474.175325854720296 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Andreas Schwab <schwab@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175325854720296
          (code B ref 78474); Wed, 23 Jul 2025 08:16:02 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 08:15:47 +0000
Received: from localhost ([127.0.0.1]:48089 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueUdf-0005HI-DJ
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 04:15:47 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45890)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueUdb-0005Gf-TP
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 04:15:45 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueUdU-0003NR-VQ; Wed, 23 Jul 2025 04:15:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=kN4oHFur+gmUJRCTlZEIVVyhR3yadzHp1N6TK/4yjWE=; b=mT/KsUo7t/uGuCr1DDTk
 SoAnS7asp4Pxq/gw9gnUtz6r1ZZpS0yNw3tGE4xX5CFpC0N8ILV6qQSODQ9tyXH9RZj5HuuyXAvWC
 JD9rAkkzVra6NaAldN9GbCFnEYeIA/QKfRArMRMy/qCdelVFpzjEj+4ffvjdWA2APaDkoR/1LskhA
 XKV30IGI0ZZJDoMq+AnXFCwkxLiur/6lc1/3RjNGg1QGU8VCS5TLVmSztBzo+gGDaMfUz9UzOGVNJ
 6Dx2LJ0NIoJl45Ri5rZTsWkJ5W2wMfklHB90XQAslMeikInGTu4L3yfeOt1M1ywpvFLzyVBiRgSjm
 ZJpGSS92RwUTKA==;
Date: Wed, 23 Jul 2025 10:15:30 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aICaIuhYgObE_NcB@begin>
References: <aH5QGe3fWGizcRlV@jnana> <86ikjlbmsm.fsf@HIDDEN>
 <aH5d_k3bBmW3aDSm@begin> <86h5z5bld4.fsf@HIDDEN>
 <aH5hEg7C9JDCZZ-y@jnana> <86cy9tbku2.fsf@HIDDEN>
 <aH5kxwpjNi4Y6yeq@begin> <mvm7c005obf.fsf@HIDDEN>
 <aH_T9I5GlKWKNqRd@begin> <mvmo6tb49hg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <mvmo6tb49hg.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Andreas Schwab, le mer. 23 juil. 2025 10:06:19 +0200, a ecrit:
> On Jul 22 2025, Samuel Thibault wrote:
> > Andreas Schwab, le mar. 22 juil. 2025 15:48:20 +0200, a ecrit:
> >> On Jul 21 2025, Samuel Thibault wrote:
> >> 
> >> > It is. Cat /dev/vcs, and you have it.
> >> 
> >> /dev/vcs contains the rendered contents, so how they were drawn should
> >> not make any difference.
> >
> > The question of this thread piece was not about that, but about screen
> > readers being able to read the screen without getting announced to
> > applications in any way.
> 
> Since screen readers using /dev/vcs are not affected by this issue they
> are irrelevant here.

It was just an example that was easier to grasp than the graphical case.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 10:51:02 +0000
Resent-Message-ID: <handler.78474.B78474.175326783728528 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175326783728528
          (code B ref 78474); Wed, 23 Jul 2025 10:51:02 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 10:50:37 +0000
Received: from localhost ([127.0.0.1]:48684 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueX3V-0007Q3-6s
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 06:50:37 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57308)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueX3T-0007Pj-NW
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 06:50:36 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueX3L-0004e1-Dd; Wed, 23 Jul 2025 06:50:27 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=b3jt6mlShxZCb3tx6g6vWkG3S0cEsgqSksbAhjrr2+0=; b=mruLIzc3uiWH
 tmrUHZHUCvaxBVR3AgPw4+dsy/Q2bvt+OtRw5LYM4A/lj1iQ/40LuS1AVjSrrwLtKbmXmOI+dcv/P
 o7iSYz9qL6+mKrETWIRMWpye0/HaHf3ON7qNcUfnmtCirXntSQ+viQ8Y/Dq9Hv22oRAo7wxOzoqUj
 XXQkk5lIfe4Hgvmb/LqKxULXB/LdrEQqPNvxJRweqiXvOTXh3+dSLfRfIXWO8WxFL69b8KKyVJGEv
 GNTEE0NysS/s70CpMCd3nPXOTxtINbZWCYpRvVh1pAK8QCjRTj81bqCyxus9jpe6jsFYRDx8HFmLv
 wYdOC6VfVjvoRSYBLBX7Aw==;
Date: Wed, 23 Jul 2025 13:50:24 +0300
Message-Id: <868qkf89lb.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH_PK1cU30dPhUGf@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 19:49:31 +0200)
References: <aH_PK1cU30dPhUGf@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 19:49:31 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN
> 
> Eli Zaretskii, le mar. 22 juil. 2025 18:47:18 +0300, a ecrit:
> > Btw, let me make sure I understand correctly: is screen-reading
> > software affected by this only on those two kinds of terminals (rxvt
> > and vte), where \t\b produces wrong output?
> 
> Yes. But vte happens to be the only terminal layer that implements
> accessibility. Screen readers cannot be used with all the others.
> 
> Seb Hinderer, le mar. 22 juil. 2025 18:05:14 +0200, a ecrit:
> > I am not completely sure and would rather let Samuel complete here. What
> > I know isthat libvte is used for several terminals so I expect all of
> > them to  be affected.
> 
> Yes, there is a dozen of those in Debian, at least.

Can you name them, please?

> > If only those two terminals are affected, both in the effect of the
> > cursor motion and what that does to screen readers, then we could
> > disable the \t\b sequence only for those two terminals.  Emacs can
> > look at the name of the terminal to decide what to do.
> 
> No, it cannot.

Why not?  Looking at the value of TERM is something Emacs already
does, because it needs to load a corresponding library from
lisp/term/.  So such a library would be a natural place to set this
variable if we decide to disable \t\b on thos specific terminals by
default.

> Eli Zaretskii, le mar. 22 juil. 2025 19:59:50 +0300, a ecrit:
> > > > Emacs can look at the name of the terminal to decide what to do.
> > > 
> > > Would that be ssh-proof?
> > 
> > You need to set TERM in the ssh session.
> 
> Yes, although libvte announces itself as xterm-256color.

So we could have a terminal which sets TERM=xterm-256color, but which
doesn't behave like xterm does?

> > > And what about running screen or tmux in such a terminal?
> > 
> > Again, TERM should be set.
> 
> In that case it's actually screen and tmux that interpret sequences, and
> TERM is then screen and tmux. And those happen not to be using the \t\b
> trick when re-displaying their output, so they "fix" the issue.

Thus no problem.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 10:56:01 +0000
Resent-Message-ID: <handler.78474.B78474.175326811729703 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175326811729703
          (code B ref 78474); Wed, 23 Jul 2025 10:56:01 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 10:55:17 +0000
Received: from localhost ([127.0.0.1]:48702 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueX80-0007ip-U5
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 06:55:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49152)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueX7x-0007da-Tt
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 06:55:14 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueX7s-0007jW-JB; Wed, 23 Jul 2025 06:55:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=wLWTPoLxdgUIw5r12ukLTMCaECH2T8W5U+zQeL1yWBc=; b=B3RO0KDEkPEH2TnhF8ED
 gZhyIZwrF2zpZEn8Ep/ByJ56iNY4xyVo6bUVZe+L1/8JyW7pxCveAO+ZfQNCcZpMFNF5sGzi/aw/x
 rF0wZCkKlzxmm1oGC0W+whO56tLirIo56lNZFg5PDomTt96xskzKkXOe7GGDdcutGdJnlCd1bekAc
 ALlakYfmsRdAyug1JI0NTfOJPHwhtw6Y/7NzlgmcMUb7WPYo9wFoHf5VgbYFlngTuJLsukf+pwbn7
 u4BmHxOIvIsIJMXOMYHE7uRIsKZvG0Fkx3fIWxuJYVnxNVW+nAJzJqhGiKQirvQ5AxJL+A0Bt1qNr
 +Hqcne504bP29A==;
Date: Wed, 23 Jul 2025 13:55:06 +0300
Message-Id: <865xfj89dh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH_QtdPXY1DwuF8x@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 19:56:05 +0200)
References: <86ms8xbpbs.fsf@HIDDEN> <aH5QGe3fWGizcRlV@jnana>
 <87o6tdegsx.fsf@HIDDEN> <aH5gd6q-snGuRbzs@jnana>
 <86ecu9bkz5.fsf@HIDDEN> <aH5keG_TpKP2G_V2@begin>
 <87jz41ectv.fsf@HIDDEN> <86wm80a0uv.fsf@HIDDEN>
 <aH9_hGfJF_SSCqJ1@begin>
 <865xfk9x40.fsf@HIDDEN> <aH_QtdPXY1DwuF8x@begin>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 19:56:05 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: rpluim@HIDDEN, Sebastien.Hinderer@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le mar. 22 juil. 2025 16:24:47 +0300, a ecrit:
> > > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > > Eli Zaretskii, le mar. 22 juil. 2025 15:03:52 +0300, a ecrit:
> > > > Of course, specially-tailored cases could be concocted which show the
> > > > contrary, but that's not what this code is about.  The request in this
> > > > bug report, AFAIU, was to disable the use of TABs _in_all_cases_,
> > > 
> > > No.
> > > 
> > > “
> > > Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
> > > (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> > > 
> > > This char insertion problem confuses assistive technologies for the
> > > visually impaired.
> > > â€
> > 
> > We are mis-communicating.  When I said "in all cases", I meant even
> > when TABs do not cause any problems and/or when screen-reading
> > software is not used at all.
> 
> But we were talking about my benchmark moving only by one character
> (where the optimization loses) vs moving by 8 characters (where it
> most probably wins since that's 8 interpretations and 8 bytes vs 1
> interpretation and 1 byte).
> 
> The discussion was not about it being a default for everybody or not.

Correct me if I'm wrong, but there was a request to disable sending
\t\b sequence on all the terminals, even on those which process \t\b
correctly and if the screen-reading software is not being used, right?
That is what I mean by "in all cases", and we are definitely
discussing this issue, the alternative being that either (a) users who
are affected will have to manually disable the use of \t\b, or (b) we
will find a way to disable \t\b automatically on systems and/or for
users that _are_ affected.

> > > I don't remember really asking for more than that.
> > 
> > A reminder from https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78474#77
> 
> Yes, and I do agree with really asking for that one: we don't want to
> put the burden of configuration on people who already have a hard time
> using computers.

So we agree: disabling \t\b "in all cases" is what is being discussed.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 10:57:02 +0000
Resent-Message-ID: <handler.78474.B78474.175326816329915 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175326816329915
          (code B ref 78474); Wed, 23 Jul 2025 10:57:02 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 10:56:03 +0000
Received: from localhost ([127.0.0.1]:48710 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueX8l-0007mP-IJ
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 06:56:03 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54588)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueX8j-0007lT-5r
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 06:56:01 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueX8d-0007qG-Qy; Wed, 23 Jul 2025 06:55:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=BeOc9AkC2dBTUzdA9+gL1zPAXTD6CmegCGeYDrQ9adM=; b=rCoVYY53pL2o
 Kbj7DLvGLqzvPamsAy6blwNJi6lvXLDevuz0VBqMJfWwoZJpQE88sSSi5lnAw8hXF+sBGbFqrhSZK
 ARjCaQsSgQsRzx6RMllaGr75HR8/S9kPnPlfetyJoZApAdXVQcSsN2uIiWLO+vXI434+mjFmR/Jb3
 AnMF3TFbZDaRlck3m0BC50GoYEesIarOyKEHiKZ4+4XclIk8vZ0x75WifA7C4QCgmMKTs9M0ArGg5
 waMLQplWX8bg7kvlQyolakWwa9FRv7B+u1J2rajwz5muRv7VWPgt+IIyIijzmStiv1N2tSOLQT6fO
 eBSb5TEwnd3HbRTeFh8d+A==;
Date: Wed, 23 Jul 2025 13:55:53 +0300
Message-Id: <864iv389c6.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH_REwLlWm4NYbM2@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 19:57:39 +0200)
References: <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5saYL3jI3g6rWZ@begin> <86qzy8a0bj.fsf@HIDDEN>
 <aH-CCBeoZDx81BLc@begin>
 <861pq89ws5.fsf@HIDDEN> <aH_REwLlWm4NYbM2@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 19:57:39 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: rpluim@HIDDEN, Sebastien.Hinderer@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le mar. 22 juil. 2025 16:31:54 +0300, a ecrit:
> > Also, what about the "stty -tabs" workaround -- does it work with vte
> > and rxvt?
> 
> Of course, since emacs then duly respects not using tabs at all.
> 
> But again, that's to be configured (and even more arcane than modifying
> .emacs)

Yes.  But it is nice to know there's a workaround (e.g., for versions
of Emacs which were already released).




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 11:00:02 +0000
Resent-Message-ID: <handler.78474.B78474.175326836330553 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175326836330553
          (code B ref 78474); Wed, 23 Jul 2025 11:00:02 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 10:59:23 +0000
Received: from localhost ([127.0.0.1]:48719 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueXBz-0007wi-CG
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 06:59:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50868)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueXBx-0007wQ-6l
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 06:59:21 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueXBr-0000H8-T1; Wed, 23 Jul 2025 06:59:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=wOvAP2x2WjpTCZytIrG6JVDeMGTvD+04oRyomh8LJTA=; b=B/wDtIrd9nF+pVSwSTmg
 VUXBAj/L5ckzHtiz1KKolicIcDLvM3F97BsUtxuOQWwqtgnC89zMvSimZCJDx9bmQsAyRJdW0Mubx
 uYF4Nbb9apObUNFO1GM9i7N0W5p29PFtG64ibI85cGTrhhzPq8scFvFjmGXspx7Xy1hGm72vpaQpF
 GOSjrfqnX1PkRVneuqpylv297ee2YP5aYbxm8g+OFMMfOdtnUi3UuuelGxAsgmB7tX0nRsbWskXt1
 DoahBmQ6l/U3RvN4A705oMwk9uS++X1F7iJFvItlkqL8151mQbyouUuHLQEnfz/tlknnoGmxfik53
 bvNEWcKMID9MBw==;
Date: Wed, 23 Jul 2025 12:59:08 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aIDAfNE8ZVjUqtHP@begin>
References: <aH_PK1cU30dPhUGf@begin>
 <868qkf89lb.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <868qkf89lb.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mer. 23 juil. 2025 13:50:24 +0300, a ecrit:
> > Date: Tue, 22 Jul 2025 19:49:31 +0200
> > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > Cc: bzg@HIDDEN, 78474 <at> debbugs.gnu.org, rpluim@HIDDEN
> > 
> > Eli Zaretskii, le mar. 22 juil. 2025 18:47:18 +0300, a ecrit:
> > > Btw, let me make sure I understand correctly: is screen-reading
> > > software affected by this only on those two kinds of terminals (rxvt
> > > and vte), where \t\b produces wrong output?
> > 
> > Yes. But vte happens to be the only terminal layer that implements
> > accessibility. Screen readers cannot be used with all the others.
> > 
> > Seb Hinderer, le mar. 22 juil. 2025 18:05:14 +0200, a ecrit:
> > > I am not completely sure and would rather let Samuel complete here. What
> > > I know isthat libvte is used for several terminals so I expect all of
> > > them to  be affected.
> > 
> > Yes, there is a dozen of those in Debian, at least.
> 
> Can you name them, please?

The whole set of packages that depend on libvte is:

Package: aghermann
Package: astroidmail
Package: blackbox-terminal
Package: cairo-dock-plug-ins
Package: cdebconf-terminal
Package: cdebconf-terminal
Package: cherrytree
Package: easyssh
Package: emacs-libvterm
Package: geany-plugins
Package: gedit-plugins
Package: genius
Package: gnome-boxes
Package: gnome-builder
Package: gnome-console
Package: gnome-terminal
Package: gtk-d
Package: gtkterm
Package: haskell-gi-vte
Package: lxterminal
Package: mate-terminal
Package: mssh
Package: neovim
Package: pluma-plugins
Package: ptyxis
Package: qemu
Package: rasmol
Package: remmina
Package: sakura
Package: synaptic
Package: terminus
Package: termit
Package: tilda
Package: tilix
Package: timeshift
Package: virt-viewer
Package: xcfa
Package: xfce4-terminal

Among which some are indeed terminals that run a shell, others use it to
display information, etc.

My point is: there is a dozen now, and there will be more later. We
can't rely on knowling the list.

> > > If only those two terminals are affected, both in the effect of the
> > > cursor motion and what that does to screen readers, then we could
> > > disable the \t\b sequence only for those two terminals.  Emacs can
> > > look at the name of the terminal to decide what to do.
> > 
> > No, it cannot.
> 
> Why not?

Because of the details below.

> > Eli Zaretskii, le mar. 22 juil. 2025 19:59:50 +0300, a ecrit:
> > > > > Emacs can look at the name of the terminal to decide what to do.
> > > > 
> > > > Would that be ssh-proof?
> > > 
> > > You need to set TERM in the ssh session.
> > 
> > Yes, although libvte announces itself as xterm-256color.
> 
> So we could have a terminal which sets TERM=xterm-256color, but which
> doesn't behave like xterm does?

Again, the question is: what is the expected behavior of 

echo 'a\ta'

And yes, a lot of terminals just announce themselves as xterm in TERM,
that's how it is nowadays. Fighting it is a lost cause nowadays.

> > > > And what about running screen or tmux in such a terminal?
> > > 
> > > Again, TERM should be set.
> > 
> > In that case it's actually screen and tmux that interpret sequences, and
> > TERM is then screen and tmux. And those happen not to be using the \t\b
> > trick when re-displaying their output, so they "fix" the issue.
> 
> Thus no problem.

For that case, yes.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Samuel Thibault <samuel.thibault@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 11:04:01 +0000
Resent-Message-ID: <handler.78474.B78474.175326862610281 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175326862610281
          (code B ref 78474); Wed, 23 Jul 2025 11:04:01 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 11:03:46 +0000
Received: from localhost ([127.0.0.1]:48738 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueXGE-0002fl-GG
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:03:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34512)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueXG9-0002fM-4n
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:03:45 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>)
 id 1ueXG3-0001pb-Pv; Wed, 23 Jul 2025 07:03:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From:
 Date; bh=E9znOoXJpltQjjOEcfUOntUi7nHLkwpOM+YmzVQuI5U=; b=DshTfnOeLOQAIND7/dhF
 5qy9dKun/85gJgjDPhXoGHvwLGv88cmuWkh11E75PDW+52+PS4uu8fTjaahNpu+TlMONl1wzGyPZ2
 4vGaBzxMODU3nUSaNncbt/jL2qGgQ+DUga7APO/094Cxtf8xVwOPQjVed++SOtbJJnUTbsYPBnSMP
 uJEyctUQNARWRFPvSA81bQ8Rw28XLjO1NsxFFLdAcaoqOVmeuU1FB6mkriGv3lwL61aqx5HS5VW6t
 kcM10veOV0Eq/g+uyofEkyFzfZQVVgtHkjML6F+YCgQLgNPaIvkg/9j3HFf0+pFlJnhR9xH3A5oWZ
 lAhkRQ2O1UGiOw==;
Date: Wed, 23 Jul 2025 13:03:00 +0200
From: Samuel Thibault <samuel.thibault@HIDDEN>
Message-ID: <aIDBZFQPGRiwfIhB@begin>
References: <87o6tdegsx.fsf@HIDDEN> <aH5gd6q-snGuRbzs@jnana>
 <86ecu9bkz5.fsf@HIDDEN> <aH5keG_TpKP2G_V2@begin>
 <87jz41ectv.fsf@HIDDEN> <86wm80a0uv.fsf@HIDDEN>
 <aH9_hGfJF_SSCqJ1@begin> <865xfk9x40.fsf@HIDDEN>
 <aH_QtdPXY1DwuF8x@begin> <865xfj89dh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <865xfj89dh.fsf@HIDDEN>
Organization: I am not organized
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii, le mer. 23 juil. 2025 13:55:06 +0300, a ecrit:
> > Eli Zaretskii, le mar. 22 juil. 2025 16:24:47 +0300, a ecrit:
> > > > From: Samuel Thibault <samuel.thibault@HIDDEN>
> > > > Eli Zaretskii, le mar. 22 juil. 2025 15:03:52 +0300, a ecrit:
> > > > > Of course, specially-tailored cases could be concocted which show the
> > > > > contrary, but that's not what this code is about.  The request in this
> > > > > bug report, AFAIU, was to disable the use of TABs _in_all_cases_,
> > > > 
> > > > No.
> > > > 
> > > > “
> > > > Quoting Samuel: "Emacs, instead of sending a rightward cursor movement
> > > > (\e[C), sends \009\008 (a tabulation and a leftward cursor movement)"
> > > > 
> > > > This char insertion problem confuses assistive technologies for the
> > > > visually impaired.
> > > > â€
> > > 
> > > We are mis-communicating.  When I said "in all cases", I meant even
> > > when TABs do not cause any problems and/or when screen-reading
> > > software is not used at all.
> > 
> > But we were talking about my benchmark moving only by one character
> > (where the optimization loses) vs moving by 8 characters (where it
> > most probably wins since that's 8 interpretations and 8 bytes vs 1
> > interpretation and 1 byte).
> > 
> > The discussion was not about it being a default for everybody or not.
> 
> Correct me if I'm wrong, but there was a request to disable sending
> \t\b sequence on all the terminals,

There was, but not in that part of the conversation: "specially-tailored
cases could be concocted" was about the performance question. The "in
all cases" could refer to "by default" or to "for all tabs or just for
\t\b". I really only talk about the latter, and the performance figures
I showed was about that. Which then argues for making it a default,
since it'll benefit everybody! Instead of trying to find a way to change
the default depending a screen reader is there or not, which, really, is
not going to happen in a robust way.

> > > > I don't remember really asking for more than that.
> > > 
> > > A reminder from https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78474#77
> > 
> > Yes, and I do agree with really asking for that one: we don't want to
> > put the burden of configuration on people who already have a hard time
> > using computers.
> 
> So we agree: disabling \t\b "in all cases" is what is being discussed.

Yes.

Samuel




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 11:17:02 +0000
Resent-Message-ID: <handler.78474.B78474.175326936713696 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175326936713696
          (code B ref 78474); Wed, 23 Jul 2025 11:17:02 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 11:16:07 +0000
Received: from localhost ([127.0.0.1]:48813 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueXSA-0003Yo-K7
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:16:07 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55378)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueXS7-0003Xw-SV
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:16:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueXS0-0007lb-LP; Wed, 23 Jul 2025 07:15:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=jfG0O6YtXU24P5UIcccoKP1Hmf2iHkgzBC9vcXmnG6A=; b=FsJLtvNuiD5D
 r4K8Sx1C0b1aPwKTv6Xyk46gVUXa1ulT8paj+oEK35Fh34bMW9aQOkc8XZllcZtDZoABH/woPwHI6
 hgpi2Uv7cbznCjjfcVaGpe/QqPY6RfpZ7VyD7WvHTTlPkop0f/Ib3e2KuRmOTsO/by70b/G12vVVO
 YaF/sW8CjSHsojd6uPFR9QwwJSeEBTqOl3EjC+QBguNXNwuDc6XT5CxHOcjwCH1e1HCwcmppYIclk
 Uh9Ppw4t+Jh9b03yJlBZL1jpEr5QG7ZpShLo+IXiZqAjZl3EAqPDYJ5qjTNDP8VtCEA53LHH7SgTi
 2U/FCBv9NaDIi7wf4uSV8w==;
Date: Wed, 23 Jul 2025 14:15:49 +0300
Message-Id: <86zfcv6tui.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH_SlqqlGjHGxY2B@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 20:04:06 +0200)
References: <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5engOVzezx7_80@begin> <86frepbl6s.fsf@HIDDEN>
 <aH5kL--nv1uaPKYD@begin> <8634aobh2k.fsf@HIDDEN>
 <aH92YZTzV_W-pL_L@begin>
 <867c009xdz.fsf@HIDDEN> <aH_SlqqlGjHGxY2B@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 20:04:06 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: rpluim@HIDDEN, Sebastien.Hinderer@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le mar. 22 juil. 2025 16:18:48 +0300, a ecrit:
> > > Eli Zaretskii, le mar. 22 juil. 2025 14:28:19 +0300, a ecrit:
> > > > > I have tried the attached test which reproduces both ways and reports
> > > > > the time to achieve one million iteration, on my system:
> > > > > 
> > > > > - with rxvt: non-optimized way takes ~1.9s, optimized way takes ~2.1s.
> > > > > - with mate-terminal: non-optimized way takes ~1.8s, optimized way takes
> > > > >   ~2.0s.
> > > > > 
> > > > > So on my system at least the "optimized" way is actually slower.
> > > > 
> > > > For that particular single case.
> > > 
> > > Which is exactly the case that we are reporting about.
> > 
> > No, it isn't.  Not even if only \t\b should be disabled.
> 
> ? I don't understand.
> 
> \t\b really is the only issue that we are having.

The actual use of this affects much more.  It affects any \t\t\t...\b
sequences (with multiple TABs), and it affects them in various places
in the line (thus different values of start and destination columns).
Perhaps also other cases (the code is quite convoluted, so I'm not
sure we understand all the implications of the proposed change).  A
benchmark should use some approximately-representative sample of these
situations.  A large C source file is a good test case.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 11:22:01 +0000
Resent-Message-ID: <handler.78474.B78474.175326969315144 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175326969315144
          (code B ref 78474); Wed, 23 Jul 2025 11:22:01 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 11:21:33 +0000
Received: from localhost ([127.0.0.1]:48849 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueXXR-0003wA-0U
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:21:33 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51906)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueXXO-0003vf-Hv
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:21:31 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueXXI-0002PM-WB; Wed, 23 Jul 2025 07:21:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=doMokGT1BddKObDpolVboRMEOAp0fYcIPk/L0mnq1sQ=; b=Ra/+uaOx5ra0
 w9G/p9hskKcJaT3iXK88snvryRoda60Ip3ENFPAjyoX8Yp0DlOxizf00ZIv0RDwUYB+YZ4UrVs1ay
 x+C8D7Lc/gOrNR7T+xOluovS1RppW+ge122g62J7HBDi/7VStIxTwCs3UcVdK3ECaIyRAVgF2viXq
 8rHPfVGu5kRcFckGBslZ5cq/a0EAUvFbzbE/e3jwiyL9WimJcF9m4osiBMTgI6eUkTn1TxzfPyJJu
 +9efnRCJ6w8UtlcBlbR57x2AtEgoC+6Ol0ULcFZ+CCVQUGXx6+5Sze45Ie7hGSf2XYwGgxiVvyypy
 D8Mlo6YGV5S9NUIVQDuo3Q==;
Date: Wed, 23 Jul 2025 14:21:22 +0300
Message-Id: <86wm7z6tl9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH_Tq8naAUvHiRpi@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 20:08:43 +0200)
References: <86ikjlbmsm.fsf@HIDDEN> <aH5d_k3bBmW3aDSm@begin>
 <86h5z5bld4.fsf@HIDDEN> <aH5hGXz58cr8CXds@begin>
 <86bjpdbkoh.fsf@HIDDEN> <aH5k40rhLbnJBEND@begin>
 <86y0sga1ak.fsf@HIDDEN> <aH-BAoy5kelDl1rQ@begin>
 <aH-DsgQuvqZ-Iy2i@begin>
 <86wm808hq2.fsf@HIDDEN> <aH_Tq8naAUvHiRpi@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 20:08:43 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le mar. 22 juil. 2025 16:42:29 +0300, a ecrit:
> > > Samuel Thibault, le mar. 22 juil. 2025 14:16:02 +0200, a ecrit:
> > > and end up seeing a hardcoded
> > > list of the screen readers that are fortunate enough to be known enough
> > > to get the proper behavior of emacs in vte,
> > 
> > Emacs makes it very easy to modify such databases.  Saying the names
> > of such programs are "hardcoded" is not really accurate for Emacs,
> > because we can expose the list as a user option, so users could easily
> > add/remove programs as needed.
> 
> But it's *really* hard for users to walk the way from "the cursor does
> not move when I press space!" down to "maybe I should try disabling the
> use of tab for optimization". I don't think Sebastien would have found
> such an option or even thought it could have existed.

I disagree that it's so impossibly hard.  We have gobs of similar
knobs in Emacs, and Internet search is a handy tool to make these
discoverable.  We also plan adding a special "Accessibility" section
to the user manual, which will make this even easier.

But anyway, let's postpone this discussion to when (and if) we decide
that the default will be to leave \t\b enabled.  It is not useful to
argue about decisions that are not yet imminent.  We are still
discussing possible ways of disabling \t\b where that matters, which
from my POV is a better alternative.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 11:23:02 +0000
Resent-Message-ID: <handler.78474.B78474.175326977315415 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175326977315415
          (code B ref 78474); Wed, 23 Jul 2025 11:23:02 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 11:22:53 +0000
Received: from localhost ([127.0.0.1]:48861 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueXYi-00040Z-Ub
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:22:53 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37586)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueXYg-000405-Pt
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:22:51 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueXYa-0002cZ-O5; Wed, 23 Jul 2025 07:22:44 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=UvexXpQRcjEqh7I/wXhl9/k6T/nMi/cgweWHkpT43VY=; b=W6IDZHGv7qz5
 K2OY9/7uNnINgX3SL9sApjQBXccnLSyVnv0vb1krJCIUQXYXzHpjsgywIjuhje6pixOnGk+EX80jN
 LidI8GpJ4juSwq8J/EXQSeUQEzIcX0QD8MqO+AnsmsX4VfHeZuEleu3NwcRC9i5SuPCg2kQYT9r9G
 YH5uwBgfHqdJfitVTqGSH4PEXu11nUTlpIEJXMUu19v8xwuHtfoEEx2gBZTewuExtcrxweH11gQ56
 4/tvLrAb8+Zp0Li2BLgnSe/PgEkWWHwuWx2q2IeTRfnPgtncwUwfCevRUbrrAqyUjZZy3Bk8MNhzH
 vtw2uCE6EEbsEwzaV8XxAQ==;
Date: Wed, 23 Jul 2025 14:22:40 +0300
Message-Id: <86v7nj6tj3.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH_VV5xyaGn_AFCI@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 20:15:51 +0200)
References: <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5engOVzezx7_80@begin> <86frepbl6s.fsf@HIDDEN>
 <aH5kL--nv1uaPKYD@begin> <8634aobh2k.fsf@HIDDEN>
 <aH92YZTzV_W-pL_L@begin> <867c009xdz.fsf@HIDDEN>
 <aH-bEmWbJAuqgM8F@jnana>
 <86ms8w8fpd.fsf@HIDDEN> <aH_VV5xyaGn_AFCI@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 20:15:51 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: Seb Hinderer <Sebastien.Hinderer@HIDDEN>, rpluim@HIDDEN,
> 	bzg@HIDDEN, 78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le mar. 22 juil. 2025 17:26:06 +0300, a ecrit:
> > > Eli Zaretskii (2025/07/22 16:18 +0300):
> > > > What we need is to implement a prototype of the change to disable the
> > > > above, and then time it on a large enough buffer.
> > > 
> > > Assuming the time actually does depend on the buffer's size, whihc I am
> > > very not convinced about.
> > 
> > The buffer size is a means to get a good average measure of the speed.
> 
> But it also makes saving one byte even less a bonus... I tried to write
> 100 right-left movements (\t\b\b vs \e[C\b) at a time, the \t\b trick
> takes ~30s while the standard \e[C takes ~5s.

As I wrote elsewhere, I'm interested in a real-life test case, such as
paging through xdisp.c or some other large C source file.  Synthetic
test cases are less useful in this case.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 11:24:02 +0000
Resent-Message-ID: <handler.78474.B78474.175326980915586 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Seb Hinderer <Sebastien.Hinderer@HIDDEN>, Robert Pluim <rpluim@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175326980915586
          (code B ref 78474); Wed, 23 Jul 2025 11:24:02 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 11:23:29 +0000
Received: from localhost ([127.0.0.1]:48866 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueXZJ-00043K-EK
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:23:29 -0400
Received: from smtp-out1.suse.de ([2a07:de40:b251:101:10:150:64:1]:46028)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <schwab@HIDDEN>) id 1ueXZH-00042u-HZ
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:23:28 -0400
Received: from hawking.nue2.suse.org (unknown [10.168.4.11])
 by smtp-out1.suse.de (Postfix) with ESMTP id 900A1211B0;
 Wed, 23 Jul 2025 11:23:21 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa;
 t=1753269801; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
 mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=o7MlVdBYDF1ZBLGFqR92hMen2Vyny9LJjRRbAhxhbv4=;
 b=wuXssc+CkbcLxwij3cMleRDOuAN/4+RLdBQ+n2QlIRclkwP7Jw8NdagweaAT7Bi5w/n9yN
 IcfF1vQg+4czi729PsWWu4LljAMBO0FAF42EQdm31g2UhgeNOk/fduKg8R2pXDCWBnP+70
 nowLFEG4suRNmKdlaJzrUAx+XrqjSj0=
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;
 s=susede2_ed25519; t=1753269801;
 h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
 mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=o7MlVdBYDF1ZBLGFqR92hMen2Vyny9LJjRRbAhxhbv4=;
 b=MqQ5Gc/6jfOoP2NLktvcEAteK/suhJy7Uh+qDoG8v3N4ZznBVrr3OEZUo1l4gfK9W/zIsA
 ZIusdffv/p7QdjCg==
Authentication-Results: smtp-out1.suse.de;
	none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa;
 t=1753269801; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
 mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=o7MlVdBYDF1ZBLGFqR92hMen2Vyny9LJjRRbAhxhbv4=;
 b=wuXssc+CkbcLxwij3cMleRDOuAN/4+RLdBQ+n2QlIRclkwP7Jw8NdagweaAT7Bi5w/n9yN
 IcfF1vQg+4czi729PsWWu4LljAMBO0FAF42EQdm31g2UhgeNOk/fduKg8R2pXDCWBnP+70
 nowLFEG4suRNmKdlaJzrUAx+XrqjSj0=
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;
 s=susede2_ed25519; t=1753269801;
 h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
 mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=o7MlVdBYDF1ZBLGFqR92hMen2Vyny9LJjRRbAhxhbv4=;
 b=MqQ5Gc/6jfOoP2NLktvcEAteK/suhJy7Uh+qDoG8v3N4ZznBVrr3OEZUo1l4gfK9W/zIsA
 ZIusdffv/p7QdjCg==
Received: by hawking.nue2.suse.org (Postfix, from userid 17005)
 id 404824A05C9; Wed, 23 Jul 2025 13:23:21 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
In-Reply-To: <aH5saYL3jI3g6rWZ@begin> (Samuel Thibault's message of "Mon, 21
 Jul 2025 18:35:53 +0200")
References: <8634avidtn.fsf@HIDDEN> <87bjpdg2t5.fsf@HIDDEN>
 <aH5I-wp8IPGndpBN@jnana> <86ms8xbpbs.fsf@HIDDEN>
 <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5saYL3jI3g6rWZ@begin>
Date: Wed, 23 Jul 2025 13:23:21 +0200
Message-ID: <mvm8qkf40d2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Level: 
X-Spamd-Result: default: False [-4.20 / 50.00]; BAYES_HAM(-3.00)[99.99%];
 NEURAL_HAM_LONG(-1.00)[-1.000];
 NEURAL_HAM_SHORT(-0.20)[-0.994]; MIME_GOOD(-0.10)[text/plain];
 RCVD_NO_TLS_LAST(0.10)[]; RCVD_COUNT_ONE(0.00)[1];
 FREEMAIL_ENVRCPT(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+];
 TO_DN_SOME(0.00)[]; ARC_NA(0.00)[];
 FUZZY_RATELIMITED(0.00)[rspamd.com];
 MID_RHS_MATCH_FROM(0.00)[];
 DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];
 FREEMAIL_CC(0.00)[gmail.com,gnu.org,inria.fr,debbugs.gnu.org];
 RCPT_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[];
 DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email,suse.de:mid]
X-Spam-Flag: NO
X-Spam-Score: -4.20
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Jul 21 2025, Samuel Thibault wrote:

> Also, if you run:
>
> echo -e 'a\t'
>
> is there actually supposed to be some content to copy/paste on the right
> of a?

The answer is the same as to this:

printf 'a \n'

-- 
Andreas Schwab, SUSE Labs, schwab@HIDDEN
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 11:25:02 +0000
Resent-Message-ID: <handler.78474.B78474.175326986415794 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175326986415794
          (code B ref 78474); Wed, 23 Jul 2025 11:25:02 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 11:24:24 +0000
Received: from localhost ([127.0.0.1]:48875 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueXaB-00046e-TH
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:24:24 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38510)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueXa9-000469-PI
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:24:22 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueXa4-0002zP-Fa; Wed, 23 Jul 2025 07:24:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=8xte6dfy7RQaTw7Qrsfp7IAld+lVEHIn49MtAwIvtuk=; b=F7ufVWWt36Q8
 TX72cYbg7ovgtH6+9LeFwCoTmB5Hxlb6YDIpMCwCfTPJQdThzmqB+LNxKJqueokl+dbHNWLt+Bu44
 beL6IB+/DxMPjbbEIUXa12tttw0vmjAm3yqXB5l3jXv4Zw9TxgILeDKvZdfKOCgqqW5eaTgRA8oWg
 ibVMGAxrePOXShB7+zUMnJVf2LkJZhtTVNrdKA90Td7Kcqu4LoT1cef0KFexZEofyGKikOM9IsMyK
 zSOfGibg7o2sfalehgstCTuLYVV7OkNmPX6I+AY1/DFr61VWSh4Jrq13vnR60qrqkdc4m3CIwlxz5
 aen641arOV/uVsa5fVGdxQ==;
Date: Wed, 23 Jul 2025 14:24:09 +0300
Message-Id: <86tt336tgm.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH_WdzA5oYcTEmgp@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 20:20:39 +0200)
References: <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5saYL3jI3g6rWZ@begin> <86qzy8a0bj.fsf@HIDDEN>
 <aH-CCBeoZDx81BLc@begin>
 <861pq89ws5.fsf@HIDDEN> <aH_WdzA5oYcTEmgp@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 20:20:39 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: rpluim@HIDDEN, Sebastien.Hinderer@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> Eli Zaretskii, le mar. 22 juil. 2025 16:31:54 +0300, a ecrit:
> > > If I had a text that explicitly says that \t produces content, it
> > > would be way easier to fix this on the vte side. For now, we have
> > > been stuck for a *decade* there.
> > 
> > I think I understand, but the refusal of the vte developers to provide
> > some solution doesn't mean it becomes the responsibility of Emacs to
> > solve that, does it?
> 
> emacs is the only program we know that uses such \t\b trick and thus
> poses cursor position problem.

Emacs is not just any program.  There's nothing wrong in changing the
behavior of vte to cater to Emacs, at least as an option.  You expect
us to do the same.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78474: 31.0.50; Wrong char insertion in rxvt
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 23 Jul 2025 11:27:03 +0000
Resent-Message-ID: <handler.78474.B78474.175326998916632 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78474
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Samuel Thibault <samuel.thibault@HIDDEN>
Cc: bzg@HIDDEN, Sebastien.Hinderer@HIDDEN, rpluim@HIDDEN, 78474 <at> debbugs.gnu.org
Received: via spool by 78474-submit <at> debbugs.gnu.org id=B78474.175326998916632
          (code B ref 78474); Wed, 23 Jul 2025 11:27:03 +0000
Received: (at 78474) by debbugs.gnu.org; 23 Jul 2025 11:26:29 +0000
Received: from localhost ([127.0.0.1]:48896 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ueXcC-0004KC-Rw
	for submit <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:26:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51564)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ueXcA-0004Jf-4h
 for 78474 <at> debbugs.gnu.org; Wed, 23 Jul 2025 07:26:26 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ueXc4-0006Pq-Kc; Wed, 23 Jul 2025 07:26:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=wP+3Z56TUwIFp6kT0mo+IJUXJa0Uk9tLm0isK218Jxo=; b=kOC5dQdDIcEB
 kznd60VRiSJUzhx0HqMYhQYgOYries0ZY7njjd5b2+l5uVcwPPs/pNTkHa9G4SyMSMYQ8XatbhhUX
 w95n3ZiBC2f7aDOCkld+BgQMeIYgDU0CMAmkTGkvwAsdRzY7ZiDhpo71Gr4/gHq873kvNjSohKtKH
 HHdnhS88ZQGfJ3wBr+B81iMZYsG1dltg3MyU08j0tM9FH6CVPB7Elxw5Yr6A6X3cRmcNUWGZLiH5m
 NsVRAVZ7TLcZft8n3aaiSZvmeZSimgNmwCCDWs0aXwuGkmVQ+GJD1aqfl+qnGwk0Tcxowwy0sbGXk
 e+Lr+FC/1TKmDduUSYCgLg==;
Date: Wed, 23 Jul 2025 14:26:13 +0300
Message-Id: <86sein6td6.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <aH_YBc4vmj2Bdnkn@begin> (message from Samuel Thibault on Tue, 22
 Jul 2025 20:27:17 +0200)
References: <aH5QGe3fWGizcRlV@jnana> <87o6tdegsx.fsf@HIDDEN>
 <aH5gd6q-snGuRbzs@jnana> <86ecu9bkz5.fsf@HIDDEN>
 <aH5keG_TpKP2G_V2@begin> <87jz41ectv.fsf@HIDDEN>
 <aH5saYL3jI3g6rWZ@begin> <86qzy8a0bj.fsf@HIDDEN>
 <aH-CCBeoZDx81BLc@begin>
 <861pq89ws5.fsf@HIDDEN> <aH_YBc4vmj2Bdnkn@begin>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 22 Jul 2025 20:27:17 +0200
> From: Samuel Thibault <samuel.thibault@HIDDEN>
> Cc: rpluim@HIDDEN, Sebastien.Hinderer@HIDDEN, bzg@HIDDEN,
> 	78474 <at> debbugs.gnu.org
> 
> > > They are fully part of the discussion, because that changes what is
> > > actually supposed to be stored in the terminal, and thus what the
> > > accessibility feature is supposed to expose to the user: should it
> > > expose a tab, or spaces. But if a tab, then how can the cursor be inside
> > > the tab when emitting \t\b. That's the *whole* problem at stake.
> > 
> > So you are saying that even using cursor movement commands could cause
> > problems,
> 
> The problem is that some people consider \t as not being only a cursor
> movement. That's the whole point of the question raised above.

I'm talking about cursor movement using "left" and "right" escape
sequences.  If they also store something other than SPCes, they will
cause similar problems to screen readers, no?





Last modified: Wed, 23 Jul 2025 11:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.