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: Wed, 01 Dec 2021 15:33:47 +0100 Message-ID: <87sfvc8kdw.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> <83o865xuf3.fsf@gnu.org> <87v90b136m.fsf@gnus.org> <83tufvukjj.fsf@gnu.org> <875ysbxal0.fsf@gnus.org> <83h7bvugxm.fsf@gnu.org> <87sfvessx6.fsf@gnus.org> <87wnkp9c3t.fsf@gnus.org> <87ee6wanra.fsf@gnus.org> <83r1awse4k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8782"; 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 Wed Dec 01 15:34:49 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 1msQh6-00024D-LB for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 15:34:48 +0100 Original-Received: from localhost ([::1]:39772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msQh5-0000hc-FJ for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 09:34:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msQgL-00087H-RL for emacs-devel@gnu.org; Wed, 01 Dec 2021 09:34:02 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=43298 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 1msQgI-0006iU-2s; Wed, 01 Dec 2021 09:34:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=r1ESGkd8X2Qs6lXZmqe82gMBwoFcOKtl0evkN2t13KI=; b=iDroM0kdQ6GPn1Gq8iTbu7tnCo pBBWHtENE8kcTzDPi2fkGJNmUWsYWmmQ+QAlFHNYlQmGq30KvGSdPA2HAhjf82d2ktKzngBk1wXLE AIrr0qPDG31IuPSVaN4ms5y5fSiMQxHY+r8C9qW7skaKi1hiqqz4MBuhflY9NAvkOYLg=; 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 1msQgB-00088J-FA; Wed, 01 Dec 2021 15:33:54 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEVAPSuUbELl2LDA rET///9X7VW+AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UMAQ4aMRx8fR4AAAF8SURBVDjLdVPJgcQw CDNJA7ZpYAwNGOi/twUf2WQ3w2MOKQhxJKXXKOkbDu8E5Ph4wRN8viXIlZFvxMDfa9d3JfjiFtLR nwjKr9mHdCkDysBPHGUwfxsDQM4hczyVoIGZ9pSX3hXHpxITl0J/mjuYSCoVJXrO6SBqgNTI4x+h NGMVKW0UJ1kw6dSCMp8gaEgjR6cW2PzWKsYPLW27COMiJoKrFrFZ0SHGj7lXMzbBwfT73E/zISZv 0kPsnsIxjDYYXXMBH1xOWOKXJhfjvgmPBP7vQO3hb0uVuT2witrO8HURUTghE1YOLdpKGJayT8FE oteLKOZMBm2RCZfUIMxyqm7HF89rKLAI8e57mKhVNo5BWFc/ITd9iiyhiZuQGToBH7xMRSizdhw7 gnttI2WVqHEiblc7Rdu8Ukt3LRzEuGu7S/WiRm1AS6pMX1nJxcamy97taBGI8zkJuN6FII4YRJ63 cbsG8J3GCf570VCuo32G+hG8vsbkhP5K/QBJST3yJYtE6gAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAy MS0xMi0wMVQxNDoyNjo0OSswMDowML0Zp1sAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMTItMDFU MTQ6MjY6NDkrMDA6MDDMRB/nAAAAAElFTkSuQmCC X-Now-Playing: David Bowie's _Brilliant Live Adventures (4): Look At The Moon! (live Phoenix Festival 97) (1)_: "Fashion" In-Reply-To: <83r1awse4k.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 01 Dec 2021 14:28:43 +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:280627 Archived-At: Eli Zaretskii writes: > I thought you asked me (separately ;-) to work on both. Less work for me is less work for me. =F0=9F=98=80 >> 1) Be able to specify a min width based on a "standard" char width (for >> "-" in the mode line, for instance) >>=20 >> 2) A specific pixel width (for justification, for instance) >>=20 >> 3) The integral multiple (i.e., "grid") >>=20 >> The third thing should be a buffer-local variable in addition to a text >> property. > > We already have 1), it just needs some loving care, AFAIU? What is > missing in min-width to provide 1) ? For min-width provides both 1) and 2), but it's inefficient for both, so I think it makes sense to allow both these things in the char-spacing (or whatever we're calling it) thing. As a practical matter, `min-width' doesn't support nesting now, and we'd have to make it recursive to allow having both a `min-width' on a series of characters and on separate characters (as we need in the U:--- thing in the mode line), which would further make `min-width' more inefficient. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no