GNU bug report logs - #47363
font locking variable values in Help buffer

Previous Next

Package: emacs;

Reported by: scame <laszlomail <at> protonmail.com>

Date: Wed, 24 Mar 2021 15:49:02 UTC

Severity: wishlist

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: scame <laszlomail <at> protonmail.com>
To: 47363 <at> debbugs.gnu.org
Subject: bug#47363: font locking variable values in Help buffer
Date: Wed, 24 Mar 2021 15:48:13 +0000
When inspecting large list values of variables in the Help buffer,
it would make interpreting the list easier if the value had
elisp font lock.

E.g

...
      (cond
       ((eq type 'var)
        font-lock-variable-name-face)
       ((eq type 'type)
        font-lock-type-face)
       ((or
         (not
          (match-string 2))
         (and
          (match-string 2)
          (match-string 4)))
        font-lock-function-name-face)))
    nil t))
  ("^;;;###\\([-a-z]*autoload\\)" 1 font-lock-warning-face prepend)
  ("\\[\\(\\^\\)" 1 font-lock-negation-char-face prepend)
  ("(\\(cl-\\(?:assert\\|check-type\\)\\|error\\|signal\\|user-error\\|warn\\)\\_>"
   (1 font-lock-warning-face))
  (lisp--el-match-keyword . 1)
  ("(\\(catch\\|throw\\|featurep\\|provide\\|require\\)\\_>[ 	']*\\(\\(?:\\sw\\|\\s_\\|\\\\.\\)+\\)?"
   (1 font-lock-keyword-face)
   (2 font-lock-constant-face nil t))
  ("\\\\\\\\\\[\\(\\(?:\\sw\\|\\s_\\|\\\\.\\)+\\)\\]"
   (1 font-lock-constant-face prepend))
  ("\\(\\\\\\)\\([^\"\\]\\)"
   (1
    (elisp--font-lock-backslash)
    prepend))
  ("[`‘]\\(\\(?:\\sw\\|\\s_\\|\\\\.\\)\\(?:\\sw\\|\\s_\\|\\\\.\\)+\\)['’]"
   (1 font-lock-constant-face prepend))
  ("\\_<:\\(?:\\sw\\|\\s_\\|\\\\.\\)+\\_>"
   (0 font-lock-builtin-face))
  ("\\_<\\&\\(?:\\sw\\|\\s_\\|\\\\.\\)+\\_>" . font-lock-type-face)
...




This bug report was last modified 3 years and 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.