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: Fri, 03 Dec 2021 16:43:46 +0100 Message-ID: <8735n9zob1.fsf@gnus.org> References: <87ilwft1ph.fsf@gnus.org> <87wnkojmny.fsf@gnus.org> <837dcos1oy.fsf@gnu.org> <87o860jm27.fsf@gnus.org> <831r2ws0jf.fsf@gnu.org> <87fsrcjkik.fsf@gnus.org> <83y254qkq3.fsf@gnu.org> <87y254i56e.fsf@gnus.org> <83tufsqkd3.fsf@gnu.org> <87tufsi3x7.fsf@gnus.org> <83o860qi1i.fsf@gnu.org> <87czmgi2ec.fsf@gnus.org> <83lf14qgpu.fsf@gnu.org> <87fsrcgmdu.fsf@gnus.org> <83ilw8qg2s.fsf@gnu.org> <874k7sglur.fsf@gnus.org> <83fsrcqeq2.fsf@gnu.org> <874k7ro20z.fsf@gnus.org> <83r1avpf6g.fsf@gnu.org> <87tufrl70i.fsf@gnus.org> <83pmqfpcyd.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="5221"; 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 Fri Dec 03 16:45:45 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 1mtAkr-0001Dt-9J for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Dec 2021 16:45:45 +0100 Original-Received: from localhost ([::1]:51838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtAkp-0001eb-PA for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Dec 2021 10:45:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtAj5-0008WB-UT for emacs-devel@gnu.org; Fri, 03 Dec 2021 10:43:55 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=43248 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 1mtAj3-0000qv-QA; Fri, 03 Dec 2021 10:43:55 -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=HTDs+vYYZ0EyJn7Y5Vil/nmLuxhDrX4RaZWV+sJezj4=; b=N3S7fSaE5PH/sKV7tUbrcN+4I9 YEbTKQfZsJIWCgEQZmey5au1K5dALHTcN923KDahk3gMWhu27+PQS1D1ARCzMVDwYhlHi10NGBpq3 HupMirC2pKhOAlOddPtKe1REU6z8yw+Ck8X/V0uYMB7gycc8UAU2/4Jp6ANp9ivzlsUc=; 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 1mtAix-00049W-G0; Fri, 03 Dec 2021 16:43:50 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEV9fmOGhYlNTUx2 dhCCgRWAfhOvx8b///8EnAsbAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UMAw8cJIwwnM8AAAGsSURB VDjLdZJbkuMgDEUFU9XfwArgUvnvQbCBuLKBxux/KyORdAd73DeOLesg9MBkvDfOeSJ5+pfUICIn f0PfcvNuPM0lbl4Hkf9FJ2CugfPJmUvgUkhnEGRpoPg/sEnhNSDnL4GBDMBegATyFJJbgCN4GyPB 2JDgfZLCBQQbIqyFNYgKjOwJI8BCZRGD3G2SLAEhkXn6nwyEiBiD/Cj++KMToMtSEJPE8Q0wwXwo sO+9NMcE0QqQamf4M0pDnKYjyEHOvFN/vdcKgKo5DBcx+RMxi5G5yHiYPmFj+xLQFELBV/xwmQpY lDtzUYPnq6SixvvG3Iaodx5D/bIK1LDd1N9H51XEKFm8U4t/UJVCtvryt5+wRnwH7vmhCVYJkALv eJTGJ6A9F9Ryk4i2gj9zFBXo7RBEPSNDr8oNC5IGc9aJ4MYV2wr2nFGkhMZ1rYC4yqTKXtB6le0W 0HYBTWZZ8glIx5v0v8lWBzAnqifSdpzB4L4h93KsSme+j54fteQDGC/1VnK/AkNa3d7jojEW0uex vpIvQOu7Alpee4N3Ejl5Hoc+nh9P4/Vz+AcsorMXoWMPvwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAy MS0xMi0wM1QxNToyODozNiswMDowMAVrEv4AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMTItMDNU MTU6Mjg6MzYrMDA6MDB0NqpCAAAAAElFTkSuQmCC X-Now-Playing: Joni Mitchell's _The Hissing Of Summer Lawns_: "Sweet Bird" In-Reply-To: <83pmqfpcyd.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Dec 2021 11:34:34 +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:280843 Archived-At: Eli Zaretskii writes: > Not the widest glyph in the font, only the widest of the characters > that can be displayed in that place on the mode line. Which is a > small set, so there's no problem finding the widest one, even > statically and in advance. I don't think that will look nice. That is, the "%" glyph is usually so much larger than the "-" glyph that it'll just look weird. >> The goal is to make the "-" wide enough that you can click it, which >> is why they should have a char-spacing property of "one normal >> character". > > But it is also ugly to have those characters move when we display a > different character in one of those places. Someone asked to make > sure such a shift doesn't happen, so that users could click on the > same place more than once without moving the mouse, to toggle the > setting back and forth. If we don't make each of these characters a > separate string with its separate min-width, we cannot make sure such > shifts don't happen. I don't agree that that should be our goal here, because it'll look ugly. The goal here is to ensure that the user can click on the "-" glyphs. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no