bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64791: 30.0.50; [PATCH] Fix dired mismatch on some filenames


From: Eli Zaretskii
Subject: bug#64791: 30.0.50; [PATCH] Fix dired mismatch on some filenames
Date: Wed, 06 Sep 2023 14:28:58 +0300

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Tue, 5 Sep 2023 15:43:21 -0700
> Cc: 64791@debbugs.gnu.org, manuel@ledu-giraud.fr
> 
> Stefan Kangas <stefankangas@gmail.com> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]