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: Thu, 25 Nov 2021 16:12:56 +0200 Message-ID: <835ysg5no7.fsf@gnu.org> References: <87bl2hyzca.fsf@gnus.org> <87v90khaa8.fsf@gnus.org> <83zgpwp7v2.fsf@gnu.org> <87tug4fdn7.fsf@gnus.org> <83pmqsp0m7.fsf@gnu.org> <87k0gzyy8k.fsf@gnus.org> <835ysjoupv.fsf@gnu.org> <8735nnyob1.fsf@gnus.org> <83y25fneeh.fsf@gnu.org> <87pmqrx7rh.fsf@gnus.org> <83tug3ndaj.fsf@gnu.org> <874k81vmlf.fsf@gnus.org> <83sfvl8wjw.fsf@gnu.org> <87o869y0v2.fsf@gnus.org> <83fsrl8owz.fsf@gnu.org> <87o869wkcx.fsf@gnus.org> <83bl298n9b.fsf@gnu.org> <87pmqpv1jm.fsf@gnus.org> <834k818jwm.fsf@gnu.org> <874k80fkpm.fsf@gnus.org> <83bl285o6b.fsf@gnu.org> <87o868cor3.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9064"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, stefankangas@gmail.com, dgutov@yandex.ru To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 25 15:14:02 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 1mqFVi-00028d-0s for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 15:14:02 +0100 Original-Received: from localhost ([::1]:48706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqFVg-0000Wg-QB for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 09:14:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqFUd-00089j-6H for emacs-devel@gnu.org; Thu, 25 Nov 2021 09:12:55 -0500 Original-Received: from [2001:470:142:3::e] (port=43090 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 1mqFUc-0003wV-N5; Thu, 25 Nov 2021 09:12:54 -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=eSrBYoAfxY/o1wEgGtUaPXkK7RPcKN6jxM3MIbU4o/k=; b=knlJlvgvQ/CW dt6Jq+FogM0PIGlUlQt1HdkXWmXY3EUItMjgqcrSO9idNUqh6hoJEokhEaY7kUGhA3PNlL59uEclP U3+1z98BlpVimg10Bt56azYLGCfIjJFZj7704ftRrQvX+bl2j73AwLW0qjhRoPnpZt9uel4Q+54Me egjzrzEd4LKYNM1wIRQH/8VsnO7QqS9FILXL2Xh9snpN4V0WYJsicn0P5AqMV1TzzRqJAXjyq/UF1 Bfc8UELrBcLQh1wAaY4fUJhP96DzB/+yL93yJ8tJ+Bzqq15N0pD2NGmvFAN47wCbBAxOGJiXpIbH+ C37RqlVeZ1dC5dFuNWs8+w==; Original-Received: from [87.69.77.57] (port=1820 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 1mqFUc-0001fa-Cq; Thu, 25 Nov 2021 09:12:54 -0500 In-Reply-To: <87o868cor3.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 25 Nov 2021 15:07:44 +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:280128 Archived-At: > From: Lars Ingebrigtsen > Cc: dgutov@yandex.ru, stefankangas@gmail.com, emacs-devel@gnu.org > Date: Thu, 25 Nov 2021 15:07:44 +0100 > > Eli Zaretskii writes: > > > The value of mode-line-percent-position is '(-3 "%p"). So in the > > second example you propertize the thing which Emacs produces from the > > %p mode-line format. But %p produces a C string, and C strings cannot > > have text properties. That's why handle_display_prop isn't called: it > > is never called for C strings we display. > > But... the displayed string does end up with a text property -- > help-echo etc. So text properties work fine, I think? It's just that > we don't call the `display' handler. I didn't say text properties on the mode line didn't work, I just explained why we disregard text properties that are put on C strings.