From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniele Nicolodi Newsgroups: gmane.emacs.devel Subject: Re: Increase default `line-spacing' to 0.05, 0.10 or 0.15 [proposal] Date: Wed, 5 May 2021 14:18:59 +0200 Message-ID: <483dd6dd-d732-6f94-066f-9f07499ee430@grinta.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12958"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 05 14:20:39 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 1leGW6-0003EF-KK for ged-emacs-devel@m.gmane-mx.org; Wed, 05 May 2021 14:20:38 +0200 Original-Received: from localhost ([::1]:45966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leGW5-00011m-Jv for ged-emacs-devel@m.gmane-mx.org; Wed, 05 May 2021 08:20:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leGUj-0008UB-Qc for emacs-devel@gnu.org; Wed, 05 May 2021 08:19:14 -0400 Original-Received: from grinta.net ([109.74.203.128]:51534) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leGUd-00075c-Fu for emacs-devel@gnu.org; Wed, 05 May 2021 08:19:13 -0400 Original-Received: from black.local (ip-109-41-64-171.web.vodafone.de [109.41.64.171]) (Authenticated sender: daniele) by grinta.net (Postfix) with ESMTPSA id A21D2E0503 for ; Wed, 5 May 2021 12:19:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=grinta.net; s=2020; t=1620217142; bh=f7USYVXBdLCYE6MyFqT1KCEIyezfw/lwfyXEhbyQPLk=; h=Subject:To:References:From:Date:In-Reply-To:From; b=HH5UnXRLAz4Tk8t7K2xRVRupMx9L4/rSCz2Ais1rn86cTBcRDEo0eLLOHNAqRj0lk IkFwYCQxrmypgOB7qqNfwD10MLTw64Zz/4kS3LIELdxOaV26FMDavSce3IRjmhU8f/ jCWb7Usvp5yb78BhXm7xF4p6wdDIx3J+HN2oUMJ8hvA3D/zJGk+ihGm5zRewEOJpld y0FtkzpeTAg7gqOUzpmdE8uQMNdSOAIN1wbymgML8QJC4HbCQQWqcgyeyGSlIeE9wm ojQfuBw3YZBNhbUEo/NtHK/+/6PY68yGY/MWvMPjsTAX6mv6x0QjT4igL3blrh3EIt 2vscr/zrBQc0g== In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=109.74.203.128; envelope-from=daniele@grinta.net; helo=grinta.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:268907 Archived-At: On 04/05/2021 17:57, Stefan Kangas wrote: > C. A very conservative option is to use 0.05, which would be a small > incremental improvement on what we already have. [58 lines, 3.33 %] > > D. The default. [60 lines, 0.0 %] On my system (macOS, Emacs 27.2 from https://emacsformacosx.com/) with some fonts, these two settings produce the same result. It seems that the "resolution" for this setting is 0.1 (thus 0.5 is rounded to 0.0). In general, the visual distance between lines depends on the font: with some fonts I use a line-spacing of 0.0, while others require setting line-spacing to 0.15 to obtain roughly the same distance. Cheers, Dan