From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Variable pitch text filling Date: Mon, 29 Nov 2021 14:46:57 +0100 Message-ID: <87zgpn13ce.fsf@gnus.org> References: <87ilwft1ph.fsf@gnus.org> <837dcv2c2c.fsf@gnu.org> <875ysft0l3.fsf@gnus.org> <835yse3n01.fsf@gnu.org> <87lf1ars0f.fsf@gnus.org> <83czmm11t0.fsf@gnu.org> <87h7byrplm.fsf@gnus.org> <83a6hq0zey.fsf@gnu.org> <87lf19r7uv.fsf@gnus.org> <83tufxy7f0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36074"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 29 14:54:32 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 1mrh72-0009CY-95 for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Nov 2021 14:54:32 +0100 Original-Received: from localhost ([::1]:57632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrh70-00088h-NF for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Nov 2021 08:54:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrgzq-00044G-Jl for emacs-devel@gnu.org; Mon, 29 Nov 2021 08:47:06 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=47288 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrgzn-00028k-Ti; Mon, 29 Nov 2021 08:47:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zs+Fd5SJH6Fy+rSEZaRttn2Bf3wEgJeuZIkhfzWd8oE=; b=rRug5XWp10rZcoms+nwp3Zyuqm ZPWZpqRYXfntwPxHVCmJd1W9Xrr6vGelizLmvwdsa24AXTtlk3Pzl0BUxqdvvqb6VSyUUYgTocM1C 4AeAU8snXD1jOJ4cHh+69obiKtNnmPFuBXYd7Z3BtqefqR+gK0+mGTFW3NJOehMdVYq0=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mrgzi-0004nl-Bz; Mon, 29 Nov 2021 14:47:01 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEUiMDlbgqtin93/ //8bMBNBAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+ULHQ0nOKXhB2oAAAGMSURBVCjPTdDBiqNAEAbg 6kHnkFMCGhgfYZ7CGWJgbwopwT7NIQbsp9h5g8yCwnjKgDb2/5RbZTawjZePsqv/KqIa4UTrORB9 g/mOlKgCFyWRWT9uuVLkWmnbs/4jiIk8TytMWRENzVzwblu0nBCN4/Td7qJjV8sLGBbmNK67PwJf LxUnccG5dINdkioSaDfUS8p53J5W+CUtjGnXBK6/vsjVFcaNP5xs6SVXbEbflAnFpcbYwNtrQUbx 5IB6otzohOYV6M70QRrX1EDoqLxX0jtiznVyi87lZXbWDuRRut+yo0gB3Nyn3Ow1g/fL621wmHT2 AdhMvUMgis0ROM6dvC27NM8I77AjtGQKTDFGD4C25g2BEaAgwePIOzv3H0wGWInuBFezB8YanZUI N60MHFjxkQp8H5qjLOgWbwRzsO+SoM8FYe7s7kTmS+Axd9lBUKz4abLP6IG5ya4xPfFBu/nGTrLe obAI7tLYRXP+2gjqw37WaCzLwAONpq6jfb/iIqj+obvImBw9f9Ff0Oq5iCmtxEQAAAAldEVYdGRh dGU6Y3JlYXRlADIwMjEtMTEtMjlUMTM6Mzk6NTYrMDA6MDDOdNwYAAAAJXRFWHRkYXRlOm1vZGlm eQAyMDIxLTExLTI5VDEzOjM5OjU2KzAwOjAwvylkpAAAAABJRU5ErkJggg== X-Now-Playing: Consolidated's _We're Already There_: "The ol' Mass Extinction Blues" In-Reply-To: <83tufxy7f0.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Nov 2021 16:55:47 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=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.29 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:280475 Archived-At: Eli Zaretskii writes: >> Right. This reminds me -- perhaps we'd want to distribute the extra >> space both before and after the glyph, to centre it within its allotted >> width? > > I don't think so, because that would move the leftmost character away > from the window-edge. Yes... but it that necessarily bad? I'm not sure what CJK users (which is who this would be relevant for) would prefer here -- please do chime up if you're such a user. >> It's the same as for all these width specs -- it's FRAME_COLUMN_WIDTH. > > That's not the best possibility, because if some part of the affected > text uses a smaller font, you'd see glyphs that are too-widely spaced? All these specs (`space' and whatnot) refer to FRAME_COLUMN_WIDTH in their logic. (I mean, for those parts that aren't actual pixels.) And I'm not quite sure what you mean here -- we're talking about allowing people to "quantise" the widths to some common multiple, which means that that is indeed what you'd see. But that's what the user asked for. So mixing in smaller fonts in such a display wouldn't really be part of the remit... We could add a fourth spec to quantise to the font's "typical width", but I don't see the use case for that. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no