From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: Native display of line numbers, improved Date: Sun, 25 Jun 2017 21:00:23 +0200 Message-ID: <87a84vyjso.fsf@rosalinde> References: <83tw35thxw.fsf@gnu.org> <87y3shcdle.fsf@rosalinde> <83h8z4tb2x.fsf@gnu.org> <87injkxhj7.fsf@rosalinde> <837f00t86l.fsf@gnu.org> <87efu8xefh.fsf@rosalinde> <8360fkt5qp.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1498417273 17080 195.159.176.226 (25 Jun 2017 19:01:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2017 19:01:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 25 21:01:10 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPCmP-0003x8-Bp for ged-emacs-devel@m.gmane.org; Sun, 25 Jun 2017 21:01:05 +0200 Original-Received: from localhost ([::1]:43508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPCmU-00088V-OV for ged-emacs-devel@m.gmane.org; Sun, 25 Jun 2017 15:01:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPCls-00088E-OT for emacs-devel@gnu.org; Sun, 25 Jun 2017 15:00:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPClr-0001lg-42 for emacs-devel@gnu.org; Sun, 25 Jun 2017 15:00:32 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:58644) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPCln-0001iD-9E; Sun, 25 Jun 2017 15:00:27 -0400 Original-Received: from rosalinde ([83.135.20.144]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lt1yI-1dsaUk0vKk-012aM4; Sun, 25 Jun 2017 21:00:24 +0200 In-Reply-To: <8360fkt5qp.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 25 Jun 2017 19:02:54 +0300") X-Provags-ID: V03:K0:CT3N+kTnHE+5etE0z80Dab8ybCSuNfWKaUZiPz9QKKok9jRgalV X6BKpsFBbQ5aHv3Wq4Iofbn2noff5lbn9wXZUeQWYtVIoR3eG5o+G0Noz3WpoqvbEkOnO95 wP1zw3TIHpMAeIpwIIDqbsuZRGonbVGjivYOuviPgl1G352vectslkfy2prnfiMbTnZ4+LD lMqzknY+3HwkG8SrbWYxQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:a2HjhxQPetU=:v13fiurPbNsCegTlgOT1GQ 1vI59d2mWcn4AM6x7Rq/XrTVEfOvljMpSzURLUoQKlAbX2CLCqeLx7ZTSKLZeysVhSKUrLgoj UnYPZOuZx5/T4zJtduWuhK/tiAh7k7NrOePEX/b0z8jJulLLOKlMj3F9T4mUlF1FoYxKIxnf0 tFfT2ETavvQnDPpwbRpwsZw2T5pqFrxru/0qBDBbJL3m1c44xV0TJGULDxXI6zSzboodj/2qD vDZeArjDVavAJs+MEtYuPr2mCZM0UJCab74qWSYZ26cJ/zuafTgukMJg7x+FK0fh89M1nkPfn YpRVoTBwtfRQkI49c7i2ETvHwwGMurkj1mvMzx/ffo3NQn29abEWqeLnAHc0y72p5vrD5f9np RpTJpZhCvQDuh6/Cr4ZnwH/oNarrwrXnDqbR1hqmf/9R4LdlNOnUSFUBvCwPFDaQb8Zv7qFWz q83hNmv7xPXDlhNNE/ZyMNXSYdBxvSIUkOB0k2dNyi2/G2XIs9JPX9iEXNaAAQXORj+8mTpRa eQ+PbUvd4NYToHh8Bz2x28ckvvio+OL+EcGh51vcRV9uIfi8n5+oEFi3p5pNyQHHIsh0ew3pD jlDgfrA32I8aVqzZ3xhRKmdkl3X1UtH7BDJj8GiwofqBG0wVOFfqP2o2QupfnmJ3hSBx16/6y Vqoi2vFDeLV6xPHkfRBNrbLegmREcTewo7C+epOlJJzVV9+Sw905GM9ZxrSzJry6dRV+p9epc YppXS1HVWO78I//Dj2vmHpbFwrcwMx7f9tYydsKVst8MY1nTLI+jB409GX8Z9qEN+oSejB2Q X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215973 Archived-At: On Sun, 25 Jun 2017 19:02:54 +0300 Eli Zaretskii wrote: >> From: Stephen Berman >> Cc: emacs-devel@gnu.org >> Date: Sun, 25 Jun 2017 17:41:38 +0200 >> >> > This shows your face inherits from font-lock-comment-face. It should >> > inherit from line-number instead. Or from the default face. When I >> > do one of those, the scaling works as you expected. >> >> Got it, thanks. Is this documented? > > Probably not. And I'm not really sure how to document this in a way > that's useful. > > In a nutshell, support for face remapping needs to be explicitly coded > where we want it, and AFAIK we only coded that in a few places which > were reported as bugs. The fact that the face needs to inherit from > 'default' is something I know only from personal experience. In > particular, Customize somehow tends to break face remapping, unless > the inheritance keeps it from doing that. Maybe someone who knows > more about faces and their customizations could chime in. I hope so. It would be helpful to have clear guidelines, since faces are probably one of the most frequently customized features in Emacs. Steve Berman