unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Support styled underlines on TTY frames
@ 2023-04-21 13:55 Mohsin Kaleem
  2023-04-21 14:27 ` Mohsin Kaleem
  0 siblings, 1 reply; 2+ messages in thread
From: Mohsin Kaleem @ 2023-04-21 13:55 UTC (permalink / raw)
  To: emacs-devel


Hi,

Support for styled underlines double, wave, dotted and dashed is a
relatively recent inclusion for newer terminal emulators. It's exposed
through either the Smulx or Su termcap (the former being an escape
sequence and the latter just a flag). Furthermore. despite not having a
dedicated termcap, these extensions also support colored underlines
through a separate escape sequence; making it possible to have an
underline with a different color to the foreground.

I'd like to add support for these to Emacs. Looking on the mailing list
it seems there's some prior efforts for this but none seem to have had
any traction. I've been working on a patch for these and will submit it
in reply to this message chain.

For testing I've been using kitty. If building with this patch series
you can view the underlines in the scratch buffer like so:

  ./src/emacs -nw -q --eval '(set-face-attribute (quote font-lock-comment-delimiter-face) nil :underline (list :style (quote wave) :color "blue"))'

-- 
Mohsin Kaleem



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Support styled underlines on TTY frames
  2023-04-21 13:55 Support styled underlines on TTY frames Mohsin Kaleem
@ 2023-04-21 14:27 ` Mohsin Kaleem
  0 siblings, 0 replies; 2+ messages in thread
From: Mohsin Kaleem @ 2023-04-21 14:27 UTC (permalink / raw)
  To: emacs-devel

Mohsin Kaleem <mohkale@kisara.moe> writes:

Apologies, I think I directed this to the wrong mailing list. Will
reopen to bug-gnu-emacs.

-- 
Mohsin Kaleem



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-21 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-21 13:55 Support styled underlines on TTY frames Mohsin Kaleem
2023-04-21 14:27 ` Mohsin Kaleem

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).