1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
emacs/etc
Mohsin Kaleem 9f589eb924 Add support for colored and styled underlines on tty frames
* src/dispextern.h (face, face_underline_type, syms_of_xfacse)
(internal-set-lisp-face-attribute)
(gui_supports_face_attributes_p): Add definitions for new
underline styles of Double-line, Dots and Dashes.  Rename
FACE_UNDER_LINE and FACE_UNDER_WAVE to make definitions
consistent.  Delete tty_underline_p from the face struct and use
just underline going forward.  Add a flag to check whether styled
underlines are available.
* lisp/cus-face.el (custom-face-attributes): Add entries for
Double-line, Dots and Dashes so they can be set through
`customize'.
* src/termchar.c (tty_display_info): Add an entry for the escape
sequence to set the underline style and color on terminal frames.
* src/term.c (init_tty, tty_capable_p, turn_on_face): Read and
save the underline style escape sequence from the Smulx termcap
(alternatively if the Su flag is set use a default sequence).
Allow checking for support of styled underlines in the current
terminal frame.  Output the necessary escape sequences to activate
a styled underline on turn_on_face; this is currently only used
for the new special underline styles, a default straight underline
will still use the "us" termcap.  Output escape sequence to set
underline color when set in the face and supported by the tty.
Save a default value for this sequence on init_tty when styled
underlines are supported.
* src/xfaces.c (tty_supports_face_attributes_p, realize_tty_face)
(map_tty_color): Assert whether styled underlines are supported by
the current terminal on display-supports-face-attributes-p checks.
Populate the correct underline style and color in the face spec
when realizing a face.  Allow map_tty_color to map underline
colors alongside foreground and background.  The interface of
map_tty_color was amended to allow the caller to supply the
underline color instead of accessing it through the face
attributes.  (bug#62994)
* src/xterm.c (x_draw_glyph_string): Updated to use renamed
FACE_UNDERLINE_SINGLE and FACE_UNDERLINE_WAVE face_underline_type
enumerations.
2024-04-27 11:59:15 +03:00
..
charsets ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
e Implement alternative sub-buffer support in term.el 2022-01-24 20:02:33 +01:00
forms ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
gnus
images 'read-passwd' can toggle the visibility of passwords 2024-02-25 10:06:09 +01:00
nxml
org ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
refcards Revert "Update to Org 9.6.19" 2024-02-17 18:53:05 +02:00
schema ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
srecode ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
themes Update modus-themes to their 4.4.0 version 2024-03-17 18:46:15 +02:00
tutorials Update Polish translation of tutorial 2024-01-20 09:18:27 +02:00
AUTHORS Update files for Emacs 29.3 2024-03-24 09:37:03 -04:00
CALC-NEWS Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ChangeLog.1 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
compilation.txt Make Compilation mode recognize Lua errors 2024-01-10 14:48:00 +01:00
COPYING
DEBUG ; * etc/DEBUG: Add a blurb about disabling ASLR on macOS. 2024-01-26 21:02:10 +02:00
DEVEL.HUMOR ; * etc/DEVEL.HUMOR: Add a recent joke. 2022-02-11 10:15:20 +02:00
DISTRIB ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
edt-user.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
EGLOT-NEWS Document earlier change in eglot-report-progress 2024-04-17 20:42:23 +02:00
emacs-buffer.gdb ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
emacs-mail.desktop
emacs.desktop
emacs.icon
emacs.metainfo.xml ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
emacs.service
emacs_lldb.py Add a proper type for obarrays 2024-02-23 13:02:27 +01:00
emacsclient-mail.desktop Add 'server-eval-args-left' to server.el 2023-10-29 14:10:23 +02:00
emacsclient.desktop Make emacsclient handle org-protocol:// links 2023-09-18 12:54:22 +02:00
enriched.txt ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ERC-NEWS Don't nest date stamp insertions in erc-stamp 2024-04-19 13:54:52 -07:00
ETAGS.EBNF ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ETAGS.README ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
future-bug
gnus-tut.txt ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
grep.txt ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
HELLO ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
HISTORY Update files for Emacs 29.3 2024-03-24 09:37:03 -04:00
JOKES
MACHINES Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
MH-E-NEWS ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
NEWS Add support for colored and styled underlines on tty frames 2024-04-27 11:59:15 +03:00
NEWS.1-17 ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
NEWS.18 ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
NEWS.19 ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
NEWS.20 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
NEWS.21 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
NEWS.22 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
NEWS.23 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
NEWS.24 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
NEWS.25 * etc/NEWS.25: Add 'obarrayp' as well 2024-02-24 13:12:20 -05:00
NEWS.26 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
NEWS.27 ; Delete pre-release remainder in NEWS.27 2024-01-19 00:40:12 +01:00
NEWS.28 ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
NEWS.29 Merge from origin/emacs-29 2024-03-30 04:35:24 -04:00
NEXTSTEP ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
NXML-NEWS ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ORG-NEWS ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
org.gnu.emacs.defaults.gschema.xml ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
package-keyring.gpg * etc/package-keyring.gpg: Update with new key 2022-12-28 12:19:02 -05:00
PROBLEMS Merge from origin/emacs-29 2024-04-13 07:37:13 -04:00
ps-prin0.ps ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ps-prin1.ps ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
publicsuffix.txt Update publicsuffix.txt from upstream 2023-12-10 14:44:41 +01:00
README ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rgb.txt Revert "Update etc/rgb.txt from X.Org upstream" 2023-10-16 08:56:53 +08:00
ses-example.ses ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
spook.lines
TERMS ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
TODO Support tooltips for fringe indicators 2024-04-13 14:14:04 +03:00
w32-feature.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2024 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)