cperl-mode
cperl-mode copied to clipboard
cperl-info-buffer sometimes fails to load correct info page
Steps to reproduce:
- open info with C-h i. Make sure you're at the directory (press d if needed)
- Invoke
(cperl-info-on-command "shift")
- Get error
search-failed "^-X[ ]"
- If you look at the open buffers, you'll see:
-
*info* (perl) perlfunc
but not at the right function, and -
*info-perl* (dir) Top
Somehow the switcheroo in cperl-info-buffer
doesn't get it right
I don't understand. Open a Perl program, move your cursor at shift
, press C-c C-h p Enter
. Same for namespaces (e.g. Path::Tiny
).
C-c C-h p
invokes cperl-perldoc
. This issue is about C-c C-h f
or cperl-info-on-command
. But thanks for the pointer!
Apologies for a slightly off-topic question, but this is the only place on the internet where I can find a remotely recent reference to info documentation for Perl. @VladimirAlexiev, where do I find up-to-date info documentation for Perl? In fact, the reason I came here was to suggest removing the info-related functions from cperl-mode, because it seemed to me they are obsolete!
@rrthomas I got "Perl 5.6.0 and Module docs snapshot as of 2001/03/15-ish, converted to Emacs TeXinfo and Info format. Krishna Sethuraman [email protected]"
I can't find this distribution. I find two others, I guess they are older
- https://github.com/gitpan/perl-54-info
- https://github.com/gitpan/perl-info: this one has scripts for converting POD to TEXI/INFO
I am a casual perl user, so I don't need the latest info. I appreciate the convenience of having all of this in info. Seems all these modules are abandoned, so it will be highly appreciated if someone renews perl info efforts.
Below is the list of info nodes for Perl 5.6.0:
-
perl:: Perl overview (this section)
-
perldelta:: Perl changes since previous version
-
perl5005delta:: Perl changes in version 5.005
-
perl5004delta:: Perl changes in version 5.004
-
perlfaq:: Perl frequently asked questions
-
perltoc:: Perl documentation table of contents
-
perldata:: Perl data structures
-
perlsyn:: Perl syntax
-
perlop:: Perl operators and precedence
-
perlre:: Perl regular expressions
-
perlrun:: Perl execution and options
-
perlfunc:: Perl builtin functions
-
perlopentut:: Perl open() tutorial
-
perlvar:: Perl predefined variables
-
perlsub:: Perl subroutines
-
perlmod:: Perl modules: how they work
-
perlmodlib:: Perl modules: how to write and use
-
perlmodinstall:: Perl modules: how to install from CPAN
-
perlform:: Perl formats
-
perlunicode:: Perl unicode support
-
perllocale:: Perl locale support
-
perlreftut:: Perl references short introduction
-
perlref:: Perl references, the rest of the story
-
perldsc:: Perl data structures intro
-
perllol:: Perl data structures: arrays of arrays
-
perlboot:: Perl OO tutorial for beginners
-
perltoot:: Perl OO tutorial, part 1
-
perltootc:: Perl OO tutorial, part 2
-
perlobj:: Perl objects
-
perltie:: Perl objects hidden behind simple variables
-
perlbot:: Perl OO tricks and examples
-
perlipc:: Perl interprocess communication
-
perlfork:: Perl fork() information
-
perlthrtut:: Perl threads tutorial
-
perllexwarn:: Perl warnings and their control
-
perlfilter:: Perl source filters
-
perldbmfilter:: Perl DBM filters
-
perlcompile:: Perl compiler suite intro
-
perldebug:: Perl debugging
-
perldiag:: Perl diagnostic messages
-
perlnumber:: Perl number semantics
-
perlsec:: Perl security
-
perltrap:: Perl traps for the unwary
-
perlport:: Perl portability guide
-
perlstyle:: Perl style guide
-
perlpod:: Perl plain old documentation
-
perlbook:: Perl book information
-
perlembed:: Perl ways to embed perl in your C or C++ application
-
perlapio:: Perl internal IO abstraction interface
-
perldebguts:: Perl debugging guts and tips
-
perlxs:: Perl XS application programming interface
-
perlxstut:: Perl XS tutorial
-
perlguts:: Perl internal functions for those doing extensions
-
perlcall:: Perl calling conventions from C
-
perlapi:: Perl API listing (autogenerated)
-
perlintern:: Perl internal functions (autogenerated)
-
Module List:(pm.info)Module List. Got your modules, right here
-
Function Index:: Perl functions and operators
-
Predefined Variable Index:: Perl predefined variables
-
Diagnostics Index:: Perl diagnostic messages
-
Menu:
-
perl:: Perl overview (this section)
-
perldelta:: Perl changes since previous version
-
perl5005delta:: Perl changes in version 5.005
-
perl5004delta:: Perl changes in version 5.004
-
perlfaq:: Perl frequently asked questions
-
perltoc:: Perl documentation table of contents
-
perldata:: Perl data structures
-
perlsyn:: Perl syntax
-
perlop:: Perl operators and precedence
-
perlre:: Perl regular expressions
-
perlrun:: Perl execution and options
-
perlfunc:: Perl builtin functions
-
perlopentut:: Perl open() tutorial
-
perlvar:: Perl predefined variables
-
perlsub:: Perl subroutines
-
perlmod:: Perl modules: how they work
-
perlmodlib:: Perl modules: how to write and use
-
perlmodinstall:: Perl modules: how to install from CPAN
-
perlform:: Perl formats
-
perlunicode:: Perl unicode support
-
perllocale:: Perl locale support
-
perlreftut:: Perl references short introduction
-
perlref:: Perl references, the rest of the story
-
perldsc:: Perl data structures intro
-
perllol:: Perl data structures: arrays of arrays
-
perlboot:: Perl OO tutorial for beginners
-
perltoot:: Perl OO tutorial, part 1
-
perltootc:: Perl OO tutorial, part 2
-
perlobj:: Perl objects
-
perltie:: Perl objects hidden behind simple variables
-
perlbot:: Perl OO tricks and examples
-
perlipc:: Perl interprocess communication
-
perlfork:: Perl fork() information
-
perlthrtut:: Perl threads tutorial
-
perllexwarn:: Perl warnings and their control
-
perlfilter:: Perl source filters
-
perldbmfilter:: Perl DBM filters
-
perlcompile:: Perl compiler suite intro
-
perldebug:: Perl debugging
-
perldiag:: Perl diagnostic messages
-
perlnumber:: Perl number semantics
-
perlsec:: Perl security
-
perltrap:: Perl traps for the unwary
-
perlport:: Perl portability guide
-
perlstyle:: Perl style guide
-
perlpod:: Perl plain old documentation
-
perlbook:: Perl book information
-
perlembed:: Perl ways to embed perl in your C or C++ application
-
perlapio:: Perl internal IO abstraction interface
-
perldebguts:: Perl debugging guts and tips
-
perlxs:: Perl XS application programming interface
-
perlxstut:: Perl XS tutorial
-
perlguts:: Perl internal functions for those doing extensions
-
perlcall:: Perl calling conventions from C
-
perlapi:: Perl API listing (autogenerated)
-
perlintern:: Perl internal functions (autogenerated)
-
perltodo:: Perl things to do
-
perlhack:: Perl hackers guide
-
perlhist:: Perl history records
-
Module List:(pm.info)Module List. Got your modules, right here
-
Function Index:: Perl functions and operators
-
Predefined Variable Index:: Perl predefined variables
-
Diagnostics Index:: Perl diagnostic messages
-
Menu:
-
perl:: Perl overview (this section)
-
perldelta:: Perl changes since previous version
-
perl5005delta:: Perl changes in version 5.005
-
perl5004delta:: Perl changes in version 5.004
-
perlfaq:: Perl frequently asked questions
-
perltoc:: Perl documentation table of contents
-
perldata:: Perl data structures
-
perlsyn:: Perl syntax
-
perlop:: Perl operators and precedence
-
perlre:: Perl regular expressions
-
perlrun:: Perl execution and options
-
perlfunc:: Perl builtin functions
-
perlopentut:: Perl open() tutorial
-
perlvar:: Perl predefined variables
-
perlsub:: Perl subroutines
-
perlmod:: Perl modules: how they work
-
perlmodlib:: Perl modules: how to write and use
-
perlmodinstall:: Perl modules: how to install from CPAN
-
perlform:: Perl formats
-
perlunicode:: Perl unicode support
-
perllocale:: Perl locale support
-
perlreftut:: Perl references short introduction
-
perlref:: Perl references, the rest of the story
-
perldsc:: Perl data structures intro
-
perllol:: Perl data structures: arrays of arrays
-
perlboot:: Perl OO tutorial for beginners
-
perltoot:: Perl OO tutorial, part 1
-
perltootc:: Perl OO tutorial, part 2
-
perlobj:: Perl objects
-
perltie:: Perl objects hidden behind simple variables
-
perlbot:: Perl OO tricks and examples
-
perlipc:: Perl interprocess communication
-
perlfork:: Perl fork() information
-
perlthrtut:: Perl threads tutorial
-
perllexwarn:: Perl warnings and their control
-
perlfilter:: Perl source filters
-
perldbmfilter:: Perl DBM filters
-
perlcompile:: Perl compiler suite intro
-
perldebug:: Perl debugging
-
perldiag:: Perl diagnostic messages
-
perlnumber:: Perl number semantics
-
perlsec:: Perl security
-
perltrap:: Perl traps for the unwary
-
perlport:: Perl portability guide
-
perlstyle:: Perl style guide
-
perlpod:: Perl plain old documentation
-
perlbook:: Perl book information
-
perlembed:: Perl ways to embed perl in your C or C++ application
-
perlapio:: Perl internal IO abstraction interface
-
perldebguts:: Perl debugging guts and tips
-
perlxs:: Perl XS application programming interface
-
perlxstut:: Perl XS tutorial
-
perlguts:: Perl internal functions for those doing extensions
-
perlcall:: Perl calling conventions from C
-
perlapi:: Perl API listing (autogenerated)
-
perlintern:: Perl internal functions (autogenerated)
-
perltodo:: Perl things to do
-
perlhack:: Perl hackers guide
-
perlhist:: Perl history records
-
perlamiga:: Perl notes for Amiga
-
perlcygwin:: Perl notes for Cygwin
-
perldos:: Perl notes for DOS
-
perlhpux:: Perl notes for HP-UX
-
perlmachten:: Perl notes for Power MachTen
-
perlos2:: Perl notes for OS/2
-
perlos390:: Perl notes for OS/390
-
perlvms:: Perl notes for VMS
-
perlwin32:: Perl notes for Windows
-
Module List:(pm.info)Module List. Got your modules, right here
-
Function Index:: Perl functions and operators
-
Predefined Variable Index:: Perl predefined variables
-
Diagnostics Index:: Perl diagnostic messages
Great, well if it's still possible to make, then I guess it's up to some Perl & texinfo fan to make a more up-to-date version, but as you say, even older versions can be useful, so I wouldn't suggest removing support from cperl-mode given that.