From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Native display of line numbers, improved Date: Sun, 25 Jun 2017 17:07:34 +0300 Message-ID: <83h8z4tb2x.fsf@gnu.org> References: <83tw35thxw.fsf@gnu.org> <87y3shcdle.fsf@rosalinde> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1498399680 7333 195.159.176.226 (25 Jun 2017 14:08:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2017 14:08:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 25 16:07:56 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 1dP8Ce-0001VP-GA for ged-emacs-devel@m.gmane.org; Sun, 25 Jun 2017 16:07:52 +0200 Original-Received: from localhost ([::1]:42734 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dP8Ci-0001Oa-GK for ged-emacs-devel@m.gmane.org; Sun, 25 Jun 2017 10:07:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dP8Cd-0001OU-7T for emacs-devel@gnu.org; Sun, 25 Jun 2017 10:07:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dP8Ca-0008Bs-20 for emacs-devel@gnu.org; Sun, 25 Jun 2017 10:07:51 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dP8CZ-0008Bk-VC; Sun, 25 Jun 2017 10:07:47 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2777 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dP8CZ-0002H0-BG; Sun, 25 Jun 2017 10:07:47 -0400 In-reply-to: <87y3shcdle.fsf@rosalinde> (message from Stephen Berman on Sat, 24 Jun 2017 22:53:01 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:215957 Archived-At: > From: Stephen Berman > Cc: emacs-devel@gnu.org > Date: Sat, 24 Jun 2017 22:53:01 +0200 > > I notice that text-scale-adjust correctly changes the size of the line > numbers, except for that of the current line when the face > line-number-current-line has been changed from the default. How did you change the line-number-current-line face? If I just set its foreground to a distinct value, text-scale-adjust changes the sizes of all the line numbers, including that of the current line. Maybe you changed the face with defface, in which case you should keep the :inherit part, because AFAIK text-scale-adjust doesn't scale every face, only some of them and those which inherit from those few.