Subject: Re: bug#73656: 30.0.91; icomplete-vertical has no matches for M-x man RET chdir

From: Van Ly <[email-masked]>
Date: Sat, 02 Nov 2024 03:04:30 +1100

Stefan Monnier <[email-masked]> writes:

> [1:text/plain Hide]
>
>>>> +                         (if (eq system-type 'berkeley-unix) "-l")
>> As gap filler, the following change does not misbehave on deb or netbsd.
>
> I don't think we need a gap filler.
> How 'bout the patch below?
>
>

On NetBSD the patch fails to generate the icomplete-vertical-mode
autocomplete for "chd" when invoked in "emacs -Q" session.  The man.elc
file was byte recompiled.

On debian the patch also fails.  Emacs was configured --without-x and
has *Messages* buffer content referring to unbound image-scaling-factor

 . Byte-Compile man.el? (y or n) y
 . Compiling /u/van/src/emacs/30.0.91/lisp/man.el...done
 . Wrote /u/van/src/emacs/30.0.91/lisp/man.elc
 . Byte-Compile: 1 file.
 . Quit
 . Note, built-in variable ‘image-scaling-factor’ not bound
 . You can run the command ‘icomplete-vertical-mode’ with M-x ic--m
 . Note, built-in variable ‘image-scaling-factor’ not bound

Note, also, on debian the -l switch means as follows

  -l, --local-file           interpret PAGE argument(s) as local filename(s)

-- 
vl