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 line numbers, final testing Date: Thu, 13 Jul 2017 05:38:56 +0300 Message-ID: <8337a1hxhb.fsf@gnu.org> References: <83y3s9pm2a.fsf@gnu.org> <87eftzju5g.fsf@lylat> <837ezqq3gd.fsf@gnu.org> <874luuyuqy.fsf@lylat> <83wp7po86m.fsf@gnu.org> <87fuecc7vg.fsf@lylat> <83y3s2n5pa.fsf@gnu.org> <878tk1rmjx.fsf@lylat> <83a84gn4z9.fsf@gnu.org> <837ezkmwfg.fsf@gnu.org> <874lumps82.fsf@lylat> <8337a5ja4p.fsf@gnu.org> <83van0i5wl.fsf@gnu.org> <87iniy7ksy.fsf@lylat> <83pod6idqp.fsf@gnu.org> <87zical61u.fsf@lylat> <83mv89ivms.fsf@gnu.org> <87zic9a7tg.fsf@lylat> <8360exijpe.fsf@gnu.org> <87r2xla0e4.fsf@lylat> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1499913551 26454 195.159.176.226 (13 Jul 2017 02:39:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Jul 2017 02:39:11 +0000 (UTC) Cc: cloos@jhcloos.com, emacs-devel@gnu.org To: Alex Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 13 04:39:02 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 1dVU1t-0006J0-B1 for ged-emacs-devel@m.gmane.org; Thu, 13 Jul 2017 04:39:01 +0200 Original-Received: from localhost ([::1]:56911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVU1y-0004tZ-Pw for ged-emacs-devel@m.gmane.org; Wed, 12 Jul 2017 22:39:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVU1t-0004tP-6G for emacs-devel@gnu.org; Wed, 12 Jul 2017 22:39:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVU1p-000424-8w for emacs-devel@gnu.org; Wed, 12 Jul 2017 22:39:01 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVU1p-00041y-5r; Wed, 12 Jul 2017 22:38:57 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3222 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVU1o-00076c-Bs; Wed, 12 Jul 2017 22:38:56 -0400 In-reply-to: <87r2xla0e4.fsf@lylat> (message from Alex on Wed, 12 Jul 2017 14:03:15 -0600) 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:216568 Archived-At: > From: Alex > Cc: cloos@jhcloos.com, emacs-devel@gnu.org > Date: Wed, 12 Jul 2017 14:03:15 -0600 > > Eli Zaretskii writes: > > >> From: Alex > >> Cc: cloos@jhcloos.com, emacs-devel@gnu.org > >> Date: Wed, 12 Jul 2017 11:22:51 -0600 > >> > >> > It should be sensible, I agree. But "sensible" doesn't necessarily > >> > mean identical to the default face's font. > >> > >> Sure, but I maintain in this case that it does mean identical to the > >> default face's font. > > > > I don't understand why, and I don't think I agree. > > I don't see a single reason to make it different. It's for when the default face uses a variable-pitch font, as I believe I already explained. And instead of repeating the same arguments again and again, I think we should simply agree to disagree, and wait for others to offer their opinions and experiences about this. > >> (insert (propertize "hello there!" 'face 'fixed-pitch)) > >> > >> This text increases along with the default face with "C-x +". Why does > >> the same not apply to the line-number face? > > > > I don't know. Feel free to investigate and publish the findings. > > Well, it definitely seems like a bug to me. text-scale-mode uses > face-remap-add-relative on 'default, but I don't see why this would > cause an issue. The manual states that any 'unspecified attributes mean > that the attributes are taken from the default face, so I don't see why > adding :inherit 'default should even make a difference. > > Perhaps I should file a bug report? I don't think I understood what you consider a bug here. Face attributes are calculated when the face is created, they are not updated whenever the default face changes.