From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Increase default `line-spacing' to 0.05, 0.10 or 0.15 [proposal] Date: Sat, 08 May 2021 09:19:21 +0300 Message-ID: <83zgx5agt2.fsf@gnu.org> References: <83mtt7chrt.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31029"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 08 08:24:18 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lfGNt-0007v4-Mi for ged-emacs-devel@m.gmane-mx.org; Sat, 08 May 2021 08:24:17 +0200 Original-Received: from localhost ([::1]:57202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfGNs-0008Dd-4K for ged-emacs-devel@m.gmane-mx.org; Sat, 08 May 2021 02:24:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfGJH-0002O2-E1 for emacs-devel@gnu.org; Sat, 08 May 2021 02:19:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53132) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfGJG-0007fO-Tx; Sat, 08 May 2021 02:19:30 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2137 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfGJA-0005Tb-Mp; Sat, 08 May 2021 02:19:25 -0400 In-Reply-To: (message from Stefan Kangas on Fri, 7 May 2021 13:43:56 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269018 Archived-At: > From: Stefan Kangas > Date: Fri, 7 May 2021 13:43:56 -0500 > Cc: rms@gnu.org, emacs-devel@gnu.org > > Eli Zaretskii writes: > > > IMO, we should provide both local and global settings. > > So how about this menu structure: > > Options -> Set Line Height -> In this buffer -> 100 % > -> 110 % > -> ... > -> 160 % > -> Global setting -> 100 % > -> 110 % > -> ... > -> 160 % First, "Line Height" sounds like incorrect name to me. Both Emacs and other editors out there call this "Line Spacing", so why not use just that (without the "Set" part)? And second, 7 predefined values sounds too much. I think we should have 3 predefined possibilities: 1, 1.5, and 2, and one more asking the user to provide the value. On the implementation side, I'm not sure I understand how do you intend to implement these values: 110% of what? Line spacing is eventually a pixel value; you can, of course, compute it in percents of the font size, but then the nominal spacing will not have the 100% or 1.0 value, right? So how do you intend to convert the value in the menu into the actual line-spacing value?