From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 16 11:41:58 2025 Received: (at submit) by debbugs.gnu.org; 16 Jun 2025 15:41:59 +0000 Received: from localhost ([127.0.0.1]:48307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uRBy8-0004Xw-Pn for submit@debbugs.gnu.org; Mon, 16 Jun 2025 11:41:58 -0400 Received: from lists.gnu.org ([2001:470:142::17]:44646) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uRBy4-0004W1-CO for submit@debbugs.gnu.org; Mon, 16 Jun 2025 11:41:54 -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 ) id 1uRBxx-0005py-6c for bug-gnu-emacs@gnu.org; Mon, 16 Jun 2025 11:41:45 -0400 Received: from sonic307-2.consmr.mail.bf2.yahoo.com ([74.6.134.41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uRBxp-0001ef-3O for bug-gnu-emacs@gnu.org; Mon, 16 Jun 2025 11:41:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1750088491; bh=s3lNJ/o8sdhEHc1lDjY1lLPgQA0Q/MPXevDgPoQRZ/0=; h=From:To:Cc:Subject:Date:References:From:Subject:Reply-To; b=L0KxIokq2zh584j3ldohzaWcY2UR574+Q4a23VOdwY++VO4riBZFQz6mZTt8ZXCFTYNrlC97MbWVjLh8806JOE8yW3PRpg4/1H021O4ykcbgDTPXz7m88l1Svn0hFoVEotq3T0YOKSebhJC1R0JCsX/7Qcmta0IwGnqJrB3CyCwYmIEpqNV01E+MmKYVBYIqQ6VUrdPhdgGn18T+QrfqIErgtsTO/+S6u9j/M+0niapCXBsZklN7feuqMJDnwHsGhWX9yy85/QgMJ+HSt0wlpbbZ3g0llkWtrUJg7i5hQ+VAqJ7XQyWnHvhn/HleUS79zJINNTcN4tl2J1jbV3xzxA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1750088491; bh=e/I02XiX53JbRploBdASHRmi48RXuX+5SDE4lGhGICR=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=NmY//Fh2tYJsd42Of9N5cZOfXX52Nl6xKJEV44Xh/wDweiUB/ZvteZf/BlaKkztAt3OxcEMJIyG3ckQuTG0LdXlA86jCxJkS398o/X1tvP8nz7Wz+GN1FtfIfW47E7lbm7XWJ2uJ2Nc/LnBtf380EW8wamq49P2dDNgQvwhOJfKA72WwYRw4uonsk2PIMHSpSN9+S57Zlev4pmBcAmHc42NC6W/88hlxKQivIR/SwbXQo9j9pIcW+34XsgDTV8Lw40ppJaw0W/IDEC1Dh52bPtxc3bvN+9RmYTEpEKkm0sse7HHMShCrxXSuT2aK2e8KyIMddSXi6DIRogyb7npGow== X-YMail-OSG: fk4kWRUVM1k.O8mHdfT8jdRvjxMg1dRySPK7OjNuBIP4.ziSSajynXbwFPZUM8W ZkUDFGcKkVNUaYqzxf.NZdSioaxreipQfcOsVGTAKSaa9ArPK9JokjM0tGaugpA2m4F5R13T_k4A fqZPqGBBSOzF907drawDp9Rsyy1zWI248C0o.iQCgWj6MhkYyAxOEgCmq1xmN7ryntqCKGuiHB2n WgSlBY48jr5RtqsiIHK_t1hRZjiUjcBj1R6mMZMIoimx7QIeRWsBbGtoHiiRZRfPM7pB0tE2Wkki Uu_uMbo22IrTLpHrMgFBs4_viKsobT1_fpFxcaSLG7jDh2_dnDpSqsPm7rU3kG28YC7_0nq2X.xB bmphXgjon9hZGKKeVJGfHPI_LN1Lbpo98qZjExRfAxfDHT4yLNOL_JvEJt_RdC29zC1DSo5FIwvS 6uPOpIRR6gL_63sBHG8pHtb_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pe5ss4Diz5fORBzKHywbu87hlJl38o uLDWg9s2NXHbiRaHq8JGrM0uLzJKd_XEZFYc98EIHL2QHczzPPbfVwOxyh0oEPDab_OqjL4yXOb3 iugp_j4kgUZPMtvursjv4uXG_LY6mNH971ow4VoJEJ0OdMPAVrgFH9e0n27f.g9oPsQR8_9CtQOX csgjVMgRWXlsgdroYrzGcN44PlSiwsPqVds8VTnW4JpYf2rJM6ZjcM6n2wyA8aF61ADxJnUa_oX. m4fqlWZrkbmpZxV537LgZTaDWRoB04jTGXrrUhTF.yHUNep5clKloJpPGg_uqXJ0zecv_r2zqcXo P_hGQ7DU4RXQj2PhUkUUFE1oQQ1siTsA3t8hLbxdYOhqhmCGzIlctLuKSpGcMAD8z5fnpMTu4sNq B_QWexnLnkkR65O5bmEBwc9fTfZrCoaRY1FUiHdUWST.4gKF.r.ZHyhHN0UPdnhMKF6Dn2KOd7rt P2F2BLWkAaYvOVwK2OJDZwp9qFgZe.0vOOBDjXnUGC0d8boc30yGHRN66vZZLDyKHCjSA6AHzpa. n9YDMrm8UxXgj6_Oyn122ZP4i1te0_3Ct.LS6eQXDCtbfvrcqBdITC1K8x2MJcKxTaNRYeZY0N9r yIgGLt0tiFcWekxZhY67d95oSgituwHqGsT9qsfaYplCl5QXxVYkCm.NXZlrHxMFPHNNficaY8qv cUgAB_bo0HLwDNyleGhE- X-Sonic-MF: X-Sonic-ID: 49500e13-acb1-475a-9f22-19e40b14a018 Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.bf2.yahoo.com with HTTP; Mon, 16 Jun 2025 15:41:31 +0000 Received: by hermes--production-ir2-858bd4ff7b-9r9sx (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f2ee5fc3bf18a874a12af7cfc94e67aa; Mon, 16 Jun 2025 15:41:29 +0000 (UTC) From: Ergus To: bug-gnu-emacs@gnu.org Subject: 31.0.50; Wave underline set wrongly X-Debbugs-Cc: Date: Mon, 16 Jun 2025 17:41:18 +0200 Message-ID: <877c1bwv6p.fsf@aol.com> MIME-Version: 1.0 Content-Type: text/plain References: <877c1bwv6p.fsf.ref@aol.com> X-Mailer: WebService/1.1.24021 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Content-Length: 7585 Received-SPF: pass client-ip=74.6.134.41; envelope-from=spacibba@aol.com; helo=sonic307-2.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Hi: I am using emacs on tmux, which does not support wave underline (it prints it as normal text) echo -e "\e[4:3mThis is normal text in tmux\e[0m" When I try (display-supports-face-attributes-p '(:underline (:style wave))) it returns t, which for tmux it seems like it shouldn't. So this makes that faces like `flyspell-incorrect` look like normal text and no highlight is visible at all. Best, Ergus In GNU Emacs 31.0.50 (build 16, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.4) of 2025-06-15 built on RTX Repository revision: f3ea559eeebd368cca1900a7e670d3ddbbd00da7 Repository branch: project System Description: Arch Linux Configured using: 'configure --prefix=/home/ergo/.local/ --with-mailutils --with-pgtk --with-modules --with-cairo --with-harfbuzz --with-native-compilation=aot '--program-transform-name=s/^ctags$/ctags.emacs/'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: global-auto-revert-mode: t recentf-mode: t electric-pair-mode: t whitespace-mode: t flyspell-mode: t completion-preview-mode: t diff-hl-margin-mode: t global-corfu-mode: t corfu-mode: t fancy-compilation-mode: t winner-mode: t project-multi-mode: t gtags-mode: t repeat-mode: t xterm-mouse-mode: t tty-tip-mode: t xclip-mode: t override-global-mode: t save-place-mode: t delete-selection-mode: t savehist-mode: t global-display-fill-column-indicator-mode: t display-fill-column-indicator-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t which-key-mode: t tooltip-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t context-menu-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t size-indication-mode: t column-number-mode: 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: /mnt/casa/gits/emacs_clones/gtags-mode/gtags-mode hides /home/ergo/.config/emacs/elpa/gtags-mode-1.9.2/gtags-mode Features: (shadow sort mail-extr emacsbug lisp-mnt tramp-cache time-stamp tramp-sh tramp trampver tramp-integration tramp-message tramp-compat shell pcomplete parse-time iso8601 format-spec tramp-loaddefs autorevert filenotify recentf tree-widget ffap thingatpt elec-pair whitespace flyspell-correct flyspell ispell completion-preview diff-hl-margin diff-hl-dired diff-hl log-view log-edit message sendmail yank-media puny dired-x dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader add-log pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode track-changes corfu fancy-compilation compile text-property-search comint ansi-osc ansi-color comp-run comp-common winner cus-edit pp cus-start cus-load wid-edit project-multi-mode gtags-mode files-x xref project ring term/tmux term/xterm xterm init rx repeat cape compat use-package-ensure 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 eieio eieio-core cl-macs icons password-cache json subr-x map url-vars use-package-diminish xt-mouse tty-tip xclip edmacro kmacro byte-opt use-package-bind-key bind-key cl-extra help-mode simple-16-theme saveplace delsel savehist easy-mmode display-fill-column-indicator display-line-numbers diminish which-key cl-seq use-package-core cl-loaddefs cl-lib bytecomp byte-compile gv disp-table info arduino-cli-mode-autoloads auctex-autoloads tex-site avy-zap-autoloads avy-autoloads benchmark-init-autoloads bufferlo-autoloads caml-autoloads cape-autoloads clang-format-autoloads cobol-mode-autoloads compile-multi-autoloads compiler-explorer-autoloads corfu-autoloads crdt-autoloads csv-mode-autoloads d-mode-autoloads dape-autoloads deadgrep-autoloads debbugs-autoloads diff-hl-autoloads diminish-autoloads dired-sidebar-autoloads dired-subtree-autoloads dired-hacks-utils-autoloads dumb-jump-autoloads e2ansi-autoloads eglot-booster-autoloads emamux-autoloads eshell-toggle-autoloads esup-autoloads evil-collection-autoloads annalist-autoloads evil-leader-autoloads evil-autoloads face-explorer-autoloads fancy-compilation-autoloads flx-autoloads flymake-nasm-autoloads flymake-quickdef-autoloads flyspell-correct-autoloads git-commit-ts-mode-autoloads git-modes-autoloads git-timemachine-autoloads gnuplot-autoloads goto-chg-autoloads groovy-mode-autoloads gtags-mode-autoloads haskell-mode-autoloads highlight-indent-guides-autoloads i3wm-config-mode-autoloads ibuffer-sidebar-autoloads iedit-autoloads imenu-list-autoloads julia-ts-mode-autoloads julia-mode-autoloads languagetool-autoloads lice-autoloads lorem-ipsum-autoloads lua-mode-autoloads magit-autoloads magit-section-autoloads llama-autoloads move-dup-autoloads multiple-cursors-autoloads mutt-mode-autoloads nasm-mode-autoloads neotree-autoloads nftables-mode-autoloads nginx-mode-autoloads notmuch-autoloads objed-autoloads phi-search-autoloads pkgbuild-mode-autoloads plz-autoloads popup-autoloads protobuf-ts-mode-autoloads scopeline-autoloads shell-command+-autoloads slime-autoloads macrostep-autoloads sphinx-mode-autoloads f-autoloads s-autoloads dash-autoloads spinner-autoloads ssh-config-mode-autoloads string-inflection-autoloads sudo-edit-autoloads switch-window-autoloads systemd-autoloads tmux-mode-autoloads urgrep-autoloads vdiff-autoloads hydra-autoloads lv-autoloads vterm-toggle-autoloads vterm-autoloads vundo-autoloads with-editor-autoloads xclip-autoloads yasnippet-snippets-autoloads yasnippet-autoloads early-init rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win touch-screen pgtk-dnd 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 dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty move-toolbar make-network-process tty-child-frames native-compile emacs) Memory information: ((conses 16 257146 109827) (symbols 48 18252 10) (strings 32 74188 21602) (string-bytes 1 2343404) (vectors 16 24695) (vector-slots 8 281624 53185) (floats 8 122 281) (intervals 56 1382 163) (buffers 1064 12)) From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 16 12:17:34 2025 Received: (at 78807) by debbugs.gnu.org; 16 Jun 2025 16:17:35 +0000 Received: from localhost ([127.0.0.1]:48446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uRCWb-0002Im-AX for submit@debbugs.gnu.org; Mon, 16 Jun 2025 12:17:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50158) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uRCWY-0002HI-53 for 78807@debbugs.gnu.org; Mon, 16 Jun 2025 12:17: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 ) id 1uRCWS-0000Py-K8; Mon, 16 Jun 2025 12:17:24 -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=PLRv07WTi6w56nHTThWSFKAY63ArCPB8PgveYHln8OU=; b=j5MCauTurJdp PkRxz5+AD35DPmS7Ob+NVwxwwI0BUzFtelOA9/ENlOGePTXzxT7CNW3KPxGyIXyD3edsBxxBC1ApJ csu1ct4ozJfl3OhzUweSv9jd57e96Mk2OoLE9V6QjBeQMVpoCadlKmoc/YL0vBSuj8Ybg8XCqEO/i zj7fvbKHmiTZ/Yhv+p24FThieGPtdOzwXAp8FLozpAZjpUeLgzmscjnwmx8b0zn/mZEqhDzTw3Hem tq0yyucIZny2Sv+clBP8sBq35Y7MgK6gdBrqy8sT4gBoPv0yqe83tTipLiBxp/yi/PT+Szw7tqUaZ 1Z9DM2m3hDRcpfDhrIi7Iw==; Date: Mon, 16 Jun 2025 19:17:01 +0300 Message-Id: <86plf3oe4i.fsf@gnu.org> From: Eli Zaretskii To: Ergus In-Reply-To: <877c1bwv6p.fsf@aol.com> (bug-gnu-emacs@gnu.org) Subject: Re: bug#78807: 31.0.50; Wave underline set wrongly References: <877c1bwv6p.fsf.ref@aol.com> <877c1bwv6p.fsf@aol.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78807 Cc: 78807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Mon, 16 Jun 2025 17:41:18 +0200 > From: Ergus via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I am using emacs on tmux, which does not support wave underline (it > prints it as normal text) > > echo -e "\e[4:3mThis is normal text in tmux\e[0m" > > When I try > > (display-supports-face-attributes-p '(:underline (:style wave))) > > it returns t, which for tmux it seems like it shouldn't. > > So this makes that faces like `flyspell-incorrect` look like normal text > and no highlight is visible at all. I suggest to report this to the developers of tmux: they should make sure the terminfo entry correctly reflects the actual capabilities they support. As you can see in tty_capable_p, Emacs just looks at the capabilities reported by terminfo. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 21 21:44:54 2025 Received: (at 78807) by debbugs.gnu.org; 22 Jun 2025 01:44:54 +0000 Received: from localhost ([127.0.0.1]:45023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uT9lN-00069g-N9 for submit@debbugs.gnu.org; Sat, 21 Jun 2025 21:44:54 -0400 Received: from sonic322-27.consmr.mail.bf2.yahoo.com ([74.6.132.82]:37338) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uT9lI-00068E-1A for 78807@debbugs.gnu.org; Sat, 21 Jun 2025 21:44:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1750556682; bh=XjpuBLZelk1gpp1xOLOQAExthIdIywtJG6qUsBnvYik=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=oHgmzWWeVBgqCu9tUFErEHy5SSI0X3qRqgVuNCLIv44y5PRnk5ERD0ZbKgLNBGEr1hlTO7BgUPtFuGY0trhtAs+g8EkwbUZJZD6p2D4X6hwVfFt7e6vOgM2kRxLVIFOk43qW/Z7iLGO8jG/l0cmHdrbRpB2UQCHDujPABJEjmXh1crhYAPSV8zP19zEW5RXlkL/z/YsfuR1qCss3qynjaJ/4D+HSGuVPlcAWqHtpQ/B7/UKRuJGKCJ7HkQEHUj/u6fZUmvp4NlSr4Q0mN9fAR1xKGc5BGrY+o8SMqtix0Gid1yi3cR+kIb2mVrE5CPi7dm8r0sqS3KOGLBBWhHomAg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1750556682; bh=SD0bxwwewgwJoVhp592jdkl826Q4W+SPMUeENwl6rFl=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=ktOELAh/WXmQq90SEl+MgLjnDVtqJ1hIv5PWIf4rSjd1IBaZuOEqUfJCiiDEyIPWqMFlsvfpEa5HGTSJJlMVvKPea1U18IHptzdWLBsv5kseIS9BBXmrFNrobxst+/VGaustnbiWCfm62OMfz1IS4woxxn5me+4zQCcguzFNZP8gtxI0Nm4XpZq78vy2K6LEFLK764kxlVr/NWd4DOIoDwnH/U67HtDxvQ7Xzwdv7TQw69TB7gygZxo3A3gFYfxAWC+XlwdxIxO54zjhTYkTODTT+hzXNtSZ5QiN5l0RlqaJ51nLabMSF26/9RvXZGA6n/rYvkVZHYwijyiyBf6keQ== X-YMail-OSG: EISLK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0PCUSQBSyUdu7MX7EljCfwdqGd_13.lbTd3lGpmvpN8qMsIFXKw EVKa3AqCq_xiHAReNoGRBnX_LHA2vMQKR1GY.MAZ0F74FqaHRHOeYBpIqBcCGGFP3v3JU8PA0PBz 2RnQ5bohSCrLSZ3fiq7IpT9CmnPgkdyF.rhf8gsY- X-Sonic-MF: X-Sonic-ID: 19fe5a36-ba1f-4fbb-8b77-96f27e489a14 Received: from sonic.gate.mail.ne1.yahoo.com by sonic322.consmr.mail.bf2.yahoo.com with HTTP; Sun, 22 Jun 2025 01:44:42 +0000 Date: Sun, 22 Jun 2025 01:44:39 +0000 (UTC) From: Ergus To: Eli Zaretskii Message-ID: <1293699017.604679.1750556679406@mail.yahoo.com> In-Reply-To: <86plf3oe4i.fsf@gnu.org> References: <877c1bwv6p.fsf.ref@aol.com> <877c1bwv6p.fsf@aol.com> <86plf3oe4i.fsf@gnu.org> Subject: Re: bug#78807: 31.0.50; Wave underline set wrongly MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_604678_1266684881.1750556679404" X-Mailer: WebService/1.1.24027 AolMailNorrin Content-Length: 14251 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78807 Cc: "78807@debbugs.gnu.org" <78807@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------=_Part_604678_1266684881.1750556679404 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Eli: As far as I know the check for wave underline in=C2=A0terminfo=C2=A0may loo= k for=C2=A0Smulx I tried: `infocmp=C2=A0-1 |=C2=A0grep=C2=A0-E 'Smulx|Su|cul'`=C2=A0 and:=C2=A0`tigetstr("Smulx")` in a=C2=A0C=C2=A0snippet=C2=A0 and none of them return positive. The function mentions that it uses some heuristics and that may be the prob= lem? this is my=C2=A0infocmp=C2=A0output in case it helps: ```#=C2=A0Reconstructed via=C2=A0infocmp=C2=A0from file: /usr/share/terminf= o/t/tmux-256colortmux-256color|tmux=C2=A0with 256 colors,am,=C2=A0hs, km,= =C2=A0mir,=C2=A0msgr,=C2=A0xenl,colors#0x100, cols#80, it#8, lines#24, pair= s#0x10000,acsc=3D++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz= {{||}}~~,bel=3D^G, blink=3D\E[5m, bold=3D\E[1m,=C2=A0cbt=3D\E[Z,=C2=A0civis= =3D\E[?25l,clear=3D\E[H\E[J,=C2=A0cnorm=3D\E[34h\E[?25h,=C2=A0cr=3D\r,csr= =3D\E[%i%p1%d;%p2%dr, cub=3D\E[%p1%dD, cub1=3D^H,cud=3D\E[%p1%dB, cud1=3D\n= ,=C2=A0cuf=3D\E[%p1%dC, cuf1=3D\E[C,cup=3D\E[%i%p1%d;%p2%dH,=C2=A0cuu=3D\E[= %p1%dA, cuu1=3D\EM,cvvis=3D\E[34l,=C2=A0dch=3D\E[%p1%dP, dch1=3D\E[P, dim= =3D\E[2m,dl=3D\E[%p1%dM, dl1=3D\E[M,=C2=A0dsl=3D\E]0;\007, ed=3D\E[J, el=3D= \E[K,el1=3D\E[1K,=C2=A0enacs=3D\E(B\E)0, flash=3D\Eg,=C2=A0fsl=3D^G, home= =3D\E[H,hpa=3D\E[%i%p1%dG, ht=3D^I,=C2=A0hts=3D\EH,=C2=A0ich=3D\E[%p1%d@,il= =3D\E[%p1%dL, il1=3D\E[L,=C2=A0ind=3D\n,=C2=A0indn=3D\E[%p1%dS,invis=3D\E[8= m, is2=3D\E)0,=C2=A0kDC=3D\E[3;2~,=C2=A0kEND=3D\E[1;2F,kHOM=3D\E[1;2H,=C2= =A0kIC=3D\E[2;2~,=C2=A0kLFT=3D\E[1;2D,=C2=A0kNXT=3D\E[6;2~,kPRV=3D\E[5;2~,= =C2=A0kRIT=3D\E[1;2C,=C2=A0kbs=3D^?,=C2=A0kcbt=3D\E[Z, kcub1=3D\EOD,kcud1= =3D\EOB, kcuf1=3D\EOC, kcuu1=3D\EOA, kdch1=3D\E[3~,kend=3D\E[4~, kf1=3D\EOP= , kf10=3D\E[21~, kf11=3D\E[23~,kf12=3D\E[24~, kf13=3D\E[1;2P, kf14=3D\E[1;2= Q, kf15=3D\E[1;2R,kf16=3D\E[1;2S, kf17=3D\E[15;2~, kf18=3D\E[17;2~,kf19=3D\= E[18;2~, kf2=3D\EOQ, kf20=3D\E[19;2~, kf21=3D\E[20;2~,kf22=3D\E[21;2~, kf23= =3D\E[23;2~, kf24=3D\E[24;2~,kf25=3D\E[1;5P, kf26=3D\E[1;5Q, kf27=3D\E[1;5R= , kf28=3D\E[1;5S,kf29=3D\E[15;5~, kf3=3D\EOR, kf30=3D\E[17;5~, kf31=3D\E[18= ;5~,kf32=3D\E[19;5~, kf33=3D\E[20;5~, kf34=3D\E[21;5~,kf35=3D\E[23;5~, kf36= =3D\E[24;5~, kf37=3D\E[1;6P, kf38=3D\E[1;6Q,kf39=3D\E[1;6R, kf4=3D\EOS, kf4= 0=3D\E[1;6S, kf41=3D\E[15;6~,kf42=3D\E[17;6~, kf43=3D\E[18;6~, kf44=3D\E[19= ;6~,kf45=3D\E[20;6~, kf46=3D\E[21;6~, kf47=3D\E[23;6~,kf48=3D\E[24;6~, kf49= =3D\E[1;3P, kf5=3D\E[15~, kf50=3D\E[1;3Q,kf51=3D\E[1;3R, kf52=3D\E[1;3S, kf= 53=3D\E[15;3~, kf54=3D\E[17;3~,kf55=3D\E[18;3~, kf56=3D\E[19;3~, kf57=3D\E[= 20;3~,kf58=3D\E[21;3~, kf59=3D\E[23;3~, kf6=3D\E[17~, kf60=3D\E[24;3~,kf61= =3D\E[1;4P, kf62=3D\E[1;4Q, kf63=3D\E[1;4R, kf7=3D\E[18~,kf8=3D\E[19~, kf9= =3D\E[20~,=C2=A0khome=3D\E[1~, kich1=3D\E[2~,kind=3D\E[1;2B,=C2=A0kmous=3D\= E[M,=C2=A0knp=3D\E[6~,=C2=A0kpp=3D\E[5~,kri=3D\E[1;2A,=C2=A0nel=3D\EE, op= =3D\E[39;49m,=C2=A0rc=3D\E8, rev=3D\E[7m,ri=3D\EM,=C2=A0rin=3D\E[%p1%dT,=C2= =A0ritm=3D\E[23m,=C2=A0rmacs=3D^O,rmcup=3D\E[?1049l,=C2=A0rmir=3D\E[4l,=C2= =A0rmkx=3D\E[?1l\E>,=C2=A0rmso=3D\E[27m,rmul=3D\E[24m, rs2=3D\Ec\E[?1000l\E= [?25h, sc=3D\E7,setab=3D\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e= 48;5;%p1%d%;m,setaf=3D\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;= 5;%p1%d%;m,sgr=3D\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p5= %t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,sgr0=3D\E[m\017,=C2=A0sitm=3D\E[3m,= =C2=A0smacs=3D^N,=C2=A0smcup=3D\E[?1049h,smir=3D\E[4h,=C2=A0smkx=3D\E[?1h\E= =3D,=C2=A0smso=3D\E[7m,=C2=A0smul=3D\E[4m,tbc=3D\E[3g,=C2=A0tsl=3D\E]0;, u6= =3D\E[%i%d;%dR, u7=3D\E[6n,u8=3D\E[?1;2c, u9=3D\E[c,=C2=A0vpa=3D\E[%i%p1%dd= ,``` Best,Ergus On Monday, June 16, 2025 at 06:17:26 PM GMT+2, Eli Zaretskii wrote: =20 > Date: Mon, 16 Jun 2025 17:41:18 +0200 > From:=C2=A0 Ergus via "Bug reports for GNU Emacs, >=C2=A0 the Swiss army knife of text editors" >=20 > I am using emacs on tmux, which does not support wave underline (it > prints it as normal text) >=20 > echo -e "\e[4:3mThis is normal text in tmux\e[0m" >=20 > When I try >=20 > (display-supports-face-attributes-p '(:underline (:style wave))) >=20 > it returns t, which for tmux it seems like it shouldn't. >=20 > So this makes that faces like `flyspell-incorrect` look like normal text > and no highlight is visible at all. I suggest to report this to the developers of tmux: they should make sure the terminfo entry correctly reflects the actual capabilities they support.=C2=A0 As you can see in tty_capable_p, Emacs just looks at the capabilities reported by terminfo. =20 ------=_Part_604678_1266684881.1750556679404 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Eli:
<= div dir=3D"ltr" data-setdir=3D"false" style=3D"color: rgb(0, 0, 0); font-fa= mily: Arial, Helvetica, sans-serif; font-size: 16px; letter-spacing: -0.32p= x;">
As far as I know the check for wave underline in terminfo = ;may look for Smulx

I tried: `infocmp = -1 | grep -E 'Smulx|Su|cul'` 

and: `

and none of them return positive.

<= span style=3D"color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-seri= f; font-size: 16px; letter-spacing: -0.32px;">The function mentions that it= uses some heuristics and that may be the problem?

this is my infocmp=  output in case it helps:

```
#&nbs= p;Reconstructed via infocmp from file: /usr/share/terminfo/t/tmux= -256color
tmux-256color|tmux with 256 colors,
am,&= nbsp;hs, km, mir, msgr, xenl,
colors#0x100, cols#8= 0, it#8, lines#24, pairs#0x10000,
acsc=3D++\,\,--..00``aaffgghhii= jjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=3D^G, blink=3D\E[= 5m, bold=3D\E[1m, cbt=3D\E[Z, civis=3D\E[?25l,
clear=3D= \E[H\E[J, cnorm=3D\E[34h\E[?25h, cr=3D\r,
csr=3D\E[%i%p= 1%d;%p2%dr, cub=3D\E[%p1%dD, cub1=3D^H,
cud=3D\E[%p1%dB, cud1=3D\= n, cuf=3D\E[%p1%dC, cuf1=3D\E[C,
cup=3D\E[%i%p1%d;%p2%dH,&nb= sp;cuu=3D\E[%p1%dA, cuu1=3D\EM,
cvvis=3D\E[34l, dch=3D\E[%p1= %dP, dch1=3D\E[P, dim=3D\E[2m,
dl=3D\E[%p1%dM, dl1=3D\E[M, d= sl=3D\E]0;\007, ed=3D\E[J, el=3D\E[K,
el1=3D\E[1K, enacs=3D\= E(B\E)0, flash=3D\Eg, fsl=3D^G, home=3D\E[H,
hpa=3D\E[%i%p1%= dG, ht=3D^I, hts=3D\EH, ich=3D\E[%p1%d@,
il=3D\E[%p1%dL= , il1=3D\E[L, ind=3D\n, indn=3D\E[%p1%dS,
invis=3D\E[8m= , is2=3D\E)0, kDC=3D\E[3;2~, kEND=3D\E[1;2F,
kHOM=3D\E[= 1;2H, kIC=3D\E[2;2~, kLFT=3D\E[1;2D, kNXT=3D\E[6;2~,
kPRV=3D\E[5;2~, kRIT=3D\E[1;2C, kbs=3D^?, kcbt=3D\E[Z, kc= ub1=3D\EOD,
kcud1=3D\EOB, kcuf1=3D\EOC, kcuu1=3D\EOA, kdch1=3D\E[= 3~,
kend=3D\E[4~, kf1=3D\EOP, kf10=3D\E[21~, kf11=3D\E[23~,
=
kf12=3D\E[24~, kf13=3D\E[1;2P, kf14=3D\E[1;2Q, kf15=3D\E[1;2R,
kf16=3D\E[1;2S, kf17=3D\E[15;2~, kf18=3D\E[17;2~,
kf19=3D\E[18= ;2~, kf2=3D\EOQ, kf20=3D\E[19;2~, kf21=3D\E[20;2~,
kf22=3D\E[21;2= ~, kf23=3D\E[23;2~, kf24=3D\E[24;2~,
kf25=3D\E[1;5P, kf26=3D\E[1;= 5Q, kf27=3D\E[1;5R, kf28=3D\E[1;5S,
kf29=3D\E[15;5~, kf3=3D\EOR, = kf30=3D\E[17;5~, kf31=3D\E[18;5~,
kf32=3D\E[19;5~, kf33=3D\E[20;5= ~, kf34=3D\E[21;5~,
kf35=3D\E[23;5~, kf36=3D\E[24;5~, kf37=3D\E[1= ;6P, kf38=3D\E[1;6Q,
kf39=3D\E[1;6R, kf4=3D\EOS, kf40=3D\E[1;6S, = kf41=3D\E[15;6~,
kf42=3D\E[17;6~, kf43=3D\E[18;6~, kf44=3D\E[19;6= ~,
kf45=3D\E[20;6~, kf46=3D\E[21;6~, kf47=3D\E[23;6~,
k= f48=3D\E[24;6~, kf49=3D\E[1;3P, kf5=3D\E[15~, kf50=3D\E[1;3Q,
kf5= 1=3D\E[1;3R, kf52=3D\E[1;3S, kf53=3D\E[15;3~, kf54=3D\E[17;3~,
kf= 55=3D\E[18;3~, kf56=3D\E[19;3~, kf57=3D\E[20;3~,
kf58=3D\E[21;3~,= kf59=3D\E[23;3~, kf6=3D\E[17~, kf60=3D\E[24;3~,
kf61=3D\E[1;4P, = kf62=3D\E[1;4Q, kf63=3D\E[1;4R, kf7=3D\E[18~,
kf8=3D\E[19~, kf9= =3D\E[20~, khome=3D\E[1~, kich1=3D\E[2~,
kind=3D\E[1;2B,&nbs= p;kmous=3D\E[M, knp=3D\E[6~, kpp=3D\E[5~,
kri=3D\E[1;2A= , nel=3D\EE, op=3D\E[39;49m, rc=3D\E8, rev=3D\E[7m,
ri= =3D\EM, rin=3D\E[%p1%dT, ritm=3D\E[23m, rmacs=3D^O,
rmcup=3D\E[?1049l, rmir=3D\E[4l, rmkx=3D\E[?1l\E>, rmso= =3D\E[27m,
rmul=3D\E[24m, rs2=3D\Ec\E[?1000l\E[?25h, sc=3D\E7,
setab=3D\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48= ;5;%p1%d%;m,
setaf=3D\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%= p1%{8}%-%d%e38;5;%p1%d%;m,
sgr=3D\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%= p3%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
= sgr0=3D\E[m\017, sitm=3D\E[3m, smacs=3D^N, smcup=3D\E[?1049h= ,
smir=3D\E[4h, smkx=3D\E[?1h\E=3D, smso=3D\E[7m, = smul=3D\E[4m,
tbc=3D\E[3g, tsl=3D\E]0;, u6=3D\E[%i%d;%dR, u7= =3D\E[6n,
u8=3D\E[?1;2c, u9=3D\E[c, vpa=3D\E[%i%p1%dd,
=
```

Best,
Ergus


=20
=20
On Monday, June 16, 2025 at 06:17:26 PM GMT+2, Eli = Zaretskii <eliz@gnu.org> wrote:


> Date: Mon, 16 Jun 2025 17:41:18 = +0200
> From:  Ergus via "Bug reports for GNU Ema= cs,
>  the Swiss army knife of text editors" <= bug-gnu-emacs@gnu.org>

>
> I am using emacs on tmux, which does not support wave underline= (it
> prints it as normal text)
>= ;
> echo -e "\e[4:3mThis is normal text in tmux\e[0m"=
>
> When I try
>
> (display-supports-face-attributes-p '(:under= line (:style wave)))
>
> it retu= rns t, which for tmux it seems like it shouldn't.
> > So this makes that faces like `flyspell-incorrect` lo= ok like normal text
> and no highlight is visible at a= ll.


I suggest to report this to = the developers of tmux: they should make
sure the terminf= o entry correctly reflects the actual capabilities
they s= upport.  As you can see in tty_capable_p, Emacs just looks at
the capabilities reported by terminfo.

------=_Part_604678_1266684881.1750556679404-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 22 01:34:00 2025 Received: (at 78807) by debbugs.gnu.org; 22 Jun 2025 05:34:01 +0000 Received: from localhost ([127.0.0.1]:46203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTDL6-0001qX-Ip for submit@debbugs.gnu.org; Sun, 22 Jun 2025 01:34:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58818) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTDL4-0001qD-IS for 78807@debbugs.gnu.org; Sun, 22 Jun 2025 01:33: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 ) id 1uTDKz-0005Xk-8x; Sun, 22 Jun 2025 01:33:53 -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=63nJrMk0vmp5ngijoqUScn9v7wYvj7ZoyqRgi1VErs0=; b=haaNEQOh/10A bJUABKP6S7pTumOS4qQJEMSVQz+0GrFh/1bfe25btTxXshu2CvcK8E5LChweVUZxIiHSzEsjL91fH bvyrd39p2oTrCiDKTWFthnSnjYvuETLPwbSZvJe747XiPJzLwX3BNo5ktEtALTKGT7zUxpCyu1GQj hlg/XIK6ZoTC7fDXxf18jloqpjogoE4gYPS/EzT0RUti5kw0sY1XzD2X6MSbqcnNe8XkIFMNMD5dz t+Qt7f9b6DPaeRI2dgrfjJ6YbO2hp18bSw7huo+FkvivVPhe4LtT5nkTmHZkd/5thWPo1r3DTbzEF YRnwm7ROKVayC+To8sRdvg==; Date: Sun, 22 Jun 2025 08:33:50 +0300 Message-Id: <86zfe0gx1d.fsf@gnu.org> From: Eli Zaretskii To: Ergus In-Reply-To: <1293699017.604679.1750556679406@mail.yahoo.com> (message from Ergus on Sun, 22 Jun 2025 01:44:39 +0000 (UTC)) Subject: Re: bug#78807: 31.0.50; Wave underline set wrongly References: <877c1bwv6p.fsf.ref@aol.com> <877c1bwv6p.fsf@aol.com> <86plf3oe4i.fsf@gnu.org> <1293699017.604679.1750556679406@mail.yahoo.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78807 Cc: 78807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 22 Jun 2025 01:44:39 +0000 (UTC) > From: Ergus > Cc: "78807@debbugs.gnu.org" <78807@debbugs.gnu.org> > > As far as I know the check for wave underline in terminfo may look for Smulx > > I tried: `infocmp -1 | grep -E 'Smulx|Su|cul'` > > and: `tigetstr("Smulx")` in a C snippet > > and none of them return positive. > > The function mentions that it uses some heuristics and that may be the problem? This is what we do: /* Styled underlines. Support for this is provided either by the escape sequence in Smulx or the Su flag. The latter results in a common default escape sequence and is not recommended. */ #ifdef TERMINFO tty->TF_set_underline_style = tigetstr ("Smulx"); if (tty->TF_set_underline_style == (char *) (intptr_t) -1) tty->TF_set_underline_style = NULL; #else tty->TF_set_underline_style = tgetstr ("Smulx", address); #endif if (!tty->TF_set_underline_style && tgetflag ("Su")) /* Default to the kitty escape sequence. See https://sw.kovidgoyal.net/kitty/underlines/. */ tty->TF_set_underline_style = "\x1b[4:%p1%dm"; if (tty->TF_set_underline_style) /* Standard escape sequence to set the underline color. Requires a single parameter, the color index. */ tty->TF_set_underline_color = "\x1b[58:2::%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%dm"; If tmux doesn't support this (again, please ask the tmux developers), then we need a way to detect tmux and avoid the above. But I'm surprised that no one has reported this till now. Perhaps you need to upgrade your tmux? From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 22 12:13:19 2025 Received: (at 78807) by debbugs.gnu.org; 22 Jun 2025 16:13:20 +0000 Received: from localhost ([127.0.0.1]:49563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTNJl-0001Y3-Fh for submit@debbugs.gnu.org; Sun, 22 Jun 2025 12:13:19 -0400 Received: from sonic312-21.consmr.mail.bf2.yahoo.com ([74.6.128.83]:37499) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uTNJi-0001Wu-5O for 78807@debbugs.gnu.org; Sun, 22 Jun 2025 12:13:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1750608788; bh=6vL7dAFxdnRGqkuk4b2I7jgZiRN9IlGZ5zJunwkHGuc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=fKZE1KSJjF3e317oxGrI7SIBo6Zz+kmlg068FB8pKpFRNOud6xeD7zHd4tLNkR8qnBVCLZCbojR/WuGkl/jYhKazEPpvrIrxbMWuI7EcvGyfqaUhfYivnkH4QZ96sb7+JOH8HYSNXiGr0/bJC1QAEYl8tJMHXraRTJV5XB19hDJWdMlOmlK380QGShdtmNG8dgho+o84hbe05/2CB8+Tg1zL2EjzSlPcEAQtYMFvb9RlJt6h5WnGcKeJUsC7uXyRyJre63SbbpWbvB1Vgkr3J4AxuT9FqNdcC4JZg/XmyGQM6YCwfuNq8SzBr8InN+NqY6qR1ukzyBBOmx6mqILtIQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1750608788; bh=HfgurqLec449Xg3swYfnipNSZ0zsbAkLUb+fkH6fLnH=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=X4tXX3sVcPVcb3/bsB2kBDkRJDSIAs+E+hF4RHXBolggaO/2tfkKz0KrdADVGvyAjfPdTppW4FPzx5aTNtpdf/K37F2Zffw0XLSZkYYvohZJ4dvLZIo9CVYiCRAbug2fuNBmV0TAuCRWg8gKmQajVpbmvqTDe2PlpWKSJOpUNV7heXYr4tWaZiE3z8aLQtUDWZIp4mysGia35gGgvdL6QWM+v6muWA++B7V+sXCvydPWQZzHNCe6PSl6ezdiHHHR2ltmEsrH7fk/BuzxjoV9k8v24o3BsqWWdaix82UEoJ3LwyD8We3BR0zwlzu3o30QDAFHynyZVIVaC3lbd+MoMQ== X-YMail-OSG: RfyuenMVM1lyvLuwyZiujW5ufLo9SL0gs0gZ7J4k4V2wEJ2lPeMls4INPG5395z 8gAGSg9Sv9pcQghQv3HqaFuYa.1JxnIYmw3MZ8gdeUdoQ8WVPM6oRdw51Bny7..8KCTf7jo63OUa JFgsj8_Fn1bptRnbxaZszgZjoQHIbuDI1C1e3cKy5tBrrkP_zNmLSq5IH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: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Sun, 22 Jun 2025 16:13:08 +0000 Received: by hermes--production-ir2-858bd4ff7b-p7k8x (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 583448dbcb09821e18e45f6e57abb0e5; Sun, 22 Jun 2025 16:13:03 +0000 (UTC) Date: Sun, 22 Jun 2025 18:13:01 +0200 From: Ergus To: Eli Zaretskii Subject: Re: bug#78807: 31.0.50; Wave underline set wrongly Message-ID: References: <877c1bwv6p.fsf.ref@aol.com> <877c1bwv6p.fsf@aol.com> <86plf3oe4i.fsf@gnu.org> <1293699017.604679.1750556679406@mail.yahoo.com> <86zfe0gx1d.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <86zfe0gx1d.fsf@gnu.org> X-Mailer: WebService/1.1.24027 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Content-Length: 3784 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 78807 Cc: 78807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi again Eli: On Sun, Jun 22, 2025 at 08:33:50AM +0300, Eli Zaretskii wrote: >> Date: Sun, 22 Jun 2025 01:44:39 +0000 (UTC) >> From: Ergus >> Cc: "78807@debbugs.gnu.org" <78807@debbugs.gnu.org> >> >> As far as I know the check for wave underline in terminfo may look for Smulx >> >> I tried: `infocmp -1 | grep -E 'Smulx|Su|cul'` >> >> and: `tigetstr("Smulx")` in a C snippet >> >> and none of them return positive. >> >> The function mentions that it uses some heuristics and that may be the problem? > >This is what we do: > > /* Styled underlines. Support for this is provided either by the > escape sequence in Smulx or the Su flag. The latter results in a > common default escape sequence and is not recommended. */ > #ifdef TERMINFO > tty->TF_set_underline_style = tigetstr ("Smulx"); > if (tty->TF_set_underline_style == (char *) (intptr_t) -1) > tty->TF_set_underline_style = NULL; > #else > tty->TF_set_underline_style = tgetstr ("Smulx", address); > #endif > if (!tty->TF_set_underline_style && tgetflag ("Su")) > /* Default to the kitty escape sequence. See > https://sw.kovidgoyal.net/kitty/underlines/. */ > tty->TF_set_underline_style = "\x1b[4:%p1%dm"; > > if (tty->TF_set_underline_style) > /* Standard escape sequence to set the underline color. > Requires a single parameter, the color index. */ > tty->TF_set_underline_color = "\x1b[58:2::%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%dm"; > As you can see in the line command I shared before: infocmp -1 | grep -E 'Smulx|Su|cul' I already ckeck for the Su, Smulx and tmux is not returning a fake possitive it is actually not returning anything. Which means that underline styles are not supported. >If tmux doesn't support this (again, please ask the tmux developers), >then we need a way to detect tmux and avoid the above. But I think that tmux is working fine, see bellow. >But I'm surprised that no one has reported this till now. Maybe because the issue is just a missing wave underscore only set in a few faces. And some themes already overrides those faces to use normal underline. Plus most users these days use emacs gui not -nw. > Perhaps you need to upgrade your tmux? Just tested the tmux master branch and it is the same. This code: ``` #include #include #include #include #include int main(void) { // Setup terminfo for the terminal from $TERM int errret; if (setupterm(NULL, STDOUT_FILENO, &errret) != OK) { fprintf(stderr, "Error: Could not initialize terminfo (code %d)\n", errret); return 1; } // Standard underline enter/exit char *smul = tigetstr("smul"); // start underline char *rmul = tigetstr("rmul"); // end underline // Extended underline mode (not standard, but defined in newer terminfo entries) char *smulx = tigetstr("Smulx"); // start underline with extended attributes int Su = tgetflag ("Su"); printf("smul (start underline): %s\n", (smul == (char *)-1 || smul == NULL) ? "Not available" : "Available"); printf("rmul (end underline) : %s\n", (rmul == (char *)-1 || rmul == NULL) ? "Not available" : "Available"); printf("Smulx (extended underline): %s\n", (smulx == (char *)-1 || smulx == NULL) ? "Not available" : "Available"); printf("Su: %s\n", Su); return 0; } ``` Outputs: ``` smul (start underline): Available rmul (end underline) : Available Smulx (extended underline): Not available Su: (null) ``` I could have something missing in the setupterm call, but this seems correctly reporting NOT extended underline support. So, maybe the issue is somewhere else? Why is emacs reporting wave support? Best, Ergus From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 23 07:02:38 2025 Received: (at 78807) by debbugs.gnu.org; 23 Jun 2025 11:02:38 +0000 Received: from localhost ([127.0.0.1]:54523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTewe-00048L-Lh for submit@debbugs.gnu.org; Mon, 23 Jun 2025 07:02:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36632) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTewb-00046j-LQ for 78807@debbugs.gnu.org; Mon, 23 Jun 2025 07:02: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 ) id 1uTewU-0005UF-7E; Mon, 23 Jun 2025 07:02: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=IhfTlkM8Ni5sKwVv9ws9j1jgqbWZuxft9ZP2RCt7SvM=; b=F2bJTHAVhNRZ OD0ZDdWnFaAKhsE6AldK3nZnBbNA9XGYGzPvpuycLLxg8+HPBUIL6FzQD1Pw3Zm6WZpHfCft1navj OuSy8m8JwjPt0CkdKc9hzzQHXxfn6miRAI8GsxLXe3uRtZEufG8SCVQO/aj1e7bthKKDB8MGWoXmT /M/Tms3U3lNycIesh2r7jTZmr8IIPAmweWmm7v9JzZZ7lt4GXRdhV3o+ScRCE268c0eF7l56anfHc 3vUUxeCpfp8jfFvJkvKlLYJTQtoXF4I9FV6wiyrxtTf4pISAJHDr+UFqwo/F5PYVF1/VN2JXsVFdR kIV2tBvFpou9OGS9vS4RLg==; Date: Mon, 23 Jun 2025 14:02:22 +0300 Message-Id: <86sejqg1q9.fsf@gnu.org> From: Eli Zaretskii To: Ergus In-Reply-To: (message from Ergus on Sun, 22 Jun 2025 18:13:01 +0200) Subject: Re: bug#78807: 31.0.50; Wave underline set wrongly References: <877c1bwv6p.fsf.ref@aol.com> <877c1bwv6p.fsf@aol.com> <86plf3oe4i.fsf@gnu.org> <1293699017.604679.1750556679406@mail.yahoo.com> <86zfe0gx1d.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78807 Cc: 78807@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 22 Jun 2025 18:13:01 +0200 > From: Ergus > Cc: 78807@debbugs.gnu.org > > >If tmux doesn't support this (again, please ask the tmux developers), > >then we need a way to detect tmux and avoid the above. > > But I think that tmux is working fine, see bellow. I meant if tmux doesn't support the kitty escape sequences we assume should work. And if it doesn't, we need a way to detect that the terminal is displaying on tmux. Does anyone know how to do that? > So, maybe the issue is somewhere else? Why is emacs reporting wave > support? Because, according to my reading of the code I show above, we assume that every terminal supports wave: if Smulx is not present, we assume the kitty escape sequence will work.