From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#70036: a fix that Date: Fri, 19 Apr 2024 07:51:35 +0000 Message-ID: <877cgt7ptk.fsf@localhost> References: <4e670617-6483-4159-a5cf-27a921764c38@email.android.com> <864jbxden1.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="4079"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theo@thornhill.no, 70036@debbugs.gnu.org, felician.nemeth@gmail.com, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 19 09:52:12 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rxj2a-0000rj-NA for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Apr 2024 09:52:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxj2H-00059k-3I; Fri, 19 Apr 2024 03:51:53 -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 1rxj2E-000593-HC for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2024 03:51:50 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxj2E-000542-8y for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2024 03:51:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxj2S-0003ZG-3r for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2024 03:52:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Apr 2024 07:52:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70036 X-GNU-PR-Package: emacs Original-Received: via spool by 70036-submit@debbugs.gnu.org id=B70036.171351307713301 (code B ref 70036); Fri, 19 Apr 2024 07:52:03 +0000 Original-Received: (at 70036) by debbugs.gnu.org; 19 Apr 2024 07:51:17 +0000 Original-Received: from localhost ([127.0.0.1]:57466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxj1g-0003ST-S8 for submit@debbugs.gnu.org; Fri, 19 Apr 2024 03:51:17 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:38625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxj1f-0003SN-6D for 70036@debbugs.gnu.org; Fri, 19 Apr 2024 03:51:15 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id F1700240028 for <70036@debbugs.gnu.org>; Fri, 19 Apr 2024 09:50:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1713513055; bh=7FrdMBryey9fy7BuNKnrzAHCA9bAlMgGhBjONw1zpA0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Lvs4y43iJkCx8j0Ej1+smwaV0NrDnpBaLXd7Z2hWENA87+u6g+TucP8G+Y/poli4/ 0/WGPdzF95g0Mqm7M7q4CgVVMnxSYEalCDjx+l7Xjpcw1e9gYz2yD1xcIeOzC8W2+J DEVaFeB2dJlKSDB7xRDn9GPYUUc0AeGfeBgAz0Vy0Ga2fmsGRN6/m4QVUB7616EwYL 94vY7wL7sPCEhj6a1U7KVyzoHjdhWwvwjjk7/BAn26qEAAQmMhS6OGBTZNxYYpfq/b zmrXBMQlCt5yZgJfD3dDfEzvj9pSoUiTotXbV5m286rnpC+7/rflqaPI25awdChtgC JZR+oeQ/V0q9A== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VLRf51vkzz9rxG; Fri, 19 Apr 2024 09:50:52 +0200 (CEST) In-Reply-To: <864jbxden1.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:283645 Archived-At: Eli Zaretskii writes: >> I still think the cleanest solution is to write file-truename >> in C. > > I explained in that past discussion why this is not simple. So if > simpler solutions exist, we should prefer them. There are some easy things that can be done to improve `file-truename' performance somewhat. For example, the number of calls to `file-name-nondirectory' can be trivially reduced in the `file-truename' code - it is called up to three times in a row. (see my earlier message in https://yhetil.org/emacs-bugs/87jzlmd831.fsf@localhost/) Will it be of interest? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at