GNU bug report logs - #73656
30.0.91; icomplete-vertical has no matches for M-x man RET chdir

Previous Next

Package: emacs;

Reported by: Van Ly <van.ly <at> sdf.org>

Date: Sun, 6 Oct 2024 12:44:02 UTC

Severity: normal

Found in version 30.0.91

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Van Ly <van.ly <at> sdf.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 73656 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: bug#73656: 30.0.91; icomplete-vertical has no matches for M-x man RET chdir
Date: Tue, 15 Oct 2024 05:20:42 +0000
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

>
> If you edit this part of Man-completion-table:
>
>           (let ((process-environment (copy-sequence process-environment)))
>             (setenv "COLUMNS" "999") ;; don't truncate long names
>             ;; manual-program might not even exist.  And since it's
>             ;; run differently in Man-getpage-in-background, an error
>             ;; here may not necessarily mean that we'll also get an
>             ;; error later.
>             (when (eq 0
>                       (ignore-errors
>                         (process-file
>                          manual-program nil '(t nil) nil
>    >>>>>>>>>>>>>>>>      "-k" (concat (when (or Man-man-k-use-anchor
>                                                 (string-equal prefix ""))
>                                         "^")
>                                       (if (string-equal prefix "")
>                                           prefix
>                                         ;; FIXME: shell-quote-argument
>                                         ;; is not entirely
>                                         ;; appropriate: we actually
>                                         ;; need to quote ERE here.
>                                         ;; But we don't have that, and
>                                         ;; shell-quote-argument does
>                                         ;; the job...
>                                         (shell-quote-argument prefix))))))
>               (setq table (Man-parse-man-k)))))
>
> to use "-k" "-l" instead of "-k" in the line I emphasized, does that
> solve the problem?
>

Yes.  See diff patch on man.el .



[m (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]


-- 
vl

This bug report was last modified 265 days ago.

Previous Next


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