From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: mohkale@kisara.moe Newsgroups: gmane.emacs.bugs Subject: bug#62994: [PATCH v4 0/3] Support styled underlines on tty Emacs frames Date: Sun, 11 Feb 2024 17:15:53 +0000 Message-ID: <20240211171556.597236-1-mohkale@kisara.moe> References: <87pm7x5mxc.fsf@kisara.moe> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18737"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mohsin Kaleem To: 62994@debbugs.gnu.org, Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 11 18:17:31 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 1rZDSM-0004eE-MP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Feb 2024 18:17:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZDRp-0007Rx-6E; Sun, 11 Feb 2024 12:16:57 -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 1rZDRe-0007R9-Ot for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 12:16: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 1rZDRe-0002tj-Gp for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 12:16:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZDRu-0008SZ-Py for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 12:17:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87pm7x5mxc.fsf@kisara.moe> Resent-From: mohkale@kisara.moe Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Feb 2024 17:17: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.170767178832426 (code B ref 62994); Sun, 11 Feb 2024 17:17:02 +0000 Original-Received: (at 62994) by debbugs.gnu.org; 11 Feb 2024 17:16:28 +0000 Original-Received: from localhost ([127.0.0.1]:32976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZDRM-0008Qw-62 for submit@debbugs.gnu.org; Sun, 11 Feb 2024 12:16:28 -0500 Original-Received: from 119.ip-51-38-65.eu ([51.38.65.119]:41856 helo=mail.kisara.moe) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZDRH-0008QQ-U1 for 62994@debbugs.gnu.org; Sun, 11 Feb 2024 12:16:26 -0500 Original-Received: from mk-desktop.Home (05408574.skybroadband.com [5.64.133.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mail.kisara.moe (Postfix) with ESMTPSA id CDFCFA2796; Sun, 11 Feb 2024 18:16:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kisara.moe; s=default; t=1707671765; bh=NYTjEeibMM7p4eYHsQMDrZ4PNL2zjUFhuAM0cwzmMXM=; h=From:To:Cc:Subject:Date:From; b=mwALqW1ryUT4sy0rFP5JURUqMvliU23zW1ZvUuuPLDFN/PYKBQfxOvFFgpDNqhi1F m3/PV2RjKiJWXJQW5oJQfe45G6813H8iAkatdADNDxIV+D7g/tPM0cO6JChGQc7nAZ 5A3kIEorHBUY1FHq120CGoOaYRGxxi64DM1rRmf5zH+WjaHkfQT64pgR7g2fiZFJcr ZK5xZJvzjYzciJjY2k54FVeBeWUDMKzhr9BqhlDKfstuh6T/0UU7X5TY5Z/a7rdihN ttC26yrOSekHLBXhYBV2nAQyQu9wzR6N1S6i42lFau6ObMVm+ZaFZzoDwzAAXiNmRr UnAB+C+CEvBlA== X-Mailer: git-send-email 2.43.0 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:279851 Archived-At: From: Mohsin Kaleem Modern terminals (such as kitty) support setting the style of an underline with the escape sequence exposed in the Smulx termcap. This allows for (among others) wavy underlines on terminals. These terminals also support setting the color of these underlines using a separate escape sequence that to the best of my knowledge is not exposed as a termcap but has been adopted by other terminal supporting editors like neovim. Mohsin Kaleem (3): Add face definitions for more underline styles Add support for styled underlines on tty frames Add support for colored underlines on tty frames etc/NEWS | 19 ++++++++++ lisp/cus-face.el | 5 ++- src/dispextern.h | 11 ++++-- src/term.c | 46 +++++++++++++++++++++--- src/termchar.h | 7 ++++ src/xfaces.c | 93 ++++++++++++++++++++++++++++++++++++++++++++---- 6 files changed, 167 insertions(+), 14 deletions(-) -- 2.43.0