Eli Zaretskii 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 .