From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: scame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47363: font locking variable values in Help buffer Date: Wed, 24 Mar 2021 15:48:13 +0000 Message-ID: Reply-To: scame Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18574"; mail-complaints-to="usenet@ciao.gmane.io" To: 47363@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 24 16:49:33 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lP5lF-0004kf-43 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Mar 2021 16:49:33 +0100 Original-Received: from localhost ([::1]:33508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lP5lE-0007ay-3F for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Mar 2021 11:49:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lP5kk-00074L-UR for bug-gnu-emacs@gnu.org; Wed, 24 Mar 2021 11:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lP5kk-0003Wy-Lp for bug-gnu-emacs@gnu.org; Wed, 24 Mar 2021 11:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lP5kk-0002wm-KW for bug-gnu-emacs@gnu.org; Wed, 24 Mar 2021 11:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: scame Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Mar 2021 15:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47363 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "scame via Bug reports for GNU Emacs, the Swiss army knife of text editors" Original-Received: via spool by submit@debbugs.gnu.org id=B.161660091611277 (code B ref -1); Wed, 24 Mar 2021 15:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Mar 2021 15:48:36 +0000 Original-Received: from localhost ([127.0.0.1]:35854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP5kK-0002vo-6V for submit@debbugs.gnu.org; Wed, 24 Mar 2021 11:48:36 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lP5kH-0002vf-V2 for submit@debbugs.gnu.org; Wed, 24 Mar 2021 11:48:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lP5kG-0006rI-U0 for bug-gnu-emacs@gnu.org; Wed, 24 Mar 2021 11:48:33 -0400 Original-Received: from mail-40130.protonmail.ch ([185.70.40.130]:18589) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lP5kC-00039z-DD for bug-gnu-emacs@gnu.org; Wed, 24 Mar 2021 11:48:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1616600902; bh=sttxL6ednVpomXdp8tVMEHM+t2YUx5gdsCzd0B1355Q=; h=Date:To:From:Reply-To:Subject:From; b=Tj7kTwMYw50rfdY/t1VbGJ9xJCPsp61jt4/2o2Nl++Ikz0ig4nyboiLxzRwOjDLZK 6/epbC4YpOisEb+3s4qL1v3QE11K+2IPxhL+VzrSKGs2ma7srgMwOIXkegj8fbt3Sj jOvjOAmvuQtBak2B8JRubxk9lklLwVS83EH2jdCA= Received-SPF: pass client-ip=185.70.40.130; envelope-from=laszlomail@protonmail.com; helo=mail-40130.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , scame Xref: news.gmane.io gmane.emacs.bugs:202953 Archived-At: 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\\)\\_>[ =09']*\\(\\(?:= \\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)) ("[`=E2=80=98]\\(\\(?:\\sw\\|\\s_\\|\\\\.\\)\\(?:\\sw\\|\\s_\\|\\\\.\\)+\= \)['=E2=80=99]" (1 font-lock-constant-face prepend)) ("\\_<:\\(?:\\sw\\|\\s_\\|\\\\.\\)+\\_>" (0 font-lock-builtin-face)) ("\\_<\\&\\(?:\\sw\\|\\s_\\|\\\\.\\)+\\_>" . font-lock-type-face) ...