[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#3717: M-x man completion
From: |
Stefan Monnier |
Subject: |
bug#3717: M-x man completion |
Date: |
Wed, 25 Nov 2009 09:47:22 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
>> - (call-process "man" nil '(t nil) nil "-k" (concat "^" string))
>> + (let ((process-connection-type nil) ;; pipe
>> + (process-environment (copy-sequence process-environment)))
>> + (setenv "COLUMNS" "999") ;; don't truncate long names
>> + (call-process "man" nil '(t nil) nil "-k" (concat "^" string)))
> This needs to deal with versions of `man' that don't support the -k
> switch.
It pretty much does, I believe. At worst (i.e. in case that "man" sends
its error message to stdout rather than stderr) it may suggest a couple
of words of completion which are taken from the error message.
I.e. I wouldn't worry about it for now,
Stefan
- bug#3717: M-x man completion, (continued)
bug#3717: M-x man completion, Kevin Ryde, 2009/11/25
bug#3717: M-x man completion, Kevin Ryde, 2009/11/24
- bug#3717: M-x man completion, Kevin Ryde, 2009/11/24
- bug#3717: M-x man completion, Eli Zaretskii, 2009/11/24
- bug#3717: M-x man completion,
Stefan Monnier <=
- bug#3717: M-x man completion, Kevin Ryde, 2009/11/25
- bug#3717: M-x man completion, Eli Zaretskii, 2009/11/25
- bug#3717: M-x man completion, Kevin Ryde, 2009/11/26
- bug#3717: M-x man completion, Eli Zaretskii, 2009/11/27
- bug#3717: M-x man completion, Kevin Ryde, 2009/11/28
- bug#3717: M-x man completion, Juri Linkov, 2009/11/28
- bug#3717: M-x man completion, Stefan Monnier, 2009/11/29