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: prettify-symbols-mode, derived modes, and compose-region Date: Fri, 05 Mar 2021 16:57:41 +0100 Message-ID: <87mtvhpp8q.fsf@gnus.org> References: <83k0qmzit9.fsf@gnu.org> <587ee071-985b-450a-2df7-0b4bb0f97b48@posteo.net> <83blbyysox.fsf@gnu.org> <83ft19y6cx.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="20820"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , d.williams@posteo.net, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 05 16:58:36 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 1lICqa-0005Kj-52 for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Mar 2021 16:58:36 +0100 Original-Received: from localhost ([::1]:39508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lICqZ-00082H-4F for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Mar 2021 10:58:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lICpq-0006da-Mc for emacs-devel@gnu.org; Fri, 05 Mar 2021 10:57:50 -0500 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:54050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lICpo-0004Ls-Tr; Fri, 05 Mar 2021 10:57:50 -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=Ae8//g3ZMVkzIV0qicajyLLDP4j6lmZHY/p/LIXVdvg=; b=art4ga/MlNqH7wcgPzo5WQGHuA V4wMFIvUI0tVskpM+2kzXv8WDJiUAVDwQYjC8Qx2RSpWiZEhpFyjmHZ3oiL7WbW3cI+5ORupZdwVb CEZmvKuuH/cLj8sn6VRYh//+QY1JxQkhrkWsaPsb4OmqfPhrBIE9xT0vqJm3UPElwmpY=; Original-Received: from cm-84.212.220.105.getinternet.no ([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 1lICpj-0000JG-07; Fri, 05 Mar 2021 16:57:45 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEVMN1R1cpGjxd// //9sJFODAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UDBQ8zBXV+fPEAAAGOSURBVCjPNZLBatwwEIZH i+WzDdIe9t5LnkIOq54tmF9gn9cl0VMkb9BCXOitBytgPWVHdiobpI/R/Mz8IyJZamwzXFuIuop6 B1KhYzUWbY77CQFs/0ecmsIUywlvPV90+oLgSKvXL+iU93hIjhPtDhjBAooMGcDMkGuAtwzgUJPd YpF73wXiOgUsEzxJjsTrLRwV8FWyb1gi+Ike32bMn1Mpq7kRrhol7gEfayI4m95jHsCYCTpmyI+A RGwD25jZ/tgLjRY/K7TlqOB3kVb+pAqBIZ2UUjNpYGwLihhin4kRa6CkRSJAXEW6phwtvInayyFA GLiPy8tywNhu1C5pPX0z83hZ1v2jOnqlcX+ectpQp9AF/znnUvgm04CmqxNztgpkLm7w9lCjJkDd 4avxGpZ87+Lf00Sv78FHDmkVMPJF2QYpoOlh7PALdwsi1gjBidlpF6sUY2z0vJcsD0Ik+rsSZRl9 Z8X1sT/B+tHagZ9K2Yi8vJ1GOQ08zmm72j1ez+diSIrJOM5aPJai13+QCbIRe6UaeQAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMS0wMy0wNVQxNTo1MTowNSswMDowMI424zMAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjEtMDMtMDVUMTU6NTE6MDUrMDA6MDD/a1uPAAAAAElFTkSuQmCC X-Now-Playing: Cabaret Voltaire's _Keep On_: "Keep On (Mayday Mix)" In-Reply-To: (Stefan Monnier's message of "Fri, 05 Mar 2021 10:51:00 -0500") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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.23 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:266028 Archived-At: Stefan Monnier writes: > IIRC you can query Emacs about the size the character would have if it > were to be displayed right now in the currently selected window. > But you don't know that it's the same size as the character will have > when it will actually be displayed (and that char could have > simultaneously two different sizes in two different windows, of course). That's true, but for shr it doesn't (in general) make much difference. That is, if you display a rendered HTML document on two different displays, it'll look awful anyway, until you re-render tables and the like with the new width of the glyphs. That is, a layout with | foo bar | more foo | | zot | | rarely looks on two different displays -- even if the :width/:align-to elements were to magically adjust themselves. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no