[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: catman pages and emacs man



Dirk Eddelbuettel writes:
>
>  Dirk> Is there an easy way to let "M-x man" in emacs access the already
>  Dirk> prepared pages in /var/catman?
>
>  Richard>  It already does, doesn't it?
>  Richard> 
>  Richard> (Emacs calls man(1) to get the formatted man page, and that should
>  Richard> DTRT.)
>
>But why does it about 20 seconds (on a Pentium with 16 MB) before the man page
>for bash shows up?  Is that for groffing the man page or for finding memory
>for this buffer because the pager eats it all at once?
>
>groff -man -Tlatin1 /usr/man/man1/bash.1 takes about 6 seconds.

There's quite a bit of reformatting that goes on as Emacs mangles the
formatted page into a form it can cope with.
-- 
Richard Kettlewell
http://www.elmail.co.uk/staff/richard/                    richard@uk.geeks.org

		   It was definitely murder - but was it art?


Reply to: