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.bugs Subject: bug#70036: a fix that Date: Fri, 19 Apr 2024 13:51:15 +0300 Message-ID: <86sezhbp7g.fsf@gnu.org> References: <4e670617-6483-4159-a5cf-27a921764c38@email.android.com> <864jbxden1.fsf@gnu.org> <877cgt7ptk.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28992"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theo@thornhill.no, 70036@debbugs.gnu.org, felician.nemeth@gmail.com, joaotavora@gmail.com To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 19 12:52:02 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 1rxlqa-0007EA-Pe for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Apr 2024 12:52:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxlqR-0006KY-6w; Fri, 19 Apr 2024 06:51:51 -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 1rxlqP-0006Jo-E6 for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2024 06:51:49 -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 1rxlqP-0006FQ-5s for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2024 06:51:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxlqd-0004oI-0w for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2024 06:52:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Apr 2024 10:52:02 +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.171352390518338 (code B ref 70036); Fri, 19 Apr 2024 10:52:02 +0000 Original-Received: (at 70036) by debbugs.gnu.org; 19 Apr 2024 10:51:45 +0000 Original-Received: from localhost ([127.0.0.1]:58055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxlqJ-0004lW-SY for submit@debbugs.gnu.org; Fri, 19 Apr 2024 06:51:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxlqH-0004kR-69 for 70036@debbugs.gnu.org; Fri, 19 Apr 2024 06:51:42 -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 1rxlpw-000697-KJ; Fri, 19 Apr 2024 06:51:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=OtjZsJ8CFxiRWeZNV/FrOAdPQAd1NtxpVxdRWwaWBtE=; b=hgvnUz4eKO+ba5AncyUg uKZb2xvP8cAFQTVHqoUJpfGpHqkFARNdUtUcoj/TeuFymGk+oFPtGuzHi+pW+5WGbovsGwKgcaigr Jd1/NCuxQ5X7Jg9MbMfaW6wwV+c8e1RcogOPVf7RqaNjUeAsR7Ter4aWZGY+ouHd6YgtYilybfXcL aY5QHJ/4kYdFDGaqJtWV6milBhqkkf84ApWNJlNqE7WcfN6uf5p7G0dj0x296dogHzQ1bwTAyAlsx 9ROHz9ix1MNMmD7LMgncMybtAAOJ9Kz9aKP/y/j4MteCtPmqZM+Z7XCkW+F01PPcei3NuB2ScINxS +tGEOTEb2zyHmA==; In-Reply-To: <877cgt7ptk.fsf@localhost> (message from Ihor Radchenko on Fri, 19 Apr 2024 07:51:35 +0000) 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:283662 Archived-At: > From: Ihor Radchenko > Cc: João Távora , > felician.nemeth@gmail.com, > 70036@debbugs.gnu.org, theo@thornhill.no > Date: Fri, 19 Apr 2024 07:51:35 +0000 > > 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? Yes, of course. Those kinds of changes are no-brainers, really.