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: Variable-width font indentation Date: Sat, 10 Mar 2018 10:20:47 +0200 Message-ID: <83ina4uysg.fsf@gnu.org> References: <87inaiss6l.fsf@web.de> <83lgf6s3aa.fsf@gnu.org> <838tb5rxoe.fsf@gnu.org> <83lgf5q73p.fsf@gnu.org> <4742f0ae-86b5-48f9-4601-4dbba9e6380d@gmail.com> <83bmfzreaq.fsf@gnu.org> <83lgf3przh.fsf@gnu.org> <42d0c18b-8d14-bfe2-8f09-112787e8b0b4@gmail.com> <83zi3io9tr.fsf@gnu.org> <859ec725-acc3-22e4-ca26-28108c3e5e26@gmail.com> <83sh9ao086.fsf@gnu.org> <83muzhodkx.fsf@gnu.org> <83r2otumg6.fsf@gnu.org> <015c9878-2955-5ef9-cb05-a066b59c085f@cs.ucla.edu> <83o9jxueu5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1520669964 7543 195.159.176.226 (10 Mar 2018 08:19:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Mar 2018 08:19:24 +0000 (UTC) Cc: cpitclaudel@gmail.com, eggert@cs.ucla.edu, emacs-devel@gnu.org To: James Cloos Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 10 09:19:20 2018 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 1euZiq-0001sc-4T for ged-emacs-devel@m.gmane.org; Sat, 10 Mar 2018 09:19:20 +0100 Original-Received: from localhost ([::1]:49587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euZks-0000Ta-Sn for ged-emacs-devel@m.gmane.org; Sat, 10 Mar 2018 03:21:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euZkJ-0000TV-BM for emacs-devel@gnu.org; Sat, 10 Mar 2018 03:20:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euZkG-00063T-76 for emacs-devel@gnu.org; Sat, 10 Mar 2018 03:20:51 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euZkG-00063P-3Z; Sat, 10 Mar 2018 03:20:48 -0500 Original-Received: from [176.228.60.248] (port=2517 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1euZkF-0007fX-8p; Sat, 10 Mar 2018 03:20:47 -0500 In-reply-to: (message from James Cloos on Fri, 09 Mar 2018 19:09:23 -0500) 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:223574 Archived-At: > From: James Cloos > Cc: Paul Eggert , cpitclaudel@gmail.com, emacs-devel@gnu.org > Date: Fri, 09 Mar 2018 19:09:23 -0500 > > I've long thought that a good start is to show the initial whitespace in > fixed width. > > That doesn't cover aligning things like the right column of *-boxes, but > is a good start and has low-complexity. I'm curious: why do you think this would be a good start? AFAIU, it will cause misalignment with any font/font size other than the one where it fits the actual size of the font (assuming that font is fixed-pitch), so how can it be a step in the right direction? I think initial whitespace should rather change its size to match the size of the font---then it will produce nicely indented display with any font. Or maybe I misunderstand what you mean by "fixed width". You did mean fixed width in pixels, yes? If not, then what did you mean?