GNU bug report logs -
#78455
30.0.92; Dired-Hide-Details mode doesn't work in `find-lisp-find-dired' buffers
Previous Next
Reported by: Jake <jforst.mailman <at> gmail.com>
Date: Fri, 16 May 2025 13:46:06 UTC
Severity: normal
Found in version 30.0.92
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
LGTM. Thanks!
On Sat, 17 May 2025 at 8:06 pm, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > From: Jake <jforst.mailman <at> gmail.com>
> > Date: Fri, 16 May 2025 13:44:28 +0000
> >
> > M-x dired-hide-details-mode (bound to `(') has no effect in *Find Lisp
> Dired* buffers produced by M-x
> > find-lisp-find-dired.
>
> Thanks. Does the patch below give good results?
>
> diff --git a/lisp/find-lisp.el b/lisp/find-lisp.el
> index 5f6b56e..ddfc7e9 100644
> --- a/lisp/find-lisp.el
> +++ b/lisp/find-lisp.el
> @@ -304,14 +304,16 @@ find-lisp-find-dired-insert-file
>
> This function heeds `dired-actual-switches'."
> (set-buffer buffer)
> - (insert find-lisp-line-indent
> - (find-lisp-format
> - (propertize file 'dired-filename t)
> - (file-attributes file 'string)
> - (or (and dired-actual-switches
> - (split-string-and-unquote dired-actual-switches))
> - (list ""))
> - nil)))
> + (let ((pt (point)))
> + (insert find-lisp-line-indent
> + (find-lisp-format
> + (propertize file 'dired-filename t)
> + (file-attributes file 'string)
> + (or (and dired-actual-switches
> + (split-string-and-unquote dired-actual-switches))
> + (list ""))
> + nil))
> + (dired-insert-set-properties pt (point))))
>
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;; Lifted from ls-lisp. We don't want to require it, because that
>
[Message part 2 (text/html, inline)]
This bug report was last modified 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.