From: Paul W. Rankin <hello@paulwrankin.com>
To: emacs-devel@gnu.org
Subject: Making vertical-border char defcustom?
Date: Mon, 20 Jan 2020 00:13:27 +1000 [thread overview]
Message-ID: <2E19AE9F-891D-42D9-9BD4-9B355804C189@paulwrankin.com> (raw)
Would anyone be open to adding a defcustom for the vertical-border
slot in standard-display-table?
In the past I've been using the following...
(defun prettify-vertical-border (&optional dummy)
(ignore dummy)
(set-display-table-slot
(or buffer-display-table standard-display-table)
'vertical-border ?│))
(when (not window-system)
(add-hook 'window-configuration-change-hook
'prettify-vertical-border)
(add-hook 'change-major-mode-hook
'prettify-vertical-border))
However the problem with this approach is that some major/minor-modes
set their own overriding display-table... I think help-mode or
special-mode...
This would make Emacs look a lot prettier on UTF-8 consoles, as
currently the 0x7C (vertical bar) default does not create a solid
vertical line with most fonts.
Thoughts?
--
Paul W. Rankin
https://www.paulwrankin.com
next reply other threads:[~2020-01-19 14:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-19 14:13 Paul W. Rankin [this message]
2020-01-19 15:35 ` Making vertical-border char defcustom? Eli Zaretskii
2020-01-19 23:49 ` Paul W. Rankin
2020-01-20 18:08 ` Eli Zaretskii
2020-01-21 6:25 ` Paul W. Rankin
2020-01-21 15:30 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2E19AE9F-891D-42D9-9BD4-9B355804C189@paulwrankin.com \
--to=hello@paulwrankin.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.