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: Tick Reduction Date: Sun, 21 Nov 2021 22:22:00 +0200 Message-ID: <83a6hxqmxj.fsf@gnu.org> References: <87bl2hyzca.fsf@gnus.org> <8735nszpdv.fsf@gnus.org> <87sfvswrp8.fsf@gnus.org> <834k88woaj.fsf@gnu.org> <878rxkv980.fsf@gnus.org> <87sfvpmtl8.fsf@gnus.org> <83pmqtqvj5.fsf@gnu.org> <87bl2dmnfa.fsf@gnus.org> <83mtlxquh7.fsf@gnu.org> <877dd1mlsd.fsf@gnus.org> <83k0h1qss5.fsf@gnu.org> <8735npmkm5.fsf@gnus.org> <83h7c5qpag.fsf@gnu.org> <87czmtl2uv.fsf@gnus.org> <83fsrpqog1.fsf@gnu.org> <87wnl1jnfa.fsf@gnus.org> <87lf1hjmmi.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24404"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dgutov@yandex.ru, stefankangas@gmail.com, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 21 21:23:01 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 1motMb-0006AO-8G for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Nov 2021 21:23:01 +0100 Original-Received: from localhost ([::1]:42264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1motMZ-0007Ol-8l for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Nov 2021 15:22:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1motLY-00066k-40 for emacs-devel@gnu.org; Sun, 21 Nov 2021 15:21:56 -0500 Original-Received: from [2001:470:142:3::e] (port=33902 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 1motLX-0005DP-K3; Sun, 21 Nov 2021 15:21:55 -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=ipRJhITMMAk0P/bYBOpmhOmtQqo8RlcyKJwK5F/ZIEc=; b=ffafpZf0TmP+ JLvf9gUM29mtujafmFGn4ahkpl7qFO5iVjY4/hz3EJiWyCpI+1qJ4la3Zg+lNsbShOLRtCsqAoIEm 3BUYOSSKgXL0+PefA3H+6VEHv6jxGNAMu4MWb7cZKmoXIyv9OKrqa60lkVOdzFPTHSJJDl9SoU7IO KoAwvwt/ymGMHKhcqKTh4gNT8acx9KMN2W9AwTQE5h/LXQ4Yf8gxBjgYcbs08+NXETBhxUupLGax6 kjdGSwH7N3v+nVFuactmrmynBMg+rQ/1MOUwxl4rY5sFMHpAG4QBE/l3odmqd9rx355AkN4uonPcz HZEpvyAVDNc7THBjjTaUwg==; Original-Received: from [87.69.77.57] (port=4563 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 1motLX-0003ML-8Y; Sun, 21 Nov 2021 15:21:55 -0500 In-Reply-To: <87lf1hjmmi.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 21 Nov 2021 21:10:29 +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:279886 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org, stefankangas@gmail.com, dgutov@yandex.ru > Date: Sun, 21 Nov 2021 21:10:29 +0100 > > @item :relative-width @var{factor} > Specifies that the width of the stretch should be computed from the > first character in the group of consecutive characters that have the > same @code{display} property. The space width is the pixel width of > that character, multiplied by @var{factor}. (On text-mode terminals, > the ``pixel width'' of a character is usually 1, but it could be more > for TABs and double-width CJK characters.) > > :relative-width is used only one place in our code base, and I'm not > quite sure what it's trying to achieve there, either. > > The doc string here seems to be saying something about a series of > characters, but the one usage we have only puts it on a single > character, apparently? This is a 'display' text property, right? It is placed on text; instead of that text Emacs will display a stretch glyph (white space) whose width is calculated as the pixel width of the first character "covered" by the property multiplied by FACTOR.