Subject: Re: bug#67161: 30.0.50; [PATCH] Add option `dired-filename-display-length'

From: Juri Linkov <[email-masked]>
Date: Sat, 25 Nov 2023 19:51:55 +0200

> Thanks, installed on the master branch, and closing the bug.

There is a problem with this specific configuration
when ellipsis is a vector:

  (progn
    (or standard-display-table (setq standard-display-table (make-display-table)))
    (let* ((face (lsh (face-id 'escape-glyph) 22))
           (dots (+ face ?…)))
      (set-char-table-extra-slot standard-display-table 4 (vector dots))))

that fails with

  Debugger entered--Lisp error: (wrong-type-argument characterp 88088614)
    concat([88088614])
    (if glyphs (concat glyphs) "...")
    (string-width (if glyphs (concat glyphs) "..."))
    dired--get-ellipsis-length()
    ...