From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.devel Subject: Re: Native line numbers, final testing Date: Wed, 12 Jul 2017 11:22:51 -0600 Message-ID: <87zic9a7tg.fsf@lylat> References: <83y3s9pm2a.fsf@gnu.org> <87mv8nkh31.fsf@lylat> <83bmp3pnmb.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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499880257 13000 195.159.176.226 (12 Jul 2017 17:24:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Jul 2017 17:24:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: cloos@jhcloos.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 12 19:24:11 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 1dVLMr-0002pc-T0 for ged-emacs-devel@m.gmane.org; Wed, 12 Jul 2017 19:24:06 +0200 Original-Received: from localhost ([::1]:54927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVLMx-0007XK-Bl for ged-emacs-devel@m.gmane.org; Wed, 12 Jul 2017 13:24:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVLMl-0007Ra-Nt for emacs-devel@gnu.org; Wed, 12 Jul 2017 13:24:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVLMi-0003Qu-GM for emacs-devel@gnu.org; Wed, 12 Jul 2017 13:23:59 -0400 Original-Received: from mail-it0-f66.google.com ([209.85.214.66]:33903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVLMi-0003Qc-99; Wed, 12 Jul 2017 13:23:56 -0400 Original-Received: by mail-it0-f66.google.com with SMTP id o202so2899406itc.1; Wed, 12 Jul 2017 10:23:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=qpqhEUKRKeUmOWDeyeohebmUnjGLsHuzT0KLtiFDktc=; b=Wq2RPpL2itsWugY6jnIXK+ZL9Iwwajtr53H1Nr2gx1+nArAQGt9/UQYHAqmx01btDR xjffUvF6XAMAWM8zU/I7Rz8LVzSLAwcXWlBII5bccachAvkiDIrJQS/PX9tuv7zNhA0i yOdLXGCFvpkNFt+lL3opG76Bu/brh6nQb1I3Y8bQiuCrDqXALyvMr8rVEXF7aEJ2824Q 58a2rPR9n7qes4CE9XEm6TIYz1AZcH8invLdrm31VfMbbdVzdRk32Alo5k9D7y7B5mka 7O2A5wMyHFxllSD5yXveyOjQQDBzrI/JCkVNDB35mGhjTll5EhfYmFgXmyoNPtogtGdS DrVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=qpqhEUKRKeUmOWDeyeohebmUnjGLsHuzT0KLtiFDktc=; b=ClJbLlyl1UNtz6A1R9Y0Ph3VtPFBekhS83XE4MkA7zZhVUnbB+6uPuNHbto5A9sZLt x43e3K6tzA8WZDfYkLvGea+f99cyu7TFGCBrKvY6ItlGp/43bnaGveyoshAOXf1Kg8UR vMUib7kLHjBObEf0vaJ0fqlJ3H/9019CO4YVWrHbUDSkglATPx5C2BWnDuEk2w03pEKT N7AeDF+UZDpqdtRLW/bp1II277LCOmQseu2nL6stLTyVg2ICGAbV55zb78TQbRcKIeMw /vkL9FSycAcw55ZCk2XQTq83J60DQdBqS0TvwFazxVcp5boL3Kjga98pmOUHZ44KAQ1y oUug== X-Gm-Message-State: AIVw1127lwB65KIb9yvCRy+ZpTrhwKYJ9wKLJcpWKFYGxXoK5A0DOBht iA22qYaAjdjqMwIJ X-Received: by 10.36.138.5 with SMTP id v5mr21896769itd.55.1499880175153; Wed, 12 Jul 2017 10:22:55 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id i5sm1467604iti.20.2017.07.12.10.22.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Jul 2017 10:22:53 -0700 (PDT) In-Reply-To: <83mv89ivms.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 12 Jul 2017 17:21:15 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.214.66 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:216551 Archived-At: Eli Zaretskii writes: >> From: Alex >> Cc: cloos@jhcloos.com, emacs-devel@gnu.org >> Date: Tue, 11 Jul 2017 20:53:17 -0600 >> >> Eli Zaretskii writes: >> >> >> From: Alex >> >> Cc: James Cloos , emacs-devel@gnu.org >> >> Date: Tue, 11 Jul 2017 14:58:21 -0600 >> >> >> >> > (defface line-number >> >> > - '((t :inherit (shadow default))) >> >> > + '((t :inherit (shadow default) :family "Monospace Serif")) >> >> > "Face for displaying line numbers. >> >> > This face is used when `display-line-numbers' is non-nil. >> >> > >> >> >> >> This gives me a smaller line numbers by default, since I apparently have >> >> not configured an appropriate serif font (my default font is DejaVu Sans >> >> Mono). >> > >> > You can always customize the face. >> >> Yes, but the default should be sensible. At least on the systems I use, >> in emacs -Q, "Monospace" matches up with my default font. > > 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. It ensures, usually, proper size and a non-clashing style. If someone customizes their default face, then they could customize the line-number face similarly. Everyone else shouldn't have to do any customization. >> Is there a good reason why the fixed-pitch* faces don't inherit from >> default? > > How are fixed-pitch* different from any other face that doesn't > inherit from default? Going into this discussion, I figured that fixed-pitch* would be exactly like default, except enforcing, well, fixed-pitch; similarly for variable-pitch. If I customized the frame's default face to use, e.g., variable-pitch, then I would expect that "C-x +" increases its text size, like default. Actually, it seems to do that normally. Evaluate this in a buffer without font-lock-mode: (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?