From: Mark Wooding Date: Mon, 4 Jul 2011 00:30:16 +0000 (+0100) Subject: el/dot-emacs.el: Distinctive highlighting for ellipses. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/5fedb342befa265c4a363c1b7318dc68a946ff18?hp=a33d1f8ca747f70deefcd57d2d51876a0f6f9c1c el/dot-emacs.el: Distinctive highlighting for ellipses. Now I can tell whether Emacs is hiding something or I actually typed a bunch of dots... --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index d2eba21..1704f7d 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -985,6 +985,13 @@ (mdw-define-face whizzy-slice-face (mdw-define-face whizzy-error-face (t :background "darkred")) +;; Ellipses used to indicate hidden text (and similar). +(mdw-define-face mdw-ellipsis-face + (((type tty)) :foreground "blue") (t :foreground "grey60")) +(let ((dot (make-glyph-code ?. 'mdw-ellipsis-face))) + (set-display-table-slot standard-display-table 4 + (vector dot dot dot))) + ;;;-------------------------------------------------------------------------- ;;; C programming configuration.