man-completion.el
  Home FAQ Contact Sign in
gnu.emacs.sources only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.sources Profile…
 Up
man-completion.el         


Author: Kevin Ryde
Date: May 2, 2008 18:02

This is a bit of code I started to add completion to M-x man. The
filename bit might be slightly preliminary, I'm not too well up on the
best way to do filename completion tied in with other possibilities.

;;; man-completion.el --- completion for M-x man -*- coding: latin-1 -*-

;; Copyright 2008 Kevin Ryde

;; Author: Kevin Ryde zip.com.au>
;; Version: 1
;; Keywords: data
;; URL: http://www.geocities.com/user42_kevin/man-completion/index.html
;; EmacsWiki: ManMode
Show full article (14.26Kb)
3 Comments
Re: man-completion.el         


Author: Martin Fischer
Date: May 5, 2008 03:57

>>>>> Kevin Ryde writes:
> Date: Sat, 03 May 2008 11:02:28 +1000
>
> This is a bit of code I started to add completion to M-x man. The
> filename bit might be slightly preliminary, I'm not too well up on the
> best way to do filename completion tied in with other possibilities.

Hi,

are you aware of

* WoMan: (woman). Browse UN*X Manual Pages "Wo (without) Man".

which has such a feature already ?

Cheers

Martin
--
parozusa at web dot de
no comments
Re: man-completion.el         


Author: Roland Winkler
Date: May 5, 2008 06:55

Martin Fischer nospam.net> writes:
>>>>>> Kevin Ryde writes:
>> Date: Sat, 03 May 2008 11:02:28 +1000
>>
>> This is a bit of code I started to add completion to M-x man. The
>> filename bit might be slightly preliminary, I'm not too well up on the
>> best way to do filename completion tied in with other possibilities.
>
> are you aware of
>
> * WoMan: (woman). Browse UN*X Manual Pages "Wo (without) Man".
>
> which has such a feature already ?
Show full article (1.09Kb)
no comments
Re: man-completion.el         


Author: Kevin Ryde
Date: May 7, 2008 16:43

Martin Fischer nospam.net> writes:
>
> woman ... which has such a feature already ?

Yep, remarks in the file. In fact I put up the defadvice on the wiki
for pressing it into service on M-x man.

(defadvice man (before my-woman-prompt activate)
(interactive (progn
(require 'woman)
(list (woman-file-name nil)))))

The better question would actually be why not iman.el! :-) ... in the
end I found neither to be exactly what I wanted.

Roland Winkler writes:
>
> it would make sense if both genders could share such code,

There's normally a subtle difference in that man parses the pages for
aliases (lexgrog), so its database has the occasional extra.

(I guess further discussion to gnu-emacs-help rather than here ...)
no comments