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#64791: 30.0.50; [PATCH] Fix dired mismatch on some filenames Date: Wed, 06 Sep 2023 14:28:58 +0300 Message-ID: <83ledj35hh.fsf@gnu.org> References: <87sf9gozbl.fsf@ledu-giraud.fr> <83fs5g8392.fsf@gnu.org> <87lef8ovgc.fsf@ledu-giraud.fr> <835y6c7yvo.fsf@gnu.org> <87ttsbbbfy.fsf@ledu-giraud.fr> <83zg235d47.fsf@gnu.org> <83wmx75aad.fsf@gnu.org> <83edje5e0s.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38990"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64791@debbugs.gnu.org, manuel@ledu-giraud.fr To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 06 13:30:10 2023 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 1qdqja-0009xj-Bh for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Sep 2023 13:30:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdqjU-0008KV-Eg; Wed, 06 Sep 2023 07:30:04 -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 1qdqjR-0008JH-SY for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 07:30:01 -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 1qdqjR-0008JY-Gp for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 07:30:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdqjS-0006zY-80 for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 07:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Sep 2023 11:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64791 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 64791-submit@debbugs.gnu.org id=B64791.169399976726799 (code B ref 64791); Wed, 06 Sep 2023 11:30:02 +0000 Original-Received: (at 64791) by debbugs.gnu.org; 6 Sep 2023 11:29:27 +0000 Original-Received: from localhost ([127.0.0.1]:33176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdqip-0006y6-PD for submit@debbugs.gnu.org; Wed, 06 Sep 2023 07:29:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdqin-0006xq-C0 for 64791@debbugs.gnu.org; Wed, 06 Sep 2023 07:29:22 -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 1qdqig-0008AT-7g; Wed, 06 Sep 2023 07:29:14 -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=z71kgILvVnQbHnH+x1eUJt54r+tiiEp7UkNvjPPToo0=; b=N1U115am1t7A b8KBpj1uZMR6brVS0a8iM4hjHShUZddDdakk2uOoBiQ3QRkzZD6rHudvxhJExavqeUUxl5gUZjF1Z S5Fw232gdRElD+a7HSLEz7O1cpT3v9zQlA0cQ3nN7wJRFUd68q3u4K+RNEvazeLBBBttKnwRmoAy7 E+/VeIWViGRXDn9bWVB/Rp8m1VFNwAu7dGDv4VN8MIsGf8pHhKEqoGBLcKBMfGN0yEMxTUI5FrW2e Qywn8CfZbFeli87frl9x2iv5jnjIDphTnNIAuEsmG5phKvgox3wip5ZXJda9dixZQF1JZW4V8NUq3 m3Usj/ZkCiPTOllZQzTmwQ==; In-Reply-To: (message from Stefan Kangas on Tue, 5 Sep 2023 15:43:21 -0700) 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:269513 Archived-At: > From: Stefan Kangas > Date: Tue, 5 Sep 2023 15:43:21 -0700 > Cc: 64791@debbugs.gnu.org, manuel@ledu-giraud.fr > > Stefan Kangas writes: > > >> So I once again suggest to make this a defcustom. This has two > >> advantages: > >> > >> . it will be evaluated at Emacs startup, not at dump time > > > > Agreed. Let's change it into a defcustom. > > > >> . it will allow users to customize the value and thus avoid costly > >> search for the program and prevent finding the wrong version of > >> 'ls' > > > > Perhaps this part is okay though, given that the search should only > > affect users on macOS and *BSD (who presumably will want this anyways)? > > > > Proposed patch attached. > > This doesn't work either, as it's also evaluated at dump time. I thought it should be evaluated at dump time _and_ at startup time. Was I misremembering? > I guess we'd have to set it in something like `normal-top-level'. We have a machinery for delaying the initialization to startup time: custom-initialize-delay.