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: Tick Reduction Date: Sun, 21 Nov 2021 16:11:47 +0100 Message-ID: <87sfvpmtl8.fsf@gnus.org> References: <87bl2hyzca.fsf@gnus.org> <8735nszpdv.fsf@gnus.org> <87sfvswrp8.fsf@gnus.org> <834k88woaj.fsf@gnu.org> <878rxkv980.fsf@gnus.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="6364"; 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, stefankangas@gmail.com, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 21 16:12:40 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 1mooWG-0001S6-2l for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Nov 2021 16:12:40 +0100 Original-Received: from localhost ([::1]:59624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mooWE-0000qF-Ov for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Nov 2021 10:12:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mooVc-0000AC-NV for emacs-devel@gnu.org; Sun, 21 Nov 2021 10:12:01 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=44052 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 1mooVX-0000zZ-48; Sun, 21 Nov 2021 10:11:56 -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=cnFOKH8C1/z9JjBP62VRxifvj1OnmyXaOaWDyWmbkAA=; b=tjhm3e9avGHUAz5AlHroOIELsY U+KXxh4oLDGHCEFGaCClpOBW77fi/uvgAwlJjPxL7Q7BCti4FUpFT4jebOe/KsSB0btyyk6kmrVQj CpzFAGTCSI43sGk775G71W5pZ8MPpWZRie8Jz27tNQZEmIiMRCs/BRCX6EUhjbgxF3CY=; 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 1mooVQ-0006gz-JU; Sun, 21 Nov 2021 16:11:51 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEX+/v7Y2Ne2uMZf X28yN19ydo/CvaejopyGhIHV06jUzp749rH///8D7hxAAAAAAWJLR0QMgbNRYwAAAAd0SU1FB+UL FQ8EB2seobcAAAGSSURBVDjL3ZE/S8NAGIcvUZSSJSmCoEt7Dl2VChW7KMkH8M/QVRFaTCdT5Giz qZNdFEGptzhV2iy6tN79vpyXaqrJxS/gLQe/h/e993mPkP91nD/yDfcwNzc9z41v46vSMBKw4Hne iepHV2lg0wotJ2DF87Y3CWGV4zJzjpgz77vodm72CKGNBr0oBkVaSsAyO6/uq5sFQamyatD5jEtj 3omBbTaCBjHNOSico7X15eMw55dTgePjQN1FFlSCy5+hCAGmtprfcRxqE8P+EexikGu+5jfHpZy8 wEet9lUOWIfkfGrrgCM+d1pucNm5DnkeeKi6tRxggl33RPSuV/ihbEZSryAMctgVL3pFyGXPx70O ADFsRyIP4BmhDmaCsis0dWOggBjx0/yNAJNMvjRL4yptt/wJGNc43rLA34kkr0dZEw5W3R3JEBil cqv3WEeNtyAhU72s21YIeRZigvQe0UcEqOclRLqiDyXyqhSj9FhWGAOpNNrpb7e63+LKkaenEslK kFqw5SdAZMBQJr1+P/4JKPe+TM+pmRAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMTEtMjFUMTU6 MDQ6MDcrMDA6MDCfCXTrAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTExLTIxVDE1OjA0OjA3KzAw OjAw7lTMVwAAAABJRU5ErkJggg== X-Now-Playing: Delarosa and Asora's _Crush the Sight-Seers_: "Ossabaw" In-Reply-To: <878rxkv980.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 19 Nov 2021 09:30:07 +0100") 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:279855 Archived-At: Lars Ingebrigtsen writes: > And... I think that also fixes the issue with "--" changing to "**"? > That is, we'd have something like: > > (defvar-local mode-line-mule-info > `("" > (:min-space 5 > (current-input-method > (:propertize ("" current-input-method-title) Or rather -- what we want here is really to make each glyph behave as it came from a monospaced font? That is it, should (at least) have the "normal character width". Which is kinda also what was discussed in the thread about CJK characters: That there should be a way to specify that glyphs should have a width that's an integer multiple of the normal character width. (So it's not the same, but if we introduce this, we might keep that in mind.) But in this context, it might mean that we introduce a mode line construct like: (defvar-local mode-line-mule-info `("" (:monospace (current-input-method (:propertize ("" current-input-method-title) or a text property like (defvar-local mode-line-mule-info `("" (current-input-method (:propertize ("" current-input-method-title) :monospace t/1 and the display machinery would then add some empty pixels after the glyph if it's narrower than the normal character width. I think the text property makes more sense, because then we could use it generally in Emacs, not just the mode line. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no