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: master 5a125fb5a97 1/2: Update to Org 9.7.3 Date: Wed, 12 Jun 2024 16:30:48 +0300 Message-ID: <86zfrqz3sn.fsf@gnu.org> References: <171796793548.23337.12512115872160390161@vcs2.savannah.gnu.org> <20240609211858.A2C31C1F9FB@vcs2.savannah.gnu.org> <87a5jtd403.fsf@yahoo.com> <87h6e1lhtd.fsf@kyleam.com> <8734plcvg9.fsf@yahoo.com> <87r0d271g4.fsf@localhost> <8634pi1ez8.fsf@gnu.org> <87le3a70rw.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34635"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, kyle@kyleam.com, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 12 15:31:20 2024 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 1sHO4O-0008om-3n for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Jun 2024 15:31:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHO44-0000Hq-0B; Wed, 12 Jun 2024 09:31:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHO40-0000BL-5S for emacs-devel@gnu.org; Wed, 12 Jun 2024 09:30:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHO3z-00063J-SK; Wed, 12 Jun 2024 09:30:55 -0400 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=QOuyOFEtG5BzYJuGBm5MaNUa2hkd+FvZUnzD4dS1PUQ=; b=d3cpRt55uvwR ORnRLxpLuSTe+rxYYEohYE2vJ6kc9b+EdZ9LrdemYn/oJyH8LgcS83pZtU0gQttefjQbSUnnmOL50 vFgUtqG48yrZoLIrsvwczPl6mfXSBigH5yuBfLWaBcJsQjAqjA1kuRtI7ShxqhZjgud+VCZSj7IBU vkcOS4Zvts/6uULOGjqDvAXJcO/gupgS563A1nRIKy3t1hFlXnknoLhcJ9yyn6hWFsZC5+PTx+ejk JGVyd/B/xgJG2lDWMJkuFxEx/6uleGPViMTzGs9yDJzUFIzpcQSlq63MAKcfWQHGnjSGYbSg0uw+/ EPux0oXOOVeCNo8mmTDx9A==; In-Reply-To: <87le3a70rw.fsf@localhost> (message from Ihor Radchenko on Wed, 12 Jun 2024 13:23:31 +0000) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:319999 Archived-At: > From: Ihor Radchenko > Cc: luangruo@yahoo.com, kyle@kyleam.com, emacs-devel@gnu.org > Date: Wed, 12 Jun 2024 13:23:31 +0000 > > Eli Zaretskii writes: > > > Why do you use buffer-text-pixel-size if all you need is the width of > > a symbol (which I assume is a character?). Why not use > > font-get-glyphs instead? > > (1) I do not know which font. Emacs knows, and you can ask it (use font-at or somesuch). > (2) I also need width of a string, not just a symbol. That string may > contain invisible text, which should also be accounted for. Then how did this yield zero in the case in point?