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 #317 received at 3717 <at> debbugs.gnu.org (full text, mbox):

From: Kevin Ryde <user42 <at> zip.com.au>
To: Juri Linkov <juri <at> jurta.org>
Cc: 3717 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>,
	jidanni <at> jidanni.org
Subject: Re: bug#3717: M-x man completion
Date: Fri, 18 Dec 2009 07:20:09 +1100
Juri Linkov <juri <at> jurta.org> writes:
>
> because `Man-completion-table' currently doesn't allow a command line

I threw down a couple of lines

        (call-process shell-file-name nil t nil
                      shell-command-switch
                      (concat manual-program " -k \"\""))

which get the right effect for me.  Not sure if Man-switches should be
worked in there.  If they're page formatting options they might be bad
with -k.

Man-completion-table would no doubt need a shell-quote-argument or
something to get its match string through the shell.  But I still think
Man-completion-table might better grab the entire list of page names
once.  On my old pc with 13,000 page names (yes, really :-) it's almost
as slow to fetch a few matches or the whole lot.  The cost is the RAM to
keep them all of course.




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.