GNU bug report logs - #6013
[cperl-mode] cperl-perldoc doesn't work anymore with file test operators like -e

Previous Next

Package: emacs;

Reported by: LanX <lanx.perl <at> googlemail.com>

Date: Fri, 23 Apr 2010 12:22:02 UTC

Severity: normal

Tags: patch

Fixed in version 27.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 6013 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: LanX <lanx.perl <at> googlemail.com>
Cc: 6013 <at> debbugs.gnu.org
Subject: Re: bug#6013: [cperl-mode] cperl-perldoc doesn't work anymore with
 file test operators like -e
Date: Fri, 5 Jul 2019 21:10:28 +0200
[Message part 1 (text/plain, inline)]
tags 6013 patch
thanks

LanX <lanx.perl <at> googlemail.com> writes:

> Hi
>
> cperl-mode can't call perldocs for functions with a hyphen anymore like "-e" or "-X"
>
> (cperl-perldoc "-e") or "M-x cperl-perldoc RET -e" result to
>    "error in process sentinel: Man-bgproc-sentinel: Can't find the -e manpage"
>
> But perldoc -f -e works fine in the shell, and as far as I can see from the sources of cperl-mode "-e" this case is covered to be mapped on the -f switch.
>
> Tested on 23 and 22 from two different users on different continents.
>
> Cheers
>   Rolf

I can confirm this bug, and have attached a fix.

This is tested only on one continent.

Best regards,
Stefan Kangas
[0001-Fix-looking-up-functions-like-e-in-cperl-mode.patch (text/x-patch, attachment)]

This bug report was last modified 5 years and 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.