bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15848: 24.3.50; cperl-mode + which-function: Improve reporting (corn


From: Jambunathan K
Subject: bug#15848: 24.3.50; cperl-mode + which-function: Improve reporting (corner case)
Date: Sun, 10 Nov 2013 21:50:45 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Nathan Trapuzzano <nbtrap@nbtrap.com> writes:

> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> I attach the screenshot again.  (This one shows the cursor.)
>
> Thanks, but after looking into this, I don't think it's a bug.

perl-mode behaves differently and correctly.  

> In cperl's case, "definition" intentionally includes pod =head
> directives.  All you're seeing is the previous defintion's name being
> correctly displayed in the mode line.

Is it possible to show the sub name when within a function and show the
head1 or head2 string when within a perldoc string.  (I am new to perl
so I can talk only fuzzily about the language or it's features)

My gut feeling is that the way cperl mode treats POD directives also
limits it from doing outlining.

See the screenshot in this thread.

http://lists.gnu.org/archive/html/bug-gnu-emacs/2013-11/msg00355.html

I would really like to get outlining work when in cperl-mode.

> Perhaps a cperl variable to disable imenu indexing of POD directives is
> what you want.  I might be able to implement something like that if it's
> not too hard.

I think anything that doesn't show "= " would do for me.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]