[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62096: 30.0.50; find-dired, dired-goto-file and spaces
From: |
Manuel Giraud |
Subject: |
bug#62096: 30.0.50; find-dired, dired-goto-file and spaces |
Date: |
Sat, 11 Mar 2023 15:02:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
So here is a patch that should fix *BSD and macOS. For Windows, I don't
know if it is the right fix (so it does nothing on Windows, sorry Drew).
I choose "-dgils" because FreeBSD, NetBSD and macOS man pages state the
following about -ls switch for find(1):
The format is identical to that produced by "ls -dgils".
On OpenBSD, the find(1) man page says:
The format is identical to that produced by "ls -dils".
But the "-g" switch does not seems to do something different when the
"-l" is present.
For testing without recompiling Emacs, one could evaluate this:
--8<---------------cut here---------------start------------->8---
(setq find-ls-option-default-ls
(cons "-ls" (if (or (eq system-type 'berkeley-unix)
(eq system-type 'darwin))
"-dgils"
"-dilsb")))
--8<---------------cut here---------------end--------------->8---
Daniel: I'd like to hear what it does on macOS.
Drew: You could test on your system by "forcing"
'find-ls-option-default-ls' with the following:
--8<---------------cut here---------------start------------->8---
(setq find-ls-option-default-ls (cons "-ls" "-dils"))
--8<---------------cut here---------------end--------------->8---
This patch was produce on the main branch but FWIW I think it should
also go on emacs-29.
0001-Fix-find-ls-option-default-ls-for-BSD-MacOS-bug-6209.patch
Description: Text Data
--
Manuel Giraud
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Manuel Giraud, 2023/03/10
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Drew Adams, 2023/03/10
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Stephen Berman, 2023/03/10
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Drew Adams, 2023/03/10
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Manuel Giraud, 2023/03/10
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Manuel Giraud, 2023/03/10
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Daniel Martín, 2023/03/10
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Manuel Giraud, 2023/03/10
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Daniel Martín, 2023/03/10
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces,
Manuel Giraud <=
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Eli Zaretskii, 2023/03/11
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Manuel Giraud, 2023/03/11
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Manuel Giraud, 2023/03/17
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Eli Zaretskii, 2023/03/17
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Manuel Giraud, 2023/03/17
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Eli Zaretskii, 2023/03/17
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Drew Adams, 2023/03/17
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Manuel Giraud, 2023/03/17
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Drew Adams, 2023/03/17
- bug#62096: 30.0.50; find-dired, dired-goto-file and spaces, Eli Zaretskii, 2023/03/17