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 19:22:12 +0200 Message-ID: <831r2ws0jf.fsf@gnu.org> References: <87ilwft1ph.fsf@gnus.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> <87sfvc8kdw.fsf@gnus.org> <83czmgs7t1.fsf@gnu.org> <87k0go8ios.fsf@gnus.org> <83bl20s2dp.fsf@gnu.org> <87wnkojmny.fsf@gnus.org> <837dcos1oy.fsf@gnu.org> <87o860jm27.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5618"; 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 18:23:29 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 1msTKL-0001GR-L5 for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 18:23:29 +0100 Original-Received: from localhost ([::1]:46342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msTKK-0008O6-CT for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 12:23:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msTJL-00072F-PI for emacs-devel@gnu.org; Wed, 01 Dec 2021 12:22:27 -0500 Original-Received: from [2001:470:142:3::e] (port=59686 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 1msTJL-0006dV-Gd; Wed, 01 Dec 2021 12:22:27 -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=TBG5bE9B9ix/kVe9JLFIdTOvqcW4PUJ+1bjoh6+3T/o=; b=kCqonMoEbWtt x3pC6y5EdG4P6uJbFTDxNeDGP+YLryG41kq9qpB9MJQMO7M0ETSjYyyrQiOi5eCvfvuV0ENax8F59 oNLWOWm1ylXblfo4BSSJQUI+3aIBJrfzDIu0hmVClrVueCF4jFmRmJEsHK6pI/Hf4gn6nFflTavPP wUzqyLz7hmDCpGwGaiDw6k2mnP18jy+BCk/ItFi5M+9Uj0+PlbJHasPHv3jHrMcZsV9soKEfNlKbp hxJ3opyhK963E89gcl34wvSM3Y5idUt1jDHc242AIjCvHB0WlCbjnqvvl+lX2ZGngKwqMI6X3+MkL TrPj7ltITJjAvDp/Yw282g==; Original-Received: from [87.69.77.57] (port=2011 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 1msTJL-0005q7-8X; Wed, 01 Dec 2021 12:22:27 -0500 In-Reply-To: <87o860jm27.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 01 Dec 2021 18:02:08 +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:280652 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Wed, 01 Dec 2021 18:02:08 +0100 > > >> In addition, there should be a way to specify that the space should be > >> an integer multiple of the "normal character" width. > > > > Is this per character or per string? > > I was describing the char-spacing thing, not the min-width thing. :-/ > So, per character. > > > And what happened to the "recursive" part of what you described > > earlier -- is that no longer needed? > > If we implement the char-spacing thing as above, then we don't need to > touch the min-width thing, yes. I'm sorry, I'm confused now. Let's go to your original 3 requests: > 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") 1) is for mode line, and is satisfied with min-width display spec (which needs to be fixed, perhaps, see bug#52183). 2) is for pixel-resolution justification, and will be satisfied by a new kind of display spec. 3) will should be per-buffer (or globally), and will be satisfied by a new buffer-local variable. Is something missing?