* Any handy way to read perldoc output
@ 2009-01-31 21:05 Harry Putnam
2009-02-01 20:13 ` Leo
0 siblings, 1 reply; 4+ messages in thread
From: Harry Putnam @ 2009-01-31 21:05 UTC (permalink / raw)
To: help-gnu-emacs
Is there any handy way to read perldoc output in emacs?
An i (index) search of emacs manual on `perldoc' showed nothing.
Maybe someone has written something?
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.6360.1233435948.26697.help-gnu-emacs@gnu.org>]
* Re: Any handy way to read perldoc output
[not found] <mailman.6360.1233435948.26697.help-gnu-emacs@gnu.org>
@ 2009-02-01 3:08 ` Xah Lee
0 siblings, 0 replies; 4+ messages in thread
From: Xah Lee @ 2009-02-01 3:08 UTC (permalink / raw)
To: help-gnu-emacs
On Jan 31, 1:05 pm, Harry Putnam <rea...@newsguy.com> wrote:
> Is there any handy way to read perldoc output in emacs?
>
> An i (index) search of emacs manual on `perldoc' showed nothing.
>
> Maybe someone has written something?
you just have to use the -t option.
e.g. in emacs, press “Alt+! perldoc -t perlfunc”.
In the past (early 2000s), i had to use -t, else the output contain
some gibberish, but a year or 2 ago i noticed that it seems it doesn't
matter. Maybe emacs 22 did something or something.
btw, perl's doc comes in emacs info format too. Was so around 2000,
i'm sure it's still around.
Xah
∑ http://xahlee.org/
☄
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.6446.1233511479.26697.help-gnu-emacs@gnu.org>]
* Re: Any handy way to read perldoc output
[not found] <mailman.6446.1233511479.26697.help-gnu-emacs@gnu.org>
@ 2009-02-03 23:31 ` Alan
0 siblings, 0 replies; 4+ messages in thread
From: Alan @ 2009-02-03 23:31 UTC (permalink / raw)
To: help-gnu-emacs
On Feb 1, 8:56 am, k...@freefriends.org (Karl Berry) wrote:
> Is there any handy way to read perldoc output in emacs?
> An i (index) search of emacs manual on `perldoc' showed nothing.
>
> Besides perldoc -t that Xah mentioned, there is a pod2texinfo program
> (http://search.cpan.org/~randym/pod2texinfo-1.0/) but it has not been
> updated since 1998.
>
> I personally would very much like to have the main Perl documentation as
> a Texinfo manual, but have never been able to spend the time on it.
> Just running pod2texinfo did not suffice, it needed work beyond that.
> If anyone finds or produces something for the current perl manuals,
> please let me know.
>
> k...@freefriends.org
I made a serious effort to find Perl documentation in texinfo form
that was reasonably up-to-date. I concluded that I'd have to do much
of the work myself. At "http://www.gnu.org/software/texinfo/
texinfo.html" there is mention of "man2texi", which is an awk script
to convert from nroff source code (man pages) to texinfo. I've been
using a modified form of "man2texi" to make the conversion, but there
is a lot of extra custom effort involved (additional effort is needed
for cross-linking references, which are often a matter of taste).
Plus I haven't done all the Perl man pages; so far I've concentrated
on the ones I regard as most useful. My platform is MS Windows XP.
The Perl and Perl man nroff source code come via Cygwin. One extra
wrinkle is that I've arranged that the resulting Info files preserve
the bolding found on the man pages. Also, it is sometimes necessary
to use POD to get nroff source code to feed to "man2texi". A
necessary disclosure is that I use XEmacs--due to personal historical
reasons.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-02-03 23:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-31 21:05 Any handy way to read perldoc output Harry Putnam
2009-02-01 20:13 ` Leo
[not found] <mailman.6360.1233435948.26697.help-gnu-emacs@gnu.org>
2009-02-01 3:08 ` Xah Lee
[not found] <mailman.6446.1233511479.26697.help-gnu-emacs@gnu.org>
2009-02-03 23:31 ` Alan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).