Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: [emacs] perldoc on windows

by LanX (Cardinal)
on Mar 23, 2018 at 16:31 UTC ( #1211616=note: print w/replies, xml ) Need Help??


in reply to Re: [emacs] perldoc on windows
in thread [emacs] perldoc on windows (update)

Thanks, but spawning a browser to show an html-page is already easy, I use it to inspect the POD of the files I'm editing.

Having the perldoc directly in another Emacs pane without switching the application has many advantages:

  • you can edit the file directly, for instance search and cut and paste code examples from a module
  • I can build keyboard-macros which use this text
  • you get an index inside imenu to navigate it
  • this imenu index is shown in a left pane for navigation when ECB or similar is activated
  • auto-expansion like dabbrev-expand is parsing the man buffer for possible expansions
  • revisiting the man-page is faster if the man-buffer already exists inside emacs
  • the internal window-management sparse me from adjusting the browser and editor window
  • ... (certainly forgot to mention other stuff)

Additionally does cperl-mode come with more DWIM logic, like cperl-perldoc-at-point which reads the word under the cursor and automatically calls perldoc -f <word> instead of perldoc <word> if it's a function.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1211616]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2021-04-13 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?