From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: Re: master d014a5e: Use fixed-pitch font for display-line-numbers Date: Tue, 11 Jul 2017 23:18:00 -0400 Message-ID: <20170712031800.GA7133@holos.localdomain> References: <20170711151708.4322.33014@vcs0.savannah.gnu.org> <20170711151709.2AE9822E0A@vcs0.savannah.gnu.org> <8760eyv7mc.fsf@holos> <83o9sqidj8.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1499829499 18568 195.159.176.226 (12 Jul 2017 03:18:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Jul 2017 03:18:19 +0000 (UTC) User-Agent: Mutt/1.8.3 (2017-05-23) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 12 05:18:13 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 1dV8AE-0004EA-Me for ged-emacs-devel@m.gmane.org; Wed, 12 Jul 2017 05:18:10 +0200 Original-Received: from localhost ([::1]:50068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dV8AH-0007QX-1g for ged-emacs-devel@m.gmane.org; Tue, 11 Jul 2017 23:18:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dV8AA-0007QG-FM for emacs-devel@gnu.org; Tue, 11 Jul 2017 23:18:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dV8A7-0007is-99 for emacs-devel@gnu.org; Tue, 11 Jul 2017 23:18:06 -0400 Original-Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]:35518) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dV8A7-0007ia-3i for emacs-devel@gnu.org; Tue, 11 Jul 2017 23:18:03 -0400 Original-Received: by mail-qk0-x22f.google.com with SMTP id 16so8969555qkg.2 for ; Tue, 11 Jul 2017 20:18:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rjE7EYv6rev0FbON3KBWPSNr+ybt6bmL+KOCeiaJuso=; b=Gb2OSVszAJKYO83RRWtMfI+74qy9YvjybIKCVTPeG4zhKZ0OTMSW+1qMt1nEYuo/nU eDih02XrbZNzAcR6Xkjy9qUdZjbP+0ZQnTgPkZO2nYSb3JQtNNUN7NWEY+CAxZdVVFGK F77dtM/CNWY3GwE4HBYIuELMcmrGPiY982ZvfG0sDWNXV6TPqSjgdu2IULL3yNKeoTeT TlgkDKjAB02EG4w3yCKO5FMFaCGLntQ9Yp0lN6rrtvUQRjYv0Dp86SZx1EpiKKWk9K/L VV9W1J/n8ncW3kP3Octkd09QX3o8wHjfXvCN3npeaw3sPpNhS3QZ7wZx4qx0d17LQ4BE z08w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rjE7EYv6rev0FbON3KBWPSNr+ybt6bmL+KOCeiaJuso=; b=JMfaptR9ZZthK1TsZROPNGSpzW15glpgPjDGHcozbyqy8L3yS5f4EG6RCYYZCWXKyw TDFuz3dMvFIoTp356XetM17FBKnYsptOOXCECwRhE47gYMLpvRrpxa0qZsIf9IKmKZgF U+fR3fDWl1010WyHl3Mlx6IUJD1hytzJTZ1Syrbgh3L1NUDBYEJSYxSHdcmyy43fVwVy Dy4qvrnV8XZzI8XT/r/Lz0XFBO06qYB+KEnTfUU8kvoyW3kbfk4z1NvxpqgvH6FfhC1w /N6vkq6BIbi4sFtDXnjRCv3zc6Lpp0iDbe56DLVGCd5Gyrq9Wd/pxEs7YMA2tyXP5/Qg KV+w== X-Gm-Message-State: AIVw113RpMIg2N7+vp3sBPzeBA6g3zFjXOd1fUKMYqMbVAEDhWD2F5Ig +JmOvHfV2oO7I8UG X-Received: by 10.55.73.144 with SMTP id w138mr3830779qka.249.1499829482423; Tue, 11 Jul 2017 20:18:02 -0700 (PDT) Original-Received: from holos.localdomain (pool-173-64-125-158.bltmmd.fios.verizon.net. [173.64.125.158]) by smtp.gmail.com with ESMTPSA id r19sm975784qkl.15.2017.07.11.20.18.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 11 Jul 2017 20:18:01 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id EAF0868E75; Tue, 11 Jul 2017 23:18:00 -0400 (EDT) Content-Disposition: inline In-Reply-To: <83o9sqidj8.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::22f 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:216522 Archived-At: On 12/07/17 at 05:39am, Eli Zaretskii wrote: > > From: Mark Oteiza > > Date: Tue, 11 Jul 2017 20:09:15 -0400 > > > > eliz@gnu.org (Eli Zaretskii) writes: > > > (defface line-number > > > - '((t :inherit (shadow default))) > > > + '((t :inherit (shadow default) :family "Monospace Serif")) > > > > Niggling, but I think it would be better to simply add the existing > > monospace serif face to the inherits, e.g.: > > > > (fixed-pitch-serif shadow default) > > I don't necessarily mind, but can you explain why you think it would > be better? > > One disadvantage of that is that now any changes to fixed-pitch-serif > must also consider their effect on line-number. Ah, I considered it a good thing to have one less place where a particular typeface (well, in this case an alias) is specified. I think of fixed-pitch, fixed-pitch-serif, and variable-pitch as places to pick a family so other faces can inherit from them by default. Put another way, one would only have to change one face to change the monospace serif, instead of however each face specifying :family "Monospace Serif" or some other typeface. Though, perhaps I'm misunderstanding face-font-family-alternatives.