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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47363 in the body.
You can then email your comments to 47363 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#47363; Package emacs. (Wed, 24 Mar 2021 15:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to scame <laszlomail <at> protonmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 24 Mar 2021 15:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: scame <laszlomail <at> protonmail.com>
To: "scame via Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
Subject: 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)
...




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47363; Package emacs. (Sun, 26 Jun 2022 19:43:02 GMT) Full text and rfc822 format available.

Message #8 received at 47363 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: scame <laszlomail <at> protonmail.com>
Cc: 47363 <at> debbugs.gnu.org
Subject: Re: bug#47363: font locking variable values in Help buffer
Date: Sun, 26 Jun 2022 21:42:00 +0200
scame <laszlomail <at> 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




bug marked as fixed in version 29.1, send any further explanations to 47363 <at> debbugs.gnu.org and scame <laszlomail <at> protonmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 26 Jun 2022 19:43:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 25 Jul 2022 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 273 days ago.

Previous Next


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