emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 84bf954 2/2: Use a proportional font for the mode line


From: Robert Pluim
Subject: Re: master 84bf954 2/2: Use a proportional font for the mode line
Date: Thu, 25 Nov 2021 19:44:40 +0100

>>>>> On Thu, 25 Nov 2021 20:28:27 +0200, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Lars Ingebrigtsen <larsi@gnus.org>
    >> Date: Thu, 25 Nov 2021 19:18:15 +0100
    >> Cc: emacs-devel@gnu.org
    >> 
    >> > diff --git a/src/font.c b/src/font.c
    >> > index d423fd46b7..0cedb230c8 100644
    >> > --- a/src/font.c
    >> > +++ b/src/font.c
    >> > @@ -70,7 +70,7 @@ #define DEFAULT_ENCODING Qiso8859_1
    >> >    { 40, { "ultra-light", "ultralight", "extra-light", "extralight" }},
    >> >    { 50, { "light" }},
    >> >    { 55, { "semi-light", "semilight", "demilight" }},
    >> > -  { 80, { "regular", "normal", "unspecified", "book" }},
    >> > +  { 80, { "normal", "regular", "unspecified", "book" }},
    >> 
    >> Hm.  But is that a problem with Customize or this?  I guess "normal" is
    >> more normal than regular, so perhaps this is the right solution.

    Eli> I think it's a bug in Customize that it doesn't support the aliases
    Eli> here.  If nevertheless we fix it in font.c, we should have a prominent
    Eli> comment there explaining the importance of the order.

This also does it, but those weights look seriously out of whack
compared to the list in font.c

diff --git a/lisp/cus-face.el b/lisp/cus-face.el
index 5037ee77c7..82fe8f23be 100644
--- a/lisp/cus-face.el
+++ b/lisp/cus-face.el
@@ -92,7 +92,7 @@ custom-face-attributes
             (const :tag "semilight" semi-light)
             (const :tag "book" semi-light)
             (const :tag "normal" normal)
-            (const :tag "regular" normal)
+            (const :tag "regular" regular)
             (const :tag "medium" normal)
             (const :tag "semibold" semi-bold)
             (const :tag "demibold" semi-bold)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]