all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#47363: font locking variable values in Help buffer
@ 2021-03-24 15:48 scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-06-26 19:42 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: scame via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-03-24 15:48 UTC (permalink / raw)
  To: 47363

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)
...





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

* bug#47363: font locking variable values in Help buffer
  2021-03-24 15:48 bug#47363: font locking variable values in Help buffer scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-06-26 19:42 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-26 19:42 UTC (permalink / raw)
  To: scame; +Cc: 47363

scame <laszlomail@protonmail.com> writes:

> 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.

Makes sense to me.  I've now fixed this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2022-06-26 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-24 15:48 bug#47363: font locking variable values in Help buffer scame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-26 19:42 ` Lars Ingebrigtsen

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.