From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62994: [PATCH v5] Add support for colored and styled underlines on tty frames Date: Mon, 12 Feb 2024 15:50:40 +0200 Message-ID: <865xytssen.fsf@gnu.org> References: <20240211180501.695192-1-mohkale@kisara.moe> <87bk8m1mq8.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18101"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mohkale@kisara.moe, 62994@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 12 14:56:07 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rZWn1-0004SO-Ij for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Feb 2024 14:56:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZWmo-0005qV-79; Mon, 12 Feb 2024 08:55:54 -0500 Original-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 1rZWmg-0005q6-SA for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2024 08:55:47 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZWmg-0006Qz-K7 for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2024 08:55:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZWmw-0007Ls-U4 for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2024 08:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Feb 2024 13:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62994 X-GNU-PR-Package: emacs Original-Received: via spool by 62994-submit@debbugs.gnu.org id=B62994.170774611828073 (code B ref 62994); Mon, 12 Feb 2024 13:56:02 +0000 Original-Received: (at 62994) by debbugs.gnu.org; 12 Feb 2024 13:55:18 +0000 Original-Received: from localhost ([127.0.0.1]:58185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZWmE-0007Ih-0I for submit@debbugs.gnu.org; Mon, 12 Feb 2024 08:55:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZWiA-0006zy-18 for 62994@debbugs.gnu.org; Mon, 12 Feb 2024 08:51:06 -0500 Original-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 1rZWhn-0005JV-DX; Mon, 12 Feb 2024 08:50:43 -0500 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=NHr/+aNQoJLGzahZFn9XpdiJJKRQc0aqat8EM9HPDqE=; b=HulZdCSvi1Qj FeYXZJCMcxURSsis4GW6JopJRId3SSLHGmLxu6CJzmHNUGv7CK/U9go6qeSGRGG6zYx1JPPTOuTy+ /gAzDr3TzEOAJM5kKxEyYfyGpjGhIQ90H0+/khzZ8ZbiXRQ07v+tM9NgViSMhEGTXeZC2MualB2zU L8Ydn0vZYViYXv3uxqpji03fmWQcNPwGAE8vX/N4pyAKhFCovh8vWYz2DNqhoBUaTsNl5APGWHyNx s5sauuPCf/W92WSv3FEvzJfNcG9jitILdPu4JRduKuGUr2eFvqywF+iqSyWT0G1vy2IDxcFYlRvkf wylDs6kSoCIkn4w6xPBTCA==; In-Reply-To: <87bk8m1mq8.fsf@yahoo.com> (message from Po Lu on Mon, 12 Feb 2024 09:43:11 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:279894 Archived-At: > From: Po Lu > Cc: 62994@debbugs.gnu.org, Eli Zaretskii > Date: Mon, 12 Feb 2024 09:43:11 +0800 > > > +If your terminals termcap or terminfo database entry has the 'Su' or > > +'Smulx' capability defined, Emacs will now emit the prescribed escape > > +sequence necessary to render faces with styled underlines on TTY > > +frames. > > + > > +Styled underlines are any underlines containing a non-default > > +underline style or a color other than the foreground-color. > > +The available underline styles for TTY frames are 'double', 'wave', > > +'dotted', and 'dashed'. These are currently supported by Kitty, > > +libvte, and st (through the undercurl patch) among other terminals. > > What about GUI frames? I don't want to see a display feature installed > before it is also implemented for the likes of X. Unless you are saying that implementing this on X would be impossible or very hard, I don't think we need to delay installing this feature until it is also available on X. Of course, if Mohsin can also provide an X-based implementation, that would be super.