GNU bug report logs -
#46574
cperl-mode: Improve detection of entries for imenu [PATCH]
Previous Next
Reported by: haj <at> posteo.de (Harald Jörg)
Date: Tue, 16 Feb 2021 22:55:02 UTC
Severity: normal
Tags: fixed, patch
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
haj <at> posteo.de (Harald Jörg) writes:
> This patch helps CPerl mode to detect various declarations which should
> go into the imenu index but were missed, and also prevents some false
> positives from being included. Undetected package declarations also led
> to wrong namespace attributions for subroutines declared within those
> packages.
I've only skimmed the patch, but it makes sense to me. When applying
it, though, patch said:
patching file lisp/progmodes/cperl-mode.el
Hunk #2 succeeded at 1210 (offset -41 lines).
Hunk #3 succeeded at 1367 (offset -41 lines).
Hunk #4 succeeded at 5286 (offset -41 lines).
Hunk #5 succeeded at 5368 (offset -41 lines).
Hunk #6 succeeded at 5403 (offset -41 lines).
Hunk #7 succeeded at 6734 (offset -41 lines).
Which is odd. Could you check whether the patch is against the current
Emacs trunk?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 179 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.