GNU bug report logs - #48672
outline faces

Previous Next

Package: emacs;

Reported by: ludvig-faddeev <at> gmx.com

Date: Wed, 26 May 2021 14:42:03 UTC

Severity: wishlist

Tags: wontfix

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 48672 in the body.
You can then email your comments to 48672 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#48672; Package emacs. (Wed, 26 May 2021 14:42:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to ludvig-faddeev <at> gmx.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 26 May 2021 14:42:03 GMT) Full text and rfc822 format available.

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

From: ludvig-faddeev <at> gmx.com
To: bug-gnu-emacs <at> gnu.org
Subject: outline faces
Date: Wed, 26 May 2021 12:49:12 +0200
Currently outline faces uses name faces taken for ather purposes than outline
headings.

font-lock-function-name-face))
  "Level 1.")

(defface outline-2
  '((t :inherit font-lock-variable-name-face))
  "Level 2.")

(defface outline-3
  '((t :inherit font-lock-keyword-face))
  "Level 3.")

(defface outline-4
  '((t :inherit font-lock-comment-face))
  "Level 4.")

(defface outline-5
  '((t :inherit font-lock-type-face)
 "Level 5.")

(defface outline-6
  '((t :inherit font-lock-constant-face))
  "Level 6.")

(defface outline-7
  '((t :inherit font-lock-builtin-face))
  "Level 7.")

(defface outline-8
  '((t :inherit font-lock-string-face))
  "Level 8.")

It would be appreciated that outline faces have their own faces rather than inheriting
faces for faces assigned to functions, keywords, comments, etc...

Regards
Ludvig




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48672; Package emacs. (Wed, 26 May 2021 22:19:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: ludvig-faddeev <at> gmx.com
Cc: 48672 <at> debbugs.gnu.org
Subject: Re: bug#48672: outline faces
Date: Thu, 27 May 2021 00:17:58 +0200
ludvig-faddeev <at> gmx.com writes:

> (defface outline-8
>   '((t :inherit font-lock-string-face))
>   "Level 8.")
>
> It would be appreciated that outline faces have their own faces rather
> than inheriting faces for faces assigned to functions, keywords,
> comments, etc...

They are their own faces -- and inherit from common font-lock faces.  We
use this pattern all over Emacs to define faces, and it allows us to (by
default) have a smaller number of colour combinations to define.

If users want to change the outline faces, they can do so.  It's perhaps
slightly surprising that changing the font-lock faces also results in
changing the outline faces, but I think we can live with that.

Closing.

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




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 26 May 2021 22:19:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 48672 <at> debbugs.gnu.org and ludvig-faddeev <at> gmx.com Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 26 May 2021 22:19: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. (Thu, 24 Jun 2021 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 297 days ago.

Previous Next


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