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: Variable pitch text filling Date: Wed, 01 Dec 2021 14:28:43 +0200 Message-ID: <83r1awse4k.fsf@gnu.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33008"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 01 13:30:30 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 1msOkn-0008No-Gg for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 13:30:29 +0100 Original-Received: from localhost ([::1]:57920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msOkm-0003J2-FS for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 07:30:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msOjL-0001RB-KN for emacs-devel@gnu.org; Wed, 01 Dec 2021 07:29:00 -0500 Original-Received: from [2001:470:142:3::e] (port=45352 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msOjL-0005B1-B9; Wed, 01 Dec 2021 07:28:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=t7kTxm8gEWyYr88+zxj1UiFYGJdh1xlNV5adKwAVmGE=; b=JwNMGIW/N1KO 2mW+e3BnTjHdH90ZVA+0yAklCMo8soSE8rw/NLgwKcD63fpykY8iJawvmhppjPrZNfLVVZ+BJ0mMP awRhhD7YIjDF4RHJNkyX4TVGlWDIbTr6AD3KpJRMK9q2IQNJ5Dif4ufuyhf6eHV316bWe1O7GBPL0 hdQl2NezYqW7J6KJcMEq4eT+hKmoD6g3YPCsUJVfItOnxG+nP50/pAxunbkuXHflt8X7EkeHKw5iX TxqFe54XLmVx2UWjgrt9jwi9lfbFR2P46uVZruHckfxR9s9zPBOAI6L9x7uovpSoclucwGTwtFnW6 bKhH9T7C+XToq9D7r9FygQ==; Original-Received: from [87.69.77.57] (port=3292 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 1msOjL-0006xN-2I; Wed, 01 Dec 2021 07:28:59 -0500 In-Reply-To: <87ee6wanra.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 01 Dec 2021 06:38:01 +0100) 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:280607 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Wed, 01 Dec 2021 06:38:01 +0100 > > Eli Zaretskii writes: > > > I was under the impression that you asked me to do this. But don't > > let this stop you from doing that yourself, if you want. > > You said you were going to work on the display_string min-width/C string > thing, but I don't recall discussing who was going to do this thing > (which is totally separate). I thought you asked me (separately ;-) to work on both. > > AFAIU, we need 2 separate features: (a) a variable to force all > > characters to have width that is an integral multiple of some > > "standard" pixel width; and (b) a display spec that would enlarge the > > pixel width of every character with that display property by some > > number of pixels. The display spec can be called char-width. > > Well, there were three features that should all be text properties. To > recap: > > 1) Be able to specify a min width based on a "standard" char width (for > "-" in the mode line, for instance) > > 2) A specific pixel width (for justification, for instance) > > 3) The integral multiple (i.e., "grid") > > 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) ?