GNU bug report logs - #67161
30.0.50; [PATCH] Add option `dired-filename-display-length'

Previous Next

Package: emacs;

Reported by: Liu Hui <liuhui1610 <at> gmail.com>

Date: Tue, 14 Nov 2023 09:55:02 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #109 received at 67161 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Liu Hui <liuhui1610 <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 67161 <at> debbugs.gnu.org
Subject: Re: bug#67161: 30.0.50; [PATCH] Add option
 `dired-filename-display-length'
Date: Mon, 27 Nov 2023 09:19:36 +0200
>> Does the below fix the problem, and is the Dired display after the
>> change correct when file names are truncated?
>
> Thanks Eli! I wasn't aware of the face of glyph and I confirm the
> dired display is correct with your fix.

Now that it works I was able to find a different problem:

  Debugger entered--Lisp error: (void-function t)
    t(#<overlay from 960 to 1016 in tmp/>)
    isearch-open-necessary-overlays(#<overlay from 960 to 1016 in tmp/>)
    isearch-clean-overlays()
    isearch-exit()
    funcall-interactively(isearch-exit)
    command-execute(isearch-exit)

because 'isearch-open-invisible' should be a function.
I wonder what would be a suitable function.
After searching for other uses I found a good example
in lisp/org/org-fold-core.el:

  (overlay-put o 'isearch-open-invisible #'delete-overlay)

that works nicely leaving the overlay open after exiting isearch in dired.




This bug report was last modified 1 year and 234 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.