From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#15848: 24.3.50; cperl-mode + which-function: Improve reporting (corner case) Date: Sun, 10 Nov 2013 21:50:45 +0530 Message-ID: <87txfkp6si.fsf@gmail.com> References: <87d2m8pwts.fsf@gmail.com> <87d2m8bhk1.fsf@nbtrap.com> <87iow0quc6.fsf@gmail.com> <87bo1squ1q.fsf@gmail.com> <87ob5sw8zm.fsf@nbtrap.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384100472 558 80.91.229.3 (10 Nov 2013 16:21:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Nov 2013 16:21:12 +0000 (UTC) Cc: 15848@debbugs.gnu.org To: Nathan Trapuzzano Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 10 17:21:17 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VfXlE-00037F-OM for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Nov 2013 17:21:16 +0100 Original-Received: from localhost ([::1]:60808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfXlE-0002pD-8P for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Nov 2013 11:21:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfXl5-0002or-Sm for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2013 11:21:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfXl0-00014E-Is for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2013 11:21:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfXl0-000149-Fc for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2013 11:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VfXkz-00078M-RM for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2013 11:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Nov 2013 16:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15848-submit@debbugs.gnu.org id=B15848.138410044027395 (code B ref 15848); Sun, 10 Nov 2013 16:21:01 +0000 Original-Received: (at 15848) by debbugs.gnu.org; 10 Nov 2013 16:20:40 +0000 Original-Received: from localhost ([127.0.0.1]:45707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VfXka-00077g-0M for submit@debbugs.gnu.org; Sun, 10 Nov 2013 11:20:36 -0500 Original-Received: from mail-pd0-f182.google.com ([209.85.192.182]:52342) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VfXkU-00077N-UH for 15848@debbugs.gnu.org; Sun, 10 Nov 2013 11:20:32 -0500 Original-Received: by mail-pd0-f182.google.com with SMTP id y13so1318620pdi.13 for <15848@debbugs.gnu.org>; Sun, 10 Nov 2013 08:20:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=y5cfm2OCa1cRdCMNi2OPtT5l0L+srd2ZC9UmY/W6id0=; b=cbm0JUFr5rRqbGy2MQOKdS7Ds4LgB8qKGnoTn8jY5pu24sxkjBI0T+DQAKfRfO+/v/ T7BUCbayxtz7DO13gx5ZFw/r2B2oo020Z4q7ee8IX90DNxRFUr0iEYT60me1Kzn8yhQN rvI9adwVtlCWTFbZtc24X4drfkZZJAQ4A1Bzhv1SL6+1bIwU2oZt9HyKI081AeLbpFYQ FL8bS1Btq8SP90zO1XAZqbs8RFrNzFfGhLTEhISoz2IJ+Irx0rSTpOU+3t6wmXDCdyQf SZrJg8Z86mAf/V/thjZJ5cmYNoEojDhxH7jkNFN7gyjkNlF+k2TmuF0x+9NTxrpvQiD3 J29g== X-Received: by 10.66.197.135 with SMTP id iu7mr1701492pac.149.1384100424863; Sun, 10 Nov 2013 08:20:24 -0800 (PST) Original-Received: from debian-6.05 ([115.241.101.78]) by mx.google.com with ESMTPSA id kd1sm29322532pab.20.2013.11.10.08.20.21 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sun, 10 Nov 2013 08:20:23 -0800 (PST) In-Reply-To: <87ob5sw8zm.fsf@nbtrap.com> (Nathan Trapuzzano's message of "Sun, 10 Nov 2013 10:51:25 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:80221 Archived-At: Nathan Trapuzzano writes: > Jambunathan K 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.