GNU bug report logs - #3717
M-x man completion

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Mon, 29 Jun 2009 20:55:04 UTC

Severity: wishlist

Merged with 4056

Found in version 1:20100118-1

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

Bug is archived. No further changes may be made.

Full log


Message #52 received at 3717 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kevin Ryde <user42 <at> zip.com.au>, 3717 <at> debbugs.gnu.org
Subject: Re: bug#3717: M-x man completion
Date: Wed, 25 Nov 2009 06:21:42 +0200
> From: Kevin Ryde <user42 <at> zip.com.au>
> Date: Wed, 25 Nov 2009 09:58:09 +1100
> Cc: 3717 <at> emacsbugs.donarmstrong.com, jidanni <at> jidanni.org
> 
> -        (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.



This bug report was last modified 15 years and 108 days ago.

Previous Next


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